soft-fp: Correct _FP_TO_INT formatting.
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
2
3         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4
5 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6
7         [BZ #6652]
8         * Makeconfig (soversions-default-setname): Remove variable.
9         ($(common-objpfx)soversions.i): Don't pass default_setname to
10         soversions.awk.
11         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12         oldest_abi to abi-versions.awk.
13         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14         * config.make.in (oldest-abi): Remove variable.
15         * configure.ac (--enable-oldest-abi): Remove configure option.
16         * configure: Regenerated.
17         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
18         text.
19         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
20         * scripts/soversions.awk: Do not handle default_setname variable.
21         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
22         variable.
23         * sysdeps/mach/hurd/configure: Regenerated.
24         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25         variable.
26         * sysdeps/unix/sysv/linux/configure: Regenerated.
27
28 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29
30         * elf/Makefile (CFLAGS-interp.c): Remove.
31         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32         path string.
33         * elf/interp.c: Include generated runtime-linker.h
34
35         * Makerules (lib%.so): Don't include $(+interp) in
36         prerequisites.
37         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38         * dlfcn/eval.c: Remove file.
39
40         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
41         macros.
42
43         [BZ #17266]
44         * misc/sys/cdefs.h: Define __extern_always_inline for clang
45         4.2 and newer.
46
47         [BZ #17370]
48         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
49
50 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51             Jakub Jelinek  <jakub@redhat.com>
52
53         [BZ #17266]
54         * libio/stdio.h: Check definition of __fortify_function
55         instead of __extern_always_inline to include bits/stdio2.h.
56         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
57         check if __extern_always_inline is defined.
58         [__USE_MISC || __USE_XOPEN]: Likewise.
59         [__USE_ISOC99] Likewise.
60         * misc/sys/cdefs.h (__fortify_function): Define only if
61         __extern_always_inline is defined.
62         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
63         __extern_always_inline and __extern_inline only for g++-4.3
64         and newer or a compatible gcc.
65
66 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
67
68         [BZ #17371]
69         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
70         last change to handle zero prefix length.
71
72 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
73
74         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
75         _SC_REGEX_VERSION.
76
77         * posix/getconf.c (vars): Add _POSIX_IPV6 and
78         _POSIX_RAW_SOCKETS.
79
80 2014-09-13  Allan McRae  <allan@archlinux.org>
81
82         * po/ru.po: Update Russian translation from translation project.
83
84 2014-09-12  Roland McGrath  <roland@hack.frob.com>
85
86         * locale/programs/locale.c (show_locale_vars): Inline local function
87         into its sole call site.  Clean up some style nits.
88         (print_item): New function, broken out of ...
89         (show_info): ... local function here.  Clean up style nits.
90
91         * locale/programs/ld-ctype.c (set_one_default): New function, broken
92         out of ...
93         (set_class_defaults): ... local function set_default here.
94         Define set_default as a macro locally to pass constant parameters.
95         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
96         rather than a shared local.
97
98         * stdlib/rpmatch.c (try): New function, broken out of ...
99         (rpmatch): ... local function here.  Also, prototypify definition.
100
101 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
102
103         * scripts/soversions.awk: Do not handle configuration names.
104         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
105         vendor and os variables to soversions.awk.
106         * configure.ac: Do not modify gnu-* host_os.
107         * configure: Regenerated
108         * shlib-versions: Remove first column with configuration names.
109         * nptl/shlib-versions: Likewise.
110         * nptl_db/shlib-versions: Likewise.
111         * sysdeps/hppa/shlib-versions: Likewise.
112         * sysdeps/m68k/shlib-versions: Likewise.
113         * sysdeps/mach/hurd/shlib-versions: Likewise.
114         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
115         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
116         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
117         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
118         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
119         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
120         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
121         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
123         Likewise.
124         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
125         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
126         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
127         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
128         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
129         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
130         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
131         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
132
133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
134         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
136         Regenerated.
137         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
139         Condition symbol version definitions on [HAVE_ELFV2_ABI].
140
141         * shlib-versions: Remove OS-specific entries.  Moved to files in
142         sysdeps.
143         * sysdeps/mach/hurd/shlib-versions: New file.
144         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
145
146         * nptl/shlib-versions: Remove architecture-specific entries.
147         Moved to files in sysdeps.
148         * shlib-versions: Likewise.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
150         file.
151         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
152         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
153         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
154         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
155
156         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
157         (UDP_NO_CHECK6_RX): Likewise.
158
159 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
160
161         * sysdeps/posix/sysconf.c (__sysconf): Spell
162         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
163
164 2014-08-12  Florian Weimer  <fweimer@redhat.com>
165
166         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
167         loading.
168         * iconv/Versions (__gconv_transliterate): Export for use from
169         gconv modules.
170         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
171         (struct __gconv_trans_data, __gconv_trans_fct,
172         __gconv_trans_context_fct, __gconv_trans_query_fct,
173         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
174         definitions.
175         (struct __gconv_step_data): Remove __trans member.
176         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
177         longer hidden.  Remove unused trans_data argument.
178         * iconv/gconv_int.h (struct trans_struct): Remove definition.
179         (__gconv_translit_find): Remove declaration.
180         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
181         prototype.
182         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
183         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
184         trans_data argument.  Add hidden definition.
185         (__gconv_translit_find): Remove.
186         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
187         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
188         * iconv/skeleton.c: Remove transliteration initialization.
189         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
190         __gconv_step_data initialization.
191         * libio/iofwide.c (__libio_translit_): Remove.
192         (_IO_fwide): Adjust struct __gconv_step_data initialization.
193         * wcsmbs/btowc.c (__btowc): Likewise.
194         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
195         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
196         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
197         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
198         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
199         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
200         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
201         * wcsmbs/wctob.c (wctob): Likewise.
202
203 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
204
205         [BZ #16194]
206         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
207         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
208         register usage.
209         * sysdeps/x86/Makefile: Adjust.
210
211 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
212             Roland McGrath  <roland@hack.frob.com>
213
214         * locale/weight.h: Add include guard.
215         (findidx): Make static rather than auto; take new parameters
216         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
217         * locale/weightwc.h: Likewise.
218         * posix/fnmatch_loop.c
219         (FCT): Change type of EXTRA from int32_t to wint_t.
220         Don't include either header inside the function.
221         Call FINDIDX rather than findidx, and pass new arguments.
222         #undef FINDIDX at the end of the file.
223         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
224         FINDIDX before including fnmatch_loop.c for the non-wide version.
225         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
226         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
227         for the wide version.
228         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
229         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
230         Pass new arguments to findidx.
231         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
232         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
233         Don't #include it inside the function.  Pass new arguments to findidx.
234         * posix/regex_internal.h
235         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
236         (re_string_elem_size_at): Don't #include it inside the function.
237         Pass new arguments to findidx.
238         * string/strcoll_l.c: #include WEIGHT_H at top level.
239         (get_next_seq): Don't #include it inside the function.
240         Pass new arguments to findidx.
241         (get_next_seq_nocache): Likewise.
242         * string/strxfrm_l.c: #include WEIGHT_H at top level.
243         (STRXFRM): Don't #include it inside the function.
244         Pass new arguments to findidx.
245
246 2014-09-11  Florian Weimer  <fweimer@redhat.com>
247
248         [BZ #17344]
249         * malloc/malloc.c (unlink): Turn asserts into a call to
250         malloc_printerr.
251
252 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
253
254         [BZ #17370]
255         * libio/wfileops (do_ftell_wide): Free OUT.
256
257 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
258
259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
260
261 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
262
263         [BZ #17363]
264         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
265         group if the current group is empty.
266
267 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
268
269         * benchtests/bench-memset.c (test_main): Add more test from size
270         from 32 to 512 bytes.
271         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
272         Add POWER8 memset object.
273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
274         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
275         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
276         implementation.
277         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
278         Likewise.
279         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
280         multiarch POWER8 memset optimization.
281         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
282         POWER8 memset optimization.
283
284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
285         Remove bzero multiarch objects.
286         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
287         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
288         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
289         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
290         Remove define.
291         [__bzero]: Redefine to specific name.
292         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
293         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
294         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
295         define.
296         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
297         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
298
299 2014-09-10  Florian Weimer  <fweimer@redhat.com>
300
301         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
302         warnings into errors.
303
304         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
305         __cxa_thread_atexit_impl prototype.
306
307 2014-09-09  Steve Ellcey  <sellcey@mips.com>
308
309         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
310         Fix capitalization of error message.
311
312 2014-09-09  Steve Ellcey  <sellcey@mips.com>
313
314         * sysdeps/mips/preconfigure: Modify ABI tests.
315
316 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
317
318         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
319
320 2014-09-07  Roland McGrath  <roland@hack.frob.com>
321             Carlos O'Donell  <carlos@systemhalted.org>
322
323         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
324         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
325         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
326         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
327         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
328         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
329         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
330         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
331         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
332         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
334         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
336         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
338         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
340         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
342         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
343         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
344         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
345         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
346         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
347         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
348         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
349         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
350         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
351         Deconditionalize the code that was previously under [RESET_PID].
352         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
353         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
354         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
355         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
356         include sysdep.h.
357
358 2014-09-08  Allan McRae  <allan@archlinux.org>
359
360         * version.h (RELEASE): Set to "development".
361         (VERSION): Set to "2.20.90"
362
363 2014-09-07  Allan McRae  <allan@archlinux.org
364
365         * version.h (RELEASE): Set to "stable".
366         (VERSION): Set to "2.20"
367         * include/features.h (__GLIBC_MINOR__): Set to 20.
368
369         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
370         Liebler.
371
372         * po/ko.po: Update Korean translation from translation project.
373
374 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
375
376         [BZ #17354]
377         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
378         macro for handling signed relocations.
379
380 2014-09-03  Florian Weimer  <fweimer@redhat.com>
381
382         [BZ #17325]
383         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
384         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
385         assert.
386         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
387         * iconvdata/ibm935.c (BODY): Likewise.
388         * iconvdata/ibm937.c (BODY): Likewise.
389         * iconvdata/ibm939.c (BODY): Likewise.
390         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
391         assert.
392         * iconvdata/Makefile (iconv-test.out): Pass module list to test
393         script.
394         * iconvdata/run-iconv-test.sh: New test loop for checking for
395         decoder crashers.
396
397 2014-09-02  Khem Raj  <raj.khem@gmail.com>
398
399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
400         libm_hidden_ver.
401
402 2014-09-01  Allan McRae  <allan@archlinux.org>
403
404         * po/eo.po: Update Esperanto translation from translation project.
405
406         * po/ca.po: Update Catalan translation from translation project.
407
408 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
409
410         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
411         __proc_dostop call.
412
413 2014-08-27  Mark Wielaard  <mjw@redhat.com>
414
415         [BZ #17319]
416         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
417         to call set_thread_area instead of hand written asm.
418         (__NR_set_thread_area): Removed define.
419         (TLS_FLAG_WRITABLE): Likewise.
420         (__ASSUME_SET_THREAD_AREA): Remove check.
421         (TLS_EBX_ARG): Remove define.
422         (TLS_LOAD_EBX): Likewise.
423
424 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
425
426         Simplify atomicity of socket creation in bind.
427
428         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
429         looking up the name after linking the file.
430
431 2014-08-27  Allan McRae  <allan@archlinux.org>
432
433         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
434
435 2014-08-26  Florian Weimer  <fweimer@redhat.com>
436
437         [BZ #17187]
438         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
439         trans_compare, open_translit, __gconv_translit_find):
440         Remove module loading code.
441
442 2014-08-26  Allan McRae  <allan@archlinux.org>
443
444         * po/vi.po: Update Vietnamese translation from translation project.
445
446         * po/uk.po: Update Ukrainian translation from translation project.
447
448         * po/fr.po: Update French translation from translation project.
449
450         * po/ru.po: Update Russian translation from translation project.
451
452         * po/pl.po: Update Polish translation from translation project.
453
454         * po/cs.po: Update Czech translation from translation project.
455
456         * po/de.po: Update German translation from translation project.
457
458         * po/bg.po: Update Bulgarian translation from translation project.
459
460         * po/sv.po: Update Sweedish translation from translation project.
461
462         * po/nl.po: Update Dutch translation from translation project.
463
464         * po/es.po: Update Spanish translation from translation project.
465
466 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
467
468         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
469
470         * catgets/Makefile (CPPFLAGS-gencat): Remove.
471         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
472         (CPPFLAGS-iconvconfig): Likewise.
473         * timezone/Makefile (CPPFLAGS-zic): Likewise.
474
475         * include/libc-symbols.h: Remove unnecessary check for
476         NOT_IN_libc.
477         * nptl/pthreadP.h: Likewise.
478         * sysdeps/aarch64/setjmp.S: Likewise.
479         * sysdeps/alpha/setjmp.S: Likewise.
480         * sysdeps/arm/sysdep.h: Likewise.
481         * sysdeps/i386/setjmp.S: Likewise.
482         * sysdeps/m68k/setjmp.c: Likewise.
483         * sysdeps/posix/getcwd.c: Likewise.
484         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
485         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
486         * sysdeps/s390/s390-32/setjmp.S: Likewise.
487         * sysdeps/s390/s390-64/setjmp.S: Likewise.
488         * sysdeps/sh/sh3/setjmp.S: Likewise.
489         * sysdeps/sh/sh4/setjmp.S: Likewise.
490         * sysdeps/unix/alpha/sysdep.h: Likewise.
491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
493         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
494         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
497         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
499         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
500         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
502         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
504         * sysdeps/x86_64/setjmp.S: Likewise.
505
506 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
507
508         [BZ #17263]
509         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
510         <stdint.h>.
511         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
512         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
513
514 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
515
516         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
517
518         [BZ #17262]
519         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
520         and __x86_64__ when disabling x87 inline functions.
521
522 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
523
524         [BZ #17259]
525         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
526         asm statement with __cpuid_count.
527
528 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
529
530         * configure.ac: Change __ehdr_start code to dereference the struct.
531         Run readelf on the output to look for relocations.
532         * configure: Regenerated.
533
534 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
535
536         [BZ #17261]
537         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
538         value to 0.
539         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
540
541 2014-08-12  Roland McGrath  <roland@hack.frob.com>
542
543         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
544
545 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
546
547         [BZ #16892]
548         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
549         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
550
551 2014-08-12  Sean Anderson  <seanga2@gmail.com>
552
553         * malloc/malloc.c: Fix typo in comment.
554
555 2014-08-09  Allan McRae  <allan@archlinux.org>
556
557         * Regenerate libc.po.
558
559 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
560
561         * intl/tst-gettext2.sh: Check every lang file for creation.
562
563 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
564
565         * sysdeps/aarch64/fpu/math_private.h
566         (libc_feholdsetround_noex_aarch64_ctx): New function.
567
568 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
569
570         * sysdeps/arm/armv6/strcpy.S (strcpy):
571         Fix performance issue in misaligned cases.
572
573 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
574
575         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
576         Move definition from termios.h.
577         (struct termio): Likewise.
578         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
579         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
580         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
581         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
582         Likewise.
583         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
584         Move definition to ioctl-types.h
585         (struct termio): Likewise.
586         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
587         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
588         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
589         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
590         Likewise.
591
592 2014-08-05  Richard Henderson  <rth@redhat.com>
593
594         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
595         exceptions.
596         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
597         Add fraiseexcpt.
598         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
599         Use __feraiseexcept.
600         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
601         Protect libm symbols with IS_IN_libm.
602
603         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
604
605 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
606
607         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
608
609 2014-08-04  Will Newton  <will.newton@linaro.org>
610
611         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
612         file.
613
614 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
615
616         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
617         variants for each function.
618
619 2014-08-04  Roland McGrath  <roland@hack.frob.com>
620
621         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
622         appended ...
623         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
624         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
625         appended ...
626         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
627         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
628         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
629         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
630         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
631         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
632         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
633         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
634         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
635         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
636         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
637         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
638         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
639         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
640         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
641         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
642         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
643         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
644         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
645         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
646         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
647         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
648         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
649         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
651         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
652         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
653         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
654         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
655         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
657         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
658         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
659         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
660         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
661         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
662         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
663         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
664         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
665         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
666         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
668         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
670         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
671         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
672         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
673         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
674         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
675         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
676         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
677         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
678         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
679         Update #include.
680         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
681         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
682
683 2014-08-04  Roland McGrath  <roland@hack.frob.com>
684
685         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
686         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
687         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
688         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
689         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
690         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
691
692 2014-08-04  Roland McGrath  <roland@hack.frob.com>
693
694         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
695         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
696         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
697         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
698
699 2014-08-04  Roland McGrath  <roland@hack.frob.com>
700
701         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
702         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
703         (__libc_vfork): Define function under this name.
704         (__vfork): Define as an alias.
705         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
706         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
707
708 2014-08-04  Roland McGrath  <roland@hack.frob.com>
709
710         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
711         that was previously under [RESET_PID].
712         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
713
714 2014-08-04  Andreas Schwab  <schwab@suse.de>
715
716         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
717
718 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
719
720         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
721         (main): Likewise.
722
723 2014-08-01  Roland McGrath  <roland@hack.frob.com>
724
725         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
726
727 2014-08-01  Richard Henderon  <rth@redhat.com>
728
729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
730         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
731         typo in exact zero test.
732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
733         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
735
736 2014-08-01  Roland McGrath  <roland@hack.frob.com>
737
738         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
739         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
740         * sysdeps/arm/sysdep.h: ... here.
741         [!__ASSEMBLER__]: Include <stdint.h>.
742
743 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
744
745         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
746         (HAVE_WCTYPE_H): Likewise.
747         (HAVE_ISWCTYPE): Likewise.
748         (ENABLE_NLS): Likewise.
749         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
750         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
751
752         * posix/regex_internal.c: Check if DEBUG is defined and is
753         set.
754
755         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
756         (HAVE_MBSRTOWCS): Likewise.
757         * posix/fnmatch.c: Include string.h unconditionally.
758
759 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
760
761         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
762         reversal.
763
764 2014-07-31  Roland McGrath  <roland@hack.frob.com>
765
766         * sysdeps/generic/safe-fatal.h: New file.
767         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
768         * nptl/forward.c: Include it.
769         (__pthread_unwind): Use __safe_fatal as default action, rather
770         than a bogus use of INTERNAL_SYSCALL that could never work.
771
772         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
773         * configure.ac (libc_cv_builtin_trap): New test.
774         * configure: Regenerated.
775         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
776         (ABORT_INSTRUCTION): Define using __builtin_trap.
777
778         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
779         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
780         * sysdeps/nptl/nptl-signals.h: New file.
781         * nptl/pthreadP.h: Include <nptl-signals.h>.
782
783 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
784
785         * sysdeps/s390/s390-64/utf16-utf32-z9.c
786         (ONE_DIRECTION): Define.
787         * sysdeps/s390/s390-64/utf8-utf16-z9.c
788         (ONE_DIRECTION): Define.
789         * sysdeps/s390/s390-64/utf8-utf32-z9.c
790         (ONE_DIRECTION): Define.
791
792 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
793
794         * sysdeps/s390/Makefile: Delete file.
795         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
796         * sysdeps/s390/__longjmp.c: Delete file.
797         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
798         Remove fields __flags and __reserved.
799         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
800         and add versioning.
801         * sysdeps/s390/rtld-__longjmp.c: Delete file.
802         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
803         * sysdeps/s390/rtld-setjmp.S: Likewise.
804         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
805         * sysdeps/s390/s390-32/__longjmp.c: ... here.
806         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
807         * sysdeps/s390/s390-32/setjmp.S: ... here.
808         Add versioning.
809         (__sigsetjmp): Remove setting __flags field.
810         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
811         * sysdeps/s390/s390-64/__longjmp.c: ... here.
812         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
813         * sysdeps/s390/s390-64/setjmp.S: ... here.
814         Add versioning.
815         (__sigsetjmp): Remove setting __flags field.
816         * sysdeps/s390/setjmp.S: Delete file.
817         * sysdeps/s390/sigjmp.c: Likewise.
818         * sysdeps/s390/v1-longjmp.c: Likewise.
819         * sysdeps/s390/v1-setjmp.h: Likewise.
820         * sysdeps/s390/v1-sigjmp.c: Likewise.
821         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
822         Remove v1-longjmp_chk.
823         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
824         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
825         Include debug/longjmp_chk.c and add versioning.
826         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
827         Include nptl/pt-longjmp.c and add versioning.
828         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
829         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
830         Include __longjmp.c.
831         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
832         Move to ...
833         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
834         (__getcontext): Remove setting __flags field.
835         Add versioning.
836         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
837         Don't restore upper high grps.
838         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
839         Likewise.
840         (__swapcontext): Remove setting uc_flags field.
841         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
842         Delete file.
843         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
844         Include __longjmp.c.
845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
846         Move to ...
847         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
848         (__getcontext): Remove setting __flags field.
849         Add versioning.
850         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
851         (__swapcontext): Remove setting uc_flags field.
852         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
853         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
854         Remove fields uc_high_gprs and __reserved.
855         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
856         New file with reverted content.
857         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
858         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
859         Regenerated.
860         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
861         Regenerated.
862
863 2014-07-31  Andreas Schwab  <schwab@suse.de>
864
865         * config.h.in (HAVE_IFUNC): Define to 0.
866         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
867         definedness.
868
869 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
870
871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
872         memmove-avx-unaligned, memcpy-avx-unaligned and
873         mempcpy-avx-unaligned.
874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
875         Add tests for AVX memcpy functions.
876         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
877         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
878         memcpy_chk.
879         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
880         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
881         memmove_chk.
882         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
883         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
884         mempcpy_chk.
885         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
886         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
887         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
888
889 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
890
891         [BZ #17213]
892         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
893         powerpc64le.
894
895 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
896
897         [BZ #16839]
898         * manual/llio.texi: Add section about open file description locks.
899         * manual/examples/ofdlocks.c: Example of open file description
900         lock usage.
901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
902         F_OFD_SETLK, and F_OFD_SETLKW.
903
904 2014-07-23  Allan McRae  <allan@archlinux.org>
905
906         * po/es.po: Update Spanish translation from translation project.
907
908 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
909
910         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
911
912 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
913
914         [BZ #17078]
915         * sysdeps/arm/dl-machine.h (elf_machine_rela)
916         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
917         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
918
919 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
920
921         [BZ #17088]
922         * math/fesetenv.c (__fesetenv)
923         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
924         * math/feupdateenv.c (__feupdateenv)
925         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
926
927         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
928         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
929         (__ASSUME_SOCKETCALL): Do not define.
930
931         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
932         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
933         (__ASSUME_SOCKETCALL): Do not define.
934         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
935         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
936         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
937         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
938         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
939         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
940         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
941         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
942
943         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
944         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
945         (__ASSUME_SOCKETCALL): Do not define.
946         (__ASSUME_IPC64): Define unconditionally.
947         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
948         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
949         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
951         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
952         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
953         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
954         Likewise.
955
956         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
957         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
958         (__ASSUME_SOCKETCALL): Do not define.
959         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
960         (__ASSUME_FUTEX_LOCK_PI): Likewise.
961         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
962         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
963         (__ASSUME_REQUEUE_PI): Define unconditionally.
964         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
965         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
966         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
967         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
968         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
969         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
970
971         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
972         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
973         (__ASSUME_SOCKETCALL): Do not define.
974         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
975         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
976         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
977         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
978         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
979         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
980
981         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
982         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
983         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
984         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
985         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
986         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
987         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
988         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
989         (__ASSUME_GETCPU_SYSCALL): Likewise.
990
991         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
992         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
993         cases for individual architectures.
994         * sysdeps/gnu/configure: Regenerated.
995         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
996         LIBC_SLIBDIR_RTLDDIR.
997         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
998         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
999         LIBC_SLIBDIR_RTLDDIR.
1000         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1002         LIBC_SLIBDIR_RTLDDIR.
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1004         Regenerated.
1005         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1006         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1007         file.
1008         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1009         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1010         file.
1011         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1012         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1013         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1014         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1015
1016         * sysdeps/aarch64/shlib-versions: Move to ...
1017         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1018         * sysdeps/alpha/shlib-versions: Move to ...
1019         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1020         * sysdeps/arm/shlib-versions: Move to ...
1021         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1022         * sysdeps/hppa/shlib-versions: Move all contents except for
1023         libgcc_s entry to ...
1024         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1025         entry from ...
1026         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1027         * sysdeps/ia64/shlib-versions: Move to ...
1028         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1029         entry from ...
1030         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1031         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1032         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1033         * sysdeps/microblaze/shlib-versions: Move to ...
1034         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1035         * sysdeps/mips/shlib-versions: Move to ...
1036         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1037         entry from ...
1038         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1039         * sysdeps/tile/shlib-versions: Move to ...
1040         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1041         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1042         from ...
1043         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1044         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1045         entry from ...
1046         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1047
1048 2014-07-17  Will Newton  <will.newton@linaro.org>
1049
1050         * sysdeps/arm/bits/atomic.h
1051         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1052         (__arch_compare_and_exchange_bool_16_int): Likewise.
1053         (__arch_compare_and_exchange_bool_64_int): Likewise.
1054
1055         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1056         into an #else block.
1057
1058 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1059
1060         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1061         just Linux configurations.  Test empirically that the compiler sets
1062         __ARM_EABI__, rather than using the tuple to decide.
1063         * sysdeps/arm/preconfigure: Regenerated.
1064         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1065         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1066         contents appended ...
1067         * sysdeps/arm/configure.ac: ... here.
1068         * sysdeps/arm/configure: Regenerated.
1069
1070 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1071
1072         * nptl/pthread_kill.c: New file.
1073         * nptl/pthread_sigmask.c: New file.
1074         * nptl/pthread_sigqueue.c: New file.
1075
1076         * sysdeps/nptl/lowlevellock.h: New file.
1077         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1078         * sysdeps/nptl/lowlevellock-futex.h: New file.
1079
1080         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1081         Remove dead declarations.
1082
1083 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1084
1085         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1086         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1087         config-cflags-avx2.
1088         * sysdeps/x86_64/configure.ac: Likewise.
1089         * sysdeps/i386/configure: Regenerated.
1090         * sysdeps/x86_64/configure: Likewise.
1091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1092         memset-avx2 only if config-cflags-avx2 is yes.
1093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1094         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1095         defined.
1096         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1097         only if HAVE_AVX2_SUPPORT is defined.
1098         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1099
1100 2014-07-14  Alan Modra  <amodra@gmail.com>
1101
1102         [BZ #17153]
1103         * elf/elf.h (DT_PPC64_NUM): Correct value.
1104         * NEWS: Add to fixed bug list.
1105
1106 2014-07-13  Jim Meyering  <meyering@fb.com>
1107
1108         [BZ 17150]
1109         regex: don't deref NULL upon heap allocation failure
1110         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1111         failure in one more place.
1112         To trigger the segfault, configure grep -with-included-regex,
1113         build it, and run these commands:
1114         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1115
1116 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1117
1118         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1119
1120 2014-07-11  Richard Henderson  <rth@redhat.com>
1121
1122         * sysdeps/aarch64/libm-test-ulps: Update.
1123
1124 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1125
1126         [BZ #17135]
1127         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1128         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1129         (__nptl_setxid): Initialize error member.  Call
1130         __nptl_setxid_error.
1131         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1132         * nptl/descr.h (struct xid_command): Add error member.
1133         * nptl/tst-setuid3.c: New file.
1134         * nptl/Makefile (tests): Add it.
1135
1136 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1137
1138         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1139         New define.
1140         (__lll_trylock): Use __lll_base_trylock.
1141         (__lll_cond_trylock): Likewise.
1142
1143 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1144
1145         * nptl/pthread_create.c (start_thread): Use atomic_or and
1146         lll_futex_wake directly rather than lll_robust_dead.
1147         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1148         (lll_robust_dead): Macro removed.
1149         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1150         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1151         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1152         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1154         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1155         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1156         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1157         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1158         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1159         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1160         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1161         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1162         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1163         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1164
1165         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1166         Use atomic_compare_and_exchange_val_acq directly rather than
1167         lll_robust_trylock.
1168         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1169         (__lll_robust_trylock, lll_robust_trylock): Removed.
1170         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1171         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1172         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1173         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1174         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1175         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1176         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1177         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1178         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1179         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1180         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1181         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1182         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1184
1185 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1186
1187         * manual/locale.texi (Locale Names): New section documenting
1188         locale name syntax.  Adjust menu and node chaining accordingly.
1189         (Choosing Locale): Reference Locale Names, Locale Categories.
1190         Mention setting LC_ALL=C.  Reflect that name syntax is now
1191         documented.
1192         (Locale Categories): New section title.  Reference Locale Names.
1193         LC_ALL is an environment variable, but not a category.
1194         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1195         description, now in Locale Name.  Reference that section.  Locale
1196         name syntax is now documented.
1197
1198 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1199
1200         [BZ #17137]
1201         * locale/findlocale.c (name_present, valid_locale_name): New
1202         functions.
1203         (_nl_find_locale): Use the loc_name variable to store name
1204         candidates.  Call name_present and valid_locale_name to check and
1205         validate locale names.  Return an error if the locale is invalid.
1206
1207 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1208
1209         * locale/setlocale.c (setlocale): Use strdup for allocating
1210         composite name copy.
1211
1212 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1213
1214         Sync up with gnulib.
1215         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1216         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1217         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1218         and _GL_ARG_NONNULL.
1219         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1220         [!_LIBC]: Include code for Windows and Cygwin.
1221         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1222         Include prototype for int strerror_r.
1223         [!_LIBC] (is_open): New function.
1224         (flush_stdout): New function.
1225         (print_errno_message): Use it.
1226         (error): Likewise.
1227         (error_at_line): Likewise.
1228         (error_tail) Add function attribute macros.  Use
1229         __builtin_expect.
1230
1231         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1232
1233         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1234
1235         * io/ftw.c: Include sys/param.h unconditionally.
1236
1237         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1238
1239         [BZ #17125]
1240         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1241         libc_freeres_ptr.
1242         (freecache): New function to free CACHE on exit.
1243
1244         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1245         initialization.
1246
1247 2014-07-09  David S. Miller  <davem@davemloft.net>
1248
1249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1250
1251         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1252         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1253         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1254         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1255         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1256         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1257         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1258         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1259         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1260         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1261         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1262         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1263         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1264
1265 2014-07-09  Andreas Schwab  <schwab@suse.de>
1266
1267         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1268         output.
1269         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1270         (do_test): Likewise.
1271
1272         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1273
1274 2014-07-09  Will Newton  <will.newton@linaro.org>
1275
1276         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1277         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1278         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1279         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1280         * sysdeps/hppa/start.S (_start): Likewise.
1281
1282 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1283
1284         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1285
1286         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1287         defined.
1288
1289 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1290
1291         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1292         after checking that it is non-NULL.
1293
1294         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1295
1296 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1297
1298         * sysdeps/powerpc/memmove.c: Remove file.
1299         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1300         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1301         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1302         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1303         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1304         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1305         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1306         string memmove instead of removed powerpc one.
1307
1308         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1309         [weak_alias]: Fix compiler warning due trailing data.
1310         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1311         [weak_alias]: Likewise.
1312         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1313         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1314
1315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1316         (__libc_ifunc_impl_list): Add memmove functions.
1317
1318 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1319
1320         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1321         Remove code.
1322         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1323         Likewise
1324         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1325         Likewise
1326         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1327         Likewise
1328         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1329         Likewise
1330         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1331         Likewise
1332         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1333         Likewise
1334         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1335         Likewise
1336         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1337         Likewise
1338         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1339         Likewise
1340         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1341         Likewise
1342         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1343         Likewise
1344         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1345         Likewise
1346         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1347         Likewise
1348         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1349         Likewise
1350         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1351         Likewise
1352         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1353         Likewise
1354
1355 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1356
1357         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1358         to avoid alignment traps in non-cacheable memory.
1359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1360
1361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1362         multiarch objects.
1363         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1364         file: multiarch power7 memmove.
1365         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1366         multiarch default memmove.
1367         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1368         multiarch memove for powerpc32/power4.
1369
1370         * string/bcopy.c: Use full path to include memmove.c.
1371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1372         multiarch objects.
1373         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1374         bcopy for powerpc64.
1375         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1376         bcopy for powerpc64.
1377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1378         and memmove implementations.
1379         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1380         optimized multiarch memmove for POWER7/powerpc64.
1381         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1382         default multiarch memmove for powerpc64.
1383         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1384         multiarch for powerpc64.
1385         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1386         for POWER7/powerpc64.
1387         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1388         memmove for POWER7/powerpc64.
1389
1390         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1391         glibc default one.
1392
1393         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1394         __ELF_NATIVE_CLASS equal to 64.
1395
1396 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1397
1398         * sysdeps/nptl/lowlevellock.h: File removed.
1399
1400         * NEWS: NPTL is no longer an add-on!
1401         * nptl/internaltypes.h: Moved ...
1402         * sysdeps/nptl/internaltypes.h: ... here.
1403         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1404         * sysdeps/nptl/fork.c: Likewise.
1405         * sysdeps/nptl/gai_misc.h: Likewise.
1406         * sysdeps/nptl/librt-cancellation.c: Likewise.
1407         * sysdeps/nptl/jmp-unwind.c: Likewise.
1408         * sysdeps/nptl/setxid.h: Likewise.
1409         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1410         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1411         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1412         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1413         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1414         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1415         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1416         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1417         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1418         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1419         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1420         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1421         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1422         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1423         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1424         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1425         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1426         * nptl/Makeconfig: Moved ...
1427         * sysdeps/nptl/Makeconfig: ... here.
1428         * nptl/configure: File removed.
1429         * nptl/ANNOUNCE: File removed.
1430         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1431         * sysdeps/unix/sysv/linux/configure: Regenerated.
1432
1433         * nptl/Makefile (routines): Add libc_pthread_init,
1434         libc_multiple_threads, register-atfork and unregister-atfork.
1435         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1436         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1437         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1438         pthread-pi-defines.sym, structsem.sym.
1439         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1440         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1441         [$(subdir) = nptl] (tests): Add tst-setgetname.
1442         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1443         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1444         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1445         [!LIBC_SIGACTION]: Remove aliases.
1446         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1447         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1448         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1449         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1450         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1451         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1455         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1456         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1457         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1458         __libc_allocate_rtsig_private.
1459         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1460         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1461         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1462         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1463         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1464         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1465         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1466         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1467         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1468         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1469         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1470         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1471         * nptl/internaltypes.h: ... here.
1472         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1473         * sysdeps/nptl/jmp-unwind.c: ... here.
1474         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1475         * nptl/libc-lowlevellock.c: ... here.
1476         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1477         * nptl/libc_multiple_threads.c: ... here.
1478         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1479         * nptl/libc_pthread_init.c: ... here.
1480         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1481         * nptl/lowlevelbarrier.sym: ... here.
1482         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1483         * nptl/lowlevelcond.sym: ... here.
1484         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1485         * nptl/lowlevellock.c: ... here.
1486         * nptl/lowlevellock.h: Moved ...
1487         * sysdeps/nptl/lowlevellock.h: ... here.
1488         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1489         * nptl/lowlevelrobustlock.c: ... here.
1490         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1491         * nptl/lowlevelrobustlock.sym: ... here.
1492         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1493         * nptl/lowlevelrwlock.sym: ... here.
1494         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1495         * nptl/pt-fork.c: ... here.
1496         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1497         * nptl/pthread-pi-defines.sym: ... here.
1498         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1499         * nptl/pthread_attr_getaffinity.c: ... here.
1500         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1501         * nptl/pthread_attr_setaffinity.c: ... here.
1502         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1503         * nptl/pthread_mutex_cond_lock.c: ... here.
1504         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1505         Update #include.
1506         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1507         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1508         * nptl/pthread_once.c: ... here, replacing old file.
1509         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1510         * nptl/pthread_yield.c: ... here.
1511         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1512         * nptl/register-atfork.c: ... here.
1513         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1514         * nptl/sem_post.c: ... here.
1515         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1516         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1517         * nptl/sem_timedwait.c: ... here.
1518         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1519         * nptl/sem_trywait.c: ... here.
1520         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1521         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1522         * nptl/sem_wait.c: ... here.
1523         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1524         * nptl/structsem.sym: ... here.
1525         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1526         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1527         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1528         * nptl/unregister-atfork.c: ... here.
1529         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1530         * nptl/unwindbuf.sym: ... here.
1531         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1532         * sysdeps/nptl/fork.c: ... here.
1533         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1534         * sysdeps/nptl/fork.h: ... here.
1535         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1536         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1537         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1538         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1539         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1540         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1541         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1542         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1543         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1544         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1545         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1546         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1547         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1548         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1549         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1550         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1551         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1552         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1553         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1554         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1555         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1556         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1557         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1558         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1559         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1560         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1561         * sysdeps/unix/sysv/linux/raise.c: ... here.
1562         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1563         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1564         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1565         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1566         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1567         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1568         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1569         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1570         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1571         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1572         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1573         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1574         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1575         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1576         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1577
1578 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1579
1580         * sysdeps/generic/memcopy.h: Add comment for
1581         MEMCPY_OK_FOR_FWD_MEMMOVE.
1582
1583 2014-07-04  Will Newton  <will.newton@linaro.org>
1584
1585         * string/memchr.c: Merge from gnulib.
1586         [_LIBC]: Remove conditionals.
1587         (__ptr_t): Remove define.
1588         (LONG_MAX_32_BITS): Likewise.
1589         (LONG_MAX): Likewise.
1590         (MEMCHR): Use ANSI prototype and optimize algorithm.
1591
1592         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1593
1594 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1595
1596         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1597         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1598
1599         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1600         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1601         in a bare environment with no <stdlib.h> installed.
1602         * sysdeps/nptl/configure: Regenerated.
1603
1604         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1605
1606         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1607         AC_EGREP_CPP for kernel header checks, so they only succeed if
1608         including <linux/version.h> actually works right.
1609         * sysdeps/unix/sysv/linux/configure: Regenerated.
1610
1611         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1612         value so it's not diagnosed as unused.
1613
1614         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1615         thing) with "ifeq ($(subdir),rt)".
1616
1617 2014-07-03  Richard Henderson  <rth@redhat.com>
1618
1619         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1620         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1621         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1622
1623         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1624         (math_force_eval): New.
1625
1626         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1627         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1628
1629         * sysdeps/alpha/fpu/s_round.c: Remove file.
1630         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1631
1632         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1633         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1634         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1635         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1636         (_dl_start, print_statistics): Likewise.
1637         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1638         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1639
1640         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1641         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1642         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1643         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1644         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1645         (HP_SMALL_TIMING_AVAIL): Define.
1646         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1647         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1648         (HP_SMALL_TIMING_AVAIL): Define.
1649         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1650         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1651
1652         * sysdeps/aarch64/hp-timing.h: New file.
1653
1654         * sysdeps/generic/hp-timing.h: Remove dead comment.
1655         * sysdeps/generic/hp-timing-common.h: New file.
1656         * sysdeps/alpha/hp-timing.h: Include it.
1657         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1658         * sysdeps/i386/i686/hp-timing.h: Likewise.
1659         * sysdeps/ia64/hp-timing.h: Likewise.
1660         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1661         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1662         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1663         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1664         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1665         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1666         (hp_timing_t): New.
1667
1668         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1669         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1670         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1671         * elf/rtld.c (_dl_start_final): Likewise.
1672         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1673         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1674         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1675         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1676         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1677         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1678         (HP_TIMING_DIFF_INIT): Remove.
1679         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1680         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1681         (HP_TIMING_DIFF_INIT): Remove.
1682         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1683         * sysdeps/i386/i686/hp-timing.c: Remove file.
1684         * sysdeps/x86_64/hp-timing.c: Remove file.
1685         * sysdeps/ia64/hp-timing.c: Remove file.
1686         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1687         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1689         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1690
1691         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1692         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1693         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1694         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1695         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1696         (HP_TIMING_ACCUM): Remove.
1697         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1698         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1699         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1700
1701         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1702         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1703         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1704         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1705         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1706         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1707         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1708         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1709
1710         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1711
1712 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1713
1714         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1715
1716 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717
1718         Sync up with gettext.
1719         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1720         [_MSC_VER]: Include malloc.h
1721         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1722         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1723         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1724         TEMP_FAILURE_RETRY.  Cast return of alloca.
1725         [!_LIBC] Call gl_rwlock_init.
1726         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1727
1728 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1729
1730         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1731         before checking its value.
1732
1733 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1734
1735         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1736
1737         * debug/memcpy_chk.c: Don't include pagecopy.h.
1738         * debug/mempcpy_chk.c: Likewise.
1739         * string/memcpy.c: Likewise.
1740         * string/memmove.c: Likewise.
1741         * sysdeps/powerpc/memmove.c: Likewise.
1742         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1743         definition of PAGE_COPY_FWD_MAYBE here...
1744         * sysdeps/generic/pagecopy.h: ... from here.
1745         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1746
1747 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1748             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1749
1750         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1752         optimizations.
1753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1754         (__libc_ifunc_impl_list): Likewise.
1755         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1756         multiarch strcat for PPC64.
1757         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1758         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1759
1760 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1761
1762         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1763
1764 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1765
1766         * intl/loadmsgcat.c: Remove declaration of
1767         get_sysdep_segment_value.
1768         (get_sysdep_segment_value): Use ISO C style.
1769         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1770         semicolon.  Fix typo and formatting in comment.
1771         (_nl_unload_domain): Use ISO C style.
1772
1773         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1774
1775 2014-07-02  Will Newton  <will.newton@linaro.org>
1776
1777         * malloc/obstack.c: Merge from gnulib master.
1778         [HAVE_CONFIG_H]: Remove conditional code.
1779         [!_LIBC]: Include config.h.
1780         [!ELIDE_CODE]: Don't include inttypes.h, include
1781         stdint.h unconditionally.
1782         (print_and_abort): Mark as _Noreturn.
1783         (_obstack_allocated_p): Mark as __attribute_pure__.
1784         (obstack_free): Rename to __obstack_free.
1785         [!__attribute__]: Remove conditional code.
1786         * malloc/obstack.h: Merge from gnulib master.
1787         [__cplusplus]: Move conditional down.
1788         [!__attribute_pure__]: Define __attribute_pure__ here
1789         if it is not already defined.
1790         (_obstack_memory_used): Mark as __attribute_pure__.
1791         [!__obstack_free]: Define as obstack_free.
1792         [__GNUC__]: Remove check for ancient NeXT gcc.
1793
1794 2014-07-02  Will Newton  <will.newton@linaro.org>
1795             Paul Eggert  <eggert@cs.ucla.edu>
1796
1797         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1798
1799 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1800
1801         * resolv/gethnamaddr.c: Add comment warning that the file is
1802         not maintained.
1803
1804 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1805
1806         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1807         entries.
1808
1809         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1810         entry for aio_cancel and aio_cancel64.
1811         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1812         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1813         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1814         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1815         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1816         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1817         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1818         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1819         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1820         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1821         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1822         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1823         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1824
1825 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1826
1827         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1828         * nptl/pthread_mutex_lock.c: Likewise.
1829         * nptl/pthread_mutex_timedlock.c: Likewise.
1830         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1831
1832 2014-07-01  Richard henderson  <rth@redhat.com>
1833
1834         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1835         (__isnan, __isnanl): Remove.
1836         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1837
1838         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1839
1840 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1841
1842         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1843
1844 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1845
1846         * resolv/nss_dns/dns-host.c (getanswer_r)
1847         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1848
1849 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1850
1851         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1852         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1853         undefine.
1854         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1855         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1856
1857 2014-07-01  Roland McGrath <roland@hack.frob.com>
1858
1859         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1860         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1861
1862         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1863         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1864
1865         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1866         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1867         ... here.
1868         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1869         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1870
1871         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1872         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1873         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1874         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1875
1876         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1877         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1878         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1881         Moved ...
1882         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1883         ... here.
1884         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1891         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1892         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1893         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1894         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1895         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1896         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1897         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1899         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1900         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1901         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1902         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1903         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1904         ... here.
1905         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1906         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1907         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1908         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1909         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1910         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1911         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1912         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1913
1914 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1915
1916         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1917         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1918         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1919         Add sysdep.
1920
1921 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1922
1923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1924
1925 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1926
1927         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1928         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1929
1930         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1931
1932         * sysdeps/arm/libm-test-ulps: Regenerated.
1933
1934 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1935             Roland McGrath <roland@hack.frob.com>
1936
1937         * test-skeleton.c (signal_handler): Kill the whole process group
1938         before killing the child individually.
1939         (main): Report any failure on `setpgid'.
1940
1941 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1942
1943         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1944         from _TLS_H to _ARM_NPTL_TLS_H.
1945         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1946         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1947
1948 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1949
1950         [BZ #16539]
1951         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1952         (__expm1l): Return argument unchanged when small but not
1953         subnormal.
1954
1955         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1956         include macro name.
1957         (_FP_UNPACK_RAW_1_P): Likewise.
1958         (_FP_PACK_RAW_1): Likewise.
1959         (_FP_PACK_RAW_1_P): Likewise.
1960         (_FP_MUL_MEAT_1_wide): Likewise.
1961         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1962         (_FP_MUL_MEAT_1_hard): Likewise.
1963         (_FP_DIV_MEAT_1_imm): Likewise.
1964         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1965         (_FP_DIV_MEAT_1_udiv): Likewise.
1966         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1967         (_FP_UNPACK_RAW_2): Likewise.
1968         (_FP_UNPACK_RAW_2_P): Likewise.
1969         (_FP_PACK_RAW_2): Likewise.
1970         (_FP_PACK_RAW_2_P): Likewise.
1971         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1972         (_FP_MUL_MEAT_2_wide): Likewise.
1973         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1974         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1975         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1976         (_FP_MUL_MEAT_2_gmp): Likewise.
1977         (_FP_DIV_MEAT_2_udiv): Likewise.
1978         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1979         (_FP_FRAC_SRL_4): Likewise.
1980         (_FP_FRAC_SRST_4): Likewise.
1981         (_FP_FRAC_SRS_4): Likewise.
1982         (_FP_UNPACK_RAW_4): Likewise.
1983         (_FP_UNPACK_RAW_4_P): Likewise.
1984         (_FP_PACK_RAW_4): Likewise.
1985         (_FP_PACK_RAW_4_P): Likewise.
1986         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1987         (_FP_MUL_MEAT_4_wide): Likewise.
1988         (_FP_MUL_MEAT_4_gmp): Likewise.
1989         (umul_ppppmnnn): Likewise.
1990         (_FP_DIV_MEAT_4_udiv): Likewise.
1991         (__FP_FRAC_ADD_4): Likewise.
1992         (__FP_FRAC_SUB_3): Likewise.
1993         (__FP_FRAC_SUB_4): Likewise.
1994         (__FP_FRAC_DEC_3): Likewise.
1995         (__FP_FRAC_DEC_4): Likewise.
1996         (__FP_FRAC_ADDI_4): Likewise.
1997         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1998         (_FP_FRAC_SRL_8): Likewise.
1999         (_FP_FRAC_SRS_8): Likewise.
2000
2001         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2002         include macro name.
2003         (FP_UNPACK_RAW_EP): Likewise.
2004         (FP_PACK_RAW_E): Likewise.
2005         (FP_PACK_RAW_EP): Likewise.
2006         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2007         (_FP_ISSIGNAN): Likewise.
2008         (_FP_ADD_INTERNAL): Likewise.
2009         (_FP_FMA): Likewise.
2010         (_FP_CMP): Likewise.
2011         (_FP_SQRT): Likewise.
2012         (_FP_TO_INT): Likewise.
2013         (_FP_FROM_INT): Likewise.
2014         (FP_EXTEND): Likewise.
2015         (_FP_DIV_MEAT_N_loop): Likewise.
2016
2017 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2018
2019         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2020         throughout.
2021
2022 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2023
2024         [BZ #17097]
2025         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2026         result with correct sign in case of exponents that produce
2027         overflow except for X very close to 1.
2028
2029 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2030
2031         mktime: merge #if/#ifdef usage from glibc
2032         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2033         as that works with both Glibc's and Gnulib's style.
2034         See thread starting at Siddhesh Poyarekar's bug report at:
2035         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2036
2037 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2038
2039         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2040         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2041         * sysdeps/tile/tilegx/memmove.c: Remove file.
2042
2043 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2044
2045         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2046         abi-name definition.
2047         * scripts/soversions.awk: Do not handle or generate ABI lines.
2048         * shlib-versions: Remove ABI entries.
2049         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2050         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2051
2052 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2053
2054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2055         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2056         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2057         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2059         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2060         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2063         ... here.
2064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2065         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2067         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2069         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2071         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2073         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2075         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2077         Moved ...
2078         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2080         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2082         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2087         Moved ...
2088         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2092         Moved ...
2093         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2095         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2097         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2099         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2101         Moved ...
2102         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2104         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2105         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2106         Moved ...
2107         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2109         Moved ...
2110         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2112         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2114         Moved ...
2115         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2116         ... here.
2117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2118         Identical file removed.
2119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2120         Moved ...
2121         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2123         Identical file removed.
2124         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2125         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2127         Moved ...
2128         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2130         Identical file removed.
2131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2132         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2133         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2134         Identical file removed.
2135         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2136         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2137         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2138         Identical file removed.
2139         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2140         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2141         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2142         Identical file removed.
2143         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2144         Moved ...
2145         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2147         Identical file removed.
2148         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2149         Moved ...
2150         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2152         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2154         Identical file removed.
2155         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2156         Moved ...
2157         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2158         ... here.
2159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2160         Identical file removed.
2161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2162         Moved ...
2163         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2165         Identical file removed.
2166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2167         Moved ...
2168         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2170         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2172         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2173         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2174         Moved ...
2175         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2176         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2177         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2178
2179         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2180         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2181         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2182         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2183         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2184
2185 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2186
2187         [BZ #17092]
2188         * nscd/nscd.c (monitor_child): Return exit status of child
2189         instead of return value from wait syscall.
2190
2191 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2192
2193         * configure.ac (libc_commonpagesize): Remove variable.
2194         (libc_relro_required): Likewise.
2195         (libc_cv_z_relro): Remove configure test.
2196         * configure: Regenerated.
2197         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2198         variable.
2199         (libc_relro_required): Likewise.
2200         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2201         (libc_relro_required): Likewise.
2202         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2203         (libc_relro_required): Likewise.
2204         * sysdeps/arm/preconfigure: Regenerated.
2205         * sysdeps/ia64/preconfigure: Remove file.
2206         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2207         variable.
2208         (libc_relro_required): Likewise.
2209
2210         [BZ #16561]
2211         [BZ #16562]
2212         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2213         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2214         recompute overflowing results in original rounding mode.
2215         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2216         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2217         recompute overflowing results in original rounding mode.
2218         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2219         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2220         recompute overflowing results in original rounding mode.
2221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2222         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2223         recompute overflowing results in original rounding mode.
2224         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2225         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2226         recompute overflowing results in original rounding mode.
2227         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2228         (libc_feholdsetround_ctx): New macro.
2229         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2230         * sysdeps/i386/fpu/libm-test-ulps: Update.
2231         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2232
2233 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2234
2235         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2236         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2237         corresponding .cpsetup call.
2238
2239 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2240
2241         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2242         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2243         * sysdeps/arm/Makefile [$(subdir) = csu]
2244         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2245         (static-only-routines): Add aeabi_read_tp here.
2246         (shared-only-routines): Add libc-aeabi_read_tp here.
2247         (CFLAGS-libc-start.c): Add -fexceptions here.
2248         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2249         (sysdep_routines, static-only-routines, shared-only-routines):
2250         Don't add to these here.
2251         (CFLAGS-libc-start.c): Likewise.
2252
2253         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2254         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2255         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2256         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2257         * sysdeps/arm/Makefile [$(subdir) = rt]
2258         (librt-sysdep_routines, librt-shared-only-routines):
2259         Append rt-aeabi_unwind_cpp_pr1 here.
2260         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2261         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2262         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2263         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2264         Append nptl-aeabi_unwind_cpp_pr1 here.
2265         (tests): Filter out tst-cleanupx4 here.
2266         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2267         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2268         Don't do those here.
2269
2270 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2271
2272         * scripts/list-sources.sh: Do not handle ports specially.
2273
2274 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2275
2276         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2277         * sysdeps/arm/feupdateenv.c: Likewise.
2278
2279         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2280
2281 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2282
2283         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2284         trailing whitespace removed.
2285         * scripts/config.guess: Update to version 2014-03-23.
2286         * scripts/config.sub: Update to version 2014-05-01
2287         * scripts/install-sh: Update to version 2013-12-25.23.
2288         * scripts/move-if-change: Update from gnulib.
2289
2290 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2291
2292         * debug/memmove_chk.c: Remove pagecopy.h include.
2293
2294 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2295
2296         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2297         identical to gnulib mktime.
2298
2299 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2300
2301         * configure.ac: Do not test for machine being rs6000.  Do not test
2302         for powerpc*-*soft.
2303         * configure: Regenerated.
2304
2305         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2306         test.
2307         * configure: Regenerated.
2308         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2309         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2310         Remove configure test.
2311         * sysdeps/arm/configure: Regenerated.
2312         * sysdeps/nptl/configure.ac: Do not check
2313         libc_cv_asm_cfi_directives.
2314         * sysdeps/nptl/configure: Regenerated.
2315         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2316         * sysdeps/x86_64/nptl/configure: Remove generated file.
2317         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2318         unconditional.
2319         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2320
2321 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2322
2323         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2324         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2325         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2326         it is defined.
2327
2328         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2329         instead of whether it is defined.
2330         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2331         * sysdeps/hppa/dl-machine.h: Likewise.
2332         * sysdeps/ia64/dl-machine.h: Likewise.
2333         * sysdeps/m68k/dl-machine.h: Likewise.
2334         * sysdeps/microblaze/dl-machine.h: Likewise.
2335         * sysdeps/mips/dl-machine.: Likewise.
2336         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2337         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2338         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2339         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2340         * sysdeps/sh/dl-machine.h: Likewise.
2341         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2342         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2343         * sysdeps/tile/dl-machine.h: Likewise.
2344         * sysdeps/x86_64/dl-machine.h: Likewise.
2345
2346         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2347         code.
2348         (verify_persistent_db): Likewise.
2349
2350 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2351
2352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2353         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2357         Moved ...
2358         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2359         ... here.
2360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2363         Identical file removed.
2364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2365         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2367         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2375         Moved ...
2376         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2380         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2382         Moved ...
2383         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2385         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2387         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2389         Identical file removed.
2390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2391         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2393         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2395         Moved ...
2396         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2397         ... here.
2398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2401         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2403         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2405         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2407         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2409         Moved ...
2410         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2412         Moved ...
2413         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2415         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2417         Moved ...
2418         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2420         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2421
2422         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2423         folded into ...
2424         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2425         * sysdeps/unix/sysv/linux/s390/Versions
2426         (libpthread: GLIBC_2.19): New version set.
2427         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2428         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2429         (librt: GLIBC_2.3.3): New version set.
2430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2431         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2432         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2433         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2434         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2435         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2436         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2437         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2438         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2439         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2440         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2442         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2443         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2444         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2445         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2446         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2447         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2448         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2449         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2450         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2451         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2453         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2455         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2456         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2457         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2458         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2459         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2460         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2461         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2466         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2468         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2470         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2472         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2473         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2474         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2475
2476         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2477         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2478         (__libc_vfork): Define the function under this name.
2479         [!NOT_IN_libc] (__vfork): Make this an alias.
2480         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2482         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2483         (__libc_vfork): Define the function under this name.
2484         [!NOT_IN_libc] (__vfork): Make this an alias.
2485         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2486         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2487         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2488         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2490         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2491
2492         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2493         code that was previously under [RESET_PID].
2494         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2495         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2497
2498         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2499         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2501         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2502         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2503         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2504         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2505         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2506         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2507         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2508         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2509         Moved ...
2510         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2511         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2512         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2513         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2514         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2515         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2516         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2517         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2518         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2519         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2520         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2521         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2522         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2523         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2524         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2525         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2526         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2527         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2528         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2529         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2530         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2531         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2532         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2533         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2534         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2535         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2536         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2537         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2538         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2539
2540 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2541
2542         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2543         that was previously under [RESET_PID].
2544         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2545
2546 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2547
2548         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2549         not undefine and redefine.
2550         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2551         [O_CLOEXEC]: Make code unconditional.
2552         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2553         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2554         <kernel-features.h>.
2555         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2556         conditional variable definition.
2557         (shm_open) [O_CLOEXEC]: Make code unconditional.
2558         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2559         code.
2560
2561         * configure.ac (USE_REGPARMS): Don't define here.
2562         * configure: Regenerated.
2563         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2564         * sysdeps/i386/configure: Regenerated.
2565
2566         * nptl/createthread.c: Don't include kernel-features.h.
2567         * nptl/pthread_cancel.c: Likewise.
2568         * nptl/pthread_condattr_setclock.c: Likewise.
2569         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2570         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2571         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2572         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2573         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2574         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2575         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2576         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2577         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2578         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2579         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2580         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2581         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2582         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2583         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2584         * nscd/gai.c: Likewise.
2585         * nss/nss_db/db-open.c: Likewise.
2586         * sysdeps/generic/ldsodefs.h: Likewise.
2587         * sysdeps/sh/nptl/tls.h: Likewise.
2588         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2589         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2590         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2591         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2592         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2593         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2594         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2595         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2597         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2598         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2599         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2600         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2601         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2602         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2603         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2604         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2605         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2606         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2607         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2608         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2609         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2610         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2611         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2616         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2617         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2618         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2619         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2620         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2621         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2622         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2623         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2624         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2625         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2626         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2627         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2628         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2629         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2630         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2631         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2632         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2633         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2634         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2635         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2636         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2637         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2638         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2639         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2640         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2641         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2642         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2643         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2644         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2645         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2668         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2669         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2670         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2671         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2672         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2673         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2675         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2676         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2677         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2678         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2679         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2680         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2681         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2682         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2683         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2685         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2686         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2687         * sysdeps/unix/sysv/linux/system.c: Likewise.
2688         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2689         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2690         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2691         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2692         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2693         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2694         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2695
2696         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2697         * configure: Regenerated.
2698         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2699
2700         * configure.ac (base_machine): Do not set specially for particular
2701         machines here.
2702         * configure: Regenerated.
2703         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2704         settings from configure.ac.
2705         * sysdeps/i386/preconfigure: New file.
2706         * sysdeps/s390/preconfigure: Likewise.
2707         * sysdeps/sh/preconfigure: Likewise.
2708         * sysdeps/sparc/preconfigure: Likewise.
2709
2710 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2711
2712         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2713         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2714         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2715         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2716         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2717         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2718         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2719         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2720         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2721         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2722         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2723         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2724         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2725         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2726         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2727         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2729         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2730         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2731
2732         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2733         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2734         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2735         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2736         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2737         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2738         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2739         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2740         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2741         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2742         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2743         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2744         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2745         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2746         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2747         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2748         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2749         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2750         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2751         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2753         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2755         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2757         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2761         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2763         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2765         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2767         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2768         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2769         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2770
2771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2772         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2774         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2776         Moved ...
2777         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2778         ... here.
2779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2780         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2782         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2784         Moved ...
2785         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2787         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2789         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2799         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2804         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2806         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2808         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2810         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2814         ... here.
2815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2816         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2818         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2820         Moved ...
2821         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2823         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2825         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2827         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2829         Moved ...
2830         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2832         Moved ...
2833         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2835         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2837         Moved ...
2838         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2840         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2842         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2843
2844 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2845
2846         * timezone/checktab.awk: Update from tzcode 2014e.
2847         * timezone/private.h: Likewise.
2848         * timezone/tzfile.h: Likewise.
2849         * timezone/zdump.c: Likewise.
2850         * timezone/zic.c: Likewise.
2851
2852         * sysdeps/unix/sysv/linux/kernel-features.h
2853         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2854         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2855         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2856         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2857         Remove conditional code.
2858
2859 2014-06-25  Will Newton  <will.newton@linaro.org>
2860
2861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2862         (_dl_arm_cap_flags): Add HWCAP2 values.
2863         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2864         (_DL_HWCAP_COUNT): Increase to 37.
2865         (_DL_HWCAP_LAST): New define.
2866         (_DL_HWCAP2_LAST): New define.
2867         (_dl_procinfo): Add support for printing
2868         AT_HWCAP2 entries.
2869         (_dl_string_hwcap): Use _dl_hwcap_string.
2870
2871 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2872
2873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2874
2875 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2876
2877         * README: Do not mention ports directory.
2878
2879         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2880         Remove macro.
2881         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2882         <kernel-features.h>.
2883         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2884         conditional variable definition.
2885         (__futimes): Update comment.
2886         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2887         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2888
2889         [BZ #16560]
2890         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2891         arguments close to 0.
2892         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2893         Likewise.
2894         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2895         Likewise.
2896         * math/auto-libm-test-in: Add more tests of exp10.
2897         * math/auto-libm-test-out: Regenerated.
2898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2899
2900         * sysdeps/unix/sysv/linux/kernel-features.h
2901         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2902         * sysdeps/unix/sysv/linux/readv.c: Do not include
2903         <kernel-features.h>.
2904         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2905         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2906         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2907         unconditional.
2908         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2909         conditional code.
2910         * sysdeps/unix/sysv/linux/writev.c: Do not include
2911         <kernel-features.h>.
2912         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2913         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2914         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2915         unconditional.
2916         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2917         conditional code.
2918
2919 2014-06-25  Will Newton  <will.newton@linaro.org>
2920
2921         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2922         comment changes throughout the file.  Remove checks
2923         for HAVE_*_H definitions that are not required.
2924         (__gen_tempname): Call abort if an unknown kind value is
2925         passed.
2926
2927 2014-06-25  Andreas Schwab  <schwab@suse.de>
2928
2929         [BZ #17086]
2930         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2931         scalbln, scalblnf, scalblnl in libc.
2932
2933 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2934
2935         [BZ #17086]
2936         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2937         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2938         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2939
2940 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2941
2942         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2943         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2944         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2945         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2946         Update #include.
2947         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2948         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2949         Update #include.
2950         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2951         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2952         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2953         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2954         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2955         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2956         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2957         * sysdeps/x86/bits/semaphore.h: ... here.
2958         * sysdeps/x86/nptl/elide.h: Moved ...
2959         * sysdeps/x86/elide.h: ... here.
2960         * sysdeps/x86_64/nptl/Implies: File removed.
2961         * sysdeps/i386/nptl/Implies: File removed.
2962
2963 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2964
2965         [BZ #16539]
2966         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2967         return the argument for normal arguments with exponent below -64.
2968         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2969         Likewise.
2970         * math/auto-libm-test-in: Add another test of expm1.
2971         * math/auto-libm-test-out: Regenerated.
2972
2973         [BZ #16287]
2974         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2975         calling __erfcl for arguments at least 16.
2976         * math/auto-libm-test-in: Add more tests of erf.
2977         * math/auto-libm-test-out: Regenerated.
2978
2979         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2980         individual architectures.
2981         * sysdeps/unix/sysv/linux/configure: Regenerated.
2982         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2983         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2984         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2985         (ldd_rewrite_script): Define variable.
2986         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2988         file.
2989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2990         generated file.
2991         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2992         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2993         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2994         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2995         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2996         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2997         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2998         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2999
3000 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3001
3002         [BZ #17084]
3003         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3004         Rename member __data.d to __data.__elision_data.
3005
3006 2014-06-24  Wilco  <wdijkstr@arm.com>
3007
3008         * NEWS: Add 16918 to fixed bug list.
3009
3010 2014-06-24  Wilco  <wdijkstr@arm.com>
3011
3012         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3013
3014 2014-06-24  Wilco  <wdijkstr@arm.com>
3015
3016         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3017         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3018         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3019         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3020         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3021         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3022         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3023         Use _FPU_MASK_RM.
3024
3025 2014-06-24  Wilco  <wdijkstr@arm.com>
3026
3027         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3028
3029 2014-06-24  Wilco  <wdijkstr@arm.com>
3030
3031         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3032         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3033         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3034         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3035
3036 2014-06-24  Wilco  <wdijkstr@arm.com>
3037
3038         [BZ #16918]
3039         * sysdeps/arm/feupdateenv.c (feupdateenv):
3040         Rewrite to reduce FPSCR accesses and fix return value.
3041
3042 2014-06-24  Wilco  <wdijkstr@arm.com>
3043
3044         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3045         Optimize to avoid unnecessary FPSCR writes.
3046         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3047         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3048         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3049         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3050
3051 2014-06-24  Wilco  <wdijkstr@arm.com>
3052
3053         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3054         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3055         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3056         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3057         Call libc_fetestexcept_vfp.
3058         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3059         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3060         __SOFTFP__ ifdef so that they can be built for softfp.
3061
3062 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3063
3064         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3065         argument type signed char.
3066
3067         * Makerules (check-abi): Dump diff of symlist if the test
3068         fails.
3069
3070 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3071
3072         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3073         using abort.
3074
3075         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3076         Remove unused variable ST.
3077
3078 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3079
3080         [BZ #16354]
3081         [BZ #17061]
3082         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3083         small arguments before calling __expm1.
3084         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3085         small arguments before calling __expm1f.
3086         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3087         small arguments before calling __expm1l.
3088         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3089         Likewise.
3090         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3091         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3092         spurious underflow for some cosh tests.
3093         * math/auto-libm-test-out: Regenerated.
3094         * sysdeps/i386/fpu/libm-test-ulps: Update.
3095
3096         [BZ #17050]
3097         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3098         (__ieee754_y1): Set errno if return value overflows.
3099         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3100         (__ieee754_y1f): Set errno if return value overflows.
3101         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3102         (__ieee754_y1l): Set errno if return value overflows.
3103         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3104         (__ieee754_y1l): Set errno if return value overflows.
3105         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3106         * math/auto-libm-test-out: Regenerated.
3107
3108         * math/gen-auto-libm-tests.c: Document use of
3109         ignore-zero-inf-sign.
3110         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3111         (input_flags): Add ignore-zero-inf-sign.
3112         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3113         * math/gen-libm-test.pl (generate_testfile): Handle
3114         ignore-zero-inf-sign.
3115         * math/auto-libm-test-in: Mark some cpow tests with
3116         ignore-zero-inf-sign and some with xfail-rounding.
3117         * math/auto-libm-test-out: Regenerated.
3118         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3119         * sysdeps/i386/fpu/libm-test-ulps: Update.
3120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3121
3122         [BZ #16315]
3123         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3124         overflowing or underflowing operations take place with sign of
3125         result.
3126         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3127         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3128         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3129         (__ieee754_pow): Recompute overflowing and underflowing results in
3130         original rounding mode.
3131         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3132         (__powl_helper): Allow negative argument X and scale negated value
3133         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3134         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3135         overflowing or underflowing operations take place with sign of
3136         result.
3137         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3138         Include <math.h>.
3139         * math/auto-libm-test-in: Add more tests of pow.
3140         * math/auto-libm-test-out: Regenerated.
3141         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3142         (pow_tonearest_test_data): Remove.
3143         (pow_test_tonearest): Likewise.
3144         (pow_towardzero_test_data): Likewise.
3145         (pow_test_towardzero): Likewise.
3146         (pow_downward_test_data): Likewise.
3147         (pow_test_downward): Likewise.
3148         (pow_upward_test_data): Likewise.
3149         (pow_test_upward): Likewise.
3150         (main): Don't call removed functions.
3151         * sysdeps/i386/fpu/libm-test-ulps: Update.
3152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153
3154 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3155
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3157         Moved ...
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3160         Moved ...
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3163         Moved ...
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3166         Moved ...
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3169         File removed.
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3171         File removed.
3172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3173         File removed.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3175         File removed.
3176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3177         File removed.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3179         File removed.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3181         File removed.
3182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3183         File removed.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3185         File removed.
3186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3187         File removed.
3188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3189         File removed.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3191         File removed.
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3193         Moved ...
3194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3196         Moved ...
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3198         ... here.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3200         Moved ...
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3203         Moved ...
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3206         Moved ...
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3209         Moved ...
3210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3218         Moved ...
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3222         ... here.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3229         ... here.
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3231         Moved ...
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3233         ... here.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3235         Moved ...
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3237         ... here.
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3239         Moved ...
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3242         Moved ...
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3247         Moved ...
3248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3249         ... here.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3253         ... here.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3255         Moved ...
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3258         Moved ...
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3261         Moved ...
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3264         Moved ...
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3267         Moved ...
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3269         ... here.
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3271         Moved ...
3272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3274         Moved ...
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3277         Moved ...
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3280         Moved ...
3281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3285         Moved ...
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3288         Moved ...
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3291         Moved ...
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3293         ... here.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3295         Moved ...
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3297         ... here.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3299         Moved ...
3300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3301         ... here.
3302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3303         Moved ...
3304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3306         Moved ...
3307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3309         Moved ...
3310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3312         Moved ...
3313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3314         ... here.
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3316         Moved ...
3317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3318         ... here.
3319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3320         Moved ...
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3322         ... here.
3323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3324         Moved ...
3325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3327         Moved ...
3328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3329
3330 2014-06-23  Will Newton  <will.newton@linaro.org>
3331             Wilco  <wdijkstr@arm.com>
3332
3333         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3334         implementation.  Include get-rounding-mode.h.
3335         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3336         [!libc_feholdsetround_noex_ctx]: Define
3337         libc_feholdsetround_noex_ctx.
3338         [!libc_feholdsetround_noexf_ctx]: Define
3339         libc_feholdsetround_noexf_ctx.
3340         [!libc_feholdsetround_noexl_ctx]: Define
3341         libc_feholdsetround_noexl_ctx.
3342         (libc_feholdsetround_ctx): New function.
3343         (libc_feresetround_ctx): New function.
3344         (libc_feholdsetround_noex_ctx): New function.
3345         (libc_feresetround_noex_ctx): New function.
3346
3347 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3348
3349         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3350         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3351         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3352         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3353         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3354         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3355
3356         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3357         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3358         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3359         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3360         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3361         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3363         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3365         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3366         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3367         Moved ...
3368         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3369         ... here.
3370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3371         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3373         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3374         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3375         Moved ...
3376         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3378         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3380         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3382         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3383         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3384         Moved ...
3385         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3387         Moved ...
3388         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3390         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3391         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3392         Moved ...
3393         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3395         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3396         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3397         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3398         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3399         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3401         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3402         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3403         Moved ...
3404         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3405         ... here.
3406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3407         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3409         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3411         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3413         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3415         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3417         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3418         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3419         Moved ...
3420         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3422         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3424         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3425         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3426         Moved ...
3427         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3429         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3430         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3431         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3432
3433         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3434         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3435         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3436         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3437         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3438         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3439         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3440         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3442         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3443         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3444         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3445         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3446         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3447         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3448         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3449         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3450         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3451         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3452         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3453         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3454         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3455         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3456         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3457         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3458         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3459         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3460         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3461
3462 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3463
3464         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3465         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3466         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3467         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3468         (IPV6_PMTUDISC_INTERFACE): Likewise.
3469         (IPV6_PMTUDISC_OMIT): Likewise.
3470
3471 2014-06-23  Andreas Schwab  <schwab@suse.de>
3472
3473         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3474         Remove unused errout label.
3475
3476 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3477
3478         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3479         macro: hardware supports Vector Crypto instructions.
3480
3481 2014-06-23  Will Newton  <will.newton@linaro.org>
3482
3483         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3484         rather than __builtin_expect.
3485
3486         * elf/dl-lookup.c (undefined_msg): Remove variable.
3487         (_dl_lookup_symbol_x): Replace undefined_msg with string
3488         literal.
3489
3490         * elf/dl-lookup.c (do_lookup_unique): New function.
3491         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3492         to a separate function.
3493
3494 2014-06-23  Andreas Schwab  <schwab@suse.de>
3495
3496         [BZ #17079]
3497         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3498         before reading the next line.
3499
3500 2014-06-23  Will Newton  <will.newton@linaro.org>
3501
3502         * test-skeleton.c (signal_handler): Use printf and %m
3503         rather than perror.  Use printf rather than fprintf to
3504         stderr.  Use puts rather than fputs to stderr.
3505         (main): Likewise.
3506
3507 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3508
3509         * nscd/nscd.c (thread_info_t): Remove typedef.
3510         (thread_info): Remove variable.
3511
3512 2014-06-21  Allan McRae  <allan@archlinux.org>
3513
3514         * NEWS: Mention CVE-2014-4043.
3515
3516 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3517
3518         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3519         * nptl/smp.h: ... here.
3520
3521         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3522
3523         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3524         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3525         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3526         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3527
3528         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3529         * nptl/stack-aliasing.h: New file.
3530         * sysdeps/i386/i686/stack-aliasing.h: New file.
3531         * sysdeps/i386/i686/nptl/Makefile: File removed.
3532         * sysdeps/x86_64/stack-aliasing.h: New file.
3533         * sysdeps/x86_64/nptl/Makefile
3534         (CFLAGS-pthread_create.c): Variable removed.
3535
3536         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3537         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3538         old file.
3539         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3540         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3541         old file.
3542
3543 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3544
3545         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3546         (__ASSUME_SIGFRAME_V2): Remove macro.
3547         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3548         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3549         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3550         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3551         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3552         Declare as function.  Remove conditional macro definitions.
3553         (__default_rt_sa_restorer): Likewise.
3554         (__default_sa_restorer_v1): Remove declaration.
3555         (__default_sa_restorer_v2): Likewise.
3556         (__default_rt_sa_restorer_v1): Likewise.
3557         (__default_rt_sa_restorer_v2): Likewise.
3558         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3559         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3560         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3561
3562 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3563
3564         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3565         (libpthread-routines): Add sysdep.
3566         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3567         * sysdeps/unix/sysv/linux/sparc/Versions
3568         (libpthread: GLIBC_2.3.3): New version set.
3569         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3570         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3571         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3572         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3573         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3574         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3575         Moved ...
3576         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3578         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3579         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3580         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3581         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3582         * sysdeps/sparc/nptl/sem_init.c: ... here.
3583         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3584         * sysdeps/sparc/nptl/sem_post.c: ... here.
3585         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3586         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3587         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3588         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3589         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3590         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3591         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3592         (libpthread-routines): Add cpu_relax.
3593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3594         File removed.
3595         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3596         (librt: GLIBC_2.3.3): New version set.
3597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3598         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3599         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3600         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3603         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3605         Moved ...
3606         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3608         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3610         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3612         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3614         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3616         Moved ...
3617         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3618         Update #include.
3619         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3620         Moved ...
3621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3622         Update #include.
3623         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3624         Moved ...
3625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3626         Update #include.
3627         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3628         Moved ...
3629         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3630         Update #include.
3631         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3632         Moved ...
3633         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3634         Update #include.
3635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3636         Moved ...
3637         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3638         Update #include.
3639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3640         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3644         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3646         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3648         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3650         Moved ...
3651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3653         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3655         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3656
3657 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3658
3659         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3660         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3661         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3662         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3663         * nscd/nscd.c: Likewise.
3664         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3665         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3666         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3667         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3668
3669         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3670         <kernel-features.h>.
3671         (init_mq_netlink): Remove conditional have_sock_cloexec
3672         definitions.  Remove code conditional on have_sock_cloexec < 0.
3673         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3674         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3675         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3676         <kernel-features.h>.
3677         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3678         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3679
3680 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3681
3682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3683         Add tests for memset_chk and memset.
3684
3685         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3686         with AVX2_Usable.
3687
3688 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3689
3690         [BZ #16046]
3691         * elf/tst-dl-iter-static.c: New file.
3692         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3693
3694         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3695         error.
3696
3697 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3698
3699         * sysdeps/unix/sysv/linux/kernel-features.h
3700         (__ASSUME_F_GETOWN_EX): Remove macro.
3701         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3702         <kernel-features.h>.
3703         (miss_F_GETOWN_EX): Remove variable or macro.
3704         (do_fcntl): Do not check miss_F_GETOWN_EX.
3705         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3706
3707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3708         Remove macro.
3709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3710         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3711         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3712
3713         * sysdeps/unix/sysv/linux/kernel-features.h
3714         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3715         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3716         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3717         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3718
3719 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3720
3721         [BZ #17075]
3722         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3723         Fix calculation of the symbol's value.
3724         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3725         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3726         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3727         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3728         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3729         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3730         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3731         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3732         (modules-names): Add `tst-armtlsdescmod',
3733         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3734         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3735         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3736         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3737         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3738         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3739         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3740         ($(objpfx)tst-armtlsdescloc): New dependency.
3741         ($(objpfx)tst-armtlsdescextnow): Likewise.
3742         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3743         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3744         TLS scheme support.
3745         * sysdeps/arm/configure: Regenerate.
3746
3747 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3748
3749         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3750         (__atfct_seterrno_2): Likewise.
3751         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3752         <kernel-features.h>.
3753         (__ASSUME_ATFCTS): Do not undefine and redefine.
3754         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3755         (__have_atfcts): Remove conditional definition.
3756         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3757         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3758         unreachable if [__ASSUME_ATFCTS].
3759         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3760         not undefine and redefine.
3761         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3762         <kernel-features.h>.
3763         (faccessat) [__NR_faccessat]: Make code unconditional.
3764         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3765         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3766         <kernel-features.h>.
3767         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3768         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3769         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3770         <kernel-features.h>.
3771         (fchownat) [__NR_fchownat]: Make code unconditional.
3772         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3773         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3774         <kernel-features.h>.
3775         (futimesat) [__NR_futimesat]: Make code unconditional.
3776         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3777         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3778         <kernel-features.h>.
3779         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3780         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3781         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3782         <kernel-features.h>.
3783         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3784         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3785         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3786         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3787         <kernel-features.h>.
3788         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3789         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3790         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3791         <kernel-features.h>.
3792         (linkat) [__NR_linkat]: Make code unconditional.
3793         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3794         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3795         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3796         <kernel-features.h>.
3797         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3798         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3799         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3800         <kernel-features.h>.
3801         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3802         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3803         * sysdeps/unix/sysv/linux/openat.c: Do not include
3804         <kernel-features.h>.
3805         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3806         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3807         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3808         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3809         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3810         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3811         <kernel-features.h>.
3812         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3813         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3814         result of INLINE_SYSCALL directly, not via int variable.
3815         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3816         <kernel-features.h>.
3817         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3818         (renameat) [__NR_renameat]: Make code unconditional.
3819         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3820         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3821         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3822         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3823         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3824         (__ASSUME_ATFCTS): Do not undefine and redefine.
3825         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3826         <kernel-features.h>.
3827         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3828         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3829         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3830         <kernel-features.h>.
3831         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3832         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3833         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3834         (__ASSUME_ATFCTS): Do not undefine and redefine.
3835         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3836         <kernel-features.h>.
3837         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3838         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3839         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3840         <kernel-features.h>.
3841         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3842         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3843
3844 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3845
3846         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3847
3848 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3849
3850         [BZ #17069]
3851         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3852         constructed tree before returning error.
3853         * posix/bug-regexp36.c: Expand test case.
3854
3855 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3856
3857         [BZ #6803]
3858         * math/libm-test.inc (scalbln_test_date):
3859         Add errno expectations.
3860         * math/w_scalblnf.c: New File.
3861         Add wrapper which checks for setting errno to ERANGE.
3862         Add weak_alias for corresponding scalbln function.
3863         * math/w_scalbln.c: Likewise.
3864         * math/w_scalblnl.c: Likewise.
3865         * math/Makefile (libm-calls): Add w_scalbln.
3866         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3867         Remove weak_alias for corresponding scalbln function.
3868         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3869         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3870         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3871         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3872         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3873         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3874         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3875         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3876         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3877         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3878         Remove long_double_symbol for scalblnl function in libm, libc.
3879         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3880         Add wrapper which checks for setting errno to ERANGE.
3881         Add long_double_symbol for scalblnl function in libm, libc.
3882         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3883         Remove long_double_symbol for scalblnl in libm.
3884         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3885         Add wrapper which checks for setting errno to ERANGE.
3886         Add long_double_symbol for scalblnl function in libm.
3887         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3888         Do not use wrapper because of own implementation.
3889
3890 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3891
3892         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3893         3 bytes for __pad1 for x32.
3894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3895
3896 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3897             H.J. Lu  <hongjiu.lu@intel.com>
3898
3899         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3900         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3901         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3902         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3903         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3904
3905 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3906
3907         [BZ #17069]
3908         * posix/regcomp.c (parse_expression): Deallocate partially
3909         constructed tree before returning error.
3910         * posix/Makefile.c (tests): Add bug-regex36.
3911         (generated): Add bug-regex36.mtrace.
3912         (tests-special): Add $(objpfx)bug-regex36-mem.out
3913         (bug-regex36-ENV): New variable.
3914         ($(objpfx)bug-regex36-mem.out): New rule.
3915         * posix/bug-regex36.c: New file.
3916
3917 2014-06-19  Will Newton  <will.newton@linaro.org>
3918
3919         * malloc/malloc.c (systrim): If extra is zero then return
3920         early.
3921
3922 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3923
3924         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3925
3926 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3927
3928         * sysdeps/aarch64/strchr.S: New file.
3929
3930 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3931
3932         [BZ #17022]
3933         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3934         from arguments -2 or below.
3935         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3936         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3937
3938 2014-06-18  Andreas Schwab  <schwab@suse.de>
3939
3940         [BZ #17062]
3941         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3942         of a bracket expr not to run off the end of the string.
3943         * posix/Makefile (tests): Add tst-fnmatch3.
3944         * posix/tst-fnmatch3.c: New file.
3945
3946 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3947
3948         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3949         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3950         [$(cross-compiling) = no]: Likewise.
3951         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3952         [$(cross-compiling) = no]: Likewise.
3953
3954 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3955
3956         [BZ #17031]
3957         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3958         double, adjusted for any remainder from the high double.
3959         * math/libm-test.inc (nearbyint): Add tests.
3960         (rint): Likewise.
3961
3962 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3963
3964         * nptl/sysdeps/powerpc/Makefile: Moved ...
3965         * sysdeps/powerpc/nptl/Makefile: ... here.
3966         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3967         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3968         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3969         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3970         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3971         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3972         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3973         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3974         * nptl/sysdeps/powerpc/tls.h: Moved ...
3975         * sysdeps/powerpc/nptl/tls.h: ... here.
3976
3977 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3978
3979         [BZ #16681]
3980         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3981         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3982         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3983         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3984         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3985         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3986         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3987         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3988         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3989
3990 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3991
3992         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3993
3994 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3995
3996         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3997         defined operator.
3998
3999         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4000         $TIMEOUTFACTOR.
4001
4002 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4003
4004         [BZ #17058]
4005         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4006         non-executed part of the test.
4007
4008 2014-06-16  Andreas Schwab  <schwab@suse.de>
4009
4010         * string/bits/string2.h (strdup, strndup): Update feature guard.
4011
4012 2014-06-14  David S. Miller  <davem@davemloft.net>
4013
4014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4015
4016 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4017
4018         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4019         that was previously under [RESET_PID].
4020         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4021
4022         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4023         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4024         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4025         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4026         (__libc_vfork): New strong alias.
4027         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4028
4029 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4030
4031         * sysdeps/generic/elide.h: New file.
4032
4033 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4034
4035         * Makefile (installed-headers): Adjust path of pthread.h header.
4036
4037 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4038
4039         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4040         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4041         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4042         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4043
4044         * nptl/sysdeps/s390/Makefile: Moved ...
4045         * sysdeps/s390/nptl/Makefile: ... here.
4046         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4047         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4048         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4049         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4050         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4051         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4052         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4053         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4054         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4055         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4056         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4057         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4058         * nptl/sysdeps/s390/tls.h: Moved ...
4059         * sysdeps/s390/nptl/tls.h: ... here.
4060
4061         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4062         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4063
4064 2014-06-13  David S. Miller  <davem@davemloft.net>
4065
4066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4069         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4073         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4074         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4075         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4076         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4077         Remove RESET_PID cpp guards.
4078         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4079         Remove RESET_PID cpp guards.
4080         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4081
4082 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4083
4084         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4085         __sp to uintptr_t.
4086
4087 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4088
4089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4091         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4092         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4093         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4097         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4099         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4102         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4103         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4108         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4109
4110         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4111         (pthread_rwlock_rdlock): Add elision.
4112         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4113         (pthread_rwlock_wrlock): Add elision.
4114         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4115         (pthread_rwlock_trywrlock): Add elision.
4116         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4117         (pthread_rwlock_tryrdlock): Add elision.
4118         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4119         (pthread_rwlock_tryrdlock): Add elision unlock.
4120         * nptl/sysdeps/pthread/pthread.h:
4121         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4122         (PTHREAD_RWLOCK_INITIALIZER,
4123         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4124         Handle new elision field.
4125         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4126         * sysdeps/arm/nptl/bits/pthreadtypes.h
4127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4128         * sysdeps/sh/nptl/bits/pthreadtypes.h
4129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4130         * sysdeps/tile/nptl/bits/pthreadtypes.h
4131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4132         * sysdeps/a/nptl/bits/pthreadtypes.h
4133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4134         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4136         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4138         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4142         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4144         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4146         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4148         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4150         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4151         (elision_init): Set try_xbegin to zero when no RTM.
4152         * sysdeps/x86/nptl/bits/pthreadtypes.h
4153         (pthread_rwlock_t): Change __pad1 to __rwelision.
4154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4155
4156 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4157
4158         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4159         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4160         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4161         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4162
4163 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4164
4165         [BZ #16996]
4166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4167         that the cached result has been set before returning it.
4168
4169 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4170
4171         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4172         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4173         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4174         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4175         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4176         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4177
4178         * nptl/sysdeps/sparc/Makefile: Moved ...
4179         * sysdeps/sparc/nptl/Makefile: ... here.
4180         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4181         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4182         * nptl/sysdeps/sparc/tls.h: Moved ...
4183         * sysdeps/sparc/nptl/tls.h: ... here.
4184         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4185         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4186         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4187         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4188         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4189         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4190         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4191         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4192         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4193         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4194         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4195         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4196         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4197         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4198         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4199         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4200         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4202         Update #include.
4203         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4205         Update #include.
4206         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4208         Update #include.
4209         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4211         Update #include.
4212
4213         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4214
4215         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4216         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4217
4218         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4219         (struct list_links): Type removed.
4220         (struct thread_node, struct timer_node): Replace struct list_links
4221         with struct list_head.
4222         (list_unlink_ip): Likewise.
4223         * sysdeps/pthread/timer_routines.c
4224         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4225         (list_append, list_insbefore): Likewise.
4226         (list_init): Function removed.
4227         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4228         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4229         * sysdeps/pthread/Makefile: ... here, new file.
4230
4231         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4232         * sysdeps/nptl/Implies: ... here.
4233         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4234         * nptl/sysdeps/pthread/list.h: Moved ...
4235         * include/list.h: ... here.
4236         * nptl/sysdeps/pthread/createthread.c: Moved ...
4237         * nptl/createthread.c: ... here.
4238         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4239         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4240         * nptl/pt-longjmp.c: ... here.
4241         * nptl/sysdeps/pthread/Makefile: Moved ...
4242         * sysdeps/nptl/Makefile: ... here.
4243         * nptl/sysdeps/pthread/Subdirs: Moved ...
4244         * sysdeps/nptl/Subdirs: ... here.
4245         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4246         * sysdeps/nptl/aio_misc.h: ... here.
4247         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4248         * sysdeps/nptl/bits/libc-lock.h: ... here.
4249         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4250         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4251         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4252         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4253         * nptl/sysdeps/pthread/configure: Moved ...
4254         * sysdeps/nptl/configure: ... here.
4255         * nptl/sysdeps/pthread/configure.ac: Moved ...
4256         * sysdeps/nptl/configure.ac: ... here.
4257         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4258         * sysdeps/nptl/gai_misc.h: ... here.
4259         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4260         * sysdeps/nptl/librt-cancellation.c: ... here.
4261         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4262         * sysdeps/nptl/malloc-machine.h: ... here.
4263         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4264         * sysdeps/nptl/pthread-functions.h: ... here.
4265         * nptl/sysdeps/pthread/pthread.h: Moved ...
4266         * sysdeps/nptl/pthread.h: ... here.
4267         * nptl/sysdeps/pthread/setxid.h: Moved ...
4268         * sysdeps/nptl/setxid.h: ... here.
4269         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4270         * sysdeps/nptl/sigfillset.c: ... here.
4271         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4272         * sysdeps/nptl/tcb-offsets.h: ... here.
4273         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4274         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4275         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4276         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4277         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4278         * sysdeps/pthread/allocalim.h: ... here.
4279         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4280         * sysdeps/pthread/bits/sigthread.h: ... here.
4281         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4282         * sysdeps/pthread/flockfile.c: ... here.
4283         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4284         * sysdeps/pthread/ftrylockfile.c: ... here.
4285         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4286         * sysdeps/pthread/funlockfile.c: ... here.
4287         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4288         * sysdeps/pthread/posix-timer.h: ... here.
4289         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4290         * sysdeps/pthread/timer_create.c: ... here.
4291         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4292         * sysdeps/pthread/timer_delete.c: ... here.
4293         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4294         * sysdeps/pthread/timer_getoverr.c: ... here.
4295         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4296         * sysdeps/pthread/timer_gettime.c: ... here.
4297         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4298         * sysdeps/pthread/timer_routines.c: ... here.
4299         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4300         * sysdeps/pthread/timer_settime.c: ... here.
4301         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4302         * sysdeps/pthread/tst-timer.c: ... here.
4303         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4304         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4305
4306         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4307         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4308
4309         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4310         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4311         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4312         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4313         Update #include target.
4314         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4315         * sysdeps/i386/i686/nptl/Makefile: ... here.
4316         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4317         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4318         Update #include target.
4319         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4320         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4321         * nptl/sysdeps/i386/Makefile: Moved ...
4322         * sysdeps/i386/nptl/Makefile: ... here.
4323         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4324         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4325         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4326         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4327         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4328         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4329         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4330         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4331         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4332         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4333         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4334         * nptl/sysdeps/i386/tls.h: Moved ...
4335         * sysdeps/i386/nptl/tls.h: ... here.
4336
4337         * sysdeps/sh/Makefile [$(subdir) = csu]
4338         (gen-as-const-headers): Add tcb-offsets.sym.
4339         * nptl/sysdeps/sh/Makefile: File removed.
4340         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4341         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4342         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4343         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4344         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4345         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4346         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4347         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4348         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4349         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4350         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4351         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4352         * nptl/sysdeps/sh/tls.h: Moved ...
4353         * sysdeps/sh/nptl/tls.h: ... here.
4354         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4355         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4356         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4357         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4358         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4359         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4360         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4361         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4362         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4363         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4365         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4367         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4369         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4371         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4373         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4375         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4377         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4378         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4379         Moved ...
4380         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4382         Moved ...
4383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4386         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4387         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4388         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4389         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4390         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4391         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4392         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4393         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4394         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4395         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4396         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4397         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4398         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4399         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4400         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4401         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4402
4403 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4404
4405         * posix/spawn_faction_addopen.c: Include string.h.
4406
4407 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4408
4409         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4410         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4411         * nptl/sysdeps/x86_64/Makefile: Moved ...
4412         * sysdeps/x86_64/nptl/Makefile: ... here.
4413         * nptl/sysdeps/x86_64/configure: Moved ...
4414         * sysdeps/x86_64/nptl/configure: ... here.
4415         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4416         * sysdeps/x86_64/nptl/configure.ac: ... here.
4417         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4418         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4419         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4420         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4421         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4422         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4423         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4424         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4425         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4426         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4427         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4428         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4429         * nptl/sysdeps/x86_64/tls.h: Moved ...
4430         * sysdeps/x86_64/nptl/tls.h: ... here.
4431         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4432         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4433         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4434         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4435
4436         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4437
4438 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4439
4440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4441
4442 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4443
4444         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4445         type.
4446         [POSIX] (off_t): Likewise.
4447         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4448         [POSIX] (S_ISBLK): Require macro.
4449         [POSIX] (S_ISCHR): Likewise.
4450         [POSIX] (S_ISDIR): Likewise.
4451         [POSIX] (S_ISFIFO): Likewise.
4452         [POSIX] (S_ISREG): Likewise.
4453         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4454         optional-macro.
4455         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4456         type.
4457         [POSIX] (time_t): Likewise.
4458         [POSIX] (timer_t): Likewise.
4459
4460 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4461
4462         [BZ #17048]
4463         * posix/spawn_int.h (struct __spawn_action): Make the path string
4464         non-const to support deallocation.
4465         * posix/spawn_faction_addopen.c
4466         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4467         * posix/spawn_faction_destroy.c
4468         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4469         path in all spawn_do_open actions.
4470         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4471         posix_spawn_file_actions_addopen.
4472
4473 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4474
4475         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4476         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4477         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4478         conditional code always true.
4479         (__libc_vfork): New alias.
4480
4481 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4482
4483         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4484         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4485
4486         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4487
4488         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4489         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4490
4491         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4492         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4493
4494         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4495         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4496
4497 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4498
4499         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4500         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4501         multiarch strcmp for PPC64.
4502         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4503         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4505         multiarch optimizations.
4506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4507         (__libc_ifunc_impl_list): Likewise.
4508
4509 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4510
4511         * benchtests/scripts/validate_benchout.py: New script.
4512         * benchtests/Makefile (bench-func): Call it.
4513         * benchtests/scripts/benchout.schema.json: New file.
4514
4515 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4516
4517         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4518         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4519         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4520         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4521         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4522         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4523         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4524         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4525         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4526         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4527         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4528         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4529         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4530         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4531         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4532         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4536         ... here.
4537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4538         Moved ...
4539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4541         Moved ...
4542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4543         ... here.
4544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4545         Moved ...
4546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4547         ... here.
4548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4549         Moved ...
4550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4552         Moved ...
4553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4554         ... here.
4555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4556         Moved ...
4557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4558         ... here.
4559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4560         Moved ...
4561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4563         Moved ...
4564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4565         ... here.
4566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4567         Moved ...
4568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4569         ... here.
4570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4571         Moved ...
4572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4573         ... here.
4574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4575         Moved ...
4576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4578         Moved ...
4579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4580         ... here.
4581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4582         Moved ...
4583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4584         ... here.
4585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4586         Moved ...
4587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4588         ... here.
4589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4590         Moved ...
4591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4593         Moved ...
4594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4595         ... here.
4596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4597         Moved ...
4598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4599         ... here.
4600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4601         Moved ...
4602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4604         Moved ...
4605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4606         ... here.
4607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4608         Moved ...
4609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4611         Moved ...
4612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4614         Moved ...
4615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4616         ... here.
4617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4618         Moved ...
4619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4620         ... here.
4621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4622         Moved ...
4623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4624         ... here.
4625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4626         Moved ...
4627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4629         Moved ...
4630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4631         ... here.
4632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4633         Moved ...
4634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4635         ... here.
4636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4637         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4639         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4640         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4641         Moved ...
4642         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4643         ... here.
4644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4645         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4647         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4649         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4651         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4653         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4655         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4656         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4657         Moved ...
4658         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4660         Moved ...
4661         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4663         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4665         Moved ...
4666         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4668         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4669         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4670         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4671         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4672         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4673
4674 2014-06-10  Wilco  <wdijkstr@arm.com>
4675
4676         * math/test-fenv-return.c: New file.
4677         * math/Makefile: Add new test test-fenv-return.
4678
4679 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4680
4681         [BZ #17042]
4682         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4683         when x - 1 is zero.
4684         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4685         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4686         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4687         0.0L for an argument of 1.0L.
4688         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4689         Likewise.
4690         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4691         value when x - 1 is zero.
4692         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4693         * sysdeps/i386/fpu/libm-test-ulps: Update.
4694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4695
4696 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4697
4698         [BZ #15119]
4699         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4700
4701 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4702
4703         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4704         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4705
4706 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4707
4708         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4709         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4710
4711         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4712         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4713
4714         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4715         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4716
4717         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4718         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4719
4720         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4721         if not already defined.
4722         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4723         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4724         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4725         (TLS_INIT_TP): Use it.
4726         (TLS_DEFINE_INIT_TP): New macro.
4727         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4728
4729 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4730
4731         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4732         constant.
4733         [POSIX] (IXANY): Likewise.
4734         [POSIX] (OLCUC): Likewise.
4735         [POSIX || POSIX2008] (CBAUD): Do not allow.
4736         [POSIX || POSIX2008] (DEFECHO): Likewise.
4737         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4738         [POSIX || POSIX2008] (ECHOKE): Likewise.
4739         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4740         [POSIX || POSIX2008] (EXTA): Likewise.
4741         [POSIX || POSIX2008] (EXTB): Likewise.
4742         [POSIX || POSIX2008] (FLUSHO): Likewise.
4743         [POSIX || POSIX2008] (LOBLK): Likewise.
4744         [POSIX || POSIX2008] (PENDIN): Likewise.
4745         [POSIX || POSIX2008] (SWTCH): Likewise.
4746         [POSIX || POSIX2008] (VDISCARD): Likewise.
4747         [POSIX || POSIX2008] (VDSUSP): Likewise.
4748         [POSIX || POSIX2008] (VLNEXT): Likewise.
4749         [POSIX || POSIX2008] (VREPRINT): Likewise.
4750         [POSIX || POSIX2008] (VSTATUS): Likewise.
4751         [POSIX || POSIX2008] (VWERASE): Likewise.
4752         (B*): Change to B[0123456789]*.
4753         * conform/data/time.h-data [POSIX || UNIX98]
4754         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4755         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4756         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4757         [POSIX] (tm_*): Do not allow.
4758
4759 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4760
4761         * Makefile (install): Don't set LANGUAGE.
4762         * Makefile.in (install): Likewise.
4763         * assert/Makefile (test-assert-ENV): Remove variable.
4764         (test-assert-perr-ENV): Likewise.
4765         * elf/Makefile (neededtest4-ENV): Likewise.
4766         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4767         [$(cross-compiling) = no]: Don't set LANGUAGE.
4768         * io/ftwtest-sh (LANG): Remove variable.
4769         * libio/Makefile (tst-widetext-ENV): Likewise.
4770         * manual/install.texi (Running make install): Don't refer to
4771         environment settings for make install.
4772         * INSTALL: Regenerated.
4773         * nptl/tst-tls6.sh: Don't set LANG.
4774         * posix/globtest.sh (LANG): Remove variable.
4775         * string/Makefile (tester-ENV): Likewise.
4776         (inl-tester-ENV): Likewise.
4777         (noinl-tester-ENV): Likewise.
4778         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4779         [$(cross-compiling) = no]: Don't set LANGUAGE.
4780         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4781         without explicit environment settings.
4782
4783 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4784
4785         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4786         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4787         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4788         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4789
4790 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4791
4792         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4793         other files in the crypt directory.
4794         * crypt/crypt.c: Remove duplicate includes.
4795         * crypt/crypt-entry.c: Likewise.
4796         * crypt/crypt_util.c: Likewise.
4797
4798 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4799
4800         * Makeconfig (run-program-env): New variable.
4801         (run-program-prefix-before-env): Likewise.
4802         (run-program-prefix-after-env): Likewise.
4803         (run-program-prefix): Define in terms of new variables.
4804         (built-program-cmd-before-env): New variable.
4805         (built-program-cmd-after-env): Likewise.
4806         (built-program-cmd): Define in terms of new variables.
4807         (test-program-prefix-before-env): New variable.
4808         (test-program-prefix-after-env): Likewise.
4809         (test-program-prefix): Define in terms of new variables.
4810         (test-program-cmd-before-env): New variable.
4811         (test-program-cmd-after-env): Likewise.
4812         (test-program-cmd): Define in terms of new variables.
4813         * Rules (make-test-out): Use $(run-program-env).
4814         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4815         (help): Do not mention environment variables.  Mention
4816         --timeoutfactor option.
4817         (timeoutfactor): New variable.
4818         (blacklist_exports): Remove function.
4819         (exports): Remove variable.
4820         (command): Do not include ${exports}.
4821         * manual/install.texi (Configuring and compiling): Do not mention
4822         test wrappers preserving environment variables.  Mention that last
4823         assignment to a variable must take precedence.
4824         * INSTALL: Regenerated.
4825         * benchtests/Makefile (run-bench): Use $(run-program-env).
4826         * catgets/Makefile ($(objpfx)test1.cat): Use
4827         $(built-program-cmd-before-env), $(run-program-env) and
4828         $(built-program-cmd-after-env).
4829         ($(objpfx)test2.cat): Do not specify environment variables
4830         explicitly.
4831         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4832         $(run-program-env) and $(built-program-cmd-after-env).
4833         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4834         $(run-program-env) and $(test-program-cmd-after-env).
4835         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4836         explicitly.
4837         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4838         run_program_env and test_program_cmd_after_env arguments.
4839         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4840         * elf/tst-pathopt.sh: Use run_program_env argument.
4841         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4842         $(test-wrapper-env) and $(run-program-env).
4843         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4844         run_program_env arguments.
4845         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4846         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4847         $(test-program-prefix-before-env), $(run-program-env) and
4848         $(test-program-prefix-after-env).
4849         ($(objpfx)tst-gettext2.out): Likewise.
4850         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4851         run_program_env and test_program_prefix_after_env arguments.
4852         * intl/tst-gettext2.sh: Likewise.
4853         * intl/tst-gettext4.sh: Do not set environment variables
4854         explicitly.
4855         * intl/tst-gettext6.sh: Likewise.
4856         * intl/tst-translit.sh: Likewise.
4857         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4858         $(test-program-prefix-before-env), $(run-program-env) and
4859         $(test-program-prefix-after-env).
4860         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4861         run_program_env and test_program_prefix_after_env arguments.
4862         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4863         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4864         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4865         explicitly with each use of ${test_wrapper_env}.
4866         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4867         $(test-program-prefix-before-env), $(run-program-env) and
4868         $(test-program-prefix-after-env).
4869         * posix/tst-getconf.sh: Do not set environment variables
4870         explicitly.
4871         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4872         run_program_env and test_program_prefix_after_env arguments.
4873         * stdio-common/tst-printf.sh: Do not set environment variables
4874         explicitly.
4875         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4876         $(test-program-prefix-before-env), $(run-program-env) and
4877         $(test-program-prefix-after-env).
4878         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4879         run_program_env and test_program_prefix_after_env arguments.
4880         Split $test calls into $test_pre and $test.
4881         * timezone/Makefile (build-testdata): Use
4882         $(built-program-cmd-before-env), $(run-program-env) and
4883         $(built-program-cmd-after-env).
4884
4885 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4886
4887         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4888         strlen for non SHARED builds.
4889
4890 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891
4892         * nptl/allocatestack.c (check_list): Inlined function...
4893         (__reclaim_stacks): ... here.
4894
4895 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4896
4897         [BZ #15698]
4898         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4899         memory overrun.
4900
4901 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4902
4903         * Rules (make-test-out): Include
4904         LOCPATH=$(common-objpfx)localedata in default environment.
4905         * debug/Makefile (tst-chk1-ENV): Remove variable.
4906         (tst-chk2-ENV): Likewise.
4907         (tst-chk3-ENV): Likewise.
4908         (tst-chk4-ENV): Likewise.
4909         (tst-chk5-ENV): Likewise.
4910         (tst-chk6-ENV): Likewise.
4911         (tst-lfschk1-ENV): Likewise.
4912         (tst-lfschk2-ENV): Likewise.
4913         (tst-lfschk3-ENV): Likewise.
4914         (tst-lfschk4-ENV): Likewise.
4915         (tst-lfschk5-ENV): Likewise.
4916         (tst-lfschk6-ENV): Likewise.
4917         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4918         (tst-iconv7-ENV): Likewise.
4919         * intl/Makefile (LOCPATH-ENV): Likewise.
4920         (tst-codeset-ENV): Likewise.
4921         (tst-gettext3-ENV): Likewise.
4922         (tst-gettext5-ENV): Likewise.
4923         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4924         (tst-fopenloc-ENV): Likewise.
4925         (tst-fgetws-ENV): Remove variable.
4926         (tst-ungetwc1-ENV): Likewise.
4927         (tst-ungetwc2-ENV): Likewise.
4928         (bug-ungetwc2-ENV): Likewise.
4929         (tst-swscanf-ENV): Likewise.
4930         (bug-ftell-ENV): Likewise.
4931         (tst-fgetwc-ENV): Likewise.
4932         (tst-fseek-ENV): Likewise.
4933         (tst-ftell-partial-wide-ENV): Likewise.
4934         (tst-ftell-active-handler-ENV): Likewise.
4935         (tst-ftell-append-ENV): Likewise.
4936         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4937         (tst-regexloc-ENV): Likewise.
4938         (bug-regex1-ENV): Likewise.
4939         (tst-regex-ENV): Likewise.
4940         (tst-regex2-ENV): Likewise.
4941         (bug-regex5-ENV): Likewise.
4942         (bug-regex6-ENV): Likewise.
4943         (bug-regex17-ENV): Likewise.
4944         (bug-regex18-ENV): Likewise.
4945         (bug-regex19-ENV): Likewise.
4946         (bug-regex20-ENV): Likewise.
4947         (bug-regex22-ENV): Likewise.
4948         (bug-regex23-ENV): Likewise.
4949         (bug-regex25-ENV): Likewise.
4950         (bug-regex26-ENV): Likewise.
4951         (bug-regex30-ENV): Likewise.
4952         (bug-regex32-ENV): Likewise.
4953         (bug-regex33-ENV): Likewise.
4954         (bug-regex34-ENV): Likewise.
4955         (bug-regex35-ENV): Likewise.
4956         (tst-rxspencer-ENV): Likewise.
4957         (tst-rxspencer-no-utf8-ENV): Likewise.
4958         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4959         (tst-sscanf-ENV): Likewise.
4960         (tst-swprintf-ENV): Likewise.
4961         (tst-swscanf-ENV): Likewise.
4962         (test-vfprintf-ENV): Likewise.
4963         (scanf13-ENV): Likewise.
4964         (bug14-ENV): Likewise.
4965         (tst-grouping-ENV): Likewise.
4966         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4967         (tst-strtod3-ENV): Likewise.
4968         (tst-strtod4-ENV): Likewise.
4969         (tst-strtod5-ENV): Likewise.
4970         (testmb2-ENV): Likewise./
4971         * string/Makefile (tst-strxfrm-ENV): Likewise.
4972         (tst-strxfrm2-ENV): Likewise.
4973         (bug-strcoll1-ENV): Likewise.
4974         (test-strcasecmp-ENV): Likewise.
4975         (test-strncasecmp-ENV): Likewise.
4976         * time/Makefile (tst-strptime-ENV): Likewise.
4977         (tst-ftime_l-ENV): Likewise.
4978         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4979         (tst-mbrtowc-ENV): Likewise.
4980         (tst-wcrtomb-ENV): Likewise.
4981         (tst-mbrtowc2-ENV): Likewise.
4982         (tst-c16c32-1-ENV): Likewise.
4983         (tst-mbsnrtowcs-ENV): Likewise.
4984
4985 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4986
4987         * manual/resource.texi (How to get information about the memory
4988         subsystem?): Fix typo.
4989         Reported by Peon de la Parra Ivan <peon@keba.com>
4990
4991 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4992
4993         [BZ #16882]
4994         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4995         (pthread_spin_lock): Branch out of spin loop to proper location.
4996         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4997         (pthread_spin_lock): Likewise.
4998
4999         * nptl/tst-spin4.c: New test.
5000         * nptl/Makefile (tests): Add tst-spin4.
5001
5002 2014-06-03  Andreas Schwab  <schwab@suse.de>
5003
5004         [BZ #15946]
5005         * resolv/res_send.c (send_dg): Reload file descriptor after
5006         calling reopen.
5007
5008 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5009
5010         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5011
5012 2014-06-03  Richard Henderson  <rth@redhat.com>
5013
5014         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5015         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5016         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5017         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5018         in the SAVE_PID block.
5019         (__libc_vfork): New alias.
5020         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5021
5022         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5023         child in registers, not on the stack.  Remove RESET_PID conditionals.
5024         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5025
5026 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5027
5028         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5029
5030 2014-06-03  Wilco  <wdijkstr@arm.com>
5031
5032         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5033         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5034         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5035         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5036         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5037         Likewise.
5038
5039 2014-06-03  Wilco  <wdijkstr@arm.com>
5040
5041         * sysdeps/aarch64/fpu/math_private.h
5042         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5043         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5044         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5045         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5046         Fix declarations.
5047
5048 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5049
5050         * crypt/crypt-private.h: Include ufc-crypt.h.
5051         (__b64_from_24bit): Declare extern.
5052         * crypt/crypt_util.c(__b64_from_24bit): New function.
5053         (b64t): New static const variable.
5054         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5055         (b64t): Remove variable.
5056         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5057         * crypt/sha256-crypt.c: Include crypt-private.h.
5058         (b64t): Remove variable.
5059         (__sha256_crypt_r): Remove b64_from_24bit and replace
5060         with __b64_from_24bit.
5061         * crypt/sha512-crypt.c: Likewise.
5062
5063 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5064
5065         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5066         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5067         Label the code __libc_vfork rather than __vfork.
5068         [!NOT_IN_libc] (vfork): Define as weak alias.
5069         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5070         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5071         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5072
5073 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5074
5075         * malloc/malloc.c (malloc_info): Fix format specifier for
5076         n_mmaps.
5077
5078 2014-06-02  Wilco  <wdijkstr@arm.com>
5079
5080         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5081         FPCR write.
5082
5083 2014-06-02  Wilco  <wdijkstr@arm.com>
5084
5085         [BZ #17009]
5086         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5087         Rewrite to reduce FPCR/FPSR accesses.
5088
5089 2014-06-01  David S. Miller  <davem@davemloft.net>
5090
5091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5092
5093 2014-05-31  David S. Miller  <davem@davemloft.net>
5094
5095         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5096         to occur in round to nearest mode when |x| >= 2.0
5097
5098 2014-05-30  Richard Henderson  <rth@twiddle.net>
5099
5100         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5101         (PSEUDO_RET_NOERRNO): Remove.
5102         (ret): Don't redefine.
5103         (ret_NOERRNO): Define in terms of ret.
5104         (ret_ERRVAL): Likewise.
5105
5106         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5107         use of PSEUDO_RET; perform the error check directly.
5108
5109 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5110
5111         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5112         with __int128_t.
5113
5114 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5115
5116         * malloc/malloc (malloc_info): Fix formatting.
5117
5118 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5119             Roland McGrath  <roland@hack.frob.com>
5120
5121         * malloc/malloc (malloc_info): Also print mmapped statistics.
5122
5123 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5124
5125         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5126         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5127
5128 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5129
5130         * malloc/malloc.c (malloc_info): Inline mi_arena.
5131
5132 2014-05-29  Richard Henderson  <rth@twiddle.net>
5133
5134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5135         Remove comma before expanding ASM_ARGS_##nr.
5136         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5137         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5138         of ASM_ARGS_##nr.
5139         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5140         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5141         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5142         (ASM_ARGS_1): Add leading comma.
5143
5144         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5145         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5146         to __errno_location.
5147         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5148         Remove the expected plt for __errno_location.
5149
5150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5151         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5152         call to __read_tp.
5153
5154         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5155         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5156         it and break it down.
5157         (DOCARGS_0, DOCARGS_1): Do nothing.
5158         (DOCARGS_2): Update to store into the new stack frame.
5159         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5160         (UNDOCARGS_1): Update to restore from the new stack frame.
5161         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5162         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5163
5164         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5165         (SINGLE_THREAD_P): New parameter for result regno.
5166         (PSEUDO): Update to match; use cbz instead of beq.
5167
5168         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5169         Use ENTRY to define the _nocancel entry point.  Share the syscall
5170         and syscall error check paths with the cancel path.
5171         (PSEUDO_END): New.
5172
5173         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5174         whitespace; tabs before and after asm mnemonics.
5175
5176 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5177
5178         [BZ #15132]
5179         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5180         Call fstat64 or stat64 internally, depending on arguments passed.
5181         Replace stat buffer argument with file descriptor argument.
5182         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5183         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5184         Pass fd to __internal_statvfs instead of calling fstat64.
5185         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5186         Pass fd to __internal_statvfs64 instead of calling fstat64.
5187         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5188         Pass -1 to __internal_statvfs instead of calling stat64.
5189         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5190         Pass -1 to __internal_statvfs64 instead of calling stat64.
5191
5192 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5193
5194         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5195         that was previously under [RESET_PID].
5196         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5197
5198         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5199         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5200
5201 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5202
5203         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5204
5205         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5206         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5207
5208 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5209
5210         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5211
5212 2014-05-27  Andreas Schwab  <schwab@suse.de>
5213
5214         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5215         TLS_INIT_TP macro.
5216         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5217         * elf/rtld.c (init_tls, dl_main): Likewise.
5218         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5219         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5220         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5221         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5222         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5223         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5224         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5225         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5226         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5227         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5228         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5229         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5230         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5231         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5232         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5233         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5234         * sysdeps/generic/tls.h: Update description.
5235
5236 2014-05-27  Will Newton  <will.newton@linaro.org>
5237
5238         [BZ #16990]
5239         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5240         and restore r2 rather than just restoring.
5241
5242 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5243
5244         [BZ #16724]
5245         * libio/tst-ftell-append.c: New test case.
5246         * libio/Makefile (tests): Add test case.
5247         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5248         append mode.
5249         * libio/wfileops.c (do_ftell_wide): Likewise.
5250
5251 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5252
5253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5254
5255         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5256         ...
5257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5259         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5260         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5261         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5262         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5264         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5266         Moved ...
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5268         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5269         Moved ...
5270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5271         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5272         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5273         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5274         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5275         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5276         ...
5277         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5278         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5279         Moved ...
5280         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5281         here.
5282         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5283         ...
5284         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5285         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5286         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5287
5288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5289         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5290         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5291         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5292
5293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5294         merge into ...
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5296         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5297         ...
5298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5300         ...
5301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5302         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5303         Moved ...
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5305         here.
5306         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5307         Moved ...
5308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5310         Moved ...
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5312
5313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5314         conditional [RESET_PID].
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5317         removed.
5318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5319         removed.
5320
5321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5322         <tcb-offsets.h>.
5323         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5324         (__libc_vfork): New strong alias.
5325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5326         removed.
5327         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5328         Removed.
5329
5330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5331         <tcb-offsets.h>.
5332         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5333         (__libc_vfork): New strong alias.
5334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5335         removed.
5336         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5337         removed.
5338
5339 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5340
5341         * malloc/malloc.c (mi_arena): New function.
5342         (malloc_info): Remove nested function mi_arena. Call non-nosted
5343         function mi_arena.
5344
5345 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5346
5347         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5348         by insrwi.
5349         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5350         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5351         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5352         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5353         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5354         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5355         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5356
5357 2014-05-26  Andreas Schwab  <schwab@suse.de>
5358
5359         [BZ #16984]
5360         * locale/programs/repertoire.c (repertoire_read): Add slash
5361         between I18NPATH element and file name.
5362         * locale/programs/locfile.c (locfile_read): Likewise.
5363
5364 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5365
5366         * nptl/pthread_mutexattr_settype.c
5367         (__pthread_mutexattr_settype):
5368         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5369
5370 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5371
5372         * nptl/tst-mutex5 (do_test):
5373         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5374
5375 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5376
5377         * benchtests/README: Document 'init' directive.
5378         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5379         BENCH_INIT.
5380         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5381         (parse_file): Recognize 'init' directive.
5382
5383 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5384
5385         [BZ #16796]
5386         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5387         alignment of struct pthread.
5388
5389 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5390
5391         [BZ #16878]
5392         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5393         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5394         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5395         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5396
5397 2014-05-25  Richard Henderson  <rth@twiddle.net>
5398
5399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5400         (SINGLE_THREAD_P_PIC): Remove.
5401         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5402         (SINGLE_THREAD_P_PIC): Remove.
5403
5404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5405         branch to syscall error ...
5406         (PSEUDO): ... here.
5407         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5408         from __local_syscall_error to .Lsyscall_error.
5409         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5410         (SYSCALL_ERROR): Update label name.
5411
5412         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5413         Do not use DOARGS/UNDOARGS.
5414         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5415         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5416         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5417         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5418         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5419
5420         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5421         block comment.
5422
5423         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5424         define if !NOT_IN_libc.
5425         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5426         define with non-default symbol versions.
5427
5428 2014-05-23  Richard Henderson  <rth@twiddle.net>
5429
5430         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5431         (vfork, __vfork): Define via compat_symbol.
5432
5433         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5434         [!HAVE_IFUNC] (vfork_compat): Remove.
5435         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5436
5437 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5438
5439         [BZ #16978]
5440         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5441         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5442         variable.
5443
5444 2014-05-23  Richard Henderson  <rth@twiddle.net>
5445
5446         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5447         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5448         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5449         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5450
5451         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5452         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5453         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5454         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5455         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5456         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5457         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5458         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5459         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5460         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5461         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5462         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5463         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5464         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5465         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5466         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5467         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5468         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5469         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5470         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5471         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5472         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5473         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5474         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5475         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5476         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5477         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5478         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5479         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5480         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5481         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5482         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5483         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5484         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5485         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5486         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5487         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5488         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5489         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5490         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5491         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5492         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5493         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5494         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5495         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5496         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5498         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5500         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5502         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5504         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5505         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5506         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5507
5508         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5509         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5510         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5511         before exiting on error.
5512         (__libc_vfork): New strong alias.
5513         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5514         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5515
5516         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5517         that was previously under [RESET_PID].
5518         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5519
5520         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5521
5522 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5523
5524         [BZ #16977]
5525         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5526         value when x - 1 is zero.
5527         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5528         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5529         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5530         0.0L for an argument of 1.0L.
5531         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5532         Likewise.
5533         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5534         value when x - 1 is zero.
5535         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5536         * sysdeps/i386/fpu/libm-test-ulps: Update.
5537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5538
5539 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5540
5541         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5542         alphasort and versionsort.
5543
5544 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5545
5546         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5547         macro.
5548         [copysignf]: Likewise.
5549
5550 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5551
5552         * crypt/md5-crypt.c: Fix formatting.
5553
5554 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5555
5556         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5557         (b64_from_24bit): New function.
5558
5559 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5560
5561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5562         libc_hidden_builtin_def to ifunc.
5563         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5564         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5565
5566 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5567
5568         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5569         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5570
5571 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5572
5573         * nscd/Depend (linuxthreads): Remove.
5574         (nptl): Add.
5575         * resolv/Depend (linuxthreads): Remove.
5576         * rt/Depend (linuxthreads): Remove.
5577
5578         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5579         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5580         $(common-objpfx)elf/.
5581         (link-libc-before-gnulib): Likewise.
5582         (elfobjdir): Remove variable.
5583         * Makefile (install): Use $(elf-objpfx) instead of
5584         $(common-objpfx)elf/.
5585         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5586         $(elfobjdir)/.
5587         (link-libc-deps): Likewise.
5588         ($(common-objpfx)libc.so): Likewise.
5589         ($(common-objpfx)linkobj/libc.so): Likewise.
5590         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5591         instead of $(common-objpfx)elf/.
5592         (symbolic-link-list): Likewise.
5593         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5594         [$(cross-compiling) = no]: Likewise.
5595         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5596         $(elfobjdir)/.
5597         (static-gnulib-arch): Likewise.
5598         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5599         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5600         $(common-objpfx)elf/.
5601
5602 2014-05-21  Richard Henderson  <rth@redhat.com>
5603
5604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5605         (SINGLE_THREAD_P): Use the correct width load.  Fold
5606         into the ldr offset.
5607
5608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5609         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5610
5611 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5612
5613         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5614         (libgcc_s_resume): Use __attribute_used__.
5615         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5616         Likewise.
5617
5618 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5619
5620         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5621         optimization when used with float constants.
5622
5623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5624
5625 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5626
5627         [BZ #16915]
5628         * locale/nl_langinfo_l.c: Make direct reference to every
5629         _nl_current_CATEGORY symbol.
5630         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5631         (tests-static): Add tst-langinfo-static.
5632         (tests-special): Add tst-langinfo-static.out.
5633         ($(objpfx)tst-langinfo.out): Redirect output.
5634         ($(objpfx)tst-langinfo-static.out): New.
5635         * localedata/tst-langinfo.sh: Send output to stdout.
5636         * localedata/tst-langinfo-static.c: New file.
5637
5638         [BZ #16965]
5639         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5640         when the shift amount is modulo the limb size.
5641
5642 2014-05-20  Richard Henderson  <rth@redhat.com>
5643
5644         [BZ #16967]
5645         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5646         Change type of sa_flags from unsigned int to int.
5647
5648         [BZ #16966]
5649         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5650
5651         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5652
5653 2014-05-20  Will Newton  <will.newton@linaro.org>
5654
5655         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5656         Test the return value of the system call in the nocancel case.
5657
5658 2014-05-20  Will Newton  <will.newton@linaro.org>
5659             Yvan Roux  <yvan.roux@linaro.org>
5660
5661         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5662         #include of asm/ptrace.h.
5663         (PTRACE_GET_THREAD_AREA): Remove #undef.
5664         (PTRACE_GETHBPREGS): Likewise.
5665         (PTRACE_SETHBPREGS): Likewise.
5666         (struct user_regs_struct): New structure.
5667         (struct user_fpsimd_struct): New structure.
5668         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5669         #include of asm/ptrace.h and second #include of sys/user.h.
5670         (PTRACE_GET_THREAD_AREA): Remove #undef.
5671         (PTRACE_GETHBPREGS): Likewise.
5672         (PTRACE_SETHBPREGS): Likewise.
5673         (ELF_NGREG): Use new struct user_regs_struct.
5674         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5675
5676 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5677
5678         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5680
5681 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5682
5683         [BZ #16958]
5684         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5685         membar to avoid block loads/stores to overlap previous stores.
5686
5687 2014-05-17  Richard Henderson  <rth@redhat.com>
5688
5689         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5690         Create the __##syscall_name##_nocancel entry point.
5691         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5692         Remove; let the sysdep-cancel.h code create it.
5693
5694 2014-05-17  David S. Miller  <davem@davemloft.net>
5695
5696         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5697         Protect with __USE_GNU.
5698         (TIOCSET_TEMPT): Likewise.
5699         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5700         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5701         these are already provided in bits/ioctl-types.h
5702
5703 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5704
5705         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5706         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5707
5708         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5709         Use wait4 regardless of [__NR_waitpid].
5710
5711 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5712
5713         PR libgcc/60166
5714         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5715         (_FP_NANSIGN_Q): Set the quiet bit.
5716
5717 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5718
5719         * benchtests/Makefile
5720         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5721         not $(common-objpfx)math/libm.so.
5722         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5723         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5724         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5725         $(common-objpfx)dlfcn/libdl.so.
5726         ($(objpfx)tst-audit8): Depend on $(libm), not
5727         $(common-objpfx)math/libm.so.
5728         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5729         not $(common-objpfx)dlfcn/libdl.so.
5730         * math/Makefile
5731         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5732         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5733         [$(build-shared) = yes].
5734         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5735         $(common-objpfx)nptl/libpthread.so.
5736         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5737         $(common-objpfx)math/libm.so$(libm.so-version) or
5738         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5739         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5740         $(common-objpfx)dlfcn/libdl.so.
5741         * setjmp/Makefile (link-libm): Remove variable.
5742         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5743         * stdio-common/Makefile (link-libm): Remove variable.
5744         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5745         * stdlib/Makefile (link-libm): Remove variable.
5746         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5747         ($(objpfx)tst-strtod-round): Likewise.
5748         ($(objpfx)tst-tininess): Likewise.
5749         ($(objpfx)tst-strtod-underflow): Likewise.
5750         ($(objpfx)tst-strtod6): Likewise.
5751         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5752         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5753         $(common-objpfx)dlfcn/libdl.so.
5754
5755 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5756
5757         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5758         BSD terminal modes definitions.
5759
5760 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5761
5762         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5763         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5764
5765         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5766         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5767         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5768         Don't do #include_next.
5769         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5770         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5771         Don't do #include_next.
5772         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5773         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5774         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5775         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5776
5777 2014-05-16  Allan McRae  <allan@archlinux.org>
5778
5779         * po/sv.po: Update Swedish translation from translation project.
5780
5781         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5782         in sed expression.
5783
5784 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5785
5786         [BZ #16917]
5787         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5788         errno if the TIOCGPTN ioctl fails with an error different than
5789         EINVAL.
5790         * login/tst-ptsname.c: New file.
5791         * login/Makefile (tests): Add tst-ptsname.
5792
5793         [BZ #16943]
5794         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5795         and prlimit64.
5796
5797 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5798
5799         [BZ #16849]
5800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5801         herrno to return EAI_AGAIN.
5802
5803 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5804
5805         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5806         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5807         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5808         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5809         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5812         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5814         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5815         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5816         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5817         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5818         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5819         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5820         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5826         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5832         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5833         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5834         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5836         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5838         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5840         Moved ...
5841         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5843         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5845         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5847         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5849         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5851         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5853         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5855         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5857         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5861         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5863         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5865         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5867         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5869         Moved ...
5870         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5872         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5874         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5876         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5878         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5880         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5882         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5884         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5886         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5888         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5889         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5890         Moved ...
5891         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5893         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5894
5895         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5896         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5897         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5898         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5899         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5901         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5903         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5905         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5907         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5908         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5909         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5910         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5911         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5913         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5914         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5915         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5916         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5917         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5919         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5921         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5922         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5923         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5925         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5926
5927         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5928         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5929
5930         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5931         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5932         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5933         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5934         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5935         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5936         Moved ...
5937         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5938         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5939         Moved ...
5940         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5942         Moved ...
5943         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5945         Moved ...
5946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5947         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5948         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5950         Moved ...
5951         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5953         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5956         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5957         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5958         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5959         Moved ...
5960         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5962         Moved ...
5963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5964         ... here.
5965         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5966         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5968         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5970         Moved ...
5971         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5972         ... here.
5973         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5974         Moved ...
5975         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5976         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5977         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5978         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5979         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5980         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5981         Moved ...
5982         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5984         Moved ...
5985         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5986         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5987         Moved ...
5988         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5990         Moved ...
5991         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5992         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5993         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5995         Moved ...
5996         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5997         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5998         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6001         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6002         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6003         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6004         Moved ...
6005         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6006         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6007         Moved ...
6008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6009         ... here.
6010         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6011         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6012         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6013         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6014         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6015         Moved ...
6016         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6017         ... here.
6018         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6019         Moved ...
6020         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6022         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6024         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6025         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6026         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6027         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6028         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6029         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6030         Moved ...
6031         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6033         Moved ...
6034         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6036         Moved ...
6037         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6038         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6039         Moved ...
6040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6042         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6044         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6046         Moved ...
6047         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6048         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6049         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6050         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6051         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6052         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6053         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6054         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6055         Moved ...
6056         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6058         Moved ...
6059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6060         ... here.
6061         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6062         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6063         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6064         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6066         Moved ...
6067         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6068         ... here.
6069         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6070         Moved ...
6071         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6073         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6074         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6075         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6077         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6078         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6079         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6080         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6081         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6082
6083         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6084         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6085
6086         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6087         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6088
6089         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6090         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6091         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6092         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6093         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6094         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6095         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6096         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6097         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6100         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6101         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6102         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6103         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6105         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6107         Moved ...
6108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6110         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6112         Moved ...
6113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6115         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6117         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6119         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6120         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6121         Moved ...
6122         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6124         Moved ...
6125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6129         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6130         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6131         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6132         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6133         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6134         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6135         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6136         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6137         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6138         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6139         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6141         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6142
6143         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6144         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6145         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6146         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6147         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6148
6149         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6150         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6151         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6152         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6153         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6154         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6155         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6156         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6157         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6158         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6159
6160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6162
6163         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6164         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6165         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6166         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6167         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6168         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6169         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6170         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6171         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6172         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6174         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6175         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6176         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6178         Update #include.
6179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6180         Likewise.
6181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6182         Likewise.
6183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6184         Likewise.
6185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6186         Likewise.
6187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6188         Likewise.
6189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6190         Likewise.
6191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6192         Likewise.
6193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6194         Likewise.
6195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6196         Likewise.
6197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6205         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6207         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6210         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6211         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6212
6213         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6214         that was previously under [RESET_PID].
6215         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6216         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6217         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6218
6219         * sysdeps/i386/nptl/Implies: New file.
6220         * sysdeps/x86_64/nptl/Implies: New file.
6221         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6222         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6223         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6224         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6225
6226         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6227         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6228         (__libc_vfork): New strong alias.
6229         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6230         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6231
6232         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6233         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6234         (__libc_vfork): New strong alias.
6235         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6236         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6237
6238         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6239         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6240         (__libc_vfork): New strong alias.
6241         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6242         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6243         * nptl/pt-vfork.c: New file.
6244         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6245         (libpthread: GLIBC_2.20): New version set (empty).
6246
6247 2014-05-14  Will Newton  <will.newton@linaro.org>
6248
6249         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6250         rather than #if.
6251
6252 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6253
6254         [BZ #16564]
6255         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6256         arguments with exponent 65 or above.
6257         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6258         arguments 0x1p113L or above.
6259         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6260         to arguments 0x1p107L or above.
6261         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6262         positive arguments with exponent 65 or above.
6263         * math/auto-libm-test-in: Add more tests of log1p.
6264         * math/auto-libm-test-out: Regenerated.
6265
6266         [BZ #16928]
6267         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6268         non-finite arguments is +0.
6269         * math/s_cacosf.c (__cacosf): Likewise.
6270         * math/s_cacosl.c (__cacosl): Likewise.
6271         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6272         * sysdeps/i386/fpu/libm-test-ulps: Update.
6273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274
6275         [BZ #16927]
6276         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6277         value.
6278         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6279         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6280         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6281         for explicit high bit of mantissa when testing for argument equal
6282         to 1.
6283         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6284         * sysdeps/i386/fpu/libm-test-ulps: Update.
6285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6286
6287         [BZ #16516]
6288         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6289         (__erf): Scale by 16 instead of 8 in potentially underflowing
6290         case.  Ensure exception if result actually underflows.
6291         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6292         (__erff): Scale by 16 instead of 8 in potentially underflowing
6293         case.  Ensure exception if result actually underflows.
6294         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6295         (efx8): Remove variable.
6296         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6297         case.  Ensure exception if result actually underflows.
6298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6299         (efx8): Remove variable.
6300         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6301         case.  Ensure exception if result actually underflows.
6302         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6303         (efx8): Remove variable.
6304         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6305         case.  Ensure exception if result actually underflows.
6306         * math/auto-libm-test-in: Add more tests of erf.
6307         * math/auto-libm-test-out: Regenerated.
6308
6309 2014-05-14  Andreas Schwab  <schwab@suse.de>
6310
6311         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6312         Remove code conditionalized on USE___THREAD.
6313
6314         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6315         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6316         not definedness.
6317
6318 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6319
6320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6321         Define unconditionally.
6322         (__ASSUME_O_CLOEXEC): Likewise.
6323         (__ASSUME_SOCK_CLOEXEC): Likewise.
6324         (__ASSUME_IN_NONBLOCK): Likewise.
6325         (__ASSUME_PIPE2): Likewise.
6326         (__ASSUME_EVENTFD2): Likewise.
6327         (__ASSUME_SIGNALFD4): Likewise.
6328         (__ASSUME_DUP3): Likewise.
6329         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6330         (__ASSUME_DUP3): Do not define.
6331         (__ASSUME_EVENTFD2): Likewise.
6332         (__ASSUME_IN_NONBLOCK): Likewise.
6333         (__ASSUME_O_CLOEXEC): Likewise.
6334         (__ASSUME_PIPE2): Likewise.
6335         (__ASSUME_SIGNALFD4): Likewise.
6336         (__ASSUME_SOCK_CLOEXEC): Likewise.
6337         (__ASSUME_UTIMES): Undefine.
6338         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6339         (__ASSUME_UTIMES): Do not define.
6340         (__ASSUME_O_CLOEXEC): Likewise.
6341         (__ASSUME_SOCK_CLOEXEC): Likewise.
6342         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6343         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6344         0x020621].
6345         (__ASSUME_PIPE2): Likewise.
6346         (__ASSUME_EVENTFD2): Likewise.
6347         (__ASSUME_SIGNALFD4): Likewise.
6348         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6349         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6350         Do not define.
6351         (__ASSUME_EVENTFD2): Likewise.
6352         (__ASSUME_SIGNALFD4): Likewise.
6353         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6354         (__ASSUME_32BITUIDS): Likewise.
6355         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6356         (__ASSUME_IPC64): Likewise.
6357         (__ASSUME_ST_INO_64_BIT): Likewise.
6358         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6359         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6360         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6361         (__ASSUME_UTIMES): Do not define.
6362         (__ASSUME_PSELECT): Likewise.
6363         (__ASSUME_PPOLL): Likewise.
6364         (__ASSUME_O_CLOEXEC): Likewise.
6365         (__ASSUME_SOCK_CLOEXEC): Likewise.
6366         (__ASSUME_IN_NONBLOCK): Likewise.
6367         (__ASSUME_PIPE2): Likewise.
6368         (__ASSUME_EVENTFD2): Likewise.
6369         (__ASSUME_SIGNALFD4): Likewise.
6370         (__ASSUME_DUP3): Likewise.
6371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6372         (__ASSUME_UTIMES): Likewise.
6373         (__ASSUME_O_CLOEXEC): Likewise.
6374         (__ASSUME_SOCK_CLOEXEC): Likewise.
6375         (__ASSUME_IN_NONBLOCK): Likewise.
6376         (__ASSUME_PIPE2): Likewise.
6377         (__ASSUME_EVENTFD2): Likewise.
6378         (__ASSUME_SIGNALFD4): Likewise.
6379         (__ASSUME_DUP3): Likewise.
6380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6381         (__ASSUME_UTIMES): Likewise.
6382         (__ASSUME_O_CLOEXEC): Likewise.
6383         (__ASSUME_SOCK_CLOEXEC): Likewise.
6384         (__ASSUME_IN_NONBLOCK): Likewise.
6385         (__ASSUME_PIPE2): Likewise.
6386         (__ASSUME_EVENTFD2): Likewise.
6387         (__ASSUME_SIGNALFD4): Likewise.
6388         (__ASSUME_DUP3): Likewise.
6389         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6390         Likewise.
6391         (__ASSUME_UTIMES): Likewise.
6392         (__ASSUME_EVENTFD2): Likewise.
6393         (__ASSUME_SIGNALFD4): Likewise.
6394         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6395         (__ASSUME_O_CLOEXEC): Likewise.
6396         (__ASSUME_SOCK_CLOEXEC): Likewise.
6397         (__ASSUME_IN_NONBLOCK): Likewise.
6398         (__ASSUME_PIPE2): Likewise.
6399         (__ASSUME_EVENTFD2): Likewise.
6400         (__ASSUME_SIGNALFD4): Likewise.
6401         (__ASSUME_DUP3): Likewise.
6402         (__ASSUME_UTIMES): Undefine.
6403
6404         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6405         feclearexcept.  Remove symbol versioning code.
6406         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6407         symbol versioning code.
6408         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6409         symbol versioning code.
6410         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6411         feupdateenv.  Remove symbol versioning code.
6412         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6413         fegetexceptflag.  Remove symbol versioning code.
6414         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6415         fesetexceptflag.  Remove symbol versioning code.
6416         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6417         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6418         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6419         (__posix_fadvise64_l32): Remove prototype.
6420         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6421         code.
6422
6423 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6424
6425         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6426         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6427         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6428         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6429
6430 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6431
6432         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6433         current working directory
6434
6435 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6436
6437         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6438         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6439         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6440         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6441         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6442         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6443         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6444         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6448         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6449         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6450         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6453         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6454         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6455         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6456         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6457         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6462         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6463         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6464         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6468         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6470         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6471         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6472         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6473         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6474         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6475         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6476         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6477         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6478         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6479
6480         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6481         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6482
6483         * sysdeps/unix/sysv/linux/arm/Makefile
6484         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6485         Add rt-aeabi_unwind_cpp_pr1.
6486         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6487         Add nptl-aeabi_unwind_cpp_pr1.
6488         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6489         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6490         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6491         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6492         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6493         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6494
6495         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6496         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6497         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6498         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6499
6500         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6501         Deconditionalize the code that was previously under [RESET_PID].
6502         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6503
6504         * sysdeps/generic/exit-thread.h: New file.
6505         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6506         * include/unistd.h (__exit_thread): Remove declaration.
6507         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6508         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6509         * csu/libc-start.c: Include <exit-thread.h>.
6510         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6511         * nptl/pthread_create.c: Include <exit-thread.h>.
6512         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6513         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6514         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6515         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6516         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6517         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6518         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6519         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6520         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6521         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6522         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6523         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6524         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6525         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6526         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6527         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6528         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6529
6530 2014-05-13  Andreas Schwab  <schwab@suse.de>
6531
6532         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6533
6534 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6535
6536         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6537         (__ASSUME_UTIMES): Do not condition on kernel version.
6538         (__ASSUME_PSELECT): Define unconditionally.
6539         (__ASSUME_PPOLL): Likewise.
6540         (__ASSUME_ATFCTS): Likewise.
6541         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6542         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6543         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6544         (__ASSUME_UTIMENSAT): Define unconditionally.
6545         (__ASSUME_PRIVATE_FUTEX): Likewise.
6546         (__ASSUME_FALLOCATE): Likewise.
6547         (__ASSUME_O_CLOEXEC): Likewise.
6548         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6549         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6550         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6551         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6552         (__ASSUME_IN_NONBLOCK): Likewise.
6553         (__ASSUME_PIPE2): Likewise.
6554         (__ASSUME_EVENTFD2): Likewise.
6555         (__ASSUME_SIGNALFD4): Likewise.
6556         (__ASSUME_DUP3): Likewise.
6557         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6558         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6559         (__ASSUME_AT_RANDOM): Likewise.
6560         (__ASSUME_PREADV): Likewise.
6561         (__ASSUME_PWRITEV): Likewise.
6562         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6563         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6564         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6565         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6566         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6567         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6568         (__ASSUME_O_CLOEXEC): Define unconditionally.
6569         (__ASSUME_PSELECT): Do not undefine conditionally.
6570         (__ASSUME_PPOLL): Likewise.
6571         (__ASSUME_ATFCTS): Likewise.
6572         (__ASSUME_SET_ROBUST_LIST): Likewise.
6573         (__ASSUME_UTIMENSAT): Likewise.
6574         (__ASSUME_FDATASYNC): Define unconditionally.
6575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6576         (__ASSUME_SIGFRAME_V2): Likewise.
6577         )__ASSUME_EVENTFD2): Likewise.
6578         (__ASSUME_SIGNALFD4): Likewise.
6579         (__ASSUME_PSELECT): Do not undefine conditionally.
6580         (__ASSUME_PPOLL): Likewise.
6581         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6582         (__ASSUME_PSELECT): Define unconditionally.
6583         (__ASSUME_PPOLL): Likewise.
6584         (__ASSUME_O_CLOEXEC): Likewise.
6585         (__ASSUME_SOCK_CLOEXEC): Likewise.
6586         (__ASSUME_IN_NONBLOCK): Likewise.
6587         (__ASSUME_PIPE2): Likewise.
6588         (__ASSUME_EVENTFD2): Likewise.
6589         (__ASSUME_SIGNALFD4): Likewise.
6590         (__ASSUME_DUP3): Likewise.
6591         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6592         (__ASSUME_O_CLOEXEC): Likewise.
6593         (__ASSUME_SOCK_CLOEXEC): Likewise.
6594         (__ASSUME_IN_NONBLOCK): Likewise.
6595         (__ASSUME_PIPE2): Likewise.
6596         (__ASSUME_EVENTFD2): Likewise.
6597         (__ASSUME_SIGNALFD4): Likewise.
6598         (__ASSUME_DUP3): Likewise.
6599         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6600         (__ASSUME_EVENTFD2): Likewise.
6601         (__ASSUME_SIGNALFD4): Likewise.
6602         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6603
6604 2014-05-12  Andreas Schwab  <schwab@suse.de>
6605
6606         [BZ #16932]
6607         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6608         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6609         than maximum RPC packet size.
6610         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6611         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6612         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6613         (_nss_nis_getservbyport_r): Likewise.
6614
6615 2014-05-12  Will Newton  <will.newton@linaro.org>
6616
6617         * malloc/Makefile (tests): Add tst-mallopt.
6618         * malloc/tst-mallopt.c: New file.
6619
6620 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6621
6622         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6623         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6624
6625 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6626
6627         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6628         (tst-tlsmod6.so): Likewise.
6629
6630 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6631
6632         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6633
6634 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6635
6636         [BZ #16064]
6637         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6638         and <dl-procinfo.h>.
6639         (__fegetenv): Save SSE state in envp->__eip if supported.
6640         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6641         envp->__eip if supported.
6642         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6643         and <dl-procinfo.h>.
6644         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6645         __data_offset and __data_selector in environment to 0.  Set SSE
6646         state if supported.
6647         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6648         test-fenv-sse.
6649         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6650         -mfpmath=sse.
6651         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6652
6653 2014-05-09  Will Newton  <will.newton@linaro.org>
6654
6655         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6656         and libc_relro_required for ARM.
6657         * sysdeps/arm/preconfigure: Regenerate.
6658
6659 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6660             Stefan Liebler  <stli@linux.vnet.ibm.com>
6661
6662         * config.make.in (enable-lock-elision): New Makefile variable.
6663         * configure.ac: Likewise.
6664         * configure: Regenerate.
6665         * sysdeps/s390/configure.ac:
6666         Add check for gcc transactions support.
6667         * sysdeps/s390/configure: Regenerate.
6668         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6669         Build elision files if enabled.
6670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6671         Add lock elision support for s390.
6672         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6673         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6674         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6675         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6676         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6677         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6679         Likewise.
6680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6681         Likewise.
6682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6683         Likewise.
6684         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6685         Likewise.
6686         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6687         (__lll_timedlock_elision, __lll_lock_elision)
6688         (__lll_unlock_elision, __lll_trylock_elision)
6689         (lll_timedlock_elision, lll_lock_elision)
6690         (lll_unlock_elision, lll_trylock_elision): Add.
6691         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6692         (pthread_mutex_t): Add lock elision support for s390.
6693
6694 2014-05-14  Wilco  <wdijkstr@arm.com>
6695
6696         * sysdeps/arm/fclrexcpt.c: Cleanup.
6697         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6698         * sysdeps/arm/feenablxcpt.c: Cleanup.
6699         * sysdeps/arm/fegetenv.c: Cleanup.
6700         * sysdeps/arm/fegetexcept.c: Cleanup.
6701         * sysdeps/arm/fegetround.c: Cleanup.
6702         * sysdeps/arm/feholdexcpt.c: Cleanup.
6703         * sysdeps/arm/fesetenv.c: Cleanup.
6704         * sysdeps/arm/fesetround.c: Cleanup.
6705         * sysdeps/arm/feupdateenv.c: Cleanup.
6706         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6707         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6708         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6709         * sysdeps/arm/ftestexcept.c: Cleanup.
6710         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6711         * sysdeps/arm/setfpucw.c: Cleanup.
6712
6713 2014-05-09  Will Newton  <will.newton@linaro.org>
6714
6715         * sysdeps/arm/armv7/strcmp.S: New file.
6716         * NEWS: Mention addition of ARMv7 optimized strcmp.
6717
6718 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6719
6720         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6721         look for %.ac rather than %.in.
6722
6723         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6724         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6725         * sysdeps/mach/hurd/configure: Regenerated.
6726         * sysdeps/unix/sysv/linux/configure: Regenerated.
6727
6728         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6729
6730 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6731
6732         [BZ# 16922]
6733         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6734         (LONG_SUB): Ditto.
6735         (PTR_SUB): Ditto.
6736
6737 2014-05-07  Andreas Schwab  <schwab@suse.de>
6738
6739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6740         when skipping over non-matching result from nscd.
6741
6742 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6743
6744         [BZ #16876]
6745         * nptl/sockperf.c (client): Check socket return value.
6746
6747         [BZ #16877]
6748         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6749         nscd security class.
6750
6751 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6752
6753         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6754         * sysdeps/arm/unwind.h: ... here.
6755
6756 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6757
6758         [BZ# 16916]
6759         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6760         Define.
6761
6762 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6763
6764         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6765         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6766         multiarch strncpy for PPC64.
6767         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6768         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6770         multiarch optimizations.
6771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6772         (__libc_ifunc_impl_list): Likewise.
6773         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6775         multiarch stpncpy for PPC64.
6776         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6777         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6778
6779 2014-05-06  Andreas Schwab  <schwab@suse.de>
6780
6781         [BZ #16912]
6782         * gmon/mcount.c (_MCOUNT_DECL): Use
6783         atomic_compare_and_exchange_bool_acq instead of
6784         catomic_compare_and_exchange_bool_acq.
6785
6786 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6787
6788         * elf/Makefile (others, install-bin): Remove pldd.
6789         (pldd-modules): Variable removed.
6790         ($(objpfx)pldd): Target removed.
6791         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6792         (others, install-bin): Append pldd here.
6793         ($(objpfx)pldd): New target.
6794
6795         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6796         to 0, so the first #if test emitted later doesn't see it undefined.
6797         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6798         * sysdeps/gnu/errlist.c: Regenerated.
6799
6800 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6801
6802         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6803         [libc_hidden_builtin_def]: Define to empty value.
6804         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6805         [libc_hidden_builtin_def]: Likewise.
6806         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6807         [libc_hidden_builtin_def]: Likewise.
6808         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6809         [libc_hidden_builtin_def]: Likewise.
6810         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6811         __redirect_memcpy and define ifunc as default hidden symbol.
6812         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6813         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6814
6815 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6816
6817         * locale/iso-4217.def: Reintroduce XDR currency.
6818
6819 2014-05-04  Allan McRae  <allan@archlinux.org>
6820
6821         * po/eo.po: Update Esperanto translation from translation project.
6822
6823 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6824
6825         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6826         and FEATURE_INDEX_MAX to 1.
6827         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6828
6829 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6830
6831         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6832         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6833         * iconvdata/big5.c (ONE_DIRECTION): Define.
6834         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6835         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6836         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6837         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6838         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6839         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6840         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6841         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6842         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6843         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6844         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6845         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6846         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6847         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6848         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6849         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6850         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6851         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6852         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6853         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6854         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6855         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6856         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6857         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6858         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6859         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6860         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6861         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6862         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6863         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6864         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6865         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6866         * iconvdata/johab.c (ONE_DIRECTION): Define.
6867         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6868         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6869         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6870         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6871         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6872         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6873         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6874         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6875         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6876         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6877
6878 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6879
6880         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6881         (_IO_JUMPS_OFFSET): Define to 0.
6882
6883         * nptl/sysdeps/pthread/bits/libc-lock.h
6884         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6885         (__libc_lock_define_initialized_recursive): Always define using
6886         initializer.  Modern compilers treat uninitialized (implicit zero) and
6887         explicit zero initializers the same (i.e. put the datum in bss).
6888
6889 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6890
6891         * nscd/nscd-client.h: Include <string.h>.
6892
6893 2014-05-01  David S. Miller  <davem@davemloft.net>
6894
6895         [BZ #16885]
6896         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6897         multiple zero bytes exist at the end of a string.
6898         Reported by Aurelien Jarno <aurelien@aurel32.net>
6899
6900         * string/test-strcmp.c (check): Add explicit test for situations where
6901         there are multiple zero bytes after the first.
6902
6903 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6904
6905         [BZ #16890]
6906         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6907         when compiling wprintf.
6908         * stdio-common/tstdiomisc.c (t3): New function.
6909         (main): Call it.
6910
6911 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6912
6913         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6914         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6915         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6916         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6917
6918 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6919
6920         * stdlib/longlong.h: Updated from GCC.
6921
6922 2014-05-01  Will Newton  <will.newton@linaro.org>
6923             Bernard Ogden  <bernie.ogden@linaro.org>
6924
6925         * NEWS: Update fixed bug list.
6926
6927         [BZ #15119]
6928         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6929
6930 2014-04-30  David S. Miller  <davem@davemloft.net>
6931
6932         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6933         (libc_feholdexcept_setround_sparc_ctx): New function.
6934         (libc_fesetenv_sparc_ctx): Likewise.
6935         (libc_feupdateenv_sparc_ctx): Likewise.
6936         (libc_feholdsetround_sparc_ctx): Likewise.
6937         (libc_feholdexcept_setround_ctx): Define.
6938         (libc_feholdexcept_setroundf_ctx): Likewise.
6939         (libc_feholdexcept_setroundl_ctx): Likewise.
6940         (libc_fesetenv_ctx): Likewise.
6941         (libc_fesetenvf_ctx): Likewise.
6942         (libc_fesetenvl_ctx): Likewise.
6943         (libc_feupdateenv_ctx): Likewise.
6944         (libc_feupdateenvf_ctx): Likewise.
6945         (libc_feupdateenvl_ctx): Likewise.
6946         (libc_feresetround_ctx): Likewise.
6947         (libc_feresetroundf_ctx): Likewise.
6948         (libc_feresetroundl_ctx): Likewise.
6949         (libc_feholdsetround_ctx): Likewise.
6950         (libc_feholdsetroundf_ctx): Likewise.
6951         (libc_feholdsetroundl_ctx): Likewise.
6952
6953         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6954         with __USE_GNU instead of XOPEN cpp guards.
6955
6956         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6957         0.
6958
6959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6960         with XOPEN cpp guards.
6961
6962 2014-04-30  Julian Brown  <julian@codesourcery.com>
6963
6964         [BZ #16888]
6965         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6966         handling.
6967
6968 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6969
6970         [BZ #9894]
6971         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6972         Change to 2.6.32.
6973         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6974         * sysdeps/unix/sysv/linux/configure: Regenerated.
6975         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6976         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6977         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6978         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6979         * README: Update reference to required Linux kernel version.
6980         * manual/install.texi (Linux): Update reference to required Linux
6981         kernel headers version.
6982         * INSTALL: Regenerated.
6983
6984         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6985         header inclusion.
6986         [POSIX] (limits.h): Likewise.
6987         [POSIX] (math.h): Likewise.
6988         [POSIX] (sys/wait.h): Likewise.
6989         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6990         function.
6991         [POSIX] (stddef.h): Do not allow header inclusion.
6992
6993 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6994
6995         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6996
6997 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6998
6999         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7000         Return immediately after lll_futex_wake.
7001
7002 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7003
7004         [BZ #16791]
7005         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7006         structure.
7007         (datahead_init_pos): Call datahead_init_common early.
7008         (datahead_init_neg): Likewise.
7009
7010         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7011         datahead_init_neg): New functions.
7012         * nscd/aicache.c (addhstaiX): Use them.
7013         * nscd/grpcache.c (cache_addgr): Likewise.
7014         * nscd/hstcache.c (cache_addhst): Likewise.
7015         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7016         * nscd/netgroupcache.c (do_notfound): Likewise.
7017         (addgetnetgrentX): Likewise.
7018         (addinnetgrX): Likewise.
7019         * nscd/pwdcache.c (cache_addpw): Likewise.
7020         * nscd/servicescache.c (cache_addserv): Likewise.
7021
7022 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7023             Atsushi Onoe  <atsushi@onoe.org>
7024
7025         [BZ #14308]
7026         [BZ #12994]
7027         [BZ #13651]
7028         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7029         one response is valid.
7030         * resolv/res_send.c (send_dg): Check for validity of other
7031         response if the current response is a referral.
7032
7033 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7034
7035         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7036
7037 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7038
7039         [BZ #16823]
7040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7041         Always divide by positive zero when computing -Inf result.
7042         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7043         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7044
7045 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7046
7047         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7048         FPSCR if value do not change.
7049         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7050         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7051         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7052         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7053         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7054         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7055         function.
7056
7057 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7058
7059         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7060         * sysdeps/unix/sysv/linux/hppa: Move directory from
7061         ports/systeps/unix/sysv/linux/hppa.
7062         * README: Update listing for hppa-*-linux-gnu.
7063
7064 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7065
7066         [BZ #16754]
7067         * manual/stdio.texi (Hook functions): Fix types of stream hook
7068         functions.
7069         [BZ #16854]
7070         * socket/sys/socket.h: Fix typo in comment.
7071
7072 2014-04-28  Wilco  <wdijkstr@arm.com>
7073
7074         * sysdeps/arm/fenv_private.h: New file.
7075         * sysdeps/arm/math_private.h: New file.
7076         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7077
7078 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7079
7080         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7081         with __int128_t.
7082         (La_x86_64_retval): Likewise.
7083
7084 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7085
7086         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7087         fpsr if value didn't change.
7088         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7089         to fpcr if value didn't change.
7090         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7091         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7092         fpsr or fpcr if value didn't change.
7093         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7094         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7095         fpcr if value didn't change.
7096         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7097         to fpsr if value didn't change.
7098
7099 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7100
7101         * nptl/tst-sem3.c: Use test-skeleton.c
7102         (main): Rename to do_test.  Use return instead of
7103         exit.
7104         * nptl/tst-sem4.c: Use test-skeleton.c
7105         (main): Rename to do_test.
7106
7107 2014-04-22  David S. Miller  <davem@davemloft.net>
7108
7109         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7110         (struct sigaction): New struct member __glibc_reserved0, change
7111         type of sa_flags to int.
7112
7113 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7114
7115         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7116         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7117
7118 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7119
7120         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7121         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7122
7123 2014-04-22  Will Newton  <will.newton@linaro.org>
7124             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7125
7126         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7127         (__longjmp): Add longjmp and longjmp_target SystemTap
7128         probes.
7129         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7130         (__sigsetjmp): Add setjmp SystemTap probe.
7131
7132 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7133
7134         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7135         match manual order.
7136
7137 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7138
7139         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7140
7141         * sysdeps/powerpc/fpu/fenv_private.h
7142         (libc_feholdexcept_setroundl_ctx): Define to
7143         libc_feholdexcept_setround_ppc_ctx.
7144         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7145         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7146         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7147         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7148
7149 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7150
7151         * sysdeps/aarch64/math-tests.h: New file.
7152
7153 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7154
7155         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7156         New.
7157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7158         Check and set bit_AVX2_Usable.
7159         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7160         macro.
7161         (bit_AVX2): Likewise.
7162         (index_AVX2_Usable): Likewise.
7163         (CPUID_AVX2): Likewise.
7164         (HAS_AVX2): Likewise.
7165
7166 2014-04-17  Will Newton  <will.newton@linaro.org>
7167
7168         * manual/setjmp.texi (System V contexts): Add note that
7169         calling setcontext on a context created by a call to a
7170         signal handler is undefined.  Update text to note that
7171         setcontext from a signal handler is possible but not
7172         recommended.
7173
7174         [BZ #16629]
7175         * stdlib/tst-setcontext.c: Include signal.h.
7176         (main): Check that the signal stack before and
7177         after swapcontext is the same.
7178
7179         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7180         Re-implement to restore registers in user code and avoid
7181         rt_sigreturn system call.
7182
7183 2014-04-17  Wilco  <wdijkstr@arm.com>
7184
7185         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7186         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7187         * math/test-fenv.c: Skip exception trap tests on targets which only
7188         support non-stop mode.
7189
7190 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7191             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7192
7193         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7194         (libc_feholdsetround_aarch64_ctx)
7195         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7196         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7197         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7198         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7199         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7200         (libc_feresetround_noexl_ctx): Define.
7201
7202 2014-04-16  Richard Henderson  <rth@redhat.com>
7203
7204         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7205
7206         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7207         unwind tables.
7208
7209         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7210         const from the non-libc, non-ldso copy.
7211
7212         * sysdeps/alpha/libm-test-ulps: Regenerate.
7213
7214 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7215             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7216
7217         * sysdeps/aarch64/fpu/math_private.h: New file.
7218
7219 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7220
7221         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7222
7223 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7224
7225         [BZ #16275]
7226         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7227         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7228         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7229         Intel MPX bound registers before _dl_profile_fixup.
7230         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7231         registers after _dl_profile_fixup.  Save and restore bound
7232         registers bnd0/bnd1 when calling _dl_call_pltexit.
7233         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7234         (LR_BND_OFFSET): Likewise.
7235         (LRV_BND0_OFFSET): Likewise.
7236         (LRV_BND1_OFFSET): Likewise.
7237
7238 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7239
7240         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7241         to...
7242         * sysdeps/mach/hurd/i386/tls.h: ... here.
7243         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7244         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7245         fields.
7246
7247 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7248
7249         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7250
7251 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7252
7253         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7254
7255 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7256
7257         [BZ #14770]
7258         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7259         * sysdeps/s390/configure: Regenerate.
7260
7261         [BZ #16824]
7262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7263         Set round-to-nearest internally to reduce error accumulation.
7264
7265 2014-04-16  Alan Modra  <amodra@gmail.com>
7266
7267         [BZ #16740]
7268         [BZ #16619]
7269         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7270         * math/libm-test.inc (frexp_test_data): Add tests.
7271         * NEWS: Update fixed bug list.
7272
7273 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7274
7275         * benchtests/Makefile: Depend on libraries in build directory.
7276         (bench-math): Separate out math tests.
7277         (bench-pthread): Separate out pthread tests.
7278         (bench): Include math and pthread tests.
7279
7280 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7281
7282         [BZ #16831]
7283         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7284         _dl_debug_initialize.
7285
7286         * configure.ac: Remove SELinux header check.
7287         * configure: Regenerate.
7288         * nscd/selinux.c (perms): Array of const char* to permission names.
7289         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7290         default policy. Call string_to_security_class and string_to_av_perm to
7291         translate strings. Enforce default policy and call avs_has_perm with
7292         results of translated strings.
7293
7294 2014-04-13  David S. Miller  <davem@davemloft.net>
7295
7296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7297
7298 2014-04-12  Allan McRae  <allan@archlinux.org>
7299
7300         [BZ #16838]
7301         * manual/string.texi (Collation Functions): Fix qsort argument
7302         order in example.
7303         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7304
7305 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7306
7307         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7308         Make the test a no-op if there are no exceptions defined.
7309
7310 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7311
7312         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7313         enable-hardcoded-path-in-tests
7314
7315 2014-04-11  Will Newton  <will.newton@linaro.org>
7316
7317         * benchtests/Makefile (extra-objs): Add json-lib.o.
7318         (bench-func): Tidy up JSON output.
7319         * benchtests/bench-skeleton.c: Include json-lib.h.
7320         (main): Use JSON library functions to do output of
7321         benchmark results.
7322         * benchtests/bench-timing-type.c (main): Output the
7323         timing type simply, leaving formatting to the user.
7324         * benchtests/json-lib.c: New file.
7325         * benchtests/json-lib.h: Likewise.
7326
7327 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7328
7329         [BZ #15215]
7330         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7331         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7332         memory barriers.  Add comments.
7333         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7334         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7335         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7336         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7337         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7338         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7339
7340 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7341
7342         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7343         * sysdeps/s390/s390-64/configure.ac: ... this ...
7344         * sysdeps/s390/configure.ac: ... to here.
7345         * sysdeps/s390/s390-32/configure: Delete file.
7346         * sysdeps/s390/s390-64/configure: Delete file.
7347         * sysdeps/s390/configure: Regenerate.
7348
7349 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7350
7351         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7352
7353 2014-04-11  Will Newton  <will.newton@linaro.org>
7354
7355         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7356         to zero if it is not defined elsewhere.  (mtrim): Test
7357         the value of MALLOC_DEBUG with #if rather than #ifdef.
7358
7359 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7360
7361         * benchtests/pthread_once-inputs: New file.
7362         * benchtests/pthread_once-source.c: New file.
7363         * benchtests/README: Update documentation.
7364
7365 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7366             H.J. Lu  <hongjiu.lu@intel.com>
7367
7368         [BZ #16275]
7369         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7370         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7371         * sysdeps/x86_64/configure: Regenerated.
7372         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7373         macro.
7374         (REGISTER_SAVE_RAX): Likewise.
7375         (REGISTER_SAVE_RCX): Likewise.
7376         (REGISTER_SAVE_RDX): Likewise.
7377         (REGISTER_SAVE_RSI): Likewise.
7378         (REGISTER_SAVE_RDI): Likewise.
7379         (REGISTER_SAVE_R8): Likewise.
7380         (REGISTER_SAVE_R9): Likewise.
7381         (REGISTER_SAVE_BND0): Likewise.
7382         (REGISTER_SAVE_BND1): Likewise.
7383         (REGISTER_SAVE_BND2): Likewise.
7384         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7385         bound registers when calling _dl_fixup.
7386
7387 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7388
7389         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7390         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7391         of its definition.
7392         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7393         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7394         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7395         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7396         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7397         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7398         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7399
7400 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7401
7402         [BZ #15514]
7403         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7404         pathconf(_PC_NAME_MAX).
7405
7406 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7407
7408         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7409         Remove macro usage.
7410         (__PTHREAD_SPINS): Move definition to ...
7411         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7412         (__PTHREAD_SPINS): ... here.
7413         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7414         (__PTHREAD_SPIN): Likewise.
7415         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7416         (__PTHREAD_SPIN): Likewise.
7417         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7418         (__PTHREAD_SPIN): Likewise.
7419         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7420         (__PTHREAD_SPIN): Likewise.
7421         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7422         (__PTHREAD_SPIN): Likewise.
7423         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7424         (__PTHREAD_SPIN): Likewise.
7425         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7426         (__PTHREAD_SPIN): Likewise.
7427         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7428         (__PTHREAD_SPIN): Likewise.
7429         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7430         (__PTHREAD_SPIN): Likewise.
7431         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7432         (__PTHREAD_SPIN): Likewise.
7433         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7434         (__PTHREAD_SPIN): Likewise.
7435         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7436         (__PTHREAD_SPIN): Likewise.
7437
7438         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7439         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7440         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7441         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7442         imply folder.
7443         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7444         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7445         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7446         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7447         correct imply path.
7448         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7449         strlen symbol for non multi-arch builds.
7450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7451         missing hidden_def and weak_alias.
7452
7453 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7454
7455         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7456
7457 2014-04-07  Will Newton  <will.newton@linaro.org>
7458
7459         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7460         and contents.  [!_LIBC] Remove #ifndef and contents.
7461         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7462         * string/memccpy.c (__memccpy): Use ANSI prototype.
7463         * string/memfrob.c (memfrob): Likewise.
7464         * string/strcoll.c (STRCOLL): Likewise.
7465         * string/strlen.c (strlen): Likewise.
7466         * string/strtok.c (STRTOK): Likewise.
7467         * string/strcat.c: Remove unused #include of memcopy.h.
7468         (strcat): Use ANSI prototype.
7469         * string/strchr.c: Remove unused #include of memcopy.h.
7470         (strchr): Use ANSI prototype.
7471         * string/strcmp.c: Remove unused #include of memcopy.h.
7472         (strcmp): Use ANSI prototype.
7473         * string/strcpy.c: Remove unused #include of memcopy.h.
7474         (strcpy): Use ANSI prototype.
7475
7476 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7477
7478         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7479         * config.make.in (config-extra-cppflags): Set it from
7480         libc_extra_cppflags.
7481         * configure.ac (libc_extra_cflags): Make it accumulate over
7482         configure fragments.
7483         (libc_extra_cppflags): New flag.
7484         * configure. Regenerate.
7485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7486         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7487         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7489
7490         [BZ #16815]
7491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7492         result for FE_DOWNWARD rounding mode.
7493         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7494         Likewise.
7495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7496
7497 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7498
7499         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7500         in function argument name.
7501
7502 2014-04-03  David Svoboda  <svoboda@cert.org>
7503
7504         [BZ #5666]
7505         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7506         explicitly.
7507
7508 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7509
7510         * elf/dl-unmap-segments.h: New file.
7511         * sysdeps/generic/ldsodefs.h
7512         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7513         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7514         * elf/dl-fptr.c: Likewise.
7515         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7516         * sysdeps/aarch64/tlsdesc.c: Likewise.
7517         * sysdeps/arm/tlsdesc.c: Likewise.
7518         * sysdeps/i386/tlsdesc.c: Likewise.
7519         * sysdeps/tile/dl-runtime.c: Likewise.
7520         * sysdeps/x86_64/tlsdesc.c: Likewise.
7521         * elf/dl-load.h: New file.
7522         * elf/dl-load.c: Include it.
7523         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7524         Macros moved to dl-load.h.
7525         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7526         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7527         Use _dl_unmap_segments in place of __munmap.
7528         Break out segment-mapping loop into ...
7529         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7530
7531 2014-04-03  Will Newton  <will.newton@linaro.org>
7532
7533         * elf/dl-lookup.c (do_lookup_x): Remove comment
7534         referring to nested function and move variable
7535         declarations down to before first use.
7536
7537 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7538
7539         [BZ #16799]
7540         [BZ #16800]
7541         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7542         with 0 numerator.
7543         * math/s_catanf.c (__catanf): Likewise.
7544         * math/s_catanh.c (__catanh): Likewise.
7545         * math/s_catanhf.c (__catanhf): Likewise.
7546         * math/s_catanhl.c (__catanhl): Likewise.
7547         * math/s_catanl.c (__catanl): Likewise.
7548         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7549         by positive zero when computing -Inf result.
7550         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7551         (catanh_test): Likewise.
7552         * sysdeps/i386/fpu/libm-test-ulps: Update.
7553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554
7555         [BZ #16789]
7556         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7557         instead of using underflowing value in computing result.
7558         * math/s_clog10.c (__clog10): Likewise.
7559         * math/s_clog10f.c (__clog10f): Likewise.
7560         * math/s_clog10l.c (__clog10l): Likewise.
7561         * math/s_clogf.c (__clogf): Likewise.
7562         * math/s_clogl.c (__clogl): Likewise.
7563         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7564         (clog10_test): Likewise.
7565         * sysdeps/i386/fpu/libm-test-ulps: Update.
7566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7567
7568 2014-04-02  Alan Modra  <amodra@gmail.com>
7569
7570         [BZ #16739]
7571         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7572         output when value is near a power of two.  Use int64_t for lx and
7573         remove casts.  Use decimal rather than hex exponent constants.
7574         Don't use long double multiplication when double will suffice.
7575         * math/libm-test.inc (nextafter_test_data): Add tests.
7576         * NEWS: Add 16739 and 16786 to bug list.
7577
7578         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7579
7580         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7581
7582 2014-04-01  Will Newton  <will.newton@linaro.org>
7583
7584         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7585         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7586
7587 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7588
7589         [BZ #13347]
7590         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7591         * nptl/tst-setuid2.c: New file.
7592         * nptl/Makefile (xtests): Add tst-setuid2.
7593
7594 2014-04-01  Alan Modra  <amodra@gmail.com>
7595
7596         [BZ #16786]
7597         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7598
7599 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7600
7601         [BZ #6803]
7602         [BZ #6804]
7603         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7604         set errno as appropriate.
7605         * math/w_scalbf.c (__scalbf): Likewise.
7606         * math/w_scalbl.c (__scalbl): Likewise.
7607         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7608         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7609         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7610         Add more NaN tests.
7611
7612         [BZ #16349]
7613         * math/w_atan2.c: Include <errno.h>.
7614         (__atan2): Set errno for result underflowing to zero.
7615         * math/w_atan2f.c: Include <errno.h>.
7616         (__atan2f): Set errno for result underflowing to zero.
7617         * math/w_atan2l.c: Include <errno.h>.
7618         (__atan2l): Set errno for result underflowing to zero.
7619         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7620         tests.
7621         * math/auto-libm-test-out: Regenerated.
7622
7623 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7624
7625         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7626         Encode instruction correctly in little endian.
7627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7628         Likewise.
7629         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7630         Likewise.
7631         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7632         Likewise.
7633         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7634         Likewise.
7635
7636 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7637
7638         [BZ #9894]
7639         * sysdeps/unix/sysv/linux/kernel-features.h
7640         [__sparc__ && !__arch64__ && !__sparc_v9__]
7641         (__ASSUME_SET_ROBUST_LIST): Do not define.
7642         [__sparc__ && !__arch64__ && !__sparc_v9__]
7643         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7644         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7645         Likewise.
7646         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7647         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7648         (__ASSUME_REQUEUE_PI): Likewise.
7649         (__ASSUME_SET_ROBUST_LIST): Likewise.
7650         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7651         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7652         Undefine.
7653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7654         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7655         Likewise.
7656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7657         Likewise.
7658         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7659         Likewise.
7660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7661         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7662         Undefine.
7663         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7664         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7665         Likewise.
7666
7667         [BZ #16648]
7668         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7669         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7670         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7671
7672 2014-03-31  Will Newton  <will.newton@linaro.org>
7673
7674         * benchtests/Makefile (bench): Add ffs and ffsll to list
7675         of tests.
7676         * benchtests/ffs-inputs: New file.
7677         * benchtests/ffsll-inputs: Likewise.
7678
7679 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7680
7681         [BZ #16770]
7682         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7683         too large before casting to int.
7684         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7685         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7686         * math/libm-test.inc (scalb_test_data): Add more tests.
7687
7688 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7689
7690         * benchtests/Makefile (DETAILED_OPT): New make option.
7691         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7692         set.
7693         * benchtests/bench-skeleton.c: Include stdbool.h.
7694         (main): Store and print timings per input.
7695         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7696         member to each argument value.
7697         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7698         (_print_arg_data): Initialize per-input timing to 0.
7699
7700         * benchtests/Makefile (timing-type): New binary.
7701         (bench-clean): Also remove bench-timing-type.
7702         (bench): New target for timing-type.
7703         (bench-func): Print output in JSON format.
7704         * benchtests/bench-skeleton.c (main): Print output in JSON
7705         format.
7706         * benchtests/bench-timing-type.c: New file.
7707         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7708         (TIMING_PRINT_STATS): Remove.
7709         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7710         name separately.
7711
7712         * benchtests/bench-modf.c: Remove.
7713         * benchtests/modf-inputs: New inputs file.
7714
7715 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7716
7717         [BZ #16362]
7718         * math/s_clog10.c (M_PI_LOG10E): New macro.
7719         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7720         imaginary parts are 0.
7721         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7722         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7723         imaginary parts are 0.
7724         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7725         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7726         imaginary parts are 0.
7727         * math/libm-test.inc (clog10_test_data): Update expected results
7728         for when real and imaginary parts are 0.
7729
7730 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7731
7732         * elf/dl-load.c: Finish conversion of __builtin_expect into
7733         __glibc_{un}likely.
7734
7735 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7736
7737         [BZ #16348]
7738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7739         1+x for argument with exponent below -67.
7740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7741         Likewise.
7742         * math/auto-libm-test-in: Add more tests of exp.
7743         * math/auto-libm-test-out: Regenerated.
7744
7745 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7746
7747         [BZ #16759]
7748         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7749         (nscd_getnetgrent): Use it.
7750
7751         [BZ #16760]
7752         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7753         of stpcpy.
7754
7755 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7756
7757         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7758         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7759         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7760         (lll_robust_unlock): Remove out of line section. Use cfi
7761         intrinsics.
7762         (LLL_STUB_UNWIND_INFO*): Remove.
7763         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7764         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7765         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7766         (lll_robust_unlock): Remove out of line section. Use cfi
7767         intrinsics.
7768         (LLL_STUB_UNWIND_INFO*): Remove.
7769
7770 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7771
7772         [BZ #16758]
7773         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7774         blank values.
7775
7776 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7777
7778         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7779
7780 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7781
7782         [BZ #16198]
7783         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7784         fnstenv.
7785         * math/test-fenv-preserve.c: New file.
7786         * math/Makefile (tests): Add test-fenv-preserve.
7787
7788 2014-03-26  Will Newton <will.newton@linaro.org>
7789
7790         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7791
7792 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7793
7794         * scripts/versionlist.awk: Partition the version sets and emit all
7795         GLIBC_* (sorted) before all others (sorted).
7796
7797 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7798
7799         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7800         GLIBC_2.2.5 version.
7801
7802 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7803
7804         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7805         calls.
7806
7807         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7808         previous change.
7809
7810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7811
7812 2014-03-25  Andreas Schwab  <schwab@suse.de>
7813
7814         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7815         label to be used after in6ailist is initialized.
7816
7817 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7818
7819         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7820         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7821
7822 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7823
7824         [BZ #16357]
7825         [BZ #16599]
7826         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7827         min_plus_half.
7828         (fp_formats): Update initializers.
7829         (init_fp_formats): Initialize new field.
7830         (output_for_one_input_case): Allow underflow for results up to
7831         min_plus_half.
7832         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7833         * math/auto-libm-test-in: Don't mark some underflows from asin and
7834         atanh as spurious.
7835         * math/auto-libm-test-out: Regenerated.
7836         * sysdeps/i386/fpu/libm-test-ulps: Update.
7837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7838
7839 2014-03-25  Andreas Schwab  <schwab@suse.de>
7840
7841         * libio/Makefile (tst-ftell-partial-wide-ENV)
7842         (tst-ftell-active-handler-ENV): Define.
7843
7844 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7845
7846         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7847
7848 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7849
7850         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7851
7852 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7853
7854         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7855         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7856         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7857
7858 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7859
7860         [BZ #16634]
7861         * elf/dl-load.c (open_verify): Add mode parameter.
7862         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7863         (open_path): Change from boolean 'secure' to complete flag 'mode'
7864         (_dl_map_object): Adjust.
7865         * elf/Makefile (tests): Add tst-dlopen-aout.
7866         * elf/tst-dlopen-aout.c: New test.
7867
7868 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7869
7870         [BZ #16714]
7871         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7872         (struct stat): Rename member pad0 to __glibc_reserved0.
7873
7874         [BZ #16712]
7875         * sysdeps/s390/s390-32/bits/wordsize.h
7876         (__WORDSIZE32_SIZE_ULONG): New define.
7877         * sysdeps/s390/s390-64/bits/wordsize.h
7878         (__WORDSIZE32_SIZE_ULONG): Likewise.
7879         * sysdeps/generic/stdint.h (SIZE_MAX):
7880         Define as UL if __WORDSIZE32_SIZE_ULONG.
7881
7882         [BZ #16713]
7883         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7884         (__glibc_reserved0): New variable.
7885         (sa_flags): Change type to int.
7886
7887         * posix/Makefile (before-compile): Use += before-compile instead
7888         of a :=.
7889
7890         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7891         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7892
7893 2014-03-20  Andreas Schwab  <schwab@suse.de>
7894
7895         [BZ #16743]
7896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7897         non-matching result from nscd.
7898
7899 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7900
7901         * scripts/bench.py: Moved to ...
7902         * benchtests/scripts/bench.py: ... here.
7903         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7904
7905 2014-03-24  Andreas Schwab  <schwab@suse.de>
7906
7907         [BZ #16002]
7908         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7909         alloca_account and account alloca use for struct in6ailist.
7910
7911 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7912
7913         [BZ #16284]
7914         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7915         rounding mode to recompute results that overflow to infinity or
7916         underflow to zero.
7917         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7918         bug 16284.
7919         * math/auto-libm-test-out: Regenerated.
7920         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7921         (ccosh_test): Likewise.
7922         (csin_test_data): Use plus_oflow.
7923         (csin_test): Use ALL_RM_TEST.
7924         (csinh_test_data): Use plus_oflow.
7925         (csinh_test): Use ALL_RM_TEST.
7926         * sysdeps/i386/fpu/libm-test-ulps: Update.
7927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7928
7929 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7930
7931         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7932         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7933         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7934
7935         [BZ #16731]
7936         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7937         when x - 1 is zero.
7938         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7939         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7940         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7941         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7942         argument is 1.
7943         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7944         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7945         zero.
7946         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7947         * sysdeps/i386/fpu/libm-test-ulps: Update.
7948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7949
7950 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7951
7952         * scripts/bench.pl: Remove file.
7953         * scripts/bench.py: New benchmark script.
7954         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7955         * benchtests/README: Mention python dependency.
7956         * scripts/pylintrc: New file.
7957         * scripts/pylint: New file.
7958
7959         * bits/mathdef.h: Use #ifdef instead of #if.
7960         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7961         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7962         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7963         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7964         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7965         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7966
7967 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7968             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7969
7970         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7972         and strpbrk-ppc64 objects.
7973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7974         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7975         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7976         multiarch strpbrk for POWER7.
7977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7978         multiarch strpbrk for PPC64.
7979         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7980         ifunc selector.
7981         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7982         strpbrk for POWER7.
7983
7984 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7985
7986         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7987         (atan_test): Likewise.
7988         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7989         (atanh_test): Use ALL_RM_TEST.
7990         (atan2_test_data): Likewise.
7991         (cabs_test): Likewise.
7992         (cacosh_test): Likewise.
7993         (carg_test): Likewise.
7994         (casin_test): Likewise.
7995         (casinh_test): Likewise.
7996         (cbrt_test): Likewise.
7997         (csqrt_test): Likewise.
7998         (erf_test): Likewise.
7999         (erfc_test): Likewise.
8000         (pow10_test): Likewise.
8001         (exp2_test): Likewise.
8002         (hypot_test): Likewise.
8003         (j0_test): Likewise.
8004         (j1_test): Likewise.
8005         (lgamma_test): Likewise.
8006         (gamma_test): Likewise.
8007         (sincos_test): Likewise.
8008         (tanh_test): Likewise.
8009         (y0_test): Likewise.
8010         (y1_test): Likewise.
8011         * sysdeps/i386/fpu/libm-test-ulps: Update.
8012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8013
8014 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8015
8016         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8018         and strcspn-ppc64 objects.
8019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8020         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8022         multiarch strcspn for POWER7.
8023         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8024         multiarch strcspn for PPC64.
8025         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8026         ifunc selector.
8027         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8028         strcspn for POWER7.
8029
8030 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8031
8032         * math/gen-libm-test.pl (generate_testfile): Expect only function
8033         name as argument to AUTO_TESTS_* and pass results for all rounding
8034         modes to parse_args.
8035         (parse_auto_input): Separate inputs of automatic tests from
8036         outputs before storing in %auto_tests.
8037         * math/libm-test.inc (acos_test_data): Update call to
8038         AUTO_TESTS_f_f.
8039         (acos_test): Use ALL_RM_TEST.
8040         (acos_tonearest_test_data): Remove.
8041         (acos_test_tonearest): Likewise.
8042         (acos_towardzero_test_data): Likewise.
8043         (acos_test_towardzero): Likewise.
8044         (acos_downward_test_data): Likewise.
8045         (acos_test_downward): Likewise.
8046         (acos_upward_test_data): Likewise.
8047         (acos_test_upward): Likewise.
8048         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8049         (asin_test_data): Likewise.
8050         (asin_test): Use ALL_RM_TEST.
8051         (asin_tonearest_test_data): Remove.
8052         (asin_test_tonearest): Likewise.
8053         (asin_towardzero_test_data): Likewise.
8054         (asin_test_towardzero): Likewise.
8055         (asin_downward_test_data): Likewise.
8056         (asin_test_downward): Likewise.
8057         (asin_upward_test_data): Likewise.
8058         (asin_test_upward): Likewise.
8059         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8060         (atan_test_data): Likewise.
8061         (atanh_test_data): Likewise.
8062         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8063         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8064         (carg_test_data): Likewise.
8065         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8066         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8067         (ccosh_test_data): Likewise.
8068         (cexp_test_data): Likewise.
8069         (clog_test_data): Likewise.
8070         (clog10_test_data): Likewise.
8071         (cos_test_data): Update call to AUTO_TESTS_f_f.
8072         (cos_test): Use ALL_RM_TEST.
8073         (cos_tonearest_test_data): Remove.
8074         (cos_test_tonearest): Likewise.
8075         (cos_towardzero_test_data): Likewise.
8076         (cos_test_towardzero): Likewise.
8077         (cos_downward_test_data): Likewise.
8078         (cos_test_downward): Likewise.
8079         (cos_upward_test_data): Likewise.
8080         (cos_test_upward): Likewise.
8081         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8082         (cosh_test): Use ALL_RM_TEST.
8083         (cosh_tonearest_test_data): Remove.
8084         (cosh_test_tonearest): Likewise.
8085         (cosh_towardzero_test_data): Likewise.
8086         (cosh_test_towardzero): Likewise.
8087         (cosh_downward_test_data): Likewise.
8088         (cosh_test_downward): Likewise.
8089         (cosh_upward_test_data): Likewise.
8090         (cosh_test_upward): Likewise.
8091         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8092         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8093         (ctan_test_data): Likewise.
8094         (ctan_test): Use ALL_RM_TEST.
8095         (ctan_tonearest_test_data): Remove.
8096         (ctan_test_tonearest): Likewise.
8097         (ctan_towardzero_test_data): Likewise.
8098         (ctan_test_towardzero): Likewise.
8099         (ctan_downward_test_data): Likewise.
8100         (ctan_test_downward): Likewise.
8101         (ctan_upward_test_data): Likewise.
8102         (ctan_test_upward): Likewise.
8103         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8104         (ctanh_test): Use ALL_RM_TEST.
8105         (ctanh_tonearest_test_data): Remove.
8106         (ctanh_test_tonearest): Likewise.
8107         (ctanh_towardzero_test_data): Likewise.
8108         (ctanh_test_towardzero): Likewise.
8109         (ctanh_downward_test_data): Likewise.
8110         (ctanh_test_downward): Likewise.
8111         (ctanh_upward_test_data): Likewise.
8112         (ctanh_test_upward): Likewise.
8113         (erf_test_data): Update call to AUTO_TESTS_f_f.
8114         (erfc_test_data): Likewise.
8115         (exp_test_data): Likewise.
8116         (exp_test): Use ALL_RM_TEST.
8117         (exp_tonearest_test_data): Remove.
8118         (exp_test_tonearest): Likewise.
8119         (exp_towardzero_test_data): Likewise.
8120         (exp_test_towardzero): Likewise.
8121         (exp_downward_test_data): Likewise.
8122         (exp_test_downward): Likewise.
8123         (exp_upward_test_data): Likewise.
8124         (exp_test_upward): Likewise.
8125         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8126         (exp10_test): Use ALL_RM_TEST.
8127         (exp10_tonearest_test_data): Remove.
8128         (exp10_test_tonearest): Likewise.
8129         (exp10_towardzero_test_data): Likewise.
8130         (exp10_test_towardzero): Likewise.
8131         (exp10_downward_test_data): Likewise.
8132         (exp10_test_downward): Likewise.
8133         (exp10_upward_test_data): Likewise.
8134         (exp10_test_upward): Likewise.
8135         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8136         (expm1_test_data): Likewise.
8137         (expm1_test): Use ALL_RM_TEST.
8138         (expm1_tonearest_test_data): Remove.
8139         (expm1_test_tonearest): Likewise.
8140         (expm1_towardzero_test_data): Likewise.
8141         (expm1_test_towardzero): Likewise.
8142         (expm1_downward_test_data): Likewise.
8143         (expm1_test_downward): Likewise.
8144         (expm1_upward_test_data): Likewise.
8145         (expm1_test_upward): Likewise.
8146         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8147         (fma_test): Use ALL_RM_TEST.
8148         (fma_towardzero_test_data): Remove.
8149         (fma_test_towardzero): Likewise.
8150         (fma_downward_test_data): Likewise.
8151         (fma_test_downward): Likewise.
8152         (fma_upward_test_data): Likewise.
8153         (fma_test_upward): Likewise.
8154         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8155         (j0_test_data): Update call to AUTO_TESTS_f_f.
8156         (j1_test_data): Likewise.
8157         (jn_test_data): Update call to AUTO_TESTS_if_f.
8158         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8159         (log_test_data): Update call to AUTO_TESTS_f_f.
8160         (log10_test_data): Likewise.
8161         (log1p_test_data): Likewise.
8162         (log2_test_data): Likewise.
8163         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8164         (pow_tonearest_test_data): Likewise.
8165         (sin_test_data): Update call to AUTO_TESTS_f_f.
8166         (sin_test): Use ALL_RM_TEST.
8167         (sin_tonearest_test_data): Remove.
8168         (sin_test_tonearest): Likewise.
8169         (sin_towardzero_test_data): Likewise.
8170         (sin_test_towardzero): Likewise.
8171         (sin_downward_test_data): Likewise.
8172         (sin_test_downward): Likewise.
8173         (sin_upward_test_data): Likewise.
8174         (sin_test_upward): Likewise.
8175         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8176         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8177         (sinh_test): Use ALL_RM_TEST.
8178         (sinh_tonearest_test_data): Remove.
8179         (sinh_test_tonearest): Likewise.
8180         (sinh_towardzero_test_data): Likewise.
8181         (sinh_test_towardzero): Likewise.
8182         (sinh_downward_test_data): Likewise.
8183         (sinh_test_downward): Likewise.
8184         (sinh_upward_test_data): Likewise.
8185         (sinh_test_upward): Likewise.
8186         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8187         (sqrt_test): Use ALL_RM_TEST.
8188         (sqrt_tonearest_test_data): Remove.
8189         (sqrt_test_tonearest): Likewise.
8190         (sqrt_towardzero_test_data): Likewise.
8191         (sqrt_test_towardzero): Likewise.
8192         (sqrt_downward_test_data): Likewise.
8193         (sqrt_test_downward): Likewise.
8194         (sqrt_upward_test_data): Likewise.
8195         (sqrt_test_upward): Likewise.
8196         (tan_test_data): Update call to AUTO_TESTS_f_f.
8197         (tan_test): Use ALL_RM_TEST.
8198         (tan_tonearest_test_data): Remove.
8199         (tan_test_tonearest): Likewise.
8200         (tan_towardzero_test_data): Likewise.
8201         (tan_test_towardzero): Likewise.
8202         (tan_downward_test_data): Likewise.
8203         (tan_test_downward): Likewise.
8204         (tan_upward_test_data): Likewise.
8205         (tan_test_upward): Likewise.
8206         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8207         (tgamma_test_data): Likewise.
8208         (y0_test_data): Likewise.
8209         (y1_test_data): Likewise.
8210         (yn_test_data): Update call to AUTO_TESTS_if_f.
8211         (main): Do not call removed functions.
8212
8213 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8214
8215         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8216         (ldexp_test_data): Remove.
8217         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8218         scalbn_test_data.
8219         (scalb_test): Use ALL_RM_TEST.
8220
8221 2014-03-19  Andreas Schwab  <schwab@suse.de>
8222
8223         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8224
8225 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8226
8227         [BZ #16649]
8228         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8229         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8230         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8232         (__ASSUME_PREADV): Undefine.
8233         (__ASSUME_PWRITEV): Likewise.
8234
8235 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8236
8237         * bits/mman-linux.h: Add comment about non-Linux use.
8238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8239         bits/mman-linux.h resting place.
8240
8241         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8242         * bits/mman-linux.h: ... here.
8243
8244 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245
8246         * conform/conformtest.pl: Add standard definition when calling C
8247         preprocessor on data files.
8248         (checknamespace): Remove unused variable.
8249
8250 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8251
8252         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8253         minus_oflow, plus_uflow and minus_uflow in expected results.
8254         * math/libm-test.inc (scalbn_test_data): Add more tests of
8255         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8256         minus_uflow.
8257         (scalbn_test): Use ALL_RM_TEST.
8258         (scalbln_test_data): Add more tests of negative arguments.  Use
8259         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8260         (scalbln_test): Use ALL_RM_TEST.
8261
8262 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8263
8264         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8265
8266 2014-03-18  Will Newton  <will.newton@linaro.org>
8267
8268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8269         inaccurate comment.
8270
8271 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8272
8273         * Makerules [!subdir] (check-abi): Exit with error status if a
8274         test failed.
8275
8276 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8277
8278         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8279         for rint.  Include results for all rounding modes.
8280         (nearbyint_test): Use ALL_RM_TEST.
8281         (rint_test_data): Include all tests used for nearbyint.
8282
8283 2014-03-17  Will Newton  <will.newton@linaro.org>
8284
8285         * nptl/sysdeps/pthread/pthread.h: Revert previous
8286         change.
8287
8288         * sysdeps/generic/ldsodefs.h: Revert previous
8289         change.
8290
8291         * libio/genops.c: Revert previous change.
8292         * libio/libioP.h: Likewise.
8293         * stdio-common/vfprintf.c: Likewise.
8294
8295         * sysdeps/generic/math_private.h: Revert previous
8296         change.
8297
8298         * sysdeps/generic/math_private.h: Check whether
8299         HAVE_RM_CTX is defined with #ifdef rather
8300         than #if.
8301
8302         * argp/argp-fmtstream.h: Check whether
8303         __STRICT_ANSI__ is defined with #ifdef rather
8304         than #if.
8305         * argp/argp.h: Likewise.
8306
8307         * libio/genops.c: Check whether
8308         _IO_JUMPS_OFFSET is defined with #ifdef rather
8309         than #if.
8310         * libio/libioP.h: Likewise.
8311         * stdio-common/vfprintf.c: Likewise.
8312
8313         * sysdeps/generic/ldsodefs.h: Check whether
8314         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8315         than #if.
8316
8317         * nptl/sysdeps/pthread/pthread.h: Check
8318         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8319         its value.
8320
8321 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8322
8323         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8324         setting O_APPEND.
8325         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8326         test case.
8327
8328         [BZ #16680]
8329         * libio/fileops.c (_IO_file_open): Seek to end of file but
8330         don't cache the offset.
8331         (get_file_offset): Remove function.
8332         (do_ftell): Use cached offset when available.
8333         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8334         don't cache the offset.
8335         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8336         case.
8337         (do_one_test): Call it.
8338         (do_ftell_test): Fix up expected old offset for a+ mode.
8339         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8340         available.
8341
8342         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8343         up test status with function return status.
8344         (do_write_test): Likewise.
8345         (do_append_test): Likewise.
8346
8347         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8348         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8349         Remove.
8350
8351 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8352
8353         * math/gen-libm-test.pl (parse_args): Handle results specified for
8354         each rounding mode separately.
8355         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8356         tests and results from lrint_tonearest_test_data,
8357         lrint_towardzero_test_data, lrint_downward_test_data and
8358         lrint_upward_test_data.
8359         (lrint_test): Use ALL_RM_TEST.
8360         (lrint_tonearest_test_data): Remove.
8361         (lrint_test_tonearest): Likewise.
8362         (lrint_towardzero_test_data): Likewise.
8363         (lrint_test_towardzero): Likewise.
8364         (lrint_downward_test_data): Likewise.
8365         (lrint_test_downward): Likewise.
8366         (lrint_upward_test_data): Likewise.
8367         (lrint_test_upward): Likewise.
8368         (llrint_test_data): Merge in per-rounding-mode tests and results
8369         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8370         llrint_downward_test_data and llrint_upward_test_data.
8371         (llrint_test): Use ALL_RM_TEST.
8372         (llrint_tonearest_test_data): Remove.
8373         (llrint_test_tonearest): Likewise.
8374         (llrint_towardzero_test_data): Likewise.
8375         (llrint_test_towardzero): Likewise.
8376         (llrint_downward_test_data): Likewise.
8377         (llrint_test_downward): Likewise.
8378         (llrint_upward_test_data): Likewise.
8379         (llrint_test_upward): Likewise.
8380         (rint_test_data): Merge in per-rounding-mode tests and results
8381         from rint_tonearest_test_data, rint_towardzero_test_data,
8382         rint_downward_test_data and rint_upward_test_data.  Add
8383         per-rounding-mode results for tests not in those arrays.
8384         (rint_test): Use ALL_RM_TEST.
8385         (rint_tonearest_test_data): Remove.
8386         (rint_test_tonearest): Likewise.
8387         (rint_towardzero_test_data): Likewise.
8388         (rint_test_towardzero): Likewise.
8389         (rint_downward_test_data): Likewise.
8390         (rint_test_downward): Likewise.
8391         (rint_upward_test_data): Likewise.
8392         (rint_test_upward): Likewise.
8393         (main): Don't call removed functions.
8394
8395 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8396
8397         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8398         "Compiled on ..." crapola.  It is anti-useful.
8399
8400 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8401
8402         * scripts/evaluate-test.sh: Handle fourth argument to determine
8403         whether test run should stop on failure.
8404         * Makeconfig (stop-on-test-failure): New variable.
8405         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8406         $(stop-on-test-failure).
8407         * Makefile (tests): Give a summary of results from testing and
8408         exit with failure status if they include an ERROR or FAIL.
8409         (xtests): Likewise.
8410         * manual/install.texi (Configuring and compiling): Mention
8411         stop-on-test-failure=y.
8412         * INSTALL: Regenerated.
8413
8414 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8415
8416         * scripts/versionlist.awk: New file.
8417         * Makerules [$(build-shared) = yes]
8418         (postclean-generated): Add Versions.def, not Versions.def.v and
8419         Versions.def.v.i.
8420         ($(common-objpfx)Versions.def.v.i): Target removed.
8421         ($(common-objpfx)Versions.def): New target.
8422         ($(common-objpfx)Versions.all): Depend on that rather that
8423         $(common-objpfx)Versions.def.v.
8424         * Versions.def: File removed.
8425
8426         * Makeconfig (+gccwarn): Add -Wundef.
8427         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8428         a dl-sysdep.h breaking its contract.
8429         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8430         * include/stackinfo.h: New file.
8431         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8432         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8433         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8434         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8435         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8436         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8437         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8438         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8439         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8440         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8441         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8442         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8443         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8444         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8445         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8446
8447 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8448
8449         [BZ #16707]
8450         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8451         implementation.
8452         * math/libm-test.inc (round_test_data): Add more tests.
8453
8454         [BZ #16706]
8455         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8456         implementation.
8457         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8458
8459         [BZ #16701]
8460         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8461         implementation.
8462         * math/libm-test.inc (ceil_test_data): Add more tests.
8463
8464         * math/libm-test.inc (trunc_test_data): Add more tests related to
8465         BZ#16414.
8466
8467 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8468
8469         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8470         with #if rather than #ifdef.
8471         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8472
8473 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8474
8475         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8476         first.  Disable AVX-512 GCC support if assembler doesn't support
8477         it.
8478         * sysdeps/x86_64/configure: Regenerated.
8479
8480 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8481
8482         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8483         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8484         (__old_pthread_attr_setstack): Likewise.
8485         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8486         [!_STACK_GROWS_DOWN]: Likewise.
8487
8488 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8489
8490         * config.make.in (have-bash2): Delete.
8491         * configure.ac (libc_cv_have_bash2): Delete.
8492         * configure: Regenerate.
8493         * elf/Makefile (common-ldd-rewrite): Rename to ...
8494         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8495         (sh-ldd-rewrite): Delete.
8496         (bash-ldd-rewrite): Delete.
8497         (have-bash2): Delete checks.
8498         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8499         ldd-rewrite.
8500
8501         * config.make.in (have-ksh): Delete.
8502         (KSH): Delete.
8503         * configure.ac (libc_cv_have_ksh): Delete.
8504         * configure: Regenerate.
8505
8506         * elf/Makefile: Delete $(have-ksh) check.
8507         ($(objpfx)sotruss): Change KSH to BASH.
8508         * elf/sotruss.ksh: Rename to ...
8509         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8510         function style to match POSIX.  Drop ksh vim mode setting.
8511
8512         * manual/time.texi (Specifying the Time Zone with TZ): Change
8513         Tuesday to Thursday.
8514
8515         * debug/tst-longjmp_chk2.c: Update header comment.
8516         (stackoverflow_handler): Add comment.  Call assert on pass value.
8517
8518 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8519
8520         [BZ #16194]
8521         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8522         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8523         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8524         (La_x86_64_vector): Add zmm.
8525         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8526         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8527         ($(objpfx)tst-audit10): New target.
8528         ($(objpfx)tst-audit10.out): Likewise.
8529         (tst-audit10-ENV): New.
8530         (AVX512-CFLAGS): Likewise.
8531         (CFLAGS-tst-audit10.c): Likewise.
8532         (CFLAGS-tst-auditmod10a.c): Likewise.
8533         (CFLAGS-tst-auditmod10b.c): Likewise.
8534         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8535         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8536         * sysdeps/x86_64/configure: Regenerated.
8537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8538         AVX-512 zmm register support.
8539         (_dl_x86_64_save_sse): Likewise.
8540         (_dl_x86_64_restore_sse): Likewise.
8541         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8542         size vector registers.
8543         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8544         (ZMM_SIZE): Likewise.
8545         * sysdeps/x86_64/tst-audit10.c: New file.
8546         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8547         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8548
8549 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8550
8551         * configure.ac (HAVE_EHDR_START): New check.
8552         * configure: Regenerated.
8553         * config.h.in (HAVE_EHDR_START): New #undef.
8554         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8555         assuming the lowest-addressed segment maps the start of the file.
8556
8557 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8558
8559         * INSTALL: Regenerated.
8560
8561 2014-03-13  Will Newton  <will.newton@linaro.org>
8562
8563         * manual/setjmp.texi (System V contexts): Improve
8564         clarity and grammar of documentation.
8565
8566 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8567
8568         [BZ #16381]
8569         * elf/Makefile (tests): Add tst-pie2.
8570         (tests-pie): Add tst-pie2.
8571         * elf/tst-pie2.c: New file.
8572         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8573         for ET_EXEC.
8574         * elf/rtld.c (map_doit): Load executable as lt_executable.
8575         (dl_main): Likewise.
8576
8577 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8578
8579         [BZ #16642]
8580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8581         (__ASSUME_PSELECT): Undefine.
8582
8583 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8584
8585         [BZ #16689]
8586         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8587         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8588         static build.
8589         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8590         selector for static builds.
8591
8592 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8593
8594         [BZ #16695]
8595         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8596         key in the buffer.
8597
8598 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8599
8600         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8601         IFUNC selector for static builds.
8602
8603 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8604
8605         * sysdeps/mips/math_private.h [__mips_hard_float]
8606         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8607         libc_feresetround_mips_ctx.
8608         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8609         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8610         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8611
8612         [BZ #16677]
8613         * math/s_nextafter.c (__nextafter): Do not return value from
8614         overflowing computation.
8615         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8616         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8617         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8618         Likewise.
8619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8620         Likewise.
8621         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8622         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8623
8624 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8625
8626         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8627         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8628         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8629         the new mov targetting sp.
8630
8631 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8632
8633         [BZ #16683]
8634         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8635         Define it for static builds as well.
8636         (NO_BZERO_IMPL): Likewise.
8637
8638 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8639
8640         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8641         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8642         multiarch strspn for PPC64.
8643         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8644         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8646         (__libc_ifunc_impl_list): Likewise.
8647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8648         multiarch optimizations
8649         * string/strspn.c (strspn): Using macro to redefine symbol name.
8650
8651 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8653
8654         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8655         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8656         multiarch strncat for PPC64.
8657         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8658         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8660         (__libc_ifunc_impl_list): Likewise.
8661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8662         multiarch optimizations
8663
8664 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8665
8666         [BZ #16639]
8667         * nscd/nscd.service: Make service type forking.
8668
8669 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8670
8671         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8672         sign in non default rounding modes.
8673         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8674
8675 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8676
8677         * math/libm-test.inc (ALL_RM_TEST): New macro.
8678         (ceil_test): Use ALL_RM_TEST.
8679         (cimag_test): Likewise.
8680         (conj_test): Likewise.
8681         (copysign_test): Likewise.
8682         (cproj_test): Likewise.
8683         (creal_test): Likewise.
8684         (fabs_test): Likewise.
8685         (floor_test): Likewise.
8686         (fmax_test): Likewise.
8687         (fmin_test): Likewise.
8688         (fmod_test): Likewise.
8689         (fpclassify_test): Likewise.
8690         (frexp_test): Likewise.
8691         (ilogb_test): Likewise.
8692         (isfinite_test): Likewise.
8693         (finite_test): Likewise.
8694         (isgreater_test): Likewise.
8695         (isgreaterequal_test): Likewise.
8696         (isinf_test): Likewise.
8697         (isless_test): Likewise.
8698         (islessequal_test): Likewise.
8699         (islessgreater_test): Likewise.
8700         (isnan_test): Likewise.
8701         (isnormal_test): Likewise.
8702         (issignaling_test): Likewise.
8703         (isunordered_test): Likewise.
8704         (logb_test): Likewise.
8705         (logb_downward_test_data): Remove.
8706         (logb_test_downward): Likewise.
8707         (lround_test): Use ALL_RM_TEST.
8708         (llround_test): Likewise.
8709         (modf_test): Likewise.
8710         (nexttoward_test): Likewise.
8711         (remainder_test): Likewise.
8712         (drem_test): Likewise.
8713         (remainder_tonearest_test_data): Likewise.
8714         (remainder_test_tonearest): Likewise.
8715         (drem_test_tonearest): Likewise.
8716         (remainder_towardzero_test_data): Likewise.
8717         (remainder_test_towardzero): Likewise.
8718         (drem_test_towardzero): Likewise.
8719         (remainder_downward_test_data): Likewise.
8720         (remainder_test_downward): Likewise.
8721         (drem_test_downward): Likewise.
8722         (remainder_upward_test_data): Likewise.
8723         (remainder_test_upward): Likewise.
8724         (drem_test_upward): Likewise.
8725         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8726         (round_test): Use ALL_RM_TEST.
8727         (signbit_test): Likewise.
8728         (trunc_test): Likewise.
8729         (significand_test): Likewise.
8730         (main): Don't call removed functions.
8731
8732 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8733
8734         [BZ #16674]
8735         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8736         || __USE_XOPEN2K8].
8737         (ILL_ILLOPN): Likewise.
8738         (ILL_ILLADR): Likewise.
8739         (ILL_ILLTRP): Likewise.
8740         (ILL_PRVOPC): Likewise.
8741         (ILL_PRVREG): Likewise.
8742         (ILL_COPROC): Likewise.
8743         (ILL_BADSTK): Likewise.
8744         (FPE_INTDIV): Likewise.
8745         (FPE_INTOVF): Likewise.
8746         (FPE_FLTDIV): Likewise.
8747         (FPE_FLTOVF): Likewise.
8748         (FPE_FLTUND): Likewise.
8749         (FPE_FLTRES): Likewise.
8750         (FPE_FLTINV): Likewise.
8751         (FPE_FLTSUB): Likewise.
8752         (SEGV_MAPERR): Likewise.
8753         (SEGV_ACCERR): Likewise.
8754         (BUS_ADRALN): Likewise.
8755         (BUS_ADRERR): Likewise.
8756         (BUS_OBJERR): Likewise.
8757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8758         (TRAP_TRACE): Likewise.
8759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8760         __USE_XOPEN2K8].
8761         (CLD_KILLED): Likewise.
8762         (CLD_DUMPED): Likewise.
8763         (CLD_TRAPPED): Likewise.
8764         (CLD_STOPPED): Likewise.
8765         (CLD_CONTINUED): Likewise.
8766         (POLL_IN): Likewise.
8767         (POLL_OUT): Likewise.
8768         (POLL_MSG): Likewise.
8769         (POLL_ERR): Likewise.
8770         (POLL_PRI): Likewise.
8771         (POLL_HUP): Likewise.
8772         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8773         Likewise.
8774         (ILL_ILLOPN): Likewise.
8775         (ILL_ILLADR): Likewise.
8776         (ILL_ILLTRP): Likewise.
8777         (ILL_PRVOPC): Likewise.
8778         (ILL_PRVREG): Likewise.
8779         (ILL_COPROC): Likewise.
8780         (ILL_BADSTK): Likewise.
8781         (FPE_INTDIV): Likewise.
8782         (FPE_INTOVF): Likewise.
8783         (FPE_FLTDIV): Likewise.
8784         (FPE_FLTOVF): Likewise.
8785         (FPE_FLTUND): Likewise.
8786         (FPE_FLTRES): Likewise.
8787         (FPE_FLTINV): Likewise.
8788         (FPE_FLTSUB): Likewise.
8789         (SEGV_MAPERR): Likewise.
8790         (SEGV_ACCERR): Likewise.
8791         (BUS_ADRALN): Likewise.
8792         (BUS_ADRERR): Likewise.
8793         (BUS_OBJERR): Likewise.
8794         (BUS_MCEERR_AR): Likewise.
8795         (BUS_MCEERR_AO): Likewise.
8796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8797         (TRAP_TRACE): Likewise.
8798         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8799         __USE_XOPEN2K8].
8800         (CLD_KILLED): Likewise.
8801         (CLD_DUMPED): Likewise.
8802         (CLD_TRAPPED): Likewise.
8803         (CLD_STOPPED): Likewise.
8804         (CLD_CONTINUED): Likewise.
8805         (POLL_IN): Likewise.
8806         (POLL_OUT): Likewise.
8807         (POLL_MSG): Likewise.
8808         (POLL_ERR): Likewise.
8809         (POLL_PRI): Likewise.
8810         (POLL_HUP): Likewise.
8811         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8812         (ILL_ILLOPN): Likewise.
8813         (ILL_ILLADR): Likewise.
8814         (ILL_ILLTRP): Likewise.
8815         (ILL_PRVOPC): Likewise.
8816         (ILL_PRVREG): Likewise.
8817         (ILL_COPROC): Likewise.
8818         (ILL_BADSTK): Likewise.
8819         (FPE_INTDIV): Likewise.
8820         (FPE_INTOVF): Likewise.
8821         (FPE_FLTDIV): Likewise.
8822         (FPE_FLTOVF): Likewise.
8823         (FPE_FLTUND): Likewise.
8824         (FPE_FLTRES): Likewise.
8825         (FPE_FLTINV): Likewise.
8826         (FPE_FLTSUB): Likewise.
8827         (SEGV_MAPERR): Likewise.
8828         (SEGV_ACCERR): Likewise.
8829         (BUS_ADRALN): Likewise.
8830         (BUS_ADRERR): Likewise.
8831         (BUS_OBJERR): Likewise.
8832         (BUS_MCEERR_AR): Likewise.
8833         (BUS_MCEERR_AO): Likewise.
8834         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8835         (TRAP_TRACE): Likewise.
8836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8837         __USE_XOPEN2K8].
8838         (CLD_KILLED): Likewise.
8839         (CLD_DUMPED): Likewise.
8840         (CLD_TRAPPED): Likewise.
8841         (CLD_STOPPED): Likewise.
8842         (CLD_CONTINUED): Likewise.
8843         (POLL_IN): Likewise.
8844         (POLL_OUT): Likewise.
8845         (POLL_MSG): Likewise.
8846         (POLL_ERR): Likewise.
8847         (POLL_PRI): Likewise.
8848         (POLL_HUP): Likewise.
8849         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8850         Likewise.
8851         (ILL_ILLOPN): Likewise.
8852         (ILL_ILLADR): Likewise.
8853         (ILL_ILLTRP): Likewise.
8854         (ILL_PRVOPC): Likewise.
8855         (ILL_PRVREG): Likewise.
8856         (ILL_COPROC): Likewise.
8857         (ILL_BADSTK): Likewise.
8858         (ILL_BADIADDR): Likewise.
8859         (ILL_BREAK): Likewise.
8860         (FPE_INTDIV): Likewise.
8861         (FPE_INTOVF): Likewise.
8862         (FPE_FLTDIV): Likewise.
8863         (FPE_FLTOVF): Likewise.
8864         (FPE_FLTUND): Likewise.
8865         (FPE_FLTRES): Likewise.
8866         (FPE_FLTINV): Likewise.
8867         (FPE_FLTSUB): Likewise.
8868         (FPE_DECOVF): Likewise.
8869         (FPE_DECDIV): Likewise.
8870         (FPE_DECERR): Likewise.
8871         (FPE_INVASC): Likewise.
8872         (FPE_INVDEC): Likewise.
8873         (SEGV_MAPERR): Likewise.
8874         (SEGV_ACCERR): Likewise.
8875         (SEGV_PSTKOVF): Likewise.
8876         (BUS_ADRALN): Likewise.
8877         (BUS_ADRERR): Likewise.
8878         (BUS_OBJERR): Likewise.
8879         (BUS_MCEERR_AR): Likewise.
8880         (BUS_MCEERR_AO): Likewise.
8881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8882         (TRAP_TRACE): Likewise.
8883         (TRAP_BRANCH): Likewise.
8884         (TRAP_HWBKPT): Likewise.
8885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8886         __USE_XOPEN2K8].
8887         (CLD_KILLED): Likewise.
8888         (CLD_DUMPED): Likewise.
8889         (CLD_TRAPPED): Likewise.
8890         (CLD_STOPPED): Likewise.
8891         (CLD_CONTINUED): Likewise.
8892         (POLL_IN): Likewise.
8893         (POLL_OUT): Likewise.
8894         (POLL_MSG): Likewise.
8895         (POLL_ERR): Likewise.
8896         (POLL_PRI): Likewise.
8897         (POLL_HUP): Likewise.
8898         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8899         (ILL_ILLOPN): Likewise.
8900         (ILL_ILLADR): Likewise.
8901         (ILL_ILLTRP): Likewise.
8902         (ILL_PRVOPC): Likewise.
8903         (ILL_PRVREG): Likewise.
8904         (ILL_COPROC): Likewise.
8905         (ILL_BADSTK): Likewise.
8906         (FPE_INTDIV): Likewise.
8907         (FPE_INTOVF): Likewise.
8908         (FPE_FLTDIV): Likewise.
8909         (FPE_FLTOVF): Likewise.
8910         (FPE_FLTUND): Likewise.
8911         (FPE_FLTRES): Likewise.
8912         (FPE_FLTINV): Likewise.
8913         (FPE_FLTSUB): Likewise.
8914         (SEGV_MAPERR): Likewise.
8915         (SEGV_ACCERR): Likewise.
8916         (BUS_ADRALN): Likewise.
8917         (BUS_ADRERR): Likewise.
8918         (BUS_OBJERR): Likewise.
8919         (BUS_MCEERR_AR): Likewise.
8920         (BUS_MCEERR_AO): Likewise.
8921         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8922         (TRAP_TRACE): Likewise.
8923         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8924         __USE_XOPEN2K8].
8925         (CLD_KILLED): Likewise.
8926         (CLD_DUMPED): Likewise.
8927         (CLD_TRAPPED): Likewise.
8928         (CLD_STOPPED): Likewise.
8929         (CLD_CONTINUED): Likewise.
8930         (POLL_IN): Likewise.
8931         (POLL_OUT): Likewise.
8932         (POLL_MSG): Likewise.
8933         (POLL_ERR): Likewise.
8934         (POLL_PRI): Likewise.
8935         (POLL_HUP): Likewise.
8936         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8937         (ILL_ILLOPN): Likewise.
8938         (ILL_ILLADR): Likewise.
8939         (ILL_ILLTRP): Likewise.
8940         (ILL_PRVOPC): Likewise.
8941         (ILL_PRVREG): Likewise.
8942         (ILL_COPROC): Likewise.
8943         (ILL_BADSTK): Likewise.
8944         (FPE_INTDIV): Likewise.
8945         (FPE_INTOVF): Likewise.
8946         (FPE_FLTDIV): Likewise.
8947         (FPE_FLTOVF): Likewise.
8948         (FPE_FLTUND): Likewise.
8949         (FPE_FLTRES): Likewise.
8950         (FPE_FLTINV): Likewise.
8951         (FPE_FLTSUB): Likewise.
8952         (SEGV_MAPERR): Likewise.
8953         (SEGV_ACCERR): Likewise.
8954         (BUS_ADRALN): Likewise.
8955         (BUS_ADRERR): Likewise.
8956         (BUS_OBJERR): Likewise.
8957         (BUS_MCEERR_AR): Likewise.
8958         (BUS_MCEERR_AO): Likewise.
8959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8960         (TRAP_TRACE): Likewise.
8961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8962         __USE_XOPEN2K8].
8963         (CLD_KILLED): Likewise.
8964         (CLD_DUMPED): Likewise.
8965         (CLD_TRAPPED): Likewise.
8966         (CLD_STOPPED): Likewise.
8967         (CLD_CONTINUED): Likewise.
8968         (POLL_IN): Likewise.
8969         (POLL_OUT): Likewise.
8970         (POLL_MSG): Likewise.
8971         (POLL_ERR): Likewise.
8972         (POLL_PRI): Likewise.
8973         (POLL_HUP): Likewise.
8974         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8975         (ILL_ILLOPN): Likewise.
8976         (ILL_ILLADR): Likewise.
8977         (ILL_ILLTRP): Likewise.
8978         (ILL_PRVOPC): Likewise.
8979         (ILL_PRVREG): Likewise.
8980         (ILL_COPROC): Likewise.
8981         (ILL_BADSTK): Likewise.
8982         (FPE_INTDIV): Likewise.
8983         (FPE_INTOVF): Likewise.
8984         (FPE_FLTDIV): Likewise.
8985         (FPE_FLTOVF): Likewise.
8986         (FPE_FLTUND): Likewise.
8987         (FPE_FLTRES): Likewise.
8988         (FPE_FLTINV): Likewise.
8989         (FPE_FLTSUB): Likewise.
8990         (SEGV_MAPERR): Likewise.
8991         (SEGV_ACCERR): Likewise.
8992         (BUS_ADRALN): Likewise.
8993         (BUS_ADRERR): Likewise.
8994         (BUS_OBJERR): Likewise.
8995         (BUS_MCEERR_AR): Likewise.
8996         (BUS_MCEERR_AO): Likewise.
8997         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8998         (TRAP_TRACE): Likewise.
8999         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9000         __USE_XOPEN2K8].
9001         (CLD_KILLED): Likewise.
9002         (CLD_DUMPED): Likewise.
9003         (CLD_TRAPPED): Likewise.
9004         (CLD_STOPPED): Likewise.
9005         (CLD_CONTINUED): Likewise.
9006         (POLL_IN): Likewise.
9007         (POLL_OUT): Likewise.
9008         (POLL_MSG): Likewise.
9009         (POLL_ERR): Likewise.
9010         (POLL_PRI): Likewise.
9011         (POLL_HUP): Likewise.
9012         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9013         (ILL_ILLOPN): Likewise.
9014         (ILL_ILLADR): Likewise.
9015         (ILL_ILLTRP): Likewise.
9016         (ILL_PRVOPC): Likewise.
9017         (ILL_PRVREG): Likewise.
9018         (ILL_COPROC): Likewise.
9019         (ILL_BADSTK): Likewise.
9020         (ILL_DBLFLT): Likewise.
9021         (ILL_HARDWALL): Likewise.
9022         (FPE_INTDIV): Likewise.
9023         (FPE_INTOVF): Likewise.
9024         (FPE_FLTDIV): Likewise.
9025         (FPE_FLTOVF): Likewise.
9026         (FPE_FLTUND): Likewise.
9027         (FPE_FLTRES): Likewise.
9028         (FPE_FLTINV): Likewise.
9029         (FPE_FLTSUB): Likewise.
9030         (SEGV_MAPERR): Likewise.
9031         (SEGV_ACCERR): Likewise.
9032         (BUS_ADRALN): Likewise.
9033         (BUS_ADRERR): Likewise.
9034         (BUS_OBJERR): Likewise.
9035         (BUS_MCEERR_AR): Likewise.
9036         (BUS_MCEERR_AO): Likewise.
9037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9038         (TRAP_TRACE): Likewise.
9039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9040         __USE_XOPEN2K8].
9041         (CLD_KILLED): Likewise.
9042         (CLD_DUMPED): Likewise.
9043         (CLD_TRAPPED): Likewise.
9044         (CLD_STOPPED): Likewise.
9045         (CLD_CONTINUED): Likewise.
9046         (POLL_IN): Likewise.
9047         (POLL_OUT): Likewise.
9048         (POLL_MSG): Likewise.
9049         (POLL_ERR): Likewise.
9050         (POLL_PRI): Likewise.
9051         (POLL_HUP): Likewise.
9052         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9053         (ILL_ILLOPN): Likewise.
9054         (ILL_ILLADR): Likewise.
9055         (ILL_ILLTRP): Likewise.
9056         (ILL_PRVOPC): Likewise.
9057         (ILL_PRVREG): Likewise.
9058         (ILL_COPROC): Likewise.
9059         (ILL_BADSTK): Likewise.
9060         (FPE_INTDIV): Likewise.
9061         (FPE_INTOVF): Likewise.
9062         (FPE_FLTDIV): Likewise.
9063         (FPE_FLTOVF): Likewise.
9064         (FPE_FLTUND): Likewise.
9065         (FPE_FLTRES): Likewise.
9066         (FPE_FLTINV): Likewise.
9067         (FPE_FLTSUB): Likewise.
9068         (SEGV_MAPERR): Likewise.
9069         (SEGV_ACCERR): Likewise.
9070         (BUS_ADRALN): Likewise.
9071         (BUS_ADRERR): Likewise.
9072         (BUS_OBJERR): Likewise.
9073         (BUS_MCEERR_AR): Likewise.
9074         (BUS_MCEERR_AO): Likewise.
9075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9076         (TRAP_TRACE): Likewise.
9077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9078         __USE_XOPEN2K8].
9079         (CLD_KILLED): Likewise.
9080         (CLD_DUMPED): Likewise.
9081         (CLD_TRAPPED): Likewise.
9082         (CLD_STOPPED): Likewise.
9083         (CLD_CONTINUED): Likewise.
9084         (POLL_IN): Likewise.
9085         (POLL_OUT): Likewise.
9086         (POLL_MSG): Likewise.
9087         (POLL_ERR): Likewise.
9088         (POLL_PRI): Likewise.
9089         (POLL_HUP): Likewise.
9090         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9091         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9092
9093         [BZ #16670]
9094         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9095         before #include of <time.h>.
9096         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9097         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9098         (test-xfail-UNIX98/sched.h/conform): Likewise.
9099
9100 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9101
9102         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9103         error absence of trapping exception support.
9104         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9105
9106 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9107
9108         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9109         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9110         * timezone/Makefile (testdata): Move definition above include of
9111         Rules.
9112         (test-zones): New variable.
9113         (tests-special): Add zone files.
9114         (build-testdata): Use $(evaluate-test).
9115
9116         * elf/Makefile (tests-special): Rename tests to end with .out.
9117         ($(objpfx)noload-mem): Likewise.
9118         ($(objpfx)tst-leaks1-mem): Likewise.
9119         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9120         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9121         $(objpfx)test-iconvconfig.out.
9122         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9123         set -e inside subshell and redirect output to file.
9124         * iconvdata/Makefile (generated): Rename tests to end with .out.
9125         Correct type.
9126         (tests-special): Rename tests to end with .out.
9127         ($(objpfx)mtrace-tst-loading): Likewise.
9128         * intl/Makefile (generated): Likewise.
9129         (tests-special): Likewise.
9130         ($(objpfx)mtrace-tst-gettext): Likewise.
9131         * misc/Makefile (generated): Likewise.
9132         (tests-special): Likewise.
9133         ($(objpfx)tst-error1-mem): Likewise.
9134         * nptl/Makefile (tests-special): Likewise.
9135         ($(objpfx)tst-stack3-mem): Likewise.
9136         (generated): Likewise.
9137         * posix/Makefile (generated): Likewise.
9138         (tests-special): Likewise.
9139         (xtests-special): Likewise.
9140         ($(objpfx)tst-fnmatch-mem): Likewise.
9141         ($(objpfx)bug-regex2-mem): Likewise.
9142         ($(objpfx)bug-regex14-mem): Likewise.
9143         ($(objpfx)bug-regex21-mem): Likewise.
9144         ($(objpfx)bug-regex31-mem): Likewise.
9145         ($(objpfx)tst-vfork3-mem): Likewise.
9146         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9147         ($(objpfx)tst-pcre-mem): Likewise.
9148         ($(objpfx)tst-boost-mem): Likewise.
9149         ($(objpfx)bug-ga2-mem): Likewise.
9150         ($(objpfx)bug-glob2-mem): Likewise.
9151         * resolv/Makefile (generate): Likewise.
9152         (tests-special): Likewise.
9153         (xtests-special): Likewise.
9154         (generated): Likewise.
9155         ($(objpfx)mtrace-tst-leaks): Likewise.
9156         ($(objpfx)mtrace-tst-leaks2): Likewise.
9157
9158         * scripts/merge-test-results.sh: New file.
9159         * Makefile (tests-special-notdir): New variable.
9160         (tests): Run merge-test-results.sh.
9161         (xtests): Likewise.
9162         * Rules (tests-special-notdir): New variable.
9163         (xtests-special-notdir): Likewise.
9164         (tests): Run merge-test-results.sh
9165         (xtests): Likewise.
9166
9167         * Makeconfig (test-xfail-name): New variable.
9168         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9169         compute variable name for expected failures.
9170         * conform/Makefile (conformtest-headers-data): New variable.
9171         (conformtest-standards): Likewise.
9172         (conformtest-headers-ISO): Likewise.
9173         (conformtest-headers-ISO99): Likewise.
9174         (conformtest-headers-ISO11): Likewise.
9175         (conformtest-headers-POSIX): Likewise.
9176         (conformtest-headers-XPG3): Likewise.
9177         (conformtest-headers-XPG4): Likewise.
9178         (conformtest-headers-UNIX98): Likewise.
9179         (conformtest-headers-XOPEN2K): Likewise.
9180         (conformtest-headers-POSIX2008): Likewise.
9181         (conformtest-headers-XOPEN2K8): Likewise.
9182         (conformtest-header-list-base): Likewise.
9183         (conformtest-header-list-tests): Likewise.
9184         (conformtest-header-base): Likewise.
9185         (conformtest-header-tests): Likewise.
9186         (tests-special): Add $(conformtest-header-list-tests).  If
9187         [$(fast-check) && !$(cross-compiling)], add
9188         $(conformtest-header-tests) instead of
9189         $(objpfx)run-conformtest.out.
9190         (generated): Add $(conformtest-header-list-base).  If
9191         [$(fast-check) && !$(cross-compiling)], add
9192         $(conformtest-header-base).  Remove previous setting.
9193         ($(conformtest-header-list-tests)): New target.
9194         (test-xfail-run-conformtest): Remove variable.
9195         ($(objpfx)run-conformtest.out): Remove target.
9196         (test-xfail-ISO11/complex.h/conform): New variable.
9197         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9198         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9199         (test-xfail-XPG3/varargs.h/conform): Likewise.
9200         (test-xfail-XPG4/varargs.h/conform): Likewise.
9201         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9202         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9203         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9204         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9205         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9206         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9207         (test-xfail-XPG3/ftw.h/conform): Likewise.
9208         (test-xfail-XPG3/grp.h/conform): Likewise.
9209         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9210         (test-xfail-XPG3/limits.h/conform): Likewise.
9211         (test-xfail-XPG3/pwd.h/conform): Likewise.
9212         (test-xfail-XPG3/search.h/conform): Likewise.
9213         (test-xfail-XPG3/signal.h/conform): Likewise.
9214         (test-xfail-XPG3/stdio.h/conform): Likewise.
9215         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9216         (test-xfail-XPG3/string.h/conform): Likewise.
9217         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9218         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9219         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9220         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9221         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9222         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9223         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9224         (test-xfail-XPG3/termios.h/conform): Likewise.
9225         (test-xfail-XPG3/time.h/conform): Likewise.
9226         (test-xfail-XPG3/unistd.h/conform): Likewise.
9227         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9228         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9229         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9230         (test-xfail-XPG4/netdb.h/conform): Likewise.
9231         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9232         (test-xfail-XPG4/signal.h/conform): Likewise.
9233         (test-xfail-XPG4/stdio.h/conform): Likewise.
9234         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9235         (test-xfail-XPG4/stropts.h/conform): Likewise.
9236         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9237         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9238         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9239         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9240         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9241         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9242         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9243         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9244         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9245         (test-xfail-XPG4/termios.h/conform): Likewise.
9246         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9247         (test-xfail-XPG4/unistd.h/conform): Likewise.
9248         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9249         (test-xfail-POSIX/sched.h/conform): Likewise.
9250         (test-xfail-POSIX/signal.h/conform): Likewise.
9251         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9252         (test-xfail-POSIX/tar.h/conform): Likewise.
9253         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9254         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9255         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9256         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9257         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9258         (test-xfail-UNIX98/sched.h/conform): Likewise.
9259         (test-xfail-UNIX98/signal.h/conform): Likewise.
9260         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9261         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9262         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9263         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9264         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9265         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9266         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9267         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9268         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9269         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9270         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9271         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9272         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9273         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9274         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9275         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9276         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9277         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9278         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9279         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9280         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9281         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9282         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9283         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9284         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9285         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9286         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9287         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9288         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9289         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9290         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9291         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9292         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9293         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9294         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9295         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9296         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9297         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9298         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9299         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9300         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9301         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9302         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9303         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9304         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9305         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9306         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9307         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9308         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9309         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9310         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9311         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9312         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9313         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9314         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9315         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9316         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9317         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9318         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9319         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9320         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9321         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9322         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9323         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9324         (conformtest-cc-flags): Likewise.
9325         ($(conformtest-header-tests): New target.
9326         * conform/check-header-lists.sh: New file.
9327         * conform/run-conformtest.sh: Remove.
9328
9329         * conform/conformtest.pl: Allow ' and \ in values given for
9330         constants.
9331         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9332         inclusion.
9333         [POSIX] (sys/types.h): Likewise.
9334         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9335         inclusion.
9336         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9337         inclusion.
9338         * conform/data/signal.h-data (SIGIO): Remove expectation.
9339         [XPG3] (SIGBUS): Do not expect.
9340         [POSIX || XPG3] (SIGPOLL): Likewise.
9341         [POSIX || XPG3] (SIGPROF): Likewise.
9342         [POSIX || XPG3] (SIGSYS): Likewise.
9343         [XPG3] (SIGTRAP): Likewise.
9344         [POSIX || XPG3] (SIGURG): Likewise.
9345         [POSIX || XPG3] (SIGVTALRM): Likewise.
9346         [POSIX || XPG3] (SIGXCPU): Likewise.
9347         [POSIX || XPG3] (SIGXFSZ): Likewise.
9348         [POSIX] (SA_SIGINFO): Expect.
9349         [XPG3] (siginfo_t): Do not expect type or contents.
9350         [POSIX] (si_pid): Do not expect element.
9351         [POSIX] (si_uid): Likewise.
9352         [POSIX] (si_addr): Likewise.
9353         [POSIX] (si_status): Likewise.
9354         [POSIX] (si_band): Likewise.
9355         [XPG4] (si_value): Likewise.
9356         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9357         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9358         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9359         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9360         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9361         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9362         [POSIX || XPG3] (ILL_COPROC): Likewise.
9363         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9364         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9365         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9366         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9367         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9368         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9369         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9370         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9371         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9372         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9373         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9374         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9375         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9376         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9377         [POSIX || XPG3] (CLD_EXITED): Likewise.
9378         [POSIX || XPG3] (CLD_KILLED): Likewise.
9379         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9380         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9381         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9382         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9383         [POSIX || XPG3] (POLL_IN): Likewise.
9384         [POSIX || XPG3] (POLL_OUT): Likewise.
9385         [POSIX || XPG3] (POLL_MSG): Likewise.
9386         [POSIX || XPG3] (POLL_ERR): Likewise.
9387         [POSIX || XPG3] (POLL_PRI): Likewise.
9388         [POSIX || XPG3] (POLL_HUP): Likewise.
9389         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9390         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9391         (SIG*): Do not allow.
9392         [XPG3] (si_*): Likewise.
9393         [XPG3] (SI_*): Likewise.
9394         [XPG3 || XPG4] (sigev_*): Likewise.
9395         [XPG3 || XPG4] (SIGEV_*): Likewise.
9396         [XPG3 || XPG4] (sival_*): Likewise.
9397         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9398         [POSIX || XPG3] (BUS_*): Likewise.
9399         [POSIX || XPG3] (CLD_*): Likewise.
9400         [POSIX || XPG3] (FPE_*): Likewise.
9401         [POSIX || XPG3] (ILL_*): Likewise.
9402         [POSIX || XPG3] (POLL_*): Likewise.
9403         [POSIX || XPG3] (SEGV_*): Likewise.
9404         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9405         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9406         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9407         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9408         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9409         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9410         Specify type and value.
9411         (TVERSLEN): Likewise.
9412         (REGTYPE): Likewise.
9413         (AREGTYPE): Likewise.
9414         (LNKTYPE): Likewise.
9415         (SYMTYPE): Likewise.
9416         (CHRTYPE): Likewise.
9417         (BLKTYPE): Likewise.
9418         (DIRTYPE): Likewise.
9419         (FIFOTYPE): Likewise.
9420         (CONTTYPE): Likewise.
9421         (TSUID): Likewise.
9422         (TSGID): Likewise.
9423         (TSVTX): Likewise.
9424         (TUREAD): Likewise.
9425         (TUWRITE): Likewise.
9426         (TUEXEC): Likewise.
9427         (TGREAD): Likewise.
9428         (TGWRITE): Likewise.
9429         (TGEXEC): Likewise.
9430         (TOREAD): Likewise.
9431         (TOWRITE): Likewise.
9432         (TOEXEC): Likewise.
9433         [POSIX] (TSVTX): Expect constant.
9434
9435 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9436
9437         * Makefile (tests): Change dependencies to ....
9438         (tests-special): ... additions to this variable.
9439         (tests): Depend on $(tests-special).
9440         * Makerules (check-abi-list): New variable.
9441         (check-abi): Depend on $(check-abi-list).
9442         [$(subdir) = elf] (tests-special): Add
9443         $(objpfx)check-abi-libc.out.
9444         [$(build-shared) = yes && subdir] (tests-special): Add
9445         $(check-abi-list).
9446         [$(build-shared) = yes && subdir] (tests): Do not depend on
9447         check-abi.
9448         * Rules (tests): Depend on $(tests-special).
9449         (xtests): Depend on $(xtests-special).
9450         * catgets/Makefile (tests): Change dependencies to ....
9451         (tests-special): ... additions to this variable.
9452         * conform/Makefile (tests): Change dependencies to ....
9453         (tests-special): ... additions to this variable.
9454         * elf/Makefile (tests): Change dependencies to ....
9455         (tests-special): ... additions to this variable.
9456         * grp/Makefile (tests): Change dependencies to ....
9457         (tests-special): ... additions to this variable.
9458         * iconv/Makefile (xtests): Change dependencies to ....
9459         (xtests-special): ... additions to this variable.
9460         * iconvdata/Makefile (tests): Change dependencies to ....
9461         (tests-special): ... additions to this variable.
9462         * intl/Makefile (tests): Change dependencies to ....
9463         (tests-special): ... additions to this variable.  Also add
9464         $(objpfx)tst-gettext.out.
9465         * io/Makefile (tests): Change dependencies to ....
9466         (tests-special): ... additions to this variable.
9467         * libio/Makefile (tests): Change dependencies to ....
9468         (tests-special): ... additions to this variable.
9469         * malloc/Makefile (tests): Change dependencies to ....
9470         (tests-special): ... additions to this variable.
9471         * misc/Makefile (tests): Change dependencies to ....
9472         (tests-special): ... additions to this variable.
9473         * nptl/Makefile (tests): Change dependencies to ....
9474         (tests-special): ... additions to this variable.
9475         * nptl_db/Makefile (tests): Change dependencies to ....
9476         (tests-special): ... additions to this variable.
9477         * posix/Makefile (tests): Change dependencies to ....
9478         (tests-special): ... additions to this variable.
9479         (xtests): Change dependencies to ....
9480         (xtests-special): ... additions to this variable.
9481         * resolv/Makefile (tests): Change dependencies to ....
9482         (tests-special): ... additions to this variable.
9483         (xtests): Change dependencies to ....
9484         (xtests-special): ... additions to this variable.
9485         * stdio-common/Makefile (tests): Change dependencies to ....
9486         (tests-special): ... additions to this variable.
9487         (do-tst-unbputc): Remove target.
9488         (do-tst-printf): Likewise.
9489         * stdlib/Makefile (tests): Change dependencies to ....
9490         (tests-special): ... additions to this variable.
9491         * string/Makefile (tests): Change dependencies to ....
9492         (tests-special): ... additions to this variable.
9493         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9494         (tests-special): ... additions to this variable.
9495
9496         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9497         whole file.
9498         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9499         whole file.
9500         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9501         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9502
9503         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9504         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9505         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9506         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9507         * conform/data/libgen.h-data [XPG3]: Likewise.
9508         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9509         * conform/data/ndbm.h-data [XPG3]: Likewise.
9510         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9511         * conform/data/netdb.h-data [XPG3]: Likewise.
9512         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9513         * conform/data/poll.h-data [XPG3]: Likewise.
9514         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9515         * conform/data/strings.h-data [XPG3]: Likewise.
9516         * conform/data/stropts.h-data [XPG3]: Likewise.
9517         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9518         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9519         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9520         Likewise.
9521         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9522         * conform/data/sys/time.h-data [XPG3]: Likewise.
9523         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9524         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9525         * conform/data/sys/un.h-data [XPG3]: Likewise.
9526         * conform/data/syslog.h-data [XPG3]: Likewise.
9527         * conform/data/ucontext.h-data [XPG3]: Likewise.
9528         * conform/data/utmpx.h-data [XPG3]: Likewise.
9529         * conform/data/varargs.h-data [UNIX98]: Enable file.
9530
9531         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9532
9533         * math/libm-test.inc (struct test_f_f_data): Move expected results
9534         into structure for each rounding mode.
9535         (struct test_ff_f_data): Likewise.
9536         (struct test_ff_f_data_nexttoward): Likewise.
9537         (struct test_fi_f_data): Likewise.
9538         (struct test_fl_f_data): Likewise.
9539         (struct test_if_f_data): Likewise.
9540         (struct test_fff_f_data): Likewise.
9541         (struct test_c_f_data): Likewise.
9542         (struct test_f_f1_data): Likewise.
9543         (struct test_fF_f1_data): Likewise.
9544         (struct test_ffI_f1_data): Likewise.
9545         (struct test_c_c_data): Likewise.
9546         (struct test_cc_c_data): Likewise.
9547         (struct test_f_i_data): Likewise.
9548         (struct test_ff_i_data): Likewise.
9549         (struct test_f_l_data): Likewise.
9550         (struct test_f_L_data): Likewise.
9551         (struct test_fFF_11_data): Likewise.
9552         (RM_): New macro.
9553         (RM_FE_DOWNWARD): Likewise.
9554         (RM_FE_TONEAREST): Likewise.
9555         (RM_FE_TOWARDZERO): Likewise.
9556         (RM_FE_UPWARD): Likewise.
9557         (RUN_TEST_LOOP_f_f): Update references to expected results.
9558         (RUN_TEST_LOOP_2_f): Likewise.
9559         (RUN_TEST_LOOP_fff_f): Likewise.
9560         (RUN_TEST_LOOP_c_f): Likewise.
9561         (RUN_TEST_LOOP_f_f1): Likewise.
9562         (RUN_TEST_LOOP_fF_f1): Likewise.
9563         (RUN_TEST_LOOP_fI_f1): Likewise.
9564         (RUN_TEST_LOOP_ffI_f1): Likewise.
9565         (RUN_TEST_LOOP_c_c): Likewise.
9566         (RUN_TEST_LOOP_cc_c): Likewise.
9567         (RUN_TEST_LOOP_f_i): Likewise.
9568         (RUN_TEST_LOOP_f_i_tg): Likewise.
9569         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9570         (RUN_TEST_LOOP_f_b): Likewise.
9571         (RUN_TEST_LOOP_f_b_tg): Likewise.
9572         (RUN_TEST_LOOP_f_l): Likewise.
9573         (RUN_TEST_LOOP_f_L): Likewise.
9574         (RUN_TEST_LOOP_fFF_11): Likewise.
9575         * math/gen-libm-test.pl (parse_args): Output four copies of
9576         expected results for each test.
9577
9578         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9579         (__ASSUME_UTIMES): Remove.
9580         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9581         (__ASSUME_UTIMES): Likewise.
9582
9583         * math/gen-auto-libm-tests.c: Update comment on output format.
9584         (output_for_one_input_case): Generate before-rounding and
9585         after-rounding information as conditions on output flags not
9586         floating-point format.
9587         * math/auto-libm-test-out: Regenerated.
9588         * math/gen-libm-test.pl (cond_value): New function.
9589         (or_cond_value): Use cond_value.
9590         (generate_testfile): Handle conditional exceptions.
9591
9592 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9593
9594         * math/libm-test.inc (max_valid_error): New variable.
9595         (init_max_error): Take new argument specifying whether function
9596         results are exactly determined.  Set max_valid_error and bound
9597         other variables for errors based on this argument.
9598         (set_max_error): Do not record results above max_valid_error.
9599         (check_float_internal): Only accept errors of up to 0.5ulps if
9600         also at most max_valid_error.
9601         (START): Take new argument EXACT and pass it to init_max_error.
9602         (acos_test): Update call to START.
9603         (acos_test_tonearest): Likewise.
9604         (acos_test_towardzero): Likewise.
9605         (acos_test_downward): Likewise.
9606         (acos_test_upward): Likewise.
9607         (acosh_test): Likewise.
9608         (asin_test): Likewise.
9609         (asin_test_tonearest): Likewise.
9610         (asin_test_towardzero): Likewise.
9611         (asin_test_downward): Likewise.
9612         (asin_test_upward): Likewise.
9613         (asinh_test): Likewise.
9614         (atan_test): Likewise.
9615         (atanh_test): Likewise.
9616         (atan2_test): Likewise.
9617         (cabs_test): Likewise.
9618         (cacos_test): Likewise.
9619         (cacosh_test): Likewise.
9620         (carg_test): Likewise.
9621         (casin_test): Likewise.
9622         (casinh_test): Likewise.
9623         (catan_test): Likewise.
9624         (catanh_test): Likewise.
9625         (cbrt_test): Likewise.
9626         (ccos_test): Likewise.
9627         (ccosh_test): Likewise.
9628         (ceil_test): Likewise.
9629         (cexp_test): Likewise.
9630         (cimag_test): Likewise.
9631         (clog_test): Likewise.
9632         (clog10_test): Likewise.
9633         (conj_test): Likewise.
9634         (copysign_test): Likewise.
9635         (cos_test): Likewise.
9636         (cos_test_tonearest): Likewise.
9637         (cos_test_towardzero): Likewise.
9638         (cos_test_downward): Likewise.
9639         (cos_test_upward): Likewise.
9640         (cosh_test): Likewise.
9641         (cosh_test_tonearest): Likewise.
9642         (cosh_test_towardzero): Likewise.
9643         (cosh_test_downward): Likewise.
9644         (cosh_test_upward): Likewise.
9645         (cpow_test): Likewise.
9646         (cproj_test): Likewise.
9647         (creal_test): Likewise.
9648         (csin_test): Likewise.
9649         (csinh_test): Likewise.
9650         (csqrt_test): Likewise.
9651         (ctan_test): Likewise.
9652         (ctan_test_tonearest): Likewise.
9653         (ctan_test_towardzero): Likewise.
9654         (ctan_test_downward): Likewise.
9655         (ctan_test_upward): Likewise.
9656         (ctanh_test): Likewise.
9657         (ctanh_test_tonearest): Likewise.
9658         (ctanh_test_towardzero): Likewise.
9659         (ctanh_test_downward): Likewise.
9660         (ctanh_test_upward): Likewise.
9661         (erf_test): Likewise.
9662         (erfc_test): Likewise.
9663         (exp_test): Likewise.
9664         (exp_test_tonearest): Likewise.
9665         (exp_test_towardzero): Likewise.
9666         (exp_test_downward): Likewise.
9667         (exp_test_upward): Likewise.
9668         (exp10_test): Likewise.
9669         (exp10_test_tonearest): Likewise.
9670         (exp10_test_towardzero): Likewise.
9671         (exp10_test_downward): Likewise.
9672         (exp10_test_upward): Likewise.
9673         (pow10_test): Likewise.
9674         (exp2_test): Likewise.
9675         (expm1_test): Likewise.
9676         (expm1_test_tonearest): Likewise.
9677         (expm1_test_towardzero): Likewise.
9678         (expm1_test_downward): Likewise.
9679         (expm1_test_upward): Likewise.
9680         (fabs_test): Likewise.
9681         (fdim_test): Likewise.
9682         (floor_test): Likewise.
9683         (fma_test): Likewise.
9684         (fma_test_towardzero): Likewise.
9685         (fma_test_downward): Likewise.
9686         (fma_test_upward): Likewise.
9687         (fmax_test): Likewise.
9688         (fmin_test): Likewise.
9689         (fmod_test): Likewise.
9690         (fpclassify_test): Likewise.
9691         (frexp_test): Likewise.
9692         (hypot_test): Likewise.
9693         (ilogb_test): Likewise.
9694         (isfinite_test): Likewise.
9695         (finite_test): Likewise.
9696         (isgreater_test): Likewise.
9697         (isgreaterequal_test): Likewise.
9698         (isinf_test): Likewise.
9699         (isless_test): Likewise.
9700         (islessequal_test): Likewise.
9701         (islessgreater_test): Likewise.
9702         (isnan_test): Likewise.
9703         (isnormal_test): Likewise.
9704         (issignaling_test): Likewise.
9705         (isunordered_test): Likewise.
9706         (j0_test): Likewise.
9707         (j1_test): Likewise.
9708         (jn_test): Likewise.
9709         (ldexp_test): Likewise.
9710         (lgamma_test): Likewise.
9711         (gamma_test): Likewise.
9712         (lrint_test): Likewise.
9713         (lrint_test_tonearest): Likewise.
9714         (lrint_test_towardzero): Likewise.
9715         (lrint_test_downward): Likewise.
9716         (lrint_test_upward): Likewise.
9717         (llrint_test): Likewise.
9718         (llrint_test_tonearest): Likewise.
9719         (llrint_test_towardzero): Likewise.
9720         (llrint_test_downward): Likewise.
9721         (llrint_test_upward): Likewise.
9722         (log_test): Likewise.
9723         (log10_test): Likewise.
9724         (log1p_test): Likewise.
9725         (log2_test): Likewise.
9726         (logb_test): Likewise.
9727         (logb_test_downward): Likewise.
9728         (lround_test): Likewise.
9729         (llround_test): Likewise.
9730         (modf_test): Likewise.
9731         (nearbyint_test): Likewise.
9732         (nextafter_test): Likewise.
9733         (nexttoward_test): Likewise.
9734         (pow_test): Likewise.
9735         (pow_test_tonearest): Likewise.
9736         (pow_test_towardzero): Likewise.
9737         (pow_test_downward): Likewise.
9738         (pow_test_upward): Likewise.
9739         (remainder_test): Likewise.
9740         (drem_test): Likewise.
9741         (remainder_test_tonearest): Likewise.
9742         (drem_test_tonearest): Likewise.
9743         (remainder_test_towardzero): Likewise.
9744         (drem_test_towardzero): Likewise.
9745         (remainder_test_downward): Likewise.
9746         (drem_test_downward): Likewise.
9747         (remainder_test_upward): Likewise.
9748         (drem_test_upward): Likewise.
9749         (remquo_test): Likewise.
9750         (rint_test): Likewise.
9751         (rint_test_tonearest): Likewise.
9752         (rint_test_towardzero): Likewise.
9753         (rint_test_downward): Likewise.
9754         (rint_test_upward): Likewise.
9755         (round_test): Likewise.
9756         (scalb_test): Likewise.
9757         (scalbn_test): Likewise.
9758         (scalbln_test): Likewise.
9759         (signbit_test): Likewise.
9760         (sin_test): Likewise.
9761         (sin_test_tonearest): Likewise.
9762         (sin_test_towardzero): Likewise.
9763         (sin_test_downward): Likewise.
9764         (sin_test_upward): Likewise.
9765         (sincos_test): Likewise.
9766         (sinh_test): Likewise.
9767         (sinh_test_tonearest): Likewise.
9768         (sinh_test_towardzero): Likewise.
9769         (sinh_test_downward): Likewise.
9770         (sinh_test_upward): Likewise.
9771         (sqrt_test): Likewise.
9772         (sqrt_test_tonearest): Likewise.
9773         (sqrt_test_towardzero): Likewise.
9774         (sqrt_test_downward): Likewise.
9775         (sqrt_test_upward): Likewise.
9776         (tan_test): Likewise.
9777         (tan_test_tonearest): Likewise.
9778         (tan_test_towardzero): Likewise.
9779         (tan_test_downward): Likewise.
9780         (tan_test_upward): Likewise.
9781         (tanh_test): Likewise.
9782         (tgamma_test): Likewise.
9783         (trunc_test): Likewise.
9784         (y0_test): Likewise.
9785         (y1_test): Likewise.
9786         (yn_test): Likewise.
9787         (significand_test): Likewise.
9788
9789         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9790         individual tests in comment.
9791         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9792         (prev_max_error): New variable.
9793         (prev_real_max_error): Likewise.
9794         (prev_imag_max_error): Likewise.
9795         (compare_ulp_data): Don't refer to test names in comment.
9796         (find_test_ulps): Remove function.
9797         (find_function_ulps): Likewise.
9798         (find_complex_function_ulps): Likewise.
9799         (init_max_error): Take function name as argument.  Look up ulps
9800         for that function.
9801         (print_ulps): Remove function.
9802         (print_max_error): Use prev_max_error instead of calling
9803         find_function_ulps.
9804         (print_complex_max_error): Use prev_real_max_error and
9805         prev_imag_max_error instead of calling find_complex_function_ulps.
9806         (check_float_internal): Take max_ulp parameter instead of calling
9807         find_test_ulps.  Don't call print_ulps.
9808         (check_float): Update call to check_float_internal.
9809         (check_complex): Update calls to check_float_internal.
9810         (START): Pass argument to init_max_error.
9811         * math/gen-libm-test.pl (%results): Don't include "kind"
9812         information.
9813         (parse_ulps): Don't handle ulps of individual tests.
9814         (print_ulps_file): Likewise.
9815         (output_ulps): Likewise.
9816         * math/README.libm-test: Update.
9817         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9818         individual tests.
9819         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9820         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9821         * sysdeps/arm/libm-test-ulps: Likewise.
9822         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9823         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9824         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9825         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9826         * sysdeps/microblaze/libm-test-ulps: Likewise.
9827         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9828         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9829         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9830         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9831         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9832         * sysdeps/sh/libm-test-ulps: Likewise.
9833         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9834         * sysdeps/tile/libm-test-ulps: Likewise.
9835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9836
9837 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9838
9839         * math/libm-test.inc (print_complex_max_error): Check separately
9840         whether real and imaginary errors are within allowed range and
9841         pass 0 to print_complex_function_ulps instead of value within
9842         allowed range.
9843
9844 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9845
9846         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9847         formatting.
9848         (get_handles_fopen): Likewise.
9849         (do_write_test): Likewise.
9850
9851         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9852
9853         * libio/fileops.c (do_ftell): Use cached offset when
9854         available.
9855         * libio/iofwide.c (do_ftell_wide): Likewise.
9856         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9857         _IO_file_attach.
9858         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9859
9860         [BZ #16532]
9861         * libio/libioP.h (get_file_offset): New function.
9862         * libio/fileops.c (get_file_offset): Likewise.
9863         (do_ftell): Likewise.
9864         (_IO_new_file_seekoff): Split out ftell logic.
9865         * libio/wfileops.c (do_ftell_wide): Likewise.
9866         (_IO_wfile_seekoff): Split out ftell logic.
9867         * libio/tst-ftell-active-handler.c: New test case.
9868         * libio/Makefile (tests): Add it.
9869
9870 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9871
9872         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9873         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9874
9875 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9876
9877         [BZ #16639]
9878         * nscd/connections.c (nscd_init): Call do_exit.
9879         (start_threads): Call do_exit and notify_parent.
9880         (begin_drop_privileges): Call do_exit.
9881         (finish_drop_privileges): Likewise.
9882         * nscd/selinux.c (preserve_capabilities): Likewise.
9883         (install_real_capabilities): Likewise.
9884         (nscd_selinux_enabled): Likewise.
9885         (avc_create_thread): Likewise.
9886         (avc_alloc_lock): Likewise.
9887         (nscd_avc_init): Likewise.
9888         * nscd/nscd.c (parent_fd): New static variable.
9889         (main): Create a pipe between parent and child processes.
9890         Skip closing parent_fd.
9891         (monitor_child): New function.
9892         (do_exit): Likewise.
9893         (notify_parent): Likewise.
9894         * nscd/nscd.h (notify_parent): Likewise.
9895         (do_exit): Likewise.
9896
9897 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9898
9899         * malloc/malloc.c (__libc_calloc): Revert last change.
9900
9901 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9902
9903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9904
9905 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9906
9907         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9909         implementation.
9910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9911         (__libc_ifunc_impl_list): Likewise.
9912         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9913         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9914         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9915         * string/strrchr.c: Define STRRCHR.
9916
9917 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9918
9919         * benchtest/bench-strtok.c (simple_strtok): Delete.
9920         (strtok_string): Use as benchmark.
9921         * string/strtok (STRTOK): New macro.
9922
9923 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9924
9925         * manual/threads.texi: Add header and standard comments to all
9926         functions.
9927
9928         * elf/dl-lookup.c (check_match): New function.
9929         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9930         (do_lookup_x): Remove nested function check_match. Use non-nested
9931         function check_match.
9932
9933 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9934
9935         * csu/Makefile (generated, before-compile): Use += rather than =.
9936         * catgets/Makefile (generated, generated-dirs): Likewise.
9937         * debug/Makefile (generated): Likewise.
9938         * dlfcn/Makefile (generated): Likewise.
9939         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9940         * iconvdata/Makefile (before-compile, generated): Likewise.
9941         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9942         * libio/Makefile (generated): Likewise.
9943         * malloc/Makefile (generated): Likewise.
9944         * manual/Makefile (generated, generated-dirs): Likewise.
9945         * misc/Makefile (generated): Likewise.
9946         * posix/Makefile (generated): Likewise.
9947         * resolv/Makefile (generated): Likewise.
9948         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9949         * timezone/Makefile (generated, generated-dirs): Likewise.
9950
9951         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9952
9953 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9954
9955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9956         power8 implementation.
9957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9958         file: POWER8 llround ifunc implementation.
9959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9960         (__lllround): Add POWER8 implementation.
9961         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9962         POWER8 llround implementation.
9963
9964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9965         power8 implementation.
9966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9967         file: POWER8 llrint ifunc implementation.
9968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9969         Add POWER8 implementation.
9970         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9971         POWER8 llrint implementation.
9972
9973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9974         power8 implementation.
9975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9976         file: POWER8 finite ifunc implementation.
9977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9978         Add POWER8 implementation.
9979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9980         Likewise.
9981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9982         POWER8 finite implementation.
9983         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9984
9985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9986         power8 implementation.
9987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9988         file: POWER8 isinf ifunc implementation.
9989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9990         POWER8 implementation.
9991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9992         Likewise.
9993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9994         isinf implementation.
9995         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9996
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9998         (INIT_ARCH): Add hwcap2 initialization.
9999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10000         power8 implementation.
10001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10002         file: POWER8 isnan ifunc implementation.
10003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10004         POWER8 implementation.
10005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10006         Likewise.
10007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10008         isnan implementation.
10009         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10010
10011 2014-02-27  Joey Ye  <joey.ye@arm.com>
10012
10013         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10014         (_FP_NANFRAC_Q): Set to zero.
10015
10016 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10017
10018         [BZ #16623]
10019         * math/auto-libm-test-in: New test inputs.
10020         * math/auto-libm-test-out: Regenerate.
10021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10022         and DA.
10023         (__cos): Likewise.
10024         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10025
10026 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10027
10028         * scripts/evaluate-test.sh: Take new argument indicating whether
10029         failure is expected.
10030         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10031         indicating whether failure is expected.
10032         * conform/Makefile (test-xfail-run-conformtest): New variable.
10033         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10034         level.
10035         * posix/Makefile (test-xfail-annexc): New variable.
10036         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10037
10038 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10039
10040         * argp/Makefile: Include Makeconfig immediately after defining
10041         subdir.
10042         * assert/Makefile: Likewise.
10043         * benchtests/Makefile: Likewise.
10044         * catgets/Makefile: Likewise.
10045         * conform/Makefile: Likewise.
10046         * crypt/Makefile: Likewise.
10047         * csu/Makefile: Likewise.
10048         (all): Remove target.
10049         * ctype/Makefile: Include Makeconfig immediately after defining
10050         subdir.
10051         * debug/Makefile: Likewise.
10052         * dirent/Makefile: Likewise.
10053         * dlfcn/Makefile: Likewise.
10054         * gmon/Makefile: Likewise.
10055         * gnulib/Makefile: Likewise.
10056         * grp/Makefile: Likewise.
10057         * gshadow/Makefile: Likewise.
10058         * hesiod/Makefile: Likewise.
10059         * hurd/Makefile: Likewise.
10060         (all): Remove target.
10061         * iconvdata/Makefile: Include Makeconfig immediately after
10062         defining subdir.
10063         * inet/Makefile: Likewise.
10064         * intl/Makefile: Likewise.
10065         * io/Makefile: Likewise.
10066         * libio/Makefile: Likewise.
10067         (all): Remove target.
10068         * locale/Makefile: Include Makeconfig immediately after defining
10069         subdir.
10070         * login/Makefile: Likewise.
10071         * mach/Makefile: Likewise.
10072         (all): Remove target.
10073         * malloc/Makefile: Include Makeconfig immediately after defining
10074         subdir.
10075         (all): Remove target.
10076         * manual/Makefile: Include Makeconfig immediately after defining
10077         subdir.
10078         * math/Makefile: Likewise.
10079         * misc/Makefile: Likewise.
10080         * nis/Makefile: Likewise.
10081         * nss/Makefile: Likewise.
10082         * po/Makefile: Likewise.
10083         (all): Remove target.
10084         * posix/Makefile: Include Makeconfig immediately after defining
10085         subdir.
10086         * pwd/Makefile: Likewise.
10087         * resolv/Makefile: Likewise.
10088         * resource/Makefile: Likewise.
10089         * rt/Makefile: Likewise.
10090         * setjmp/Makefile: Likewise.
10091         * shadow/Makefile: Likewise.
10092         * signal/Makefile: Likewise.
10093         * socket/Makefile: Likewise.
10094         * soft-fp/Makefile: Likewise.
10095         * stdio-common/Makefile: Likewise.
10096         * stdlib/Makefile: Likewise.
10097         * streams/Makefile: Likewise.
10098         * string/Makefile: Likewise.
10099         * sunrpc/Makefile: Likewise.
10100         (all): Remove target.
10101         * sysvipc/Makefile: Include Makeconfig immediately after defining
10102         subdir.
10103         * termios/Makefile: Likewise.
10104         * time/Makefile: Likewise.
10105         * timezone/Makefile: Likewise.
10106         (all): Remove target.
10107         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10108         subdir.
10109         * wctype/Makefile: Likewise.
10110
10111 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10112
10113         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10114         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10115         (libc_feholdexcept_setround_mips): Ditto.
10116         (libc_feholdsetround): New.
10117         (libc_feholdsetroundf): New.
10118         (libc_feholdsetroundl): New.
10119         (libc_feupdateenv_test_mips): New.
10120         (libc_feupdateenv_test): New.
10121         (libc_feupdateenv_testf): New.
10122         (libc_feupdateenv_testl): New.
10123         (libc_feresetround): New.
10124         (libc_feresetroundf): New.
10125         (libc_feresetroundl): New.
10126         (libc_fetestexcept_mips): New.
10127         (libc_fetestexcept): New.
10128         (libc_fetestexceptf): New.
10129         (libc_fetestexceptl): New.
10130         (HAVE_RM_CTX): New.
10131         (libc_feholdexcept_setround_mips_ctx): New.
10132         (libc_feholdexcept_setround_ctx): New.
10133         (libc_feholdexcept_setroundf_ctx): New.
10134         (libc_feholdexcept_setroundl_ctx): New.
10135         (libc_fesetenv_mips_ctx): New.
10136         (libc_fesetenv_ctx): New.
10137         (libc_fesetenv_ctxf): New.
10138         (libc_fesetenv_ctxl): New.
10139         (libc_feupdateenv_mips_ctx): New.
10140         (libc_feupdateenv_ctx): New.
10141         (libc_feupdateenvf_ctx): New.
10142         (libc_feupdateenvl_ctx): New.
10143         (libc_feholdsetround_mips_ctx): New.
10144         (libc_feholdsetround_ctx): New.
10145         (libc_feholdsetroundf_ctx): New.
10146         (libc_feholdsetroundl_ctx): New.
10147         (libc_feresetround_mips_ctx): New.
10148         (libc_feresetround_ctx): New.
10149         (libc_feresetroundf_ctx): New.
10150         (libc_feresetroundl_ctx): New.
10151
10152 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10153
10154         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10155
10156         * manual/ipc.texi: New file.
10157         * manual/Makefile (chapters): Add ipc.
10158         * manual/job.texi: Add "Inter-Process Communication" to next.
10159         * manual/process.texi: Add "Inter-Process Communication" to prev.
10160
10161 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10162
10163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10164
10165 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10166
10167         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10168
10169         * manual/arith.texi: Fix spaces after sentences.
10170         * manual/charset.texi: Likewise.
10171         * manual/errno.texi: Likewise.
10172         * manual/install.texi: Likewise.
10173         * manual/llio.texi: Likewise.
10174         * manual/locale.texi: Likewise.
10175         * manual/maint.texi: Likewise.
10176         * manual/math.texi: Likewise.
10177         * manual/memory.texi: Likewise.
10178         * manual/message.texi: Likewise.
10179         * manual/probes.texi: Likewise.
10180         * manual/resource.texi: Likewise.
10181         * manual/signal.texi: Likewise.
10182         * manual/socket.texi: Likewise.
10183         * manual/stdio.texi: Likewise.
10184         * manual/string.texi: Likewise.
10185         * manual/time.texi: Likewise.
10186         * manual/users.texi: Likewise.
10187
10188 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10189
10190         [BZ #16632]
10191         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10192         _DEFAULT_SOURCE is defined.
10193
10194 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10195             Carlos O'Donell  <carlos@redhat.com>
10196
10197         [BZ #16613]
10198         * elf/dl-tls.c (_dl_count_modids): New function.
10199         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10200         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10201         audit library and increment generation counter.
10202         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10203         * elf/tst-audit9.c: New file.
10204         * elf/tst-auditmod9a.c: New file.
10205         * elf/tst-auditmod9b.c: New file.
10206         * elf/Makefile: Add rules to build and run tst-audit9.
10207
10208 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10209
10210         [BZ #15347]
10211         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10212
10213 2014-02-25  Will Newton  <will.newton@linaro.org>
10214
10215         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10216         (__longjmp): Restore sp and lr before restoring callee
10217         saved registers.  Add longjmp and longjmp_target
10218         SystemTap probe point.
10219         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10220         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10221         Define to zero to match jmpbuf layout.
10222         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10223         (__sigsetjmp): Save sp and lr before saving callee
10224         saved registers.  Add setjmp SystemTap probe point.
10225
10226 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10227
10228         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10229
10230 2014-02-24  Andreas Schwab  <schwab@suse.de>
10231
10232         [BZ #15804]
10233         * elf/pldd.c (wait_for_ptrace_stop): New function.
10234         (main): Call it after attaching.
10235
10236 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10237
10238         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10239         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10240         Versions files is now verboten.
10241         * hurd/Versions (libc: GLIBC_2.0):
10242         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10243         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10244         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10245         * mach/Versions: Likewise.
10246
10247         * csu/Versions: Remove unused %include.
10248         * resolv/Versions: Likewise.
10249
10250 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10251
10252         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10253         ($(objpfx)check-local-headers.out): Likewise.
10254         ($(objpfx)begin-end-check.out): Likewise.
10255         * Makerules (check-abi-%.out): Likewise.
10256         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10257         ($(objpfx)test2.cat): Likewise.
10258         ($(objpfx)de/libc.cat): Likewise.
10259         ($(objpfx)test-gencat.out): Likewise.
10260         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10261         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10262         ($(objpfx)noload-mem): Likewise.
10263         ($(objpfx)tst-pathopt.out): Likewise.
10264         ($(objpfx)tst-rtld-load-self.out): Likewise.
10265         ($(objpfx)tst-array1-cmp.out): Likewise.
10266         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10267         ($(objpfx)tst-array2-cmp.out): Likewise.
10268         ($(objpfx)tst-array3-cmp.out): Likewise.
10269         ($(objpfx)tst-array4-cmp.out): Likewise.
10270         ($(objpfx)tst-array5-cmp.out): Likewise.
10271         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10272         ($(objpfx)check-textrel.out): Likewise.
10273         ($(objpfx)check-execstack.out): Likewise.
10274         ($(objpfx)check-localplt.out): Likewise.
10275         ($(objpfx)order2-cmp.out): Likewise.
10276         ($(objpfx)tst-leaks1-mem): Likewise.
10277         ($(objpfx)tst-leaks1-static-mem): Likewise.
10278         ($(objpfx)tst-initorder-cmp.out): Likewise.
10279         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10280         ($(objpfx)tst-unused-dep.out): Likewise.
10281         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10282         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10283         * iconv/Makefile (test-iconvconfig): Likewise.
10284         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10285         ($(objpfx)iconv-test.out): Likewise.
10286         ($(objpfx)tst-tables.out): Likewise.
10287         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10288         ($(objpfx)tst-gettext.out): Likewise.
10289         ($(objpfx)tst-translit.out): Likewise.
10290         ($(objpfx)tst-gettext2.out): Likewise.
10291         ($(objpfx)tst-gettext4.out): Likewise.
10292         ($(objpfx)tst-gettext6.out): Likewise.
10293         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10294         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10295         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10296         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10297         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10298         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10299         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10300         ($(objpfx)wordexp-tst.out): Likewise.
10301         ($(objpfx)annexc.out): Likewise.
10302         ($(objpfx)tst-fnmatch-mem): Likewise.
10303         ($(objpfx)bug-regex2-mem): Likewise.
10304         ($(objpfx)bug-regex14-mem): Likewise.
10305         ($(objpfx)bug-regex21-mem): Likewise.
10306         ($(objpfx)bug-regex31-mem): Likewise.
10307         ($(objpfx)tst-vfork3-mem): Likewise.
10308         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10309         ($(objpfx)tst-pcre-mem): Likewise.
10310         ($(objpfx)tst-boost-mem): Likewise.
10311         ($(objpfx)tst-getconf.out): Likewise.
10312         ($(objpfx)bug-ga2-mem): Likewise.
10313         ($(objpfx)bug-glob2-mem): Likewise.
10314         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10315         ($(objpfx)mtrace-tst-leaks2): Likewise.
10316         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10317         ($(objpfx)tst-printf.out): Likewise.
10318         ($(objpfx)tst-setvbuf1.out): Likewise.
10319         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10320         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10321         ($(objpfx)tst-fmtmsg.out): Likewise.
10322         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10323         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10324
10325         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10326         * bits/sigaction.h [__USE_MISC]: Likewise.
10327         * bits/waitstatus.h: Update #endif comments.
10328         * ctype/ctype.h: Likewise.
10329         * dirent/dirent.h: Likewise.
10330         [__USE_MISC]: Remove redundant conditionals.
10331         * grp/grp.h: Update #endif comments.
10332         [__USE_GNU]: Remove redundant conditionals.
10333         [__USE_MISC]: Likewise.
10334         * inet/netinet/in.h [__USE_GNU]: Likewise.
10335         * io/sys/stat.h [__USE_MISC]: Likewise.
10336         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10337         * libio/bits/stdio.h: Update #endif comments.
10338         [__USE_MISC]: Remove redundant conditionals.
10339         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10340         * libio/stdio.h: Update #endif comments.
10341         [__USE_MISC]: Remove redundant conditionals.
10342         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10343         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10344         * math/math.h: Update #else and #endif comments.
10345         [__USE_MISC]: Remove redundant conditionals.
10346         * misc/sys/uio.h: Update #endif comments.
10347         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10348         * posix/glob.h [__USE_MISC]: Likewise.
10349         * posix/sys/types.h: Update #endif comments.
10350         [__USE_MISC]: Remove redundant conditionals.
10351         * posix/sys/wait.h: Update #endif comments.
10352         [__USE_MISC]: Remove redundant conditionals.
10353         * posix/unistd.h: Update #endif comments.
10354         [__USE_MISC]: Remove redundant conditionals.
10355         * pwd/pwd.h [__USE_GNU]: Likewise.
10356         [__USE_MISC]: Likewise.
10357         * resolv/netdb.h [__USE_GNU]: Likewise.
10358         * signal/signal.h: Update #endif comments.
10359         [__USE_MISC]: Remove redundant conditionals.
10360         * stdlib/stdlib.h: Update #else and #endif comments.
10361         [__USE_MISC]: Remove redundant conditionals.
10362         [__USE_GNU]: Likewise.
10363         * string/bits/string2.h [__USE_MISC]: Likewise.
10364         * string/string.h: Update #endif comments.
10365         [__USE_MISC]: Remove redundant conditionals.
10366         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10367         Likewise.
10368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10369         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10370         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10371         Likewise.
10372         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10373         Likewise.
10374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10375         comments.
10376         [__USE_MISC]: Remove redundant conditionals.
10377         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10378         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10379         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10380         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10381         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10382         Likewise.
10383         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10384         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10387         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10388         Likewise.
10389         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10392         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10393         Likewise.
10394         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10395         Likewise.
10396         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10397         * sysdeps/x86/bits/string.h: Update #endif comments.
10398         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10399         conditionals.
10400         * time/sys/time.h: Update #endif comments.
10401         * time/time.h: Likewise.
10402         [__USE_MISC]: Remove redundant conditionals.
10403
10404 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10405
10406         [BZ #16600]
10407         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10408
10409 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10410
10411         * Versions.def (librt): Add GLIBC_2.17.
10412
10413 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10414
10415         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10416         synonym for _SYS_AUXV_H to allow direct inclusion.
10417         * sysdeps/sparc/bits/hwcap.h: Likewise.
10418         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10419         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10420         * sysdeps/sparc/sysdep.h: Likewise.
10421
10422 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10423
10424         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10425
10426 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10427
10428         * benchtests/bench-strrchr.c: Print length instead of position.
10429
10430 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10431
10432         [BZ #16611]
10433         * sysdeps/unix/sysv/linux/kernel-features.h
10434         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10435         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10436         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10437         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10438         Likewise.
10439         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10440         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10441         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10442         (__ASSUME_SENDMMSG): Define instead of using previous
10443         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10444         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10445         (__ASSUME_SENDMMSG_SYSCALL): Define.
10446         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10447         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10448         Likewise.
10449         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10450         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10451         Likewise.
10452         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10453         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10454         Likewise.
10455         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10456         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10457         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10458         [__ASSUME_SENDMMSG]: Change conditionals to
10459         [__ASSUME_SENDMMSG_SOCKETCALL].
10460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10461         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10462         Define.
10463         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10464         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10467         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10468         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10469         [!__ASSUME_SENDMMSG]: Change conditional to
10470         [!__ASSUME_SENDMMSG_SOCKETCALL].
10471         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10472         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10473         Define.
10474
10475         [BZ #16610]
10476         * sysdeps/unix/sysv/linux/kernel-features.h
10477         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10478         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10479         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10480         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10481         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10482         [__i386__ || __sparc__]
10483         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10484         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10485         (__ASSUME_RECVMMSG): Define instead of using previous
10486         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10487         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10488         (__ASSUME_RECVMMSG_SYSCALL): Define.
10489         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10490         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10491         Likewise.
10492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10493         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10494         Likewise.
10495         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10497         Likewise.
10498         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10499         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10500         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10501         [__ASSUME_RECVMMSG]: Change condition to
10502         [__ASSUME_RECVMMSG_SOCKETCALL].
10503         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10504         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10505         Define.
10506         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10507         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10508         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10509         Likewise.
10510         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10511         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10512         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10513         [!__ASSUME_RECVMMSG]: Change condition to
10514         [!__ASSUME_RECVMMSG_SOCKETCALL].
10515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10516         (__ASSUME_RECVMMSG_SYSCALL): Define.
10517
10518         [BZ #16609]
10519         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10520         __powerpc__ || __s390__ || __sh__ || __sparc__]
10521         (__ASSUME_SOCKETCALL): Define.
10522         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10523         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10524         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10525         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10526         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10527         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10528         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10529         (__ASSUME_ACCEPT4): Define instead of using previous
10530         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10531         __powerpc__ || __sparc__ || __s390__)] condition.
10532         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10533         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10534         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10535         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10536         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10537         [!__ASSUME_ACCEPT4]: Change condition to
10538         [!__ASSUME_ACCEPT4_SOCKETCALL].
10539         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10540         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10541         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10542         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10543         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10544         __ASSUME_ACCEPT4_SYSCALL.
10545         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10546         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10547         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10548         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10549         __ASSUME_ACCEPT4_SYSCALL.
10550         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10551         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10552         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10553         [__ASSUME_ACCEPT4]: Change condition to
10554         [__ASSUME_ACCEPT4_SOCKETCALL].
10555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10556         (__ASSUME_SOCKETCALL): Define.
10557         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10558         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10559         (__ASSUME_SOCKETCALL): Define.
10560         (__ASSUME_ACCEPT4): Remove.
10561         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10562         Define.
10563         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10564         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10565         Likewise.
10566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10567         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10568
10569         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10570         macro.
10571         (HWCAP_ARM_LPAE): Likewise.
10572         (HWCAP_ARM_EVTSTRM): Likewise.
10573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10574         Add vpfd32, lpae and evtstrm.
10575         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10576         Increase to 22.
10577
10578 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10579
10580         * math/auto-libm-test-in: Add tests of clog10.
10581         * math/auto-libm-test-out: Regenerated.
10582         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10583         * sysdeps/i386/fpu/libm-test-ulps: Update.
10584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10585
10586 2014-02-18  Andreas Schwab  <schwab@suse.de>
10587
10588         [BZ #16574]
10589         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10590         Store non-zero if the second buffer was newly allocated.
10591         (send_dg): Likewise.
10592         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10593         to send_vc and send_dg.
10594         (res_nsend): Pass NULL for ansp2_malloced.
10595         * resolv/res_query.c (__libc_res_nquery): Add parameter
10596         answerp2_malloced and pass it down to __libc_res_nsend.
10597         (res_nquery): Pass additional NULL to __libc_res_nquery.
10598         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10599         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10600         second answer buffer if answerp2_malloced was set.
10601         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10602         (__libc_res_nquerydomain): Add parameter
10603         answerp2_malloced and pass it down to __libc_res_nquery.
10604         (res_nquerydomain): Pass additional NULL to
10605         __libc_res_nquerydomain.
10606         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10607         additional NULL to __libc_res_nsend and __libc_res_nquery.
10608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10609         additional NULL to __libc_res_nsearch.
10610         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10611         parameter of __libc_res_nsearch to check for separately allocated
10612         second buffer.
10613         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10614         __libc_res_nquery.
10615         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10616         additional NULL to __libc_res_nquery.
10617         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10618         __libc_res_nsearch.
10619         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10620         * include/resolv.h: Update prototypes of __libc_res_nquery,
10621         __libc_res_nsearch, __libc_res_nsend.
10622
10623 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10624
10625         * math/auto-libm-test-in: Add tests of fma.
10626         * math/auto-libm-test-out: Regenerated.
10627         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10628         (fma_towardzero_test_data): Likewise.
10629         (fma_downward_test_data): Likewise.
10630         (fma_upward_test_data): Likewise.
10631         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10632         mpc_mode.
10633         (rounding_modes): Add values for new field.
10634         (func_calc_method): Add value mpfr_fff_f.
10635         (func_calc_desc): Add mpfr_fff_f union field.
10636         (test_function): Add field exact_args.
10637         (FUNC): Add macro argument EXACT_ARGS.
10638         (FUNC_mpfr_f_f): Update call to FUNC.
10639         (FUNC_mpfr_f_f): Likewise.
10640         (FUNC_mpfr_ff_f): Likewise.
10641         (FUNC_mpfr_if_f): Likewise.
10642         (FUNC_mpc_c_f): Likewise.
10643         (FUNC_mpc_c_c): Likewise.
10644         (test_functions): Add fma.  Update calls to FUNC.
10645         (handle_input_arg): Add argument exact_args.
10646         (add_test): Update call to handle_input_arg.
10647         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10648         (output_for_one_input_case): Update call to calc_generic_results.
10649         Recalculate exact zero results in each rounding mode.
10650
10651         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10652         non-negative before setting low bit.
10653         * math/auto-libm-test-in: Mark one asin test possibly having
10654         spurious underflow.
10655         * math/auto-libm-test-out: Regenerated.
10656         * sysdeps/i386/fpu/libm-test-ulps: Update.
10657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658
10659 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10660
10661         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10662         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10663         ports/sysdeps/unix/sysv/linux/microblaze.
10664         * README: Add missing listing for microblaze*-*-linux-gnu.
10665
10666 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10667
10668         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10669         duplicate code
10670
10671 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10672
10673         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10674         * sysdeps/unix/sysv/linux/ia64: Move directory from
10675         ports/sysdeps/unix/sysv/linux/ia64.
10676         * README: Update listing for ia64-*-linux-gnu.
10677
10678 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10679             Joseph Myers  <joseph@codesourcery.com>
10680
10681         * Makeconfig (test-name): New variable.
10682         (evaluate-test): Likewise.
10683         * Makerules (do-test-clean): Remove .test-result files.
10684         (common-mostlyclean): Likewise.
10685         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10686         * scripts/evaluate-test.sh: New file.
10687
10688 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10689
10690         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10691         separate $(objpfx)tst-fopenloc-cmp.out and
10692         $(objpfx)tst-fopenloc-mem.out targets.
10693         (tests): Update dependencies.
10694         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10695         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10696         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10697         (tst-rxspencer-no-utf8-ARGS): New variable.
10698         (tst-rxspencer-no-utf8-ENV): Likewise.
10699         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10700         instead of $(objpfx)tst-rxspencer-mem.
10701         ($(objpfx)tst-rxspencer-mem): Change target to
10702         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10703         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10704         * posix/tst-rxspencer-no-utf8.c: New file.
10705
10706         * elf/Makefile ($(objpfx)order.out): Remove rule.
10707         [$(run-built-tests) = yes] (tests): Depend on
10708         $(objpfx)order-cmp.out.
10709         ($(objpfx)order-cmp.out): New rule.
10710         [$(run-built-tests) = yes] (tests): Depend on
10711         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10712         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10713         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10714         $(objpfx)tst-array5-static-cmp.out.
10715         ($(objpfx)tst-array1.out): Remove rule.
10716         ($(objpfx)tst-array1-cmp.out): New rule.
10717         ($(objpfx)tst-array1-static.out): Remove rule.
10718         ($(objpfx)tst-array1-static-cmp.out): New rule.
10719         ($(objpfx)tst-array2.out): Remove rule.
10720         ($(objpfx)tst-array2-cmp.out): New rule.
10721         ($(objpfx)tst-array3.out): Remove rule.
10722         ($(objpfx)tst-array3-cmp.out): New rule.
10723         ($(objpfx)tst-array4.out): Remove rule.
10724         ($(objpfx)tst-array4-cmp.out): New rule.
10725         ($(objpfx)tst-array5.out): Remove rule.
10726         ($(objpfx)tst-array5-cmp.out): New rule.
10727         ($(objpfx)tst-array5-static.out): Remove rule.
10728         ($(objpfx)tst-array5-static-cmp.out): New rule.
10729         [$(run-built-tests) = yes] (tests): Depend on
10730         $(objpfx)order2-cmp.out.
10731         ($(objpfx)order2.out): Remove rule.
10732         ($(objpfx)order2-cmp.out): New rule.
10733         ($(objpfx)tst-initorder.out): Remove rule.
10734         [$(run-built-tests) = yes] (tests): Depend on
10735         $(objpfx)tst-initorder-cmp.out.
10736         ($(objpfx)tst-initorder-cmp.out): New rule.
10737         ($(objpfx)tst-initorder2.out): Remove rule.
10738         [$(run-built-tests) = yes] (tests): Depend on
10739         $(objpfx)tst-initorder2-cmp.out.
10740         ($(objpfx)tst-initorder2-cmp.out): New rule.
10741         [$(run-built-tests) = yes] (tests): Depend on
10742         $(objpfx)tst-unused-dep-cmp.out.
10743         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10744         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10745         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10746         on $(objpfx)tst-setvbuf1-cmp.out.
10747         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10748         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10749         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10750         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10751         ($(objpfx)tst-svc.out): Remove rule.
10752         ($(objpfx)tst-svc-cmp.out): New rule.
10753
10754 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10755
10756         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10757         * ctype/ctype.h [__USE_MISC]: Likewise.
10758         * dirent/dirent.h [__USE_MISC]: Likewise.
10759         * grp/grp.h [__USE_MISC]: Likewise.
10760         * io/fcntl.h [__USE_MISC]: Likewise.
10761         * io/sys/stat.h [__USE_MISC]: Likewise.
10762         * libio/stdio.h [__USE_MISC]: Likewise.
10763         * posix/unistd.h [__USE_MISC]: Likewise.
10764         * pwd/pwd.h [__USE_MISC]: Likewise.
10765         * stdlib.h [__USE_MISC]: Likewise.
10766         * string/bits/string2.h [__USE_MISC]: Likewise.
10767         * string/string.h [__USE_MISC]: Likewise.
10768         * time/time.h [__USE_MISC]: Likewise.
10769
10770 2014-02-13  Andreas Schwab  <schwab@suse.de>
10771
10772         [BZ #16574]
10773         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10774         second answer buffer if it was separately allocated.
10775
10776 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10777
10778         * sysdeps/mips/math-tests.h: Include <features.h>.
10779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10780         (ROUNDING_TESTS_long_double): Do not define.
10781         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10782         (EXCEPTION_TESTS_long_double): Likewise.
10783         * sysdeps/mips/mips64/libm-test-ulps: Update.
10784
10785         * include/features.h (__USE_BSD): Remove macro definitions.
10786         (__USE_SVID): Likewise.
10787         (_BSD_SOURCE): Likewise.
10788         (_SVID_SOURCE): Likewise.
10789         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10790         from definition of _DEFAULT_SOURCE.
10791         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10792         [_DEFAULT_SOURCE].
10793         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10794         * bits/mman.h [__USE_BSD]: Likewise.
10795         * bits/termios.h [__USE_BSD]: Likewise.
10796         * bits/waitstatus.h [__USE_BSD]: Likewise.
10797         * ctype/ctype.h [__USE_SVID]: Likewise.
10798         * dirent/dirent.h [__USE_BSD]: Likewise.
10799         * grp/grp.h [__USE_SVID]: Likewise.
10800         [__USE_BSD]: Likewise.
10801         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10802         * io/fcntl.h [__USE_BSD]: Likewise.
10803         * io/ftw.h [__USE_BSD]: Likewise.
10804         * io/sys/stat.h [__USE_BSD]: Likewise.
10805         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10806         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10807         * libio/stdio.h [__USE_SVID]: Likewise.
10808         [__USE_BSD]: Likewise.
10809         * math/math.h [__USE_SVID]: Likewise.
10810         [__USE_BSD]: Likewise.
10811         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10812         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10813         * misc/search.h [__USE_SVID]: Likewise.
10814         * misc/sys/mman.h [__USE_BSD]: Likewise.
10815         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10816         * misc/sys/uio.h [__USE_BSD]: Likewise.
10817         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10818         * posix/glob.h [__USE_BSD]: Likewise.
10819         * posix/regex.h [__USE_BSD]: Likewise.
10820         * posix/sys/types.h [__USE_BSD]: Likewise.
10821         [__USE_SVID]: Likewise.
10822         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10823         * posix/sys/wait.h [__USE_BSD]: Likewise.
10824         [__USE_SVID]: Likewise.
10825         * posix/unistd.h [__USE_BSD]: Likewise.
10826         [__USE_SVID]: Likewise.
10827         * pwd/pwd.h [__USE_SVID]: Likewise.
10828         * resolv/netdb.h [__USE_BSD]: Likewise.
10829         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10830         * signal/signal.h [__USE_BSD]: Likewise.
10831         [__USE_SVID]: Likewise.
10832         * socket/sys/socket.h [__USE_BSD]: Likewise.
10833         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10834         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10835         [__USE_SVID]: Likewise.
10836         * string/bits/string2.h [__USE_BSD]: Likewise.
10837         [__USE_SVID]: Likewise.
10838         * string/bits/string3.h [__USE_BSD]: Likewise.
10839         * string/endian.h [__USE_BSD]: Likewise.
10840         * string/string.h [__USE_SVID]: Likewise.
10841         [__USE_BSD]: Likewise.
10842         * string/strings.h [__USE_BSD]: Likewise.
10843         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10844         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10845         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10846         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10847         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10848         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10853         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10854         Likewise.
10855         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10856         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10857         Likewise.
10858         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10859         Likewise.
10860         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10861         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10862         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10863         Likewise.
10864         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10865         Likewise.
10866         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10867         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10868         * termios/termios.h [__USE_BSD]: Likewise.
10869         * time/sys/time.h [__USE_BSD]: Likewise.
10870         * time/time.h [__USE_BSD]: Likewise.
10871         [__USE_SVID]: Likewise.
10872
10873         * Makefile (subdir_targets): Remove subdir_lint.out.
10874
10875         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10876         (do-tst-printf): Likewise.
10877         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10878         $(objpfx)tst-printf.out.
10879
10880         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10881
10882         * Makerules (check-abi-%): Change target to
10883         $(objpfx)check-abi-%.out.
10884         (check-abi target): Update dependencies.
10885         (check-abi-pattern variable): Redirect output of diff to $@.
10886         (check-abi variable): Likewise.
10887         * elf/Makefile (check-abi): Update dependencies.
10888
10889         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10890         unused.
10891         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10892         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10893         subnormal range.
10894         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10895         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10896         value has largest subnormal exponent.
10897         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10898         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10899         * sysdeps/aarch64/soft-fp/sfp-machine.h
10900         (_FP_TININESS_AFTER_ROUNDING): New macro.
10901         * sysdeps/alpha/soft-fp/sfp-machine.h
10902         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10903         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10904         Likewise.
10905         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10907         * sysdeps/mips/soft-fp/sfp-machine.h
10908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10909         * sysdeps/powerpc/soft-fp/sfp-machine.h
10910         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10911         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10912         Likewise.
10913         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10915         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10916         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10917         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10918         Likewise.
10919
10920 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10921
10922         [BZ #16545]
10923         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10924         model 1.
10925
10926 2014-02-12  Richard Henderson  <rth@redhat.com>
10927
10928         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10929         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10930         * sysdeps/unix/sysv/linux/alpha: Move directory from
10931         ports/sysdeps/unix/sysv/linux/alpha.
10932         * README: Update listing for alpha-*-linux-gnu.
10933
10934 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10935
10936         * include/features.h: Update comment documenting feature test
10937         macros.
10938         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10939         _DEFAULT_SOURCE.
10940         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10941         (_SVID_SOURCE): Likewise.
10942         (_DEFAULT_SOURCE): Update description of default features.
10943         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10944         with _GNU_SOURCE.
10945         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10946         (S_ISVTX): Likewise.
10947         * manual/math.texi (Mathematical Constants): Likewise.
10948         * manual/signal.texi (Interrupted Primitives): Likewise.
10949         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10950         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10951         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10952         Don't refer to _SVID_SOURCE in warning text.
10953
10954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10955
10956         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10957         already defined.
10958         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10959         * sysdeps/mips/dl-lookup.c: Remove.
10960         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10961
10962 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10963
10964         [BZ #16447]
10965         * math/auto-libm-test-in: Add testcase for expl.
10966         * math/auto-libm-test-out: Regenerate.
10967         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10968         calculation of unsafe.
10969         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10970
10971 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10972
10973         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10974         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10975         ports/sysdeps/unix/sysv/linux/aarch64.
10976         * README: Update listing for aarch64*-*-linux-gnu.
10977
10978 2014-02-11  Will Newton  <will.newton@linaro.org>
10979
10980         * manual/probes.texi (Mathematical Function Probes): Use
10981         "triggered" instead of "hit".
10982
10983         * manual/probes.texi (Internal Probes): Add documentation
10984         of setjmp, longjmp and longjmp_target probes.
10985
10986         * include/stap-probe.h: Add comment about probe argument
10987         format.
10988
10989         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10990         definition.  (tr_where, tr_freehook, tr_mallochook,
10991         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10992
10993 2014-02-11  David S. Miller  <davem@davemloft.net>
10994
10995         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10996         processing int_tests.
10997
10998 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10999
11000         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11001         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11002         * sysdeps/unix/sysv/linux/mips: Move directory from
11003         ports/sysdeps/unix/sysv/linux/mips.
11004         * README: Update listing for mips-*-linux-gnu and
11005         mips64-*-linux-gnu.
11006
11007 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11008
11009         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11010         * sysdeps/unix/sysv/linux/m68k: Move directory from
11011         ports/sysdeps/unix/sysv/linux/m68k.
11012         * README: Update listing for m68k-*-linux-gnu.
11013
11014 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11015
11016         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11017         * sysdeps/unix/sysv/linux/generic: Move directory from
11018         ports/sysdeps/unix/sysv/linux/generic.
11019         * sysdeps/unix/sysv/linux/tile: Move directory from
11020         ports/sysdeps/unix/sysv/linux/tile.
11021         * README: Update listing for tile*-*-linux-gnu.
11022
11023 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11024
11025         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11026         __builtin_expect.
11027         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11028         * catgets/open_catalog.c (__open_catalog): Likewise.
11029         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11030         * debug/confstr_chk.c: Likewise.
11031         * debug/fread_chk.c (__fread_chk): Likewise.
11032         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11033         * debug/getgroups_chk.c: Likewise.
11034         * debug/mbsnrtowcs_chk.c: Likewise.
11035         * debug/mbsrtowcs_chk.c: Likewise.
11036         * debug/mbstowcs_chk.c: Likewise.
11037         * debug/memcpy_chk.c: Likewise.
11038         * debug/memmove_chk.c: Likewise.
11039         * debug/mempcpy_chk.c: Likewise.
11040         * debug/memset_chk.c: Likewise.
11041         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11042         * debug/strcat_chk.c (__strcat_chk): Likewise.
11043         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11044         * debug/strncat_chk.c (__strncat_chk): Likewise.
11045         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11046         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11047         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11048         * debug/wcpncpy_chk.c: Likewise.
11049         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11050         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11051         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11052         * debug/wcsncpy_chk.c: Likewise.
11053         * debug/wcsnrtombs_chk.c: Likewise.
11054         * debug/wcsrtombs_chk.c: Likewise.
11055         * debug/wcstombs_chk.c: Likewise.
11056         * debug/wmemcpy_chk.c: Likewise.
11057         * debug/wmemmove_chk.c: Likewise.
11058         * debug/wmempcpy_chk.c: Likewise.
11059         * debug/wmemset_chk.c: Likewise.
11060         * dirent/scandirat.c (SCANDIRAT): Likewise.
11061         * dlfcn/dladdr1.c (dladdr1): Likewise.
11062         * dlfcn/dladdr.c (dladdr): Likewise.
11063         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11064         * dlfcn/dlerror.c (__dlerror): Likewise.
11065         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11066         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11067         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11068         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11069         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11070         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11071         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11072         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11073         Likewise.
11074         * elf/dl-conflict.c: Likewise.
11075         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11076         * elf/dl-dst.h: Likewise.
11077         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11078         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11079         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11080         * elf/dl-init.c (call_init, _dl_init): Likewise.
11081         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11082         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11083         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11084         Likewise.
11085         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11086         Likewise.
11087         * elf/dl-minimal.c (__libc_memalign): Likewise.
11088         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11089         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11090         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11091         * elf/dl-sym.c (do_sym): Likewise.
11092         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11093         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11094         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11095         * elf/dl-writev.h (_dl_writev): Likewise.
11096         * elf/ldconfig.c (search_dir): Likewise.
11097         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11098         (dl_main): Likewise.
11099         * elf/setup-vdso.h (setup_vdso): Likewise.
11100         * grp/compat-initgroups.c (compat_call): Likewise.
11101         * grp/fgetgrent.c (fgetgrent): Likewise.
11102         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11103         * grp/putgrent.c (putgrent): Likewise.
11104         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11105         Likewise.
11106         * hurd/hurdinit.c: Likewise.
11107         * iconvdata/8bit-gap.c (struct): Likewise.
11108         * iconvdata/ansi_x3.110.c : Likewise.
11109         * iconvdata/big5.c : Likewise.
11110         * iconvdata/big5hkscs.c : Likewise.
11111         * iconvdata/cp1255.c: Likewise.
11112         * iconvdata/cp1258.c : Likewise.
11113         * iconvdata/cp932.c : Likewise.
11114         * iconvdata/euc-cn.c: Likewise.
11115         * iconvdata/euc-jisx0213.c : Likewise.
11116         * iconvdata/euc-jp.c: Likewise.
11117         * iconvdata/euc-jp-ms.c : Likewise.
11118         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11119         * iconvdata/gb18030.c : Likewise.
11120         * iconvdata/gbbig5.c (const): Likewise.
11121         * iconvdata/gbgbk.c: Likewise.
11122         * iconvdata/gbk.c : Likewise.
11123         * iconvdata/ibm1364.c : Likewise.
11124         * iconvdata/ibm930.c : Likewise.
11125         * iconvdata/ibm932.c: Likewise.
11126         * iconvdata/ibm933.c : Likewise.
11127         * iconvdata/ibm935.c : Likewise.
11128         * iconvdata/ibm937.c : Likewise.
11129         * iconvdata/ibm939.c : Likewise.
11130         * iconvdata/ibm943.c: Likewise.
11131         * iconvdata/iso_11548-1.c: Likewise.
11132         * iconvdata/iso-2022-cn.c : Likewise.
11133         * iconvdata/iso-2022-cn-ext.c : Likewise.
11134         * iconvdata/iso-2022-jp-3.c: Likewise.
11135         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11136         * iconvdata/iso-2022-kr.c : Likewise.
11137         * iconvdata/iso646.c (gconv_end): Likewise.
11138         * iconvdata/iso_6937-2.c : Likewise.
11139         * iconvdata/iso_6937.c : Likewise.
11140         * iconvdata/iso8859-1.c: Likewise.
11141         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11142         * iconvdata/shift_jisx0213.c : Likewise.
11143         * iconvdata/sjis.c : Likewise.
11144         * iconvdata/t.61.c : Likewise.
11145         * iconvdata/tcvn5712-1.c : Likewise.
11146         * iconvdata/tscii.c: Likewise.
11147         * iconvdata/uhc.c : Likewise.
11148         * iconvdata/unicode.c (gconv_end): Likewise.
11149         * iconvdata/utf-16.c (gconv_end): Likewise.
11150         * iconvdata/utf-32.c (gconv_end): Likewise.
11151         * iconvdata/utf-7.c (base64): Likewise.
11152         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11153         * iconv/gconv_close.c (__gconv_close): Likewise.
11154         * iconv/gconv_open.c (__gconv_open): Likewise.
11155         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11156         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11157         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11158         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11159         (ucs4le_internal_loop_single): Likewise.
11160         * iconv/iconv.c (iconv): Likewise.
11161         * iconv/iconv_close.c: Likewise.
11162         * iconv/loop.c (SINGLE): Likewise.
11163         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11164         * include/atomic.h: Likewise.
11165         * inet/inet6_option.c (option_alloc): Likewise.
11166         * intl/bindtextdom.c (set_binding_values): Likewise.
11167         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11168         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11169         * intl/localealias.c (read_alias_file): Likewise.
11170         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11171         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11172         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11173         * libio/fmemopen.c (fmemopen): Likewise.
11174         * libio/iofgets.c (_IO_fgets): Likewise.
11175         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11176         * libio/iofgetws.c (fgetws): Likewise.
11177         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11178         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11179         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11180         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11181         * locale/findlocale.c (_nl_find_locale): Likewise.
11182         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11183         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11184         Likewise.
11185         * locale/setlocale.c (setlocale): Likewise.
11186         * login/programs/pt_chown.c (main): Likewise.
11187         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11188         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11189         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11190         (mmap, mmap64, mremap, munmap): Likewise.
11191         * math/e_exp2l.c: Likewise.
11192         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11193         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11194         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11195         * math/s_catan.c (__catan): Likewise.
11196         * math/s_catanf.c (__catanf): Likewise.
11197         * math/s_catanh.c (__catanh): Likewise.
11198         * math/s_catanhf.c (__catanhf): Likewise.
11199         * math/s_catanhl.c (__catanhl): Likewise.
11200         * math/s_catanl.c (__catanl): Likewise.
11201         * math/s_ccosh.c (__ccosh): Likewise.
11202         * math/s_ccoshf.c (__ccoshf): Likewise.
11203         * math/s_ccoshl.c (__ccoshl): Likewise.
11204         * math/s_cexp.c (__cexp): Likewise.
11205         * math/s_cexpf.c (__cexpf): Likewise.
11206         * math/s_cexpl.c (__cexpl): Likewise.
11207         * math/s_clog10.c (__clog10): Likewise.
11208         * math/s_clog10f.c (__clog10f): Likewise.
11209         * math/s_clog10l.c (__clog10l): Likewise.
11210         * math/s_clog.c (__clog): Likewise.
11211         * math/s_clogf.c (__clogf): Likewise.
11212         * math/s_clogl.c (__clogl): Likewise.
11213         * math/s_csin.c (__csin): Likewise.
11214         * math/s_csinf.c (__csinf): Likewise.
11215         * math/s_csinh.c (__csinh): Likewise.
11216         * math/s_csinhf.c (__csinhf): Likewise.
11217         * math/s_csinhl.c (__csinhl): Likewise.
11218         * math/s_csinl.c (__csinl): Likewise.
11219         * math/s_csqrt.c (__csqrt): Likewise.
11220         * math/s_csqrtf.c (__csqrtf): Likewise.
11221         * math/s_csqrtl.c (__csqrtl): Likewise.
11222         * math/s_ctan.c (__ctan): Likewise.
11223         * math/s_ctanf.c (__ctanf): Likewise.
11224         * math/s_ctanh.c (__ctanh): Likewise.
11225         * math/s_ctanhf.c (__ctanhf): Likewise.
11226         * math/s_ctanhl.c (__ctanhl): Likewise.
11227         * math/s_ctanl.c (__ctanl): Likewise.
11228         * math/w_pow.c: Likewise.
11229         * math/w_powf.c: Likewise.
11230         * math/w_powl.c: Likewise.
11231         * math/w_scalb.c (sysv_scalb): Likewise.
11232         * math/w_scalbf.c (sysv_scalbf): Likewise.
11233         * math/w_scalbl.c (sysv_scalbl): Likewise.
11234         * misc/error.c (error_tail): Likewise.
11235         * misc/pselect.c (__pselect): Likewise.
11236         * nis/nis_callback.c (__nis_create_callback): Likewise.
11237         * nis/nis_call.c (__nisfind_server): Likewise.
11238         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11239         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11240         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11241         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11242         * nis/nis_lookup.c (nis_lookup): Likewise.
11243         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11244         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11245         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11246         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11247         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11248         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11249         * nis/nss_compat/compat-initgroups.c (add_group)
11250         (internal_getgrent_r): Likewise.
11251         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11252         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11253         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11254         (internal_getspnam_r): Likewise.
11255         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11256         (_nss_nis_getaliasbyname_r): Likewise.
11257         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11258         (_nss_nis_getntohost_r): Likewise.
11259         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11260         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11261         (_nss_nis_getgrgid_r): Likewise.
11262         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11263         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11264         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11265         (_nss_nis_gethostbyname4_r): Likewise.
11266         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11267         (initgroups_netid): Likewise.
11268         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11269         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11270         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11271         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11272         (_nss_nis_getprotobynumber_r): Likewise.
11273         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11274         (_nss_nis_getsecretkey): Likewise.
11275         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11276         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11277         (_nss_nis_getpwuid_r): Likewise.
11278         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11279         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11280         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11281         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11282         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11283         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11284         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11285         Likewise.
11286         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11287         (_nss_nisplus_getntohost_r): Likewise.
11288         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11289         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11290         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11291         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11292         Likewise.
11293         * nis/nss_nisplus/nisplus-initgroups.c
11294         (_nss_nisplus_initgroups_dyn): Likewise.
11295         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11296         (_nss_nisplus_getnetbyaddr_r): Likewise.
11297         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11298         (_nss_nisplus_getprotobynumber_r): Likewise.
11299         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11300         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11301         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11302         Likewise.
11303         * nis/nss_nisplus/nisplus-service.c
11304         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11305         (_nss_nisplus_getservbyport_r): Likewise.
11306         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11307         (_nss_nisplus_getspnam_r): Likewise.
11308         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11309         Likewise.
11310         * nscd/aicache.c (addhstaiX): Likewise.
11311         * nscd/cache.c (cache_search, prune_cache): Likewise.
11312         * nscd/connections.c (register_traced_file, send_ro_fd)
11313         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11314         (main_loop_epoll): Likewise.
11315         * nscd/grpcache.c (addgrbyX): Likewise.
11316         * nscd/hstcache.c (addhstbyX): Likewise.
11317         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11318         * nscd/mem.c (gc, mempool_alloc): Likewise.
11319         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11320         (addinnetgrX): Likewise.
11321         * nscd/nscd-client.h (__nscd_acquire_maplock)
11322         (__nscd_drop_map_ref): Likewise.
11323         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11324         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11325         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11326         Likewise.
11327         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11328         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11329         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11330         (__nscd_get_map_ref): Likewise.
11331         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11332         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11333         Likewise.
11334         * nscd/pwdcache.c (addpwbyX): Likewise.
11335         * nscd/selinux.c (preserve_capabilities): Likewise.
11336         * nscd/servicescache.c (addservbyX): Likewise.
11337         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11338         * posix/fnmatch.c (fnmatch): Likewise.
11339         * posix/getopt.c (_getopt_internal_r): Likewise.
11340         * posix/glob.c (glob, glob_in_dir): Likewise.
11341         * posix/wordexp.c (exec_comm_child): Likewise.
11342         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11343         (getanswer_r, gaih_getanswer_slice): Likewise.
11344         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11345         * resolv/res_init.c: Likewise.
11346         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11347         * resolv/res_query.c (__libc_res_nquery): Likewise.
11348         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11349         Likewise.
11350         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11351         * stdio-common/perror.c (perror): Likewise.
11352         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11353         * stdio-common/tmpnam.c (tmpnam): Likewise.
11354         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11355         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11356         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11357         Likewise.
11358         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11359         * stdlib/putenv.c (putenv): Likewise.
11360         * stdlib/setenv.c (__add_to_environ): Likewise.
11361         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11362         * stdlib/strtol_l.c (INTERNAL): Likewise.
11363         * string/memmem.c (memmem): Likewise.
11364         * string/strerror.c (strerror): Likewise.
11365         * string/strnlen.c (__strnlen): Likewise.
11366         * string/test-memmem.c (simple_memmem): Likewise.
11367         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11368         * sunrpc/pm_getport.c (__get_socket): Likewise.
11369         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11370         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11371         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11372         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11373         Likewise.
11374         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11375         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11376         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11377         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11378         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11379         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11380         Likewise.
11381         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11382         Likewise.
11383         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11384         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11386         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11387         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11389         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11390         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11391         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11392         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11393         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11394         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11395         Likewise.
11396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11397         Likewise.
11398         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11399         Likewise.
11400         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11401         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11404         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11405         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11406         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11407         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11408         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11409         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11410         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11412         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11416         Likewise.
11417         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11418         Likewise.
11419         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11420         Likewise.
11421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11422         Likewise.
11423         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11425         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11426         Likewise.
11427         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11428         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11429         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11430         * sysdeps/posix/sleep.c: Likewise.
11431         * sysdeps/posix/tempname.c: Likewise.
11432         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11433         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11434         Likewise.
11435         * sysdeps/powerpc/powerpc32/dl-machine.h
11436         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11437         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11439         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11440         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11441         Likewise.
11442         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11443         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11445         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11446         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11447         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11448         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11449         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11450         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11451         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11452         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11453         (elf_machine_lazy_rel): Likewise.
11454         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11455         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11456         (elf_machine_lazy_rel): Likewise.
11457         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11458         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11459         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11460         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11461         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11462         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11463         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11464         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11465         Likewise.
11466         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11467         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11468         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11469         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11470         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11471         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11472         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11473         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11475         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11476         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11477         Likewise.
11478         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11479         (__posix_fallocate64_l64): Likewise.
11480         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11481         (posix_fallocate): Likewise.
11482         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11485         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11486         (getifaddrs_internal): Likewise.
11487         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11488         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11489         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11490         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11491         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11492         (__posix_fallocate64_l64): Likewise.
11493         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11494         Likewise.
11495         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11496         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11497         (__get_clockfreq): Likewise.
11498         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11499         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11500         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11501         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11503         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11504         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11505         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11506         Likewise.
11507         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11508         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11509         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11510         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11511         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11512         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11513         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11516         (posix_fallocate): Likewise.
11517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11518         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11519         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11520         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11521         (elf_machine_rela, elf_machine_rela_relative)
11522         (elf_machine_lazy_rel): Likewise.
11523         * time/asctime.c (asctime_internal): Likewise.
11524         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11525         * time/tzset.c (__tzset_parse_tz): Likewise.
11526         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11527         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11528         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11529         * wcsmbs/wcsmbsload.h: Likewise.
11530
11531         [BZ #15894]
11532         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11533
11534         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11535         (arena_get2): Remove THREAD_STATS conditionals.
11536         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11537         (__malloc_stats, int): Likewise.
11538
11539 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11540
11541         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11542         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11543
11544         * manual/setjmp.texi: Fix typos/grammar errors.
11545
11546         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11547         Only return early when n is <= 0.  Delete unused return statement.
11548
11549         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11550         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11551         * debug/tst-longjmp_chk3.c: New file.
11552
11553         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11554         (test_main): Replace code with set_fortify_handler call.
11555         * debug/test-strcpy_chk.c: Likewise.
11556         * debug/tst-chk1.c: Likewise.
11557         * debug/tst-longjmp_chk.c: Likewise.
11558         * test-skeleton.c: Include fcntl.h & paths.h
11559         (set_fortify_handler): Define.
11560
11561         * debug/tst-longjmp_chk.c: Add header comment and include
11562         ../test-skeleton.c.
11563         (do_test): Mark static.
11564         (TEST_FUNCTION): Define.
11565
11566         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11567         (IP_PMTUDISC_INTERFACE): Likewise.
11568         (IP_MULTICAST_IF): Likewise.
11569         (IP_MULTICAST_TTL): Likewise.
11570         (IP_MULTICAST_LOOP): Likewise.
11571         (IP_ADD_MEMBERSHIP): Likewise.
11572         (IP_DROP_MEMBERSHIP): Likewise.
11573         (IP_UNBLOCK_SOURCE): Likewise.
11574         (IP_BLOCK_SOURCE): Likewise.
11575         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11576         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11577         (IP_MSFILTER): Likewise.
11578         (MCAST_JOIN_GROUP): Likewise.
11579         (MCAST_BLOCK_SOURCE): Likewise.
11580         (MCAST_UNBLOCK_SOURCE): Likewise.
11581         (MCAST_LEAVE_GROUP): Likewise.
11582         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11583         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11584         (MCAST_MSFILTER): Likewise.
11585         (IP_MULTICAST_ALL): Likewise.
11586         (IP_UNICAST_IF): Likewise.
11587
11588         * timezone/Makefile: Delete $(have-ksh) check.
11589         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11590         * timezone/tzselect.ksh: Add +x mode bits.
11591
11592         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11593         (ANON_INODE_FS_MAGIC): Likewise.
11594         (BDEVFS_MAGIC): Likewise.
11595         (BINFMTFS_MAGIC): Likewise.
11596         (BTRFS_TEST_MAGIC): Likewise.
11597         (CRAMFS_MAGIC_WEND): Likewise.
11598         (DEBUGFS_MAGIC): Likewise.
11599         (ECRYPTFS_SUPER_MAGIC): Likewise.
11600         (EXT3_SUPER_MAGIC): Likewise.
11601         (EXT4_SUPER_MAGIC): Likewise.
11602         (FUTEXFS_SUPER_MAGIC): Likewise.
11603         (HOSTFS_SUPER_MAGIC): Likewise.
11604         (HUGETLBFS_MAGIC): Likewise.
11605         (MINIX3_SUPER_MAGIC): Likewise.
11606         (MTD_INODE_FS_MAGIC): Likewise.
11607         (NILFS_SUPER_MAGIC): Likewise.
11608         (OPENPROM_SUPER_MAGIC): Likewise.
11609         (PIPEFS_MAGIC): Likewise.
11610         (PSTOREFS_MAGIC): Likewise.
11611         (QNX6_SUPER_MAGIC): Likewise.
11612         (RAMFS_MAGIC): Likewise.
11613         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11614         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11615         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11616         (SECURITYFS_MAGIC): Likewise.
11617         (SELINUX_MAGIC): Likewise.
11618         (SMACK_MAGIC): Likewise.
11619         (SOCKFS_MAGIC): Likewise.
11620         (SQUASHFS_MAGIC): Likewise.
11621         (STACK_END_MAGIC): Likewise.
11622         (TMPFS_MAGIC): Likewise.
11623         (USBDEVICE_SUPER_MAGIC): Likewise.
11624         (V9FS_MAGIC): Likewise.
11625         (XENFS_SUPER_MAGIC): Likewise.
11626         (CRAMFS_MAGIC): Fix typo in comment.
11627         (EXT2_SUPER_MAGIC): Update comment.
11628         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11629
11630 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11631
11632         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11633         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11634         * sysdeps/unix/sysv/linux/arm: Move directory from
11635         ports/sysdeps/unix/sysv/linux/arm.
11636         * README: Update listing for arm-*-linux-gnueabi.
11637
11638         * README: Remove mention of am33.
11639
11640 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11641
11642         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11643         than the comma operator, to avoid "rhs of comma has no effect"
11644         compiler warnings.
11645         (__sigfillset, __sigandset, __sigorset): Likewise.
11646         * include/signal.h (__sigemptyset): Likewise.
11647         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11648
11649 2014-02-07  Allan McRae  <allan@archlinux.org>
11650
11651         * version.h (RELEASE): Set to "development".
11652         (VERSION): Set to "2.19.90"
11653         * NEWS: Add 2.20 section.
11654
11655 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11656
11657         [BZ #16529]
11658         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11659
11660 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11661
11662         * manual/contrib.texi: Update entry for Carlos O'Donell,
11663         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11664
11665 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11666
11667         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11668
11669         * sysdeps/unix/sysv/linux/kernel-features.h
11670         [__LINUX_KERNEL_VERSION >= 0x020621]
11671         (__ASSUME_PROC_PID_TASK_COMM): Define.
11672
11673 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11674
11675         [BZ #16398]
11676         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11677         conversion when destination buffer does not have enough space.
11678         * libio/tst-ftell-partial-wide.c: New test case.
11679         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11680
11681         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11682         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11683         Leonard and Allan McRae.
11684
11685 2014-02-04  David S. Miller  <davem@davemloft.net>
11686
11687         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11688         32-bit.
11689
11690 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11691
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11693         New file
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11695         New file
11696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11697         New file.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11699         New file.
11700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11701         New file.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11703         New file.
11704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11705         New file.
11706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11707         New file.
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11709         New file.
11710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11711         New file.
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11713         New file.
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11715         New file.
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11717         New file.
11718
11719 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11720
11721         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11722         * shlib-versions: Likewise.
11723
11724 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11725             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11726
11727         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11728         (abilist-pattern): New variable, set to %-le.abilist.
11729
11730         * Makerules (abilist-pattern): New variable.
11731         (vpath): Use $(abilist-pattern) in place of %.abilist.
11732         (check-abi-% pattern rule): Likewise.
11733         (check-abi, update-abi): Likewise.
11734
11735 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11736
11737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11738
11739 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11740
11741         * manual/startup.texi: Add next, previous, and top entries for
11742         the `Program Arguments' and `Environment Variables' nodes.
11743
11744 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11745
11746         * manual/macros.texi: Add comments before MTASC-safety macros.
11747
11748         * manual/users.texi: Document MTASC-safety properties.
11749
11750         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11751         (pthread_getspecific, pthread_setspecific): Format with
11752         @deftypefun, and add @safety note.
11753         * manual/signal.texi: Move comments that analyze the above
11754         functions to their home place.
11755
11756 2014-02-03  Allan McRae  <allan@archlinux.org>
11757
11758         * po/sl.po: Update Slovenian translation from translation project.
11759
11760 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11761
11762         * manual/time.texi (timegm): Add missing blank after @c.
11763         Reported by Joseph Myers <joseph@codesourcery.com>.
11764
11765 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11766
11767         * manual/check-safety.sh: New.
11768         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11769
11770         * manual/terminal.texi: Document MTASC-safety properties.
11771
11772         * manual/filesys.texi: Document MTASC-safety properties.
11773
11774         * manual/errno.texi: Document MTASC-safety properties.
11775
11776         * manual/intro.texi: Document safety identifiers and
11777         conditionals.
11778
11779         * manual/string.texi (wcstok): Fix prototype.
11780         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11781
11782         * manual/time.texi: Document MTASC-safety properties.
11783
11784         * manual/string.texi: Document MTASC-safety properties.
11785
11786         * manual/threads.texi: Document MTASC-safety properties.
11787
11788         * manual/stdio.texi: Document MTASC-safety properties.
11789
11790         * manual/syslog.texi: Document MTASC-safety properties.
11791
11792         * manual/sysinfo.texi: Document MTASC-safety properties.
11793
11794         * manual/startup.texi: Document MTASC-safety properties.
11795
11796         * manual/socket.texi: Document MTASC-safety properties.
11797
11798         * manual/signal.texi: Document MTASC-safety properties.
11799
11800 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11801
11802         * manual/setjmp.texi: Document MTASC-safety properties.
11803
11804         * manual/search.texi: Document MTASC-safety properties.
11805
11806         * manual/resource.texi: Document MTASC-safety properties.
11807
11808         * manual/process.texi: Document MTASC-safety properties.
11809
11810         * manual/platform.texi: Document MTASC-safety properties.
11811
11812         * manual/pipe.texi: Document MTASC-safety properties.
11813
11814         * manual/pattern.texi: Document MTASC-safety properties.
11815
11816         * manual/message.texi: Document MTASC-safety properties.
11817
11818         [BZ #12751]
11819         * manual/memory.texi: Document MTASC-safety properties.
11820
11821         * manual/math.texi: Document MTASC-safety properties.
11822
11823         * manual/locale.texi: Document MTASC-safety properties.
11824
11825         * manual/llio.texi: Document MTASC-safety properties.
11826
11827         * manual/libdl.texi: New.
11828
11829         * manual/lang.texi: Document MTASC-safety properties.
11830
11831         * manual/job.texi: Document MTASC-safety properties.
11832
11833         * manual/getopt.texi: Document MTASC-safety properties.
11834
11835         * manual/ctype.texi: Document MTASC-safety properties.
11836
11837 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11838
11839         [BZ #16046]
11840         * csu/libc-tls.c (static_map): Remove variable.
11841         (__libc_setup_tls): Use main executable's link map for TLS data.
11842         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11843         casing for LM_ID_BASE and GL(dl_nns).
11844         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11845         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11846         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11847         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11848         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11849         member.
11850         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11851         l_phnum members.
11852
11853 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11854
11855         * manual/debug.texi: Document MTASC-safety properties.
11856
11857 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11858
11859         [BZ #16510]
11860         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11861         of __x86_64__ when disabling x87 inline functions.
11862
11863 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11864
11865         * manual/charset.texi: Document MTASC-safety properties.
11866
11867         * manual/crypt.texi: Document MTASC-safety properties.
11868
11869         * manual/conf.texi: Document MTASC-safety properties.
11870
11871         * manual/arith.texi: Document MTASC-safety properties.
11872
11873         * manual/argp.texi: Document MTASC-safety properties.
11874
11875         * manual/macros.texi: Introduce macros to document multi
11876         thread, asynchronous signal and asynchronous cancellation
11877         safety properties.
11878         * manual/intro.texi: Introduce the properties themselves.
11879
11880 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11881
11882         * sysdeps/sh/sh4/Makefile: New file.
11883
11884 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11885
11886         * math/gen-libm-test.pl ($srcdir): New variable.
11887         ($auto_input): Use it.
11888
11889 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11890
11891         [BZ #16506]
11892         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11893         access beyond array bounds when parsing netgroups file.
11894
11895         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11896         the old buffer before realloc.
11897
11898 2014-01-27  Allan McRae  <allan@archlinux.org>
11899
11900         * po/fr.po: Update French translation from translation project.
11901
11902 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11903
11904         * sysdeps/sh/libm-test-ulps: Regenerate.
11905
11906 2014-01-24  David S. Miller  <davem@davemloft.net>
11907
11908         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11909
11910 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11911
11912         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11913         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11914
11915 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11916
11917         [BZ #16474]
11918         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11919         string pointers after reallocation.
11920
11921 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11922
11923         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11924         __SH4A__ instead of __SH_FPU_ANY__.
11925
11926 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11927
11928         * sysdeps/sh/fpu_control.h: New file.
11929         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11930         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11931         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11932         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11933         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11934         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11935         * sysdeps/sh/sys/ucontext.h: Remove.
11936         * sysdeps/sh/sys: Remove directory.
11937
11938 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11939
11940         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11941         s390/sys/ucontext.h.
11942         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11943         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11944
11945 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11946
11947         [BZ #15605]
11948         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11949
11950 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11951
11952         [BZ#16431]
11953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11954         Adjust the vDSO correctly for internal calls.
11955         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11956
11957 2014-01-20  Allan McRae  <allan@archlinux.org>
11958
11959         * po/ca.po: Update Catalan translation from translation project.
11960
11961 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11962
11963         * sysdeps/s390/sotruss-lib.c: New file.
11964
11965 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11966
11967         [BZ#16430]
11968         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11969         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11970         local calls issues by not having a PLT stub required for IFUNC calls.
11971         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11972
11973 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11974
11975         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11976         * math/test-fpucw-static.c: Likewise.
11977
11978 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11979
11980         [BZ #16453]
11981         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11982
11983 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11984
11985         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11986         implementation for powerpc.
11987
11988 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11989
11990         [BZ #14782]
11991         * sysdeps/posix/system.c (__libc_system): Do not enable
11992         asynchronous cancellation.
11993
11994 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11995
11996         [BZ #16427]
11997         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11998         handling only for numbers special also in the IEEE case.
11999
12000 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12001
12002         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12003
12004 2014-01-11  Allan McRae  <allan@archlinux.org>
12005
12006         * po/bg.po: Update Bulgarian translation from translation project.
12007
12008         * po/de.po: Update German translation from translation project.
12009
12010 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12011
12012         * sysdeps/generic/gcc-compat.h: New file.
12013
12014 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12015
12016         * benchtests/asin-inputs: Correct slow inputs.
12017         * benchtests/acos-inputs: Likewise.
12018
12019 2014-01-10  Allan McRae  <allan@archlinux.org>
12020
12021         * po:sv.po: Update Swedish translation from translation project.
12022
12023         * po/vi.po: Update Vietnamese translation from translation project.
12024
12025         * po/eo.po: Update Esperanto translation from translation project.
12026
12027         * po/cs.po: Update Czech translation from translation project.
12028
12029         * po/nl.po: Update Dutch translation from translation project.
12030
12031         * po/pl.po: Update Polish translation from translation project.
12032
12033         * po/ru.po: Update Russian translation from translation project.
12034
12035         * po/uk.po: Update Ukrainian translation from translation project.
12036
12037 2014-01-08  Brooks Moses  <bmoses@google.com>
12038
12039         * elf/dl-load.c: Fix comment typo.
12040
12041 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12042
12043         * po/header.pot: Rename to...
12044         * po/pot.header: ... this.
12045         * po/Makefile: Use pot.header.
12046
12047 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12048             Maxim Kuvyrkov  <maxim@kugelworks.com>
12049
12050         [BZ #16394]
12051         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12052         SRC and DEST against LEN.
12053
12054 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12055
12056         [BZ #16414]
12057         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12058         implementation.
12059         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12060
12061 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12062
12063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12064
12065 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12066
12067         [BZ #16408]
12068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12069         for large positive arguments.
12070
12071 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12072
12073         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12074
12075         * math/auto-libm-test-in: Mark various tests with
12076         xfail-rounding:ldbl-128ibm.
12077         * math/auto-libm-test-out: Regenerated.
12078
12079         [BZ #16407]
12080         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12081         Increase overflow threshold.
12082
12083 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12084
12085         [BZ #14286]
12086         * stdio-common/vfprintf.c: Check for integer overflow.
12087
12088 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12089
12090         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12091         the first argument and return value of __tls_get_addr_internal.
12092
12093 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12094
12095         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12096         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12097
12098 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12099
12100         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12101         * sysdeps/s390/rtld-global-offsets.sym: New file.
12102         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12103         GLIBC_2.19 symbol.
12104         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12105         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12106         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12107         ... this.
12108         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12109         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12110         ... this.
12111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12112         Regenerate.
12113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12114         Regenerate.
12115         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12116         halfs of GPRs for high_gprs contexts.
12117         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12118         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12119         field.
12120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12121         uc_flags field.
12122         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12123         64 bit versions:
12124         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12125         for high GPRs (uc_high_gprs) and for future extensions
12126         (__reserved).
12127         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12128         for future extensions (__reserved).
12129         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12130         64 bit versions:
12131         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12132         SC_HIGHGPRS offset definition.
12133         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12134         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12135
12136         * Versions.def: Add GLIBC_2.19 for libpthread.
12137         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12138         siglongjmp for libpthread with GLIBC_2.19 symver.
12139         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12140         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12141         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12142         * sysdeps/s390/__longjmp.c: New file.
12143         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12144         * sysdeps/s390/longjmp.c: New file.
12145         * sysdeps/s390/setjmp.S: New file.
12146         * sysdeps/s390/sigjmp.S: New file.
12147         * sysdeps/s390/v1-longjmp.c: New file.
12148         * sysdeps/s390/v1-setjmp.h: New file.
12149         * sysdeps/s390/v1-sigjmp.c: New file.
12150         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12151         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12152         GLIBC_2.19 version.
12153         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12154         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12155         versioned symbols for ____longjmp_chk.
12156         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12159         Regenerate.
12160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12161         Regenerate.
12162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12163         Regenerate.
12164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12165         Regenerate.
12166         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12167         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12168         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12169         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12170         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12171         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12172         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12173         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12174         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12175         * sysdeps/s390/rtld-__longjmp.c: New file.
12176         * sysdeps/s390/rtld-setjmp.S: New file.
12177
12178 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12179
12180         [BZ #16400]
12181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12182         Return -__logl (x) for small positive arguments without evaluating
12183         a polynomial.
12184
12185 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12186
12187         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12188         Rename to ...
12189         (__ptrace_peeksiginfo_args): ... this.
12190         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12192         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12193
12194 2014-01-06  Allan McRae  <allan@archlinux.org>
12195
12196         * inet/netinet/in.h: Fix typo in comment.
12197
12198 2014-01-05  Andreas Jaeger  <aj@suse.de>
12199
12200         * sysdeps/i386/fpu/libm-test-ulps: Update.
12201
12202 2014-01-05  Allan McRae  <allan@archlinux.org>
12203
12204         * po/libc.pot: Regenerated.
12205
12206         * malloc/memusagestat.c: Fix gettext call formatting.
12207
12208 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12209
12210         * nscd/nscd.c: Improve usage() output.
12211
12212 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12213
12214         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12215         * sysdeps/unix/sysv/linux/configure: Regenerated.
12216         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12217         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12218
12219 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12220
12221         [BZ #16390]
12222         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12223         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12224
12225 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12226
12227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12228         extra tokens at end of #undef directive.
12229         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12230         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12231         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12232
12233 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12234
12235         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12236
12237         * math/auto-libm-test-in: Mark various tests with
12238         xfail-rounding:ldbl-128ibm.
12239         * math/auto-libm-test-out: Regenerated.
12240
12241 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12242
12243         [BZ #16386]
12244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12245         numbers with subnormal high part when calculating exponent.
12246
12247         [BZ #16385]
12248         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12249         fabs.
12250
12251         [BZ #16384]
12252         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12253         M_LN2l.
12254         (__ieee754_acoshl): Use __log1pl not __log1p.
12255
12256 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12257
12258         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12259         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12260         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12261         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12262         (reused_arena, arena_get2): Convert to GNU style.
12263         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12264         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12265         (memalign_check, __malloc_set_state): Likewise.
12266         * malloc/mallocbug.c (main): Likewise.
12267         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12268         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12269         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12270         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12271         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12272         (__posix_memalign, malloc_info): Likewise.
12273         * malloc/malloc.h: Likewise.
12274         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12275         (mallochook, memalignhook, reallochook, mabort): Likewise.
12276         * malloc/mcheck.h: Likewise.
12277         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12278         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12279         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12280         * malloc/morecore.c (__default_morecore): Likewise.
12281         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12282         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12283         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12284         (print_and_abort): Likewise.
12285         * malloc/obstack.h: Likewise.
12286         * malloc/set-freeres.c (__libc_freeres): Likewise.
12287         * malloc/tst-mallocstate.c (main): Likewise.
12288         * malloc/tst-mtrace.c (main): Likewise.
12289         * malloc/tst-realloc.c (do_test): Likewise.
12290
12291 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12292
12293         [BZ #16366]
12294         * nscd/netgroupcache.c (do_notfound): New function.
12295         (addgetnetgrentX): Use it.
12296
12297         [BZ # 16365]
12298         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12299         NSS_STATUS_NOTFOUND.
12300
12301 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12302
12303         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12305
12306 2014-01-01  Allan McRae  <allan@archlinux.org>
12307
12308         * scripts/update-copyrights: Update configure input file suffix.
12309
12310         * NEWS: Update copyright year.
12311         * catgets/gencat.c: Likewise.
12312         * csu/version.c: Likewise.
12313         * debug/catchsegv.sh: Likewise.
12314         * debug/pcprofiledump.c: Likewise.
12315         * debug/xtrace.sh: Likewise.
12316         * elf/ldconfig.c: Likewise.
12317         * elf/ldd.bash.in: Likewise.
12318         * elf/pldd.c: Likewise.
12319         * elf/sotruss.ksh: Likewise.
12320         * elf/sprof.c: Likewise.
12321         * iconv/iconv_prog.c: Likewise.
12322         * iconv/iconvconfig.c: Likewise.
12323         * locale/programs/locale.c: Likewise.
12324         * locale/programs/localedef.c: Likewise.
12325         * login/programs/pt_chown.c: Likewise.
12326         * malloc/memusage.sh: Likewise.
12327         * malloc/memusagestat.c: Likewise.
12328         * malloc/mtrace.pl: Likewise.
12329         * manual/libc.texinfo: Likewise.
12330         * nscd/nscd.c: Likewise.
12331         * nss/getent.c: Likewise.
12332         * nss/makedb.c: Likewise.
12333         * posix/getconf.c: Likewise.
12334         * scripts/test-installation.pl: Likewise.
12335
12336         * All files with FSF copyright notices: Update copyright dates
12337         using scripts/update-copyrights.
12338         * intl/plural.c: Regenerated.
12339         * locale/programs/charmap-kw.h: Likewise.
12340         * locale/programs/locfile-kw.h: Likewise.
12341
12342 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12343
12344         * sysdeps/unix/sysv/linux/configure: Regenerated.
12345         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12346         the linux/fanotify.h header.
12347         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12348         HAVE_LINUX_FANOTIFY_H is defined.
12349
12350 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12351
12352         * benchtests/cos-inputs: New inputs.
12353         * benchtests/sin-inputs: Likewise.
12354
12355         * benchtests/atan-inputs: New inputs. Fix name of multiple
12356         precision fallback inputs.
12357
12358         * benchtests/atanh-inputs: New inputs.
12359         * benchtests/tanh-inputs: Likewise.
12360
12361         * benchtests/acosh-inputs: New inputs.
12362         * benchtests/asinh-inputs: Likewise.
12363
12364         * benchtests/cosh-inputs: New inputs.
12365         * benchtests/sinh-inputs: Likewise.
12366
12367         * benchtests/acos-inputs: Add more inputs.
12368         * benchtests/asin-inputs: Likewise.
12369
12370 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12371
12372         [BZ #16375]
12373         * manual/arith.texi: Fix spelling.
12374         * manual/charset.texi: Likewise.
12375         * manual/errno.texi: Likewise.
12376         * manual/filesys.texi: Likewise.
12377         * manual/lang.texi: Likewise.
12378         * manual/llio.texi: Likewise.
12379         * manual/locale.texi: Likewise.
12380         * manual/message.texi: Likewise.
12381         * manual/resource.texi: Likewise.
12382         * manual/search.texi: Likewise.
12383         * manual/setjmp.texi: Likewise.
12384         * manual/stdio.texi: Likewise.
12385         * manual/string.texi: Likewise.
12386         * manual/sysinfo.texi: Likewise.
12387         * manual/time.texi: Likewise.
12388
12389 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12390
12391         * po/sl.po: New file.
12392
12393 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12394
12395         * .gitignore: Add core/.gdbinit/.gdb_history.
12396
12397 2013-12-27  Allan McRae  <allan@archlinux.org>
12398
12399         [BZ #16369]
12400         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12401         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12402
12403 2013-12-24  Brooks Moses  <bmoses@google.com>
12404
12405         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12406         all compilers that claim C++98 compliance, not just GCC.
12407         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12408         Likewise.
12409
12410 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12411
12412         * NEWS: Restore accidentally deleted bug-fix entries.
12413
12414 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12415             Ondřej Bílka  <neleai@seznam.cz>
12416
12417         [BZ #15073]
12418         * malloc/malloc.c (_int_free): Perform sanity check only if we
12419         have_lock.
12420
12421 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12422
12423         [BZ #12986]
12424         * manual/stdio.texi (String Input Conversions): Clarify that character
12425         classes are not supported.
12426
12427 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12428
12429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12430
12431 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12432
12433         [BZ #16337]
12434         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12435         Calculate results for small negative arguments directly rather
12436         than using reflection formula with special underflow handling.
12437
12438         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12439         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12440         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12441         (fchflags): Likewise.
12442         (revoke): Likewise.
12443         (setlogin): Likewise.
12444         (sigaltstack): Likewise.
12445         (wait4): Likewise.
12446         (sigblock): Remove.
12447         (sigsetmask): Likewise.
12448         (wait3): Likewise.
12449         (waitpid): Likewise.
12450         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12451         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12452         file.
12453         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12454         * sysdeps/unix/bsd/Makefile: ... here.
12455         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12456         * sysdeps/unix/bsd/Versions: ... here.
12457         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12458         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12459         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12460         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12461         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12462         * sysdeps/unix/bsd/sigblock.c: ... here.
12463         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12464         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12465         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12466         * sysdeps/unix/bsd/sigvec.c: ... here.
12467         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12468         * sysdeps/unix/bsd/tcdrain.c: ... here.
12469         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12470         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12471         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12472         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12473         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12474         * sysdeps/unix/bsd/wait.c: ... here.
12475         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12476         * sysdeps/unix/bsd/wait3.c: ... here.
12477         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12478         * sysdeps/unix/bsd/waitpid.c: ... here.
12479
12480 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12481
12482         [BZ #16356]
12483         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12484         round-to-nearest for [!USE_AS_EXPM1L].
12485         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12486         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12487         more tests of exp and exp10.  Expect some exp10 tests to miss
12488         exceptions or fail in directed rounding modes.
12489         * math/auto-libm-test-out: Regenerated.
12490         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12491         (exp10_test_tonearest): New function.
12492         (exp10_towardzero_test_data): New array.
12493         (exp10_test_towardzero): New function.
12494         (exp10_downward_test_data): New array.
12495         (exp10_test_downward): New function.
12496         (exp10_upward_test_data): New array.
12497         (exp10_test_upward): New function.
12498         (main): Call the new functions.
12499         * sysdeps/i386/fpu/libm-test-ulps: Update.
12500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12501
12502 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12503
12504         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12505         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12506         * math/auto-libm-test-out: Regenerated.
12507         * math/libm-test.inc (acosh_test_data): Add more tests.
12508         (atanh_test_data): Likewise.
12509         (ceil_test_data): Likewise.
12510         (copysign_test_data): Likewise.
12511         * sysdeps/i386/fpu/libm-test-ulps: Update.
12512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12513
12514         * timezone/checktab.awk: Update from tzcode 2013i.
12515         * timezone/private.h: Likewise.
12516         * timezone/scheck.c: Likewise.
12517         * timezone/tzfile.h: Likewise.
12518         * timezone/tzselect.ksh: Likewise.
12519         * timezone/zdump.c: Likewise.
12520         * timezone/zic.c: Likewise.
12521
12522         * math/auto-libm-test-in: Add tests of cpow.
12523         * math/auto-libm-test-out: Regenerated.
12524         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12525         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12526         mpc_cc_c.
12527         (func_calc_desc): Add mpc_cc_c union field.
12528         (test_functions): Add cpow.
12529         (special_fill_2pi): New function.
12530         (special_real_inputs): Add 2pi.
12531         (calc_generic_results): Handle mpc_cc_c.
12532         * sysdeps/i386/fpu/libm-test-ulps: Update.
12533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12534
12535         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12536         csqrt, ctan and ctanh.
12537         * math/auto-libm-test-out: Regenerated.
12538         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12539         (TEST_COND_x86): Likewise.
12540         (ccos_test_data): Use AUTO_TESTS_c_c.
12541         (ccosh_test_data): Likewise.
12542         (cexp_test_data): Likewise.
12543         (clog_test_data): Likewise.
12544         (csqrt_test_data): Likewise.
12545         (ctan_test_data): Likewise.
12546         (ctan_tonearest_test_data): Likewise.
12547         (ctan_towardzero_test_data): Likewise.
12548         (ctan_downward_test_data): Likewise.
12549         (ctan_upward_test_data): Likewise.
12550         (ctanh_test_data): Likewise.
12551         (ctanh_tonearest_test_data): Likewise.
12552         (ctanh_towardzero_test_data): Likewise.
12553         (ctanh_downward_test_data): Likewise.
12554         (ctanh_upward_test_data): Likewise.
12555         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12556         mpc_c_c.
12557         (func_calc_desc): Add mpc_c_c union field.
12558         (FUNC_mpc_c_c): New macro.
12559         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12560         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12561         ctanh.
12562         (special_fill_min_subnorm_p120): New function.
12563         (special_real_inputs): Add min_subnorm_p120.
12564         (calc_generic_results): Handle mpc_c_c.
12565         * sysdeps/i386/fpu/libm-test-ulps: Update.
12566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567
12568 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12569
12570         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12571         (do_sin_slow): New functions.
12572         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12573         (cslow2, csloww1, csloww2): Use the new functions.
12574
12575         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12576         Use M to change sign of result instead of X.  Assume X is
12577         positive.
12578         (csloww1): Likewise.
12579         (__sin): Adjust.
12580         (__cos): Adjust.
12581
12582         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12583         arguments A and DA.
12584         (__sin): Adjust.
12585         (__cos): Likewise.
12586
12587         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12588         (__cos): Likewise.
12589         (sloww1): Don't adjust sign of DX.
12590         (csloww1): Likewise.
12591         (sloww2): Use X directly and don't adjust sign of DX.
12592         (csloww2): Likewise.
12593
12594 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12595
12596         * math/auto-libm-test-in: Add tests of cabs and carg.
12597         * math/auto-libm-test-out: Regenerated.
12598         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12599         (carg_test_data): Likewise.
12600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12601         mpc_c_f.
12602         (func_calc_desc): Add mpc_c_f union field.
12603         (test_functions): Add cabs and carg.
12604         (calc_generic_results): Handle mpc_c_f.
12605
12606         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12607         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12608         as a macro and a compat symbol.
12609         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12610         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12611         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12612         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12613         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12615         not use .hidden.
12616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12617         Likewise.
12618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12619         Likewise.
12620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12621         Likewise.
12622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12623         Likewise.
12624         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12625         Likewise.
12626         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12627         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12628         from GLIBC_2.3.2.
12629
12630 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12631
12632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12633
12634 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12635
12636         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12637         trailing whitespace removed.
12638         * scripts/config.guess: Update to version 2013-11-29.
12639         * scripts/config.sub: Update to version 2013-10-01.
12640
12641         * math/auto-libm-test-in: Add tests of sincos.
12642         * math/auto-libm-test-out: Regenerated.
12643         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12644         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12645         mpfr_f_11.
12646         (func_calc_desc): Add mpfr_f_11 union field.
12647         (test_functions): Add sincos.
12648         (calc_generic_results): Handle mpfr_f_11.
12649         * sysdeps/i386/fpu/libm-test-ulps: Update.
12650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
12652 2013-12-19  Andreas Schwab  <schwab@suse.de>
12653
12654         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12655         CALL_MCOUNT.
12656         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12657         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12658         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12659
12660 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12661
12662         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12663         * sysdeps/i386/fpu/libm-test-ulps: Update.
12664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12665
12666         [BZ #16293]
12667         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12668         round-to-nearest mode when using frndint.
12669         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12670         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12672         Likewise.
12673         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12674         sinh test to fail.
12675         * math/auto-libm-test-out: Regenerated.
12676         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12677         (TEST_COND_x86): Likewise.
12678         (expm1_tonearest_test_data): New array.
12679         (expm1_test_tonearest): New function.
12680         (expm1_towardzero_test_data): New array.
12681         (expm1_test_towardzero): New function.
12682         (expm1_downward_test_data): New array.
12683         (expm1_test_downward): New function.
12684         (expm1_upward_test_data): New array.
12685         (expm1_test_upward): New function.
12686         (main): Run the new test functions.
12687         * sysdeps/i386/fpu/libm-test-ulps: Update.
12688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12689
12690         * include/features.h: Update comment documenting feature test
12691         macros.  Mention _DEFAULT_SOURCE in comment.
12692         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12693         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12694         _BSD_SOURCE and _SVID_SOURCE.
12695         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12696         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12697         !_SVID_SOURCE]: Likewise.
12698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12699         (__USE_POSIX_IMPLICITLY): Define.
12700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12701         (_POSIX_SOURCE): Undefine and redefine.
12702         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12703         (_POSIX_C_SOURCE): Likewise.
12704         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12705         (Feature Test Macros): Update documentation of default features.
12706
12707 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12708
12709         * benchtests/Makefile: Add bench-strtok.
12710         * benchtests/bench-strtok.c: New file: strtok benchtest.
12711
12712 2013-12-19  Allan McRae  <allan@archlinux.org>
12713
12714         * manual/install.texi: Suppress menu for plain text output.
12715         * INSTALL: Regenerated.
12716
12717 2013-12-18  Brooks Moses  <bmoses@google.com>
12718
12719         [BZ #15846]
12720         * misc/getauxval.c: Include errno.h.
12721         (__getauxval): Set errno to ENOENT if the requested type is not
12722         found.
12723         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12724         don't declare with __attribute_const__.
12725         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12726         * manual/startup.texi: Document that getauxval sets errno.
12727
12728 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12729
12730         * math/auto-libm-test-in: Add tests of jn and yn.
12731         * math/auto-libm-test-out: Regenerated.
12732         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12733         (yn_test_data): Likewise.
12734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12735         mpfr_if_f.
12736         (func_calc_desc): Add mpfr_if_f union field.
12737         (FUNC_mpfr_if_f): New macro.
12738         (test_functions): Add jn and yn.
12739         (calc_generic_results): Assert type of second input for
12740         mpfr_ff_f.  Handle mpfr_if_f.
12741         (output_for_one_input_case): Disable all checking for arguments
12742         fitting floating-point types in case of an integer argument.
12743         * sysdeps/i386/fpu/libm-test-ulps: Update.
12744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12745
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12747         Don't expect fegetround reference in libm.so.
12748
12749 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12750
12751         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12752         $(config-cflags-nofma).
12753
12754 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12755
12756         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12757         * math/auto-libm-test-out: Regenerated.
12758
12759         [BZ #16338]
12760         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12761         to determine exponent and adjust argument to have exponent of -1.
12762         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12763         log2.
12764         * math/auto-libm-test-out: Regenerated.
12765         * sysdeps/i386/fpu/libm-test-ulps: Update.
12766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12767
12768 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12769
12770         * manual/probes.texi: Remove cases when per-thread arenas are
12771         disabled.
12772
12773 2013-12-18  Andreas Schwab  <schwab@suse.de>
12774
12775         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12776         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12777         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12778         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12779         * sysdeps/i386/i686/multiarch/Makefile: Update.
12780         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12781
12782 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12783
12784         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12785         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12786
12787 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12788
12789         [BZ #15968]
12790         Support TZ transition times < 00:00:00.
12791         This is needed for version-3 tz-format files; it supports time
12792         stamps past 2037 for America/Godthab (the only entry in the tz
12793         database for which this change is relevant).
12794         * manual/time.texi (TZ Variable): Document transition times
12795         from -167:59:59 through -00:00:01.
12796         * time/tzset.c (tz_rule): Time of day is now signed.
12797         (__tzset_parse_tz): Parse negative time of day.
12798
12799         Document TZ transition times >= 25:00:00.
12800         * manual/time.texi (TZ Variable): Document transition times from
12801         25:00:00 through 167:59:59.  These are already supported, and this
12802         support will help with version-3 tz-format files.
12803
12804         * manual/time.texi (TZ Variable): Modernize North America example
12805         to reflect current (i.e., 2007-and-later) daylight saving rules.
12806
12807         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12808
12809 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12810
12811         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12812         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12813         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12815         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12816         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12817         * sysdeps/unix/bsd/clock.c: Likewise.
12818         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12819         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12820         * sysdeps/unix/bsd/init-posix.c: Likewise.
12821         * sysdeps/unix/bsd/poll.c: Likewise.
12822         * sysdeps/unix/bsd/ptsname.c: Likewise.
12823         * sysdeps/unix/bsd/seekdir.c: Likewise.
12824         * sysdeps/unix/bsd/setegid.c: Likewise.
12825         * sysdeps/unix/bsd/seteuid.c: Likewise.
12826         * sysdeps/unix/bsd/setgid.c: Likewise.
12827         * sysdeps/unix/bsd/setrgid.c: Likewise.
12828         * sysdeps/unix/bsd/setruid.c: Likewise.
12829         * sysdeps/unix/bsd/setsid.c: Likewise.
12830         * sysdeps/unix/bsd/setuid.c: Likewise.
12831         * sysdeps/unix/bsd/sigaction.c: Likewise.
12832         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12833         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12834         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12835         * sysdeps/unix/bsd/telldir.c: Likewise.
12836         * sysdeps/unix/bsd/times.c: Likewise.
12837         * sysdeps/unix/bsd/usleep.c: Likewise.
12838
12839         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12840         ($(objpfx)libbsd-compat.a): Remove rule.
12841
12842         * include/features.h (__FAVOR_BSD): Do not define.
12843         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12844         features conflicting with POSIX.
12845         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12846         (_BSD_SOURCE): Remove description of not being a subset of other
12847         feature test macros.
12848         * manual/job.texi (getpgrp): Do not document BSD version.
12849         (getpgid): Do not document by reference to BSD getpgrp.
12850         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12851         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12852         * signal/signal.h [__FAVOR_BSD]: Likewise.
12853         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12854         instead of making contents conditional on [__FAVOR_BSD].
12855         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12856
12857 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12858
12859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12860
12861 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12862
12863         [BZ #16314]
12864         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12865         values below 2**-450, not 2**-500.
12866         * math/auto-libm-test-in: Don't allow spurious underflow from
12867         hypot.
12868         * math/auto-libm-test-out: Regenerated.
12869
12870         [BZ #16316]
12871         [BZ #16330]
12872         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12873         values of ha and hb and sort them after adjusting subnormal
12874         arguments.
12875         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12876         Likewise.
12877         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12878         values of ea and eb and sort them after adjusting subnormal
12879         arguments.
12880         * math/auto-libm-test-in: Do not expect some hypot tests of
12881         subnormals to fail.  Add more hypot tests.
12882         * math/auto-libm-test-out: Regenerated.
12883
12884 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12885
12886         [BZ #13304]
12887         * sysdeps/sh/s_fma.c: New file.
12888         * sysdeps/sh/s_fmaf.c: New file.
12889         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12890         version.
12891         * sysdeps/sh/Implies: Add sh/soft-fp.
12892
12893 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12894
12895         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12896         level of indirection to members `objname', `errstring', `malloced'.
12897         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12898         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12899         it as the __longjmp argument (just pass 1 instead).
12900         (_dl_catch_error): Initialize C with argument pointers and address of
12901         volatile local ERRCODE rather than copying values out of C at return.
12902
12903 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12904
12905         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12906         * math/auto-libm-test-out: Regenerated.
12907         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12908         (hypot_test_data): Likewise.
12909         (pow_test_data): Likewise.
12910         (pow_tonearest_test_data): Likewise.
12911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12912         mpfr_ff_f.
12913         (func_calc_desc): Add mpfr_ff_f union field.
12914         (FUNC_mpfr_ff_f): New macro.
12915         (test_functions): Add atan2, hypot and pow.
12916         (special_fill_min): New function.
12917         (special_fill_minus_min): Likewise.
12918         (special_fill_min_subnorm): Likewise.
12919         (special_fill_minus_min_subnorm): Likewise.
12920         (special_real_inputs): Add min, -min, min_subnorm and
12921         -min_subnorm.
12922         (calc_generic_results): Handle mpfr_ff_f.
12923         * sysdeps/i386/fpu/libm-test-ulps: Update.
12924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12925
12926 2013-12-16  Will Newton  <will.newton@linaro.org>
12927
12928         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12929         (Aligned Memory Blocks): Add documentation for aligned_alloc
12930         and suggest it as an alternative to posix_memalign.
12931         (Hooks for Malloc): Document __memalign_hook is also called
12932         for aligned_alloc.  (Summary of Malloc): Add summary for
12933         aligned alloc.  Document __memalign_hook is also called
12934         for aligned_alloc.
12935
12936 2013-12-16  Will Newton  <will.newton@linaro.org>
12937
12938         * manual/memory.texi (Malloc Examples): Clarify default
12939         alignment documentation.  Suggest posix_memalign rather
12940         than memalign or valloc.
12941         (Aligned Memory Blocks): Remove suggestion to use memalign
12942         or valloc.  Remove obsolete comment about BSD.
12943         Document memalign errno values and mark the function obsolete.
12944         Document posix_memalign returned error codes.  Mark valloc
12945         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12946         called for posix_memalign and valloc.
12947         (Summary of Malloc): Add posix_memalign to function summary.
12948         __memalign_hook is also called for posix_memalign and valloc.
12949
12950 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12951
12952         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12953         TAYLOR_SIN.
12954         (__sin): Adjust.
12955         (__cos): Likewise.
12956         (sloww): Use mynumber union.  Expand ternary operator into
12957         if-else statements.
12958         (cslow): use mynumber union.
12959
12960 2013-12-16  Allan McRae  <allan@archlinux.org>
12961
12962         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12963         * configure: Regenerated.
12964
12965         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12966
12967         [BZ #14120]
12968         * configure.ac: Added --enable-maintainer-mode. Check for
12969         autoconf when enabled.
12970         * configure: Regenerated.
12971
12972         * nscd/nscd.service: New file.
12973         * nscd/nscd.tmpfiles: New file.
12974
12975 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12976
12977         [BZ #12100]
12978         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12979         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12980         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12981         (strstr): Add __strstr_sse2_unaligned ifunc.
12982         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12983         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12984         (strcasestr): Remove __strcasestr_sse42 ifunc.
12985         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12988
12989 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12990
12991         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12992         * sysdeps/sh/bits/fenv.h: ... here.
12993         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12994
12995 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12996
12997         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12998
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13000         hypotf multiarch implementations.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13004         multiarch hypot for PPC64.
13005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13007         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13008         multiarch hypotf for PPC64.
13009
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13011         modff multiarch implementations.
13012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13015         multiarch modf for PPC64.
13016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13019         multiarch modff for PPC64.
13020
13021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13022         and logl multiarch implementations.
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13026         multiarch logb for PPC64.
13027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13030         multiarch logb for PPC64.
13031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13034         multiarch logb for PPC64.
13035
13036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13037         isinff multiarch implementation.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13039         file.
13040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13042         multiarch isinf for PPC64.
13043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13044         file.
13045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13046         multiarch isinff for PPC64.
13047
13048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13049         finitef multiarch implementation.
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13051         file.
13052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13054         multiarch finite for PPC64.
13055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13056         file.
13057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13058         multiarch finitef for PPC64.
13059
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13061         lrint multiarch implementation.
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13063         file.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13066         multiarch llrint for PPC64.
13067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13068         multiarch lrint for PPC64.
13069
13070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13071         copysignf multiarch implementation.
13072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13073         file.
13074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13075         file.
13076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13077         multiarch copysign for PPC64.
13078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13079         multiarch copysignf for PPC64.
13080
13081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13082         multiarch implementation.
13083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13084         file.
13085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13086         file.
13087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13088         file.
13089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13090         file.
13091         multiarch llround for PPC64.
13092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13093         multiarch trunc for PPC64.
13094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13095         multiarch truncf for PPC64.
13096
13097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13098         multiarch implementation.
13099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13100         file.
13101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13102         file.
13103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13104         file.
13105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13106         file.
13107         multiarch llround for PPC64.
13108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13109         multiarch round for PPC64.
13110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13111         multiarch roundf for PPC64.
13112
13113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13114         multiarch implementation.
13115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13116         file.
13117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13118         file.
13119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13120         file.
13121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13122         file.
13123         multiarch llround for PPC64.
13124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13125         multiarch floor for PPC64.
13126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13127         multiarch floorf for PPC64.
13128
13129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13130         multiarch implementation.
13131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13132         file.
13133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13134         file.
13135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13136         file.
13137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13138         file.
13139         multiarch llround for PPC64.
13140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13141         multiarch ceil for PPC64.
13142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13143         multiarch ceilf for PPC64.
13144
13145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13146         multiarch implementation.
13147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13148         file.
13149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13150         file.
13151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13152         file.
13153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13154         multiarch llround for PPC64.
13155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13156         multiarch lround for PPC64.
13157
13158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13159         multiarch implementation.
13160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13163         file.
13164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13167         multiarch isnan for PPC64.
13168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13169         multiarch isnanf for PPC64.
13170
13171         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13172         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13173         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13174         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13175         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13177
13178         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13179         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13180         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13181         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13182
13183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13184         multiarch implementations.
13185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13186         (__libc_ifunc_impl_list): Likewise.
13187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13188         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13189         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13190         multiarch stpcpy for PPC64.
13191
13192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13193         multiarch implementations.
13194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13195         (__libc_ifunc_impl_list): Likewise.
13196         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13197         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13198         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13199         multiarch strcpy for PPC64.
13200
13201         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13202         redefine function name.
13203         (_wordcopy_fwd_dest_aligned): Likewise.
13204         (_wordcopy_bwd_aligned): Likewise.
13205         (_wordcopy_bwd_dest_aligned): Likewise.
13206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13207         multiarch implementations.
13208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13209         (__libc_ifunc_impl_list): Likewise.
13210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13212         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13213         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13214         multiarch wcscpy for PPC64.
13215
13216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13217         multiarch implementations.
13218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13219         (__libc_ifunc_impl_list): Likewise.
13220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13222         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13223         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13224         multiarch wcscpy for PPC64.
13225
13226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13227         multiarch implementations.
13228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13229         (__libc_ifunc_impl_list): Likewise.
13230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13232         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13233         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13234         multiarch wcsrchr for PPC64.
13235
13236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13237         multiarch implementations.
13238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13239         (__libc_ifunc_impl_list): Likewise.
13240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13241         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13242         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13244         multiarch wcschr for PPC64.
13245
13246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13247         multiarch implementations.
13248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13249         (__libc_ifunc_impl_list): Likewise.
13250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13251         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13252         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13253         multiarch strchrnul for PPC64.
13254
13255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13256         implementations.
13257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13258         (__libc_ifunc_impl_list): Likewise.
13259         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13260         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13261         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13262         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13263         strchr for PPC64.
13264
13265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13266         implementations.
13267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13268         (__libc_ifunc_impl_list): Likewise.
13269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13270         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13271         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13272         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13273         strncmp for PPC64.
13274
13275         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13276         multiarch implementations.
13277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13278         (__libc_ifunc_impl_list): Likewise.
13279         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13280         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13281         strncasecmp for PPC64.
13282         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13283         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13284         multiarch strncasecmp_l for PPC64.
13285
13286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13287         multiarch implementations.
13288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13289         (__libc_ifunc_impl_list): Likewise.
13290         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13292         multiarch strcasecmp for PPC64.
13293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13294         file.
13295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13296         multiarch strcasecmp_l for PPC64.
13297
13298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13299         implementations.
13300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13301         (__libc_ifunc_impl_list): Likewise.
13302         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13303         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13304         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13305         strnlen for PPC64.
13306
13307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13308         implementations.
13309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13310         (__libc_ifunc_impl_list): Likewise.
13311         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13312         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13313         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13314         strlen for PPC64.
13315
13316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13317         implementations.
13318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13319         (__libc_ifunc_impl_list): Likewise.
13320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13321         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13322         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13323         rawmemrchr for PPC64.
13324
13325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13326         implementation.
13327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13328         (__libc_ifunc_impl_list): Likewise.
13329         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13330         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13331         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13332         memrchr for PPC64.
13333
13334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13335         implementation.
13336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13337         (__libc_ifunc_impl_list): Likewise.
13338         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13339         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13340         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13341         memchr for PPC64.
13342
13343         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13344         implementation.
13345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13346         (__libc_ifunc_impl_list): Likewise.
13347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13348         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13349         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13350         mempcpy for PPC64.
13351
13352         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13353         avoid cretion of __bzero symbol.
13354         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13355         Likewise.
13356         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13357         Likewise.
13358         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13359         Likewise.
13360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13361         multiarch implementations.
13362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13363         (__libc_ifunc_impl_list): Likewise.
13364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13365         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13366         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13367         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13368         bzero for PPC32.
13369         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13370         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13371         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13372         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13373         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13374         memset for PPC64.
13375         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13376
13377         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13378         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13379         implementations.
13380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13381         (__libc_ifunc_impl_list): Likewise.
13382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13383         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13384         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13385         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13386         memcmp for PPC64.
13387
13388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13389         multiarch for POWER/PPC64.
13390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13391         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13396         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13398         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13399         memcpy for PPC64.
13400
13401         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13402         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13403         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13405         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13406         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13407         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13408         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13409         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13410         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13411         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13412         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13413         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13414         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13415         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13423
13424 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13425
13426         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13427
13428 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13429
13430         * benchtests/Makefile (bench): Add exp2 and log2.
13431         (LDLIBS-bench-exp2): Add -lm.
13432         (LDLIBS-bench-log2): Likewise.
13433         * benchtests/exp2-inputs: New inputs file.
13434         * benchtests/log2-inputs: New inputs file.
13435         * benchtests/log-inputs: Add new inputs.
13436         * benchtests/tan-inputs: Likewise.
13437
13438 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13439
13440         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13441         definition...
13442         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13443         (csloww2): ... from here.
13444
13445         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13446         instead of structures.
13447         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13448         (POLYNOMIAL): Likewise.
13449         (TAYLOR_SLOW): Likewise.
13450         (__sin): Likewise.
13451         (__cos): Likewise.
13452         (slow1): Likewise.
13453         (slow2): Likewise.
13454         (sloww): Likewise.
13455         (sloww1); Likewise.
13456         (sloww2): Likewise.
13457         (bsloww1): Likewise.
13458         (bsloww2): Likewise.
13459         (cslow2): Likewise.
13460         (csloww): Likewise.
13461         (csloww1): Likewise.
13462         (csloww2): Likewise.
13463
13464 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13465
13466         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13467         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13468         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13469         * malloc/hooks.c (realloc_check): Likewise.
13470
13471         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13472         * malloc/arena.c: Remove PER_THREAD conditional.
13473         [!PER_THREAD]: Remove code.
13474         (ptmalloc_unlock_all2): Likewise.
13475         (ptmalloc_init): Likewise.
13476         (_int_new_arena): Likewise.
13477         (arena_get2): Likewise.
13478         * malloc/hooks.c (__malloc_get_state): Likewise.
13479         (__malloc_set_state): Likewise.
13480         * malloc/malloc.c: Likewise.
13481         (struct malloc_state): Likewise.
13482         (struct malloc_par): Likewise.
13483         (__libc_realloc): Likewise.
13484         (__libc_mallopt): Likewise.
13485
13486 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13487
13488         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13489
13490 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13491
13492         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13493         macro to a function.  Check for zero perturb_byte.
13494         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13495
13496         * malloc/malloc.c: (force_reg): Remove.
13497         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13498         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13499         force_reg by atomic_forced_read.
13500         * malloc/arena.c (ptmalloc_init): Likewise.
13501         * malloc/hooks.c (top_check): Likewise.
13502
13503 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13504
13505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13506
13507 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13508
13509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13510
13511 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13512
13513         * math/auto-libm-test-in: Add tests of lgamma.
13514         * math/auto-libm-test-out: Regenerated.
13515         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13516         (M_LOG_2_SQRT_PIl): Likewise.
13517         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13519         mpfr_f_f1.
13520         (func_calc_desc): Add mpfr_f_f1 union field.
13521         (ARGS1): New macro.
13522         (ARGS2): Likewise.
13523         (ARGS3): Likewise.
13524         (ARGS4): Likewise.
13525         (RET1): Likewise.
13526         (RET2): Likewise.
13527         (CALC): Likewise.
13528         (FUNC): Likewise.
13529         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13530         (test_functions): Add lgamma.
13531         (calc_generic_results): Handle mpfr_f_f1.
13532         * sysdeps/i386/fpu/libm-test-ulps: Update.
13533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13534
13535 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13536
13537         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13538         __mpn_add_n for PowerPC64/POWER7.
13539         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13540         __mpn_sub_n for PowerPC64/POWER7.
13541
13542         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13543         __mpn_addmul_1 for PowerPC64.
13544         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13545         __mpn_submul_1 for PowerPC64.
13546         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13547         for PowerPC64.
13548         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13549         for PowerPC64.
13550
13551 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13552
13553         [BZ #15089]
13554         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13555
13556 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13557
13558         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13559
13560         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13561         add multiarch folders.
13562         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13563         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13564         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13565         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13566         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13567         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13568         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13569         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13570         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13571         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13572         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13579
13580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13581         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13583         New file.
13584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13585         New file.
13586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13587         multiarch __ieee754_hypot for PowerPC32.
13588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13589         New file.
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13591         New file.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13593         multiarch __ieee754_hypotf for PowerPC32.
13594
13595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13596         long_double_symbol only if __logbl is defined.
13597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13598         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13600         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13601         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13602         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13604         path for implementation.
13605         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13608         logb, and logbl multiarch implementations for PowerPC32.
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13610         file.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13612         file.
13613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13614         multiarch logb for PowerPC32.
13615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13616         file.
13617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13618         file.
13619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13620         multiarch logbf for PowerPC32.
13621         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13623         file.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13625         multiarch logbl implementation for PowerPC32.
13626
13627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13628         and modff multiarch implementations.
13629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13630         New file.
13631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13632         New file.
13633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13634         multiarch modf for PowerPC32.
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13636         New file.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13638         New file.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13640         multiarch modff for PowerPC32.
13641
13642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13643         and lrintf multiarch implementations.
13644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13645         New file.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13647         New file.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13649         multiarch lrint for PowerPC32.
13650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13651         file: multiarch lrintf for PowerPC32.
13652
13653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13654         and lroundf multiarch implementations.
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13656         New file.
13657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13658         New file.
13659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13660         New file.
13661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13662         multiarch lround for PowerPC32.
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13664         file: multiarch lroundf for PowerPC32.
13665
13666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13667         copysign and copysignf multiarch implementations.
13668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13669         New file.
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13671         New file.
13672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13673         file: multiarch copysign for PowerPC32.
13674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13675         file: multiarch copysignf for PowerPC32.
13676
13677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13678         and truncf multiarch implementations.
13679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13680         New file.
13681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13682         file.
13683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13684         multiarch trunc for PowerPC32.
13685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13686         New file.
13687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13688         New file.
13689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13690         multiarch truncf for PowerPC32.
13691
13692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13693         and roundf multiarch implementations.
13694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13695         New file.
13696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13697         file.
13698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13699         multiarch round for PowerPC32.
13700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13701         New file.
13702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13703         New file.
13704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13705         multiarch roundf for PowerPC32.
13706
13707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13708         and floorf multiarch implementations.
13709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13710         New file.
13711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13712         file.
13713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13714         multiarch floor for PowerPC32.
13715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13716         New file.
13717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13718         New file.
13719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13720         multiarch floorf for PowerPC32.
13721
13722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13723         and ceilf multiarch implementations.
13724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13725         New file.
13726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13727         file.
13728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13729         multiarch ceil for PowerPC32.
13730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13731         New file.
13732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13733         file.
13734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13735         multiarch ceilf for PowerPC32.
13736
13737         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13738         is defined.
13739         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13740         FINITEF is defined.
13741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13742         and finitef multiarch implementations.
13743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13744         New file.
13745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13746         file.
13747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13748         multiarch finite for PowerPC32.
13749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13750         New file.
13751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13752         file: multiarch finitef for PowerPC32.
13753
13754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13755         and isinff multiarch implementations.
13756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13757         file.
13758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13759         file.
13760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13761         multiarch isinf for PowerPC32.
13762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13763         New file.
13764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13765         multiarch isinff for PowerPC32.
13766
13767         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13768         alias when __isnan is defined.
13769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13770         and isnanf multiarch implementations.
13771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13772         file.
13773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13774         file.
13775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13776         file.
13777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13778         file.
13779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13780         multiarch isnan for PowerPC32.
13781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13782         New file.
13783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13784         New file.
13785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13786         multiarch isnanf for PowerPC32.
13787
13788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13789         and sqrtf multiarch implementations.
13790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13791         file.
13792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13793         file.
13794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13795         multiarch sqrt for PowerPC32.
13796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13797         file.
13798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13799         file.
13800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13801         multiarch sqrtf for PowerPC32.
13802
13803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13804         and llroundf multiarch implementations.
13805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13806         New file.
13807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13808         New file.
13809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13810         New file.
13811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13812         file: multiarch llround for PowerPC32.
13813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13814         file: multiarch llroundf for PowerPC32.
13815
13816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13817         multiarch PowerPC32 fpu implementations.
13818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13819         New file.
13820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13821         New file.
13822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13823         multiarch llrint for PowerPC32.
13824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13825         New file.
13826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13827         New file.
13828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13829         file.
13830
13831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13832
13833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13834         file.
13835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13836         file.
13837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13838         file.
13839         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13840         multiarch wordcopy for PPC32.
13841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13842         wordcopy objects.
13843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13844         (__libc_ifunc_impl_list): Likewise.
13845         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13846         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13847         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13848         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13850         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13851
13852         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13856         file.
13857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13858         file.
13859         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13860         multiarch wcscpy for PPC32.
13861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13862         multiarch objects.
13863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13864         (__libc_ifunc_impl_list): Likewise.
13865         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13866         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13867         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13868         sysdeps/powerpc/power6/wcscpy.c.
13869
13870         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13872         file.
13873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13874         file.
13875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13876         file.
13877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13878         multiarch wcsrchr for PPC32.
13879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13880         multiarch objects.
13881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13882         (__libc_ifunc_impl_list): Likewise.
13883         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13884         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13885         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13886         sysdeps/powerpc/power6/wcsrchr.c.
13887
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13889         file.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13891         file.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13894         multiarch wcschr for PPc32.
13895         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13896         multiarch objects.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13898         (__libc_ifunc_impl_list): Likewise.
13899         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13900         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13901         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13902         sysdeps/powerpc/power6/wcschr.c.
13903
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13906         file.
13907         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13908         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13909         file: multiarch strchr for PPC32.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13911         multiarch objects.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13913         (__libc_ifunc_impl_list): Likewise.
13914
13915         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13916         name.
13917         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13918         file.
13919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13920         file.
13921         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13922         multiarch strchrnul for PPC32.
13923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13924         multiarch objects.
13925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13926         (__libc_ifunc_impl_list): Likewise.
13927
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13929         file.
13930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13931         multiarch strncasecmp for PPC32.
13932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13933         file.
13934         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13935         multiarch strncasecmp_l for PPC32.
13936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13937         strncasecmp multiarch objects.
13938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13939         (__libc_ifunc_impl_list): Likewise.
13940
13941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13942         file.
13943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13944         multiarch strncasecmp for PPC32.
13945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13946         New file.
13947         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13948         multiarch strcasecmp_l for PPC32.
13949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13950         multiarch objects.
13951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13952         (__libc_ifunc_impl_list): Likewise.
13953
13954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13955         file.
13956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13957         file.
13958         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13959         multiarch strncmp for PPC32.
13960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13961         multiarch objects.
13962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13963         (__libc_ifunc_impl_list): Likewise.
13964
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13966         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13967         file.
13968         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13969         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13971         multiarch objects.
13972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13973         (__libc_ifunc_impl_list): Likewise.
13974
13975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13976         file.
13977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13978         file.
13979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13981         multiarch objects.
13982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13983         (__libc_ifunc_impl_list): Likewise.
13984
13985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13986         file.
13987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13988         file.
13989         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13990         multiarch rawmemchr for PPC32.
13991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13992         multiarch objects.
13993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13994         (__libc_ifunc_impl_list): Likewise.
13995
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13997         file.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13999         file.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14001         file: memrchr multiarch for PPC32.
14002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14003         multiarch objects.
14004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14005         (__libc_ifunc_impl_list): Likewise.
14006
14007         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14009         file.
14010         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14011         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14012         multiarch memchr for PPC32.
14013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14014         multiarch objects.
14015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14016         (__libc_ifunc_impl_list): Likewise.
14017
14018         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14020         file.
14021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14022         file.
14023         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14024         file: multiarch mempcpy for PPC32.
14025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14026         multiarch objects.
14027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14028         (__libc_ifunc_impl_list): Likewise.
14029
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14032         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14033         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14034         multiarch bzero for PPC32.
14035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14036         file.
14037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14038         file.
14039         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14040         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14041         file: multiarch memset for PPC32.
14042         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14044         memset multiarch objects.
14045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14046         (__libc_ifunc_impl_list): Likewise.
14047
14048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14049         file.
14050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14051         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14052         memcmp for PPC32.
14053         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14055         multiarch objects.
14056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14057         (__libc_ifunc_impl_list): Likewise.
14058
14059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14062         file.
14063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14064         file.
14065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14066         file.
14067         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14068         multiarch memcpy for PPC32.
14069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14070         multiarch objects.
14071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14072         (__libc_ifunc_impl_list): Likewise.
14073
14074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14075         support multiarch for POWER/PPC32.
14076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14077         Likewise.
14078         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14080         Implies file to make multiarch folder appers before the fpu and
14081         default folder for power4 configuration.
14082
14083 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14084
14085         * scripts/bench.pl: Append volatile keyword to type.
14086
14087 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14088
14089         * sysdeps/sh/sotruss-lib.c: New file.
14090         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14091
14092 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14093
14094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14095
14096 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14097
14098         [BZ #6810]
14099         * math/w_tgamma.c: Include <errno.h>.
14100         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14101         * math/w_tgammaf.c: Include <errno.h>.
14102         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14103         * math/w_tgammal.c: Include <errno.h>.
14104         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14105         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14106         underflow.  Add more tgamma tests.
14107         * math/auto-libm-test-out: Regenerated.
14108         * sysdeps/i386/fpu/libm-test-ulps: Update.
14109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14110
14111         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14112         sin, sinh, tan, tanh, tgamma, y0 and y1.
14113         * math/auto-libm-test-out: Regenerated.
14114         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14115         (TEST_COND_x86): Likewise.
14116         (M_E2l): Remove macro.
14117         (M_E3l): Likewise.
14118         (M_2_SQRT_PIl): Likewise.
14119         (M_SQRT_PIl): Likewise.
14120         (M_1_DIV_El): Likewise.
14121         (log_test_data): Use AUTO_TESTS_f_f.
14122         (log10_test_data): Likewise.
14123         (log1p_test_data): Likewise.
14124         (log2_test_data): Likewise.
14125         (sin_test_data): Likewise.
14126         (sin_tonearest_test_data): Likewise.
14127         (sin_towardzero_test_data): Likewise.
14128         (sin_downward_test_data): Likewise.
14129         (sin_upward_test_data): Likewise.
14130         (sinh_test_data): Likewise.
14131         (sinh_tonearest_test_data): Likewise.
14132         (sinh_towardzero_test_data): Likewise.
14133         (sinh_downward_test_data): Likewise.
14134         (sinh_upward_test_data): Likewise.
14135         (tan_test_data): Likewise.
14136         (tan_tonearest_test_data): Likewise.
14137         (tan_towardzero_test_data): Likewise.
14138         (tan_downward_test_data): Likewise.
14139         (tan_upward_test_data): Likewise.
14140         (tanh_test_data): Likewise.
14141         (tgamma_test_data): Likewise.
14142         (y0_test_data): Likewise.
14143         (y1_test_data): Likewise.
14144         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14145         (special_real_inputs): Add pi/4.
14146         * sysdeps/i386/fpu/libm-test-ulps: Update.
14147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14148
14149 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14150
14151         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14152         "longjmp_target" static probes.
14153         (__longjmp): Rename to __longjmp_symbol.
14154         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14155         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14156         on which longjmp to generate.
14157         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14158         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14159         probe.
14160         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14161         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14162         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14163         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14164         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14165         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14167         __longjmp_symbol based on which __longjmp to generate.
14168         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14169         probe.
14170         (setjmp): Rename to setjmp_symbol.
14171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14172         (_setjmp): Rename to _setjmp_symbol.
14173         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14174         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14175         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14176         which setjmp to generate.
14177         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14178         "longjmp_target" static probes.
14179
14180 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14181
14182         * benchtests/README: Add note about output arguments.
14183         * benchtests/bench-sincos.c: Remove file.
14184         * benchtests/sincos-inputs: New file.
14185         * scripts/bench.pl: Identify output arguments and define
14186         static variables for them.
14187
14188         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14189
14190         [BZ #15941]
14191         * Makefile (INSTALL): Add install-plain.texi as the primary
14192         dependency.
14193         * manual/install-plain.texi: New file.
14194         * manual/install.texi: Include node directive only for
14195         non-plaintext output.
14196
14197 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14198
14199         * stdlib/longlong.h: Update from GCC.
14200
14201         [BZ #6807]
14202         [BZ #15901]
14203         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14204         * math/w_j0f.c (y0f): Likewise.
14205         * math/w_j0l.c (__y0l): Likewise.
14206         * math/w_j1.c (y1): Likewise.
14207         * math/w_j1f.c (y1f): Likewise.
14208         * math/w_j1l.c (__y1l): Likewise
14209         * math/w_jn.c (yn): Likewise.
14210         * math/w_jnf.c (ynf): Likewise.
14211         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14212         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14213         value for Bessel function domain errors outside _SVID_ mode.
14214         Adjust sign of return value for yn (negative integer, 0).
14215         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14216         by zero in return for negative x and set sign appropriately for
14217         negative n.
14218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14220         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14221         expectations in error cases.
14222         (y1_test_data): Likewise.
14223         (yn_test_data): Likewise.
14224         * sysdeps/i386/fpu/libm-test-ulps: Update.
14225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14226
14227 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14228
14229         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14230         "64" to "64-v1".  Add "64-v2".
14231         (abi-64-options): Rename to ...
14232         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14233         (abi-64-condition): Rename to ...
14234         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14235         (abi-64-ld-soname): Rename to ...
14236         (abi-64-v1-ld-soname): ... this.
14237         (abi-64-v2-options): Define.
14238         (abi-64-v2-condition): Likewise.
14239         (abi-64-v2-ld-soname): Likewise.
14240         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14241         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14245
14246 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14247             Alan Modra  <amodra@gmail.com>
14248
14249         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14250         New versions for use with the ELFv2 ABI.
14251         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14252         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14253         declaration.
14254         (struct La_ppc64v2_retval): Likewise.
14255         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14256         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14257         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14258         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14259         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14260         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14261         Do not save or restore CR.
14262         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14263         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14264         return values for ELFv2 ABI.  Fix location of FPR return registers.
14265         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14266         updated values for _CALL_ELF == 2.
14267         (La_regs, La_retval, int_retval): Likewise.
14268
14269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14270
14271         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14272         (FRAME_MIN_SIZE_PARM): Likewise.
14273         (FRAME_BACKCHAIN): Likewise.
14274         (FRAME_CR_SAVE): Likewise.
14275         (FRAME_LR_SAVE): Likewise.
14276         (FRAME_TOC_SAVE): Likewise.
14277         (FRAME_PARM_SAVE): Likewise.
14278         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14279         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14280         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14281         (call_mcount_parm_offset): New macro.
14282         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14283         (PROF): Use symbolic stack frame offsets.
14284         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14285         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14286         Redefine in terms of FRAME_MIN_SIZE.
14287         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14288         (_dl_profile_resolve): Likewise.  Update comment.
14289         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14290         symbols stack frame offsets.
14291         (__sigsetjmp): Likewise.
14292         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14293         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14294         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14295         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14296
14297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14298         (FRAME_BACKCHAIN): Remove.
14299         (FRAME_CR_SAVE): Likewise.
14300         (FRAME_LR_SAVE): Likewise.
14301         (FRAME_COMPILER_DW): Likewise.
14302         (FRAME_LINKER_DW): Likewise.
14303         (FRAME_TOC_SAVE): Likewise.
14304         (FRAME_PARM_SAVE): Likewise.
14305         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14306         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14307         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14309         (CHECK_SP): Use symbolic stack frame offsets.
14310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14311         zone" instead of caller's parameter save area for temp storage.
14312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14313         Likewise.  Also, use symbolic stack frame offsets.
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14315         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14316         our own stack frame instead of the caller's.
14317         (__socket): Use symbolic stack frame offsets.
14318
14319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14320             Alan Modra  <amodra@gmail.com>
14321
14322         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14323         Define.
14324         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14325         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14326         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14327         New function.
14328         (elf_machine_fixup_plt): Call it.
14329         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14330         reloc arguments.
14331         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14332         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14333         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14334         r2 before calling target.
14335
14336 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14337             Alan Modra  <amodra@gmail.com>
14338
14339         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14340         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14341         versions of macros to support ELFv2 ABI.
14342         (LOCALENTRY): New macro.
14343         (ENTRY, EALIGN): Use it.
14344         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14345         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14346         fall through into ENTRY entry point.
14347         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14348         Only define if _CALL_ELF != 2.
14349
14350         (elf_machine_matches_host): Verify ABI version matches.
14351         (RTLD_START): Use LOCALENTRY.
14352         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14353         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14354         (PLT_ENTRY_WORDS): New macro.
14355         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14356         (elf_machine_runtime_setup): Support ELFv2 ABI.
14357         (elf_machine_fixup_plt): Likewise.
14358         (elf_machine_plt_conflict): Likewise.
14359         (resolve_ifunc): Likewise.
14360         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14362         Likewise.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14364         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14366         (makecontext): Support ELFv2 ABI.
14367         * elf/elf.h (EF_PPC64_ABI): Define.
14368
14369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14370
14371         * sysdeps/powerpc/powerpc64/sysdep.h
14372         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14373         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14374         (ENTRY) [ASSEMBLER]: ... but instead here ...
14375         (EALIGN) [ASSEMBLER]: ... and here.
14376         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14377         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14378         (ENTRY_2) [!ASSEMBLER]: Use it.
14379         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14380         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14381         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14382         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14383         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14385         Use PPC64_LOAD_FUNCPTR.
14386
14387         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14388
14389 2013-12-04  Alan Modra  <amodra@gmail.com>
14390
14391         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14392         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14393         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14394         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14395
14396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14397         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14398         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14399         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14400         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14401         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14402
14403 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14404
14405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14406         (__makecontext): Fix incorrect CFI when backtracing out of
14407         context created via makecontext.
14408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14409         (__setcontext): Fix incorrect CFI during switch to new context.
14410         (__novec_setcontext): Likewise.
14411
14412 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14413
14414         [BZ #4772]
14415         * time/strptime_l.c (__strptime_internal): Allow modifiers
14416         in strptime.
14417         * time/tst-strptime.c (day_tests): Add testcase.
14418
14419 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14420
14421         * scripts/bench.pl: Skip over blank lines.
14422
14423 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14424
14425         [BZ #926]
14426         * manual/time.texi (Calendar Time): Clarify what timezone functions
14427         use.
14428
14429 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14430
14431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14432
14433 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14434
14435         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14436         implementation.
14437         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14438         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14439         * debug/memset_chk.c (__memset_chk): Likewise.
14440         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14441         * debug/strncpy_chk.c: Likewise.
14442
14443 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14444
14445         [BZ #15268]
14446         [BZ #15425]
14447         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14448         (__ieee754_exp): For possibly underflowing results, check size of
14449         result and force underflow exception if required.
14450         * math/auto-libm-test-in: Add more tests of exp.
14451         * math/auto-libm-test-out: Regenerated.
14452         * sysdeps/i386/fpu/libm-test-ulps: Update.
14453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14454
14455         [BZ #16283]
14456         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14457         * math/w_exp2f.c (__exp2f): Likewise.
14458         * math/w_exp2l.c (__exp2l): Likewise.
14459         * math/auto-libm-test-in: Do not allow missing errno on exp2
14460         underflow.
14461         * math/auto-libm-test-out: Regenerated.
14462
14463 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14464
14465         [BZ #16274]
14466         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14467         handle filename validation.
14468         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14469         (do_open): Delete.
14470
14471 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14472
14473         [BZ #6786]
14474         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14475         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14476         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14477         <float.h>.
14478         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14479         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14483         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14484         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14485         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14486         Add more erfc tests.
14487         * math/auto-libm-test-out: Regenerated.
14488         * sysdeps/i386/fpu/libm-test-ulps: Update.
14489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
14491         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14492         exp2, expm1, j0 and j1.
14493         * math/auto-libm-test-out: Regenerated.
14494         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14495         (erfc_test_data): Likewise.
14496         (exp_test_data): Likewise.
14497         (exp_tonearest_test_data): Likewise.
14498         (exp_towardzero_test_data): Likewise.
14499         (exp_downward_test_data): Likewise.
14500         (exp_upward_test_data): Likewise.
14501         (exp10_test_data): Likewise.
14502         (exp2_test_data): Likewise.
14503         (expm1_test_data): Likewise.
14504         (j0_test_data): Likewise.
14505         (j1_test_data): Likewise.
14506         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14507         (input_flag_type): Add flag_xfail_rounding.
14508         (input_flags): Add xfail-rounding.
14509         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14510         (output_for_one_input_case): Handle flag_xfail_rounding.
14511         * sysdeps/i386/fpu/libm-test-ulps: Update.
14512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513
14514 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14515
14516         [BZ #16289]
14517         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14518         division by 0.
14519
14520 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14521
14522         [BZ #16195]
14523         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14524         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14525         (STAP_PROBE0): New macro.
14526         (STAP_PROBE1): Likewise.
14527         (STAP_PROBE2): Likewise.
14528         (STAP_PROBE3): Likewise.
14529         (STAP_PROBE4): Likewise.
14530
14531 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14532
14533         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14534
14535 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14536
14537         * benchtests/Makefile (bench): Add sqrt.
14538         (LDLIBS-bench-sqrt): New.
14539         * benchtests/sqrt-input: New.
14540
14541 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14542
14543         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14544         (GAIH_EAI): Likewise.
14545         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14546         (gaih_inet): Likewise.
14547         (getaddrinfo): Don't use GAIH_EAI.
14548
14549         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14550         (struct gaih): Remove definition.
14551
14552 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14553
14554         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14555         Use HERRNOP directly.
14556
14557 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14558
14559         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14560
14561 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14562
14563         * math/gen-auto-libm-tests.c (test_functions): Add more
14564         single-argument functions.
14565         (special_fill_pi_2): New function.
14566         (special_fill_minus_pi_2): Likewise.
14567         (special_fill_pi_6): Likewise.
14568         (special_fill_minus_pi_6): Likewise.
14569         (special_fill_pi_3): Likewise.
14570         (special_fill_2pi_3): Likewise.
14571         (special_fill_e): Likewise.
14572         (special_fill_1_e): Likewise.
14573         (special_fill_e_minus_1): Likewise.
14574         (special_real_inputs): Add more special inputs.
14575         (output_for_one_input_case): Do not require ERANGE on underflow to
14576         zero if round-to-nearest result does not underflow to zero, unless
14577         exact results required.
14578         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14579         atan, atanh, cbrt, cos and cosh.
14580         * math/auto-libm-test-out: Regenerated.
14581         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14582         (acos_tonearest_test_data): Likewise.
14583         (acos_towardzero_test_data): Likewise.
14584         (acos_downward_test_data): Likewise.
14585         (acos_upward_test_data): Likewise.
14586         (acosh_test_data): Likewise.
14587         (asin_test_data): Likewise.
14588         (asin_tonearest_test_data): Likewise.
14589         (asin_towardzero_test_data): Likewise.
14590         (asin_upward_test_data): Likewise.
14591         (asinh_test_data): Likewise.
14592         (atan_test_data): Likewise.
14593         (atanh_test_data): Likewise.
14594         (cbrt_test_data): Likewise.
14595         (cos_test_data): Likewise.
14596         (cos_tonearest_test_data): Likewise.
14597         (cos_towardzero_test_data): Likewise.
14598         (cos_downward_test_data): Likewise.
14599         (cos_upward_test_data): Likewise.
14600         (cosh_test_data): Likewise.
14601         (cosh_tonearest_test_data): Likewise.
14602         (cosh_towardzero_test_data): Likewise.
14603         (cosh_downward_test_data): Likewise.
14604         (cosh_upward_test_data): Likewise.
14605         * sysdeps/i386/fpu/libm-test-ulps: Update.
14606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14607
14608 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14609
14610         [BZ #6787]
14611         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14612         * math/w_exp10f.c (__exp10f): Likewise.
14613         * math/w_exp10l.c (__exp10l): Likewise.
14614         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14615         errno settings in existing tests.
14616
14617         [BZ #14032]
14618         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14619         precision control set to double precision.
14620         * sysdeps/i386/fpu/w_sqrt.c: New file.
14621         * math/auto-libm-test-in: Add more tests.
14622         * math/auto-libm-test-out: Update.
14623
14624         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14625         (sqrt_test_tonearest): New function.
14626         (sqrt_towardzero_test_data): New variable.
14627         (sqrt_test_towardzero): New function.
14628         (sqrt_downward_test_data): New variable.
14629         (sqrt_test_downward): New function.
14630         (sqrt_upward_test_data): New variable.
14631         (sqrt_test_upward): New function.
14632         (main): Call the new functions.
14633
14634         * math/gen-auto-libm-tests.c: New file.
14635         * math/auto-libm-test-in: Likewise.
14636         * math/auto-libm-test-out: New generated file.
14637         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14638         variables.
14639         (%beautify): Add generated representations of zero.
14640         (top level): Set $auto_input and call parse_auto_input.
14641         (beautify): Remove trailing "f" from hex float constants.
14642         (parse_args): Handle XFAIL_TEST.
14643         (convert_condition): New function.
14644         (or_value): Likewise.
14645         (or_cond_value): Likewise.
14646         (generate_testfile): Handle AUTO_TESTS_* lines.
14647         (parse_auto_input): New function.
14648         * math/libm-test.inc (XFAIL_TEST): New macro.
14649         (ERRNO_UNCHANGED): Update value.
14650         (ERRNO_EDOM): Likewise.
14651         (ERRNO_ERANGE): Likewise.
14652         (IGNORE_RESULT): Likewise.
14653         (TEST_COND_flt_32): New macro.
14654         (TEST_COND_dbl_64): Likewise.
14655         (TEST_COND_ldbl_96_intel): Likewise.
14656         (TEST_COND_ldbl_96_m68k): Likewise.
14657         (TEST_COND_ldbl_128): Likewise.
14658         (TEST_COND_ldbl_128ibm): Likewise.
14659         (TEST_COND_long32): Likewise.
14660         (TEST_COND_long64): Likewise.
14661         (TEST_COND_before_rounding): Likewise.
14662         (TEST_COND_after_rounding): Likewise.
14663         (enable_test): Handle XFAIL_TEST flag.
14664         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14665         with finite results.
14666         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14667         auto-libm-test-out.
14668
14669 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14671
14672         [BZ #16214]
14673         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14674         __tls_get_addr_internal instead of __tls_get_offset in order to
14675         avoid GOT pointer dependency.  Make rtld export
14676         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14677         __tls_get_addr since we are a __tls_get_offset platform.
14678         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14679         GOT pointer being set up before.
14680         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14681
14682 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14683
14684         * manual/math.texi (Errors in Math Functions): Document accuracy
14685         goals.
14686
14687         [BZ #15004]
14688         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14689         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14690         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14691         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14692         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14693         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14694         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14695         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14696         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14697         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14698         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14699         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14700         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14701         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14702         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14703         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14704
14705         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14706         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14707         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14708         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14710         Likewise.
14711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14712         Likewise.
14713         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14714         Likewise.
14715         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14716         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14717         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14718         atomic-feupdateenv and flt-rounds.
14719         * sysdeps/powerpc/nofpu/Versions (libc): Add
14720         __atomic_feholdexcept, __atomic_feclearexcept,
14721         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14722         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14723         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14725         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14726         here.
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14728         Update.
14729
14730         * manual/arith.texi (FP Exceptions): Document that exceptions may
14731         not be raised when matherr is used.
14732         (Math Error Reporting): Document overflow in directed rounding
14733         modes.  Document that errno may not be set when finite values are
14734         returned on overflow.  Document intent to set errno on underflow
14735         only for underflow to zero.
14736
14737         [BZ #16271]
14738         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14739         round-to-nearest then adjust result for other rounding modes.
14740         * include/fenv.h (fegetround): Use libm_hidden_proto.
14741         * math/fegetround.c (fegetround): Use libm_hidden_def.
14742         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14743         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14744         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14745         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14746         Likewise.
14747         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14748         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14749         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14750         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14751
14752 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14753
14754         [BZ #16077]
14755         * nss/Versions (libnss_files): Add
14756         _nss_files_gethostbyname3_r.
14757         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14758         New function.
14759         (HOST_DB_LOOKUP): Remove macro.
14760         (_nss_files_gethostbyname_r): Implement function without the
14761         HOST_DB_LOOKUP macro.
14762         (_nss_files_gethostbyname2_r): Likewise.
14763
14764 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14765
14766         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14767
14768 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14769
14770         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14771         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14772         warning.
14773
14774 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14775
14776         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14777         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14778         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14779         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14780         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14781         __fe_nomask_env_priv and attribute_hidden.
14782         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14783         (libc_feupdateenv_test_ppc): Likewise.
14784         (libc_feresetround_ppc): Likewise.
14785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14786         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14787         compat_symbol macro.
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14789         (__fe_nomask_env): Likewise.
14790         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14791
14792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14793
14794         * string/Makefile: Remove ifunc tests.
14795         * string/test-string.h: Define TEST_IFUNC.
14796         * string/test-bcopy-ifunc.c: Remove.
14797         * string/test-bzero-ifunc.c: Likewise.
14798         * string/test-memccpy-ifunc.c: Likewise.
14799         * string/test-memchr-ifunc.c: Likewise.
14800         * string/test-memcmp-ifunc.c: Likewise.
14801         * string/test-memcpy-ifunc.c: Likewise.
14802         * string/test-memmem-ifunc.c: Likewise.
14803         * string/test-memmove-ifunc.c: Likewise.
14804         * string/test-mempcpy-ifunc.c: Likewise.
14805         * string/test-memrchr-ifunc.c: Likewise.
14806         * string/test-memset-ifunc.c: Likewise.
14807         * string/test-rawmemchr-ifunc.c: Likewise.
14808         * string/test-stpcpy-ifunc.c: Likewise.
14809         * string/test-stpncpy-ifunc.c: Likewise.
14810         * string/test-strcasecmp-ifunc.c: Likewise.
14811         * string/test-strcasestr-ifunc.c: Likewise.
14812         * string/test-strcat-ifunc.c: Likewise.
14813         * string/test-strchr-ifunc.c: Likewise.
14814         * string/test-strchrnul-ifunc.c: Likewise.
14815         * string/test-strcmp-ifunc.c: Likewise.
14816         * string/test-strcpy-ifunc.c: Likewise.
14817         * string/test-strcspn-ifunc.c: Likewise.
14818         * string/test-strlen-ifunc.c: Likewise.
14819         * string/test-strncasecmp-ifunc.c: Likewise.
14820         * string/test-strncat-ifunc.c: Likewise.
14821         * string/test-strncmp-ifunc.c: Likewise.
14822         * string/test-strncpy-ifunc.c: Likewise.
14823         * string/test-strnlen-ifunc.c: Likewise.
14824         * string/test-strpbrk-ifunc.c: Likewise.
14825         * string/test-strrchr-ifunc.c: Likewise.
14826         * string/test-strspn-ifunc.c: Likewise.
14827         * string/test-strstr-ifunc.c: Likewise.
14828
14829 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14830
14831         * benchtests/Makefile: Remove ifunc tests.
14832         * benchtests/bench-string.h: Define TEST_IFUNC.
14833         * benchtests/bench-bcopy-ifunc.c: Remove.
14834         * benchtests/bench-bzero-ifunc.c: Likewise.
14835         * benchtests/bench-memccpy-ifunc.c: Likewise.
14836         * benchtests/bench-memchr-ifunc.c: Likewise.
14837         * benchtests/bench-memcmp-ifunc.c: Likewise.
14838         * benchtests/bench-memcpy-ifunc.c: Likewise.
14839         * benchtests/bench-memmem-ifunc.c: Likewise.
14840         * benchtests/bench-memmove-ifunc.c: Likewise.
14841         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14842         * benchtests/bench-memrchr-ifunc.c: Likewise.
14843         * benchtests/bench-memset-ifunc.c: Likewise.
14844         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14845         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14846         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14847         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14848         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14849         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14850         * benchtests/bench-strcat-ifunc.c: Likewise.
14851         * benchtests/bench-strchr-ifunc.c: Likewise.
14852         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14853         * benchtests/bench-strcmp-ifunc.c: Likewise.
14854         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14855         * benchtests/bench-strcpy-ifunc.c: Likewise.
14856         * benchtests/bench-strcspn-ifunc.c: Likewise.
14857         * benchtests/bench-strlen-ifunc.c: Likewise.
14858         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14859         * benchtests/bench-strncat-ifunc.c: Likewise.
14860         * benchtests/bench-strncmp-ifunc.c: Likewise.
14861         * benchtests/bench-strncpy-ifunc.c: Likewise.
14862         * benchtests/bench-strnlen-ifunc.c: Likewise.
14863         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14864         * benchtests/bench-strrchr-ifunc.c: Likewise.
14865         * benchtests/bench-strsep-ifunc.c: Likewise.
14866         * benchtests/bench-strspn-ifunc.c: Likewise.
14867         * benchtests/bench-strstr-ifunc.c: Likewise.
14868
14869 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14870
14871         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14872
14873 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14874
14875         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14876         * rt/aio.h: Likewise.
14877         * sysdeps/gnu/bits/utmp.h: Likewise.
14878         * sysdeps/gnu/bits/utmpx.h: Likewise.
14879         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14880         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14881         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14882         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14883         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14884         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14885         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14886         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14887         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14888         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14889         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14890         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14891         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14893         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14894         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14895         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14896         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14897         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14898         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14899         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14900         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14901         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14902         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14903         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14904         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14905         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14906         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14907         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14908         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14909         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14910         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14911         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14912         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14913         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14914         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14915         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14916         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14917         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14918         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14919         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14920         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14921
14922 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14923
14924         [BZ #16245]
14925         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14926         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14927
14928 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14929
14930         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14931         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14932         Likewise.
14933
14934 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14935
14936         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14937         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14938         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14939         (__fesetround): Remove define.
14940         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14941         rounding and exceptions handling.
14942         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14943         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14944         (__fe_nomask_env): Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14946         __fegetround instead of fegetround.
14947         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14948         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14949
14950 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14951
14952         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14953         it's there.
14954
14955         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14956
14957 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14958
14959         [BZ #11157]
14960         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14961         (encrypt_r): Likewise.
14962         * malloc/obstack.h (obstack_free): Likewise.
14963         * posix/unistd.h (encrypt): Likewise.
14964
14965 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14966
14967         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14968         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14969         DL_CALL_DT_FINI() that call the functions directly.
14970         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14971         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14972         * elf/dl-fini.c: Likewise.
14973
14974 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14975
14976         * malloc/hooks.c (memalign_check): Add alignment rounding.
14977         * malloc/malloc.c (_mid_memalign): New function.
14978         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14979         Implement by calling _mid_memalign.
14980         * manual/probes.texi (Memory Allocation Probes): Remove
14981         memory_valloc_retry and memory_pvalloc_retry.
14982
14983 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14984
14985         * locale/programs/locarchive.c (open_archive): Add const
14986         qualifier to ARCHIVEFNAME and copy default fname to
14987         DEFAULT_FNAME.
14988
14989         [BZ #15601]
14990         * libio/tst-widetext.input: Rename Oriya to Odia.
14991         * locale/iso-639.def: Likewise.
14992
14993         * manual/probes.texi (Mathematical Function Probes): Add
14994         documentation for sin, cos, asin and acos probes.
14995         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14996         (__sin32): Add slowasin probe.
14997         (__cos32): Add slowacos probe.
14998         (__mpsin): Add slowsin probe.
14999         (__mpcos): Add slowcos probe.
15000
15001 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15002
15003         [BZ #15483]
15004         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15005         thread-local __sim_exceptions_thread and global
15006         __sim_exceptions_global.
15007         (__sim_disabled_exceptions): Change to thread-local
15008         __sim_disabled_exceptions_thread and global
15009         __sim_disabled_exceptions_global.
15010         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15011         and global __sim_round_mode_global.
15012         (__simulate_exceptions): Use thread-local floating-point state and
15013         set global state from it as needed.
15014         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15015         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15016         __sim_round_mode_thread.
15017         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15018         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15019         and global __sim_exceptions_global.
15020         (__sim_disabled_exceptions): Change to thread-local
15021         __sim_disabled_exceptions_thread and global
15022         __sim_disabled_exceptions_global.
15023         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15024         and global __sim_round_mode_global.
15025         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15026         (SIM_SET_GLOBAL): Likewise.
15027         * sysdeps/powerpc/soft-fp/sfp-machine.h
15028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15029         __sim_round_mode_thread.
15030         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15031         __sim_disabled_exceptions_thread.
15032         (__sim_exceptions): Change to __sim_exceptions_thread.
15033         (__sim_disabled_exceptions): Change to
15034         __sim_disabled_exceptions_thread.
15035         (__sim_round_mode): Change to __sim_round_mode_thread.
15036         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15037         thread-local floating-point state and set global state from it as
15038         needed.
15039         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15040         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15041         (__sim_disabled_exceptions): Remove extern declaration.
15042         (feenableexcept): Use thread-local floating-point state and set
15043         global state from it as needed.
15044         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15045         extern declaration.
15046         (__sim_disabled_exceptions): Likewise.
15047         (__sim_round_mode): Likewise.
15048         (__fegetenv): Use thread-local floating-point state.
15049         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15050         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15051         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15052         floating-point state and set global state from it as needed.
15053         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15054         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15055         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15056         Likewise.
15057         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15058         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15059         Likewise.
15060         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15061         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15062         Use __sim_round_mode_thread.
15063         * math/test-fenv-tls.c: New file.
15064         * math/Makefile (tests): Add test-fenv-tls.
15065         ($(objpfx)test-fenv-tls): Depend on
15066         $(common-objpfx)nptl/libpthread.so.
15067
15068 2013-11-19  Andreas Schwab  <schwab@suse.de>
15069
15070         * locale/programs/locale.c (show_info): Decode wordarray elements.
15071         * locale/categories.def (LC_MONETARY): Add element for
15072         _NL_MONETARY_CRNCYSTR.
15073         * locale/C-monetary.c (conversion_rate): New variable.
15074         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15075         element.
15076
15077 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15078
15079         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15080         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15081
15082 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15083
15084         * elf/Makefile (tst-auxv): New test.
15085         * elf/tst-auxv.c: New
15086         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15087
15088 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15089
15090         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15091         (hidden_proto): Caller changed.
15092         (hidden_tls_proto): New macro.
15093         (libc_hidden_tls_proto): Likewise.
15094         (rtld_hidden_tls_proto): Likewise.
15095         (libm_hidden_tls_proto): Likewise.
15096         (libresolv_hidden_tls_proto): Likewise.
15097         (librt_hidden_tls_proto): Likewise.
15098         (libdl_hidden_tls_proto): Likewise.
15099         (libnss_files_hidden_tls_proto): Likewise.
15100         (libnsl_hidden_tls_proto): Likewise.
15101         (libnss_nisplus_hidden_tls_proto): Likewise.
15102         (libutil_hidden_tls_proto): Likewise.
15103
15104 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15105
15106         [BZ #10253]
15107         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15108         (decompose_rpath): Defer expansion to fillin_rpath.
15109         (_dl_init_paths): Pass linkmap to fillin_rpath.
15110
15111 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15112
15113         * benchtests/Makefile: Add strsep.
15114         * benchtests/bench-strsep.c: New file: strsep benchtest.
15115         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15116
15117 2013-11-18  Andreas Schwab  <schwab@suse.de>
15118
15119         * locale/programs/locale.c (show_info) [case byte]: Check for
15120         '\377' instead of '\177'.
15121         * locale/C-monetary.c (not_available): Always use "\377".
15122         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15123         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15124         detect unavailable sign_posn locale elements.
15125         * locale/localeconv.c (__localeconv): For grouping and
15126         mon_grouping handle "\177" and "\377" like no grouping.
15127         (INT_ELEM): New macro.  Use it to set all numeric members.
15128         * locale/programs/ld-monetary.c (monetary_read)
15129         <tok_mon_grouping>: Normalize single -1 to the empty string.
15130         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15131         Likewise.
15132
15133 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15134
15135         [BZ #16055]
15136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15137         when we match (nil).
15138         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15139
15140 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15141
15142         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15143         (NO_TEST_INLINE): Update value.
15144         (ERRNO_UNCHANGED): Likewise.
15145         (ERRNO_EDOM): Likewise.
15146         (ERRNO_ERANGE): Likewise.
15147         (IGNORE_RESULT): Likewise.
15148         (check_float_internal): Check signs of NaN results if
15149         TEST_NAN_SIGN used.
15150         (check_complex): Pass TEST_NAN_SIGN flag through to second
15151         check_float_internal call.
15152         (copysign_test_data): Add tests with quiet NaNs as second
15153         argument.  Use TEST_NAN_SIGN.
15154         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15155         TEST_NAN_SIGN.
15156         (signbit_test_data): Add tests of quiet NaN argument.
15157         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15158
15159         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15160         $ignore_result.
15161         (parse_args): Handle function results specified as IGNORE.
15162         * math/libm-test.inc (IGNORE_RESULT): New macro.
15163         (check_float_internal): Do not check numerical result if flag
15164         IGNORE_RESULT set.
15165         (check_complex): Pass through IGNORE_RESULT to second
15166         check_float_internal call.
15167         (check_int): Do not check numerical result if flag IGNORE_RESULT
15168         set.
15169         (check_long): Likewise.
15170         (check_bool): Likewise.
15171         (check_longlong): Likewise.
15172         (lrint_test_data): Add tests of infinite and NaN arguments.
15173         (lrint_tonearest_test_data): Likewise.
15174         (lrint_towardzero_test_data): Likewise.
15175         (lrint_downward_test_data): Likewise.
15176         (lrint_upward_test_data): Likewise.
15177         (llrint_test_data): Likewise.
15178         (llrint_tonearest_test_data): Likewise.
15179         (llrint_towardzero_test_data): Likewise.
15180         (llrint_downward_test_data): Likewise.
15181         (llrint_upward_test_data): Likewise.
15182         (lround_test_data): Likewise.
15183         (llround_test_data): Likewise.
15184
15185         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15186         (ERRNO_UNCHANGED): Update value.
15187         (ERRNO_EDOM): Likewise.
15188         (ERRNO_ERANGE): Likewise.
15189         (NO_TEST_INLINE_FLOAT): New macro.
15190         (NO_TEST_INLINE_DOUBLE): Likewise.
15191         (enable_test): New function.
15192         (RUN_TEST_f_f): Check enable_test before running test.
15193         (RUN_TEST_2_f): Likewise.
15194         (RUN_TEST_fff_f): Likewise.
15195         (RUN_TEST_c_f): Likewise.
15196         (RUN_TEST_f_f1): Likewise.
15197         (RUN_TEST_fF_f1): Likewise.
15198         (RUN_TEST_fI_f1): Likewise.
15199         (RUN_TEST_ffI_f1): Likewise.
15200         (RUN_TEST_c_c): Likewise.
15201         (RUN_TEST_cc_c): Likewise.
15202         (RUN_TEST_f_i): Likewise.
15203         (RUN_TEST_f_i_tg): Likewise.
15204         (RUN_TEST_ff_i_tg): Likewise.
15205         (RUN_TEST_f_b): Likewise.
15206         (RUN_TEST_f_b_tg): Likewise.
15207         (RUN_TEST_f_l): Likewise.
15208         (RUN_TEST_f_L): Likewise.
15209         (RUN_TEST_fFF_11): Likewise.
15210         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15211         conditionals.
15212         (cosh_test_data): Likewise.
15213         (exp_test_data): Likewise.
15214         (expm1_test_data): Likewise.
15215         (hypot_test_data): Likewise.
15216         (pow_test_data): Likewise.
15217         (sinh_test_data): Likewise.
15218         (tanh_test_data): Likewise.
15219         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15220         flags argument.
15221
15222         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15223         tests with quiet NaN input and output.
15224         (acosh_test_data): Likewise.
15225         (asin_test_data): Likewise.
15226         (asinh_test_data): Likewise.
15227         (atan_test_data): Likewise.
15228         (atanh_test_data): Likewise.
15229         (atan2_test_data): Likewise.
15230         (cbrt_test_data): Likewise.
15231         (cos_test_data): Likewise.
15232         (cosh_test_data): Likewise.
15233         (erf_test_data): Likewise.
15234         (erfc_test_data): Likewise.
15235         (exp_test_data): Likewise.
15236         (exp10_test_data): Likewise.
15237         (exp2_test_data): Likewise.
15238         (expm1_test_data): Likewise.
15239         (hypot_test_data): Likewise.
15240         (j0_test_data): Likewise.
15241         (j1_test_data): Likewise.
15242         (jn_test_data): Likewise.
15243         (lgamma_test_data): Likewise.
15244         (log_test_data): Likewise.
15245         (log10_test_data): Likewise.
15246         (log1p_test_data): Likewise.
15247         (log2_test_data): Likewise.
15248         (pow_test_data): Likewise.
15249         (scalb_test_data): Likewise.
15250         (sin_test_data): Likewise.
15251         (sincos_test_data): Likewise.
15252         (sinh_test_data): Likewise.
15253         (tan_test_data): Likewise.
15254         (tanh_test_data): Likewise.
15255         (tgamma_test_data): Likewise.
15256         (y0_test_data): Likewise.
15257         (y1_test_data): Likewise.
15258         (yn_test_data): Likewise.
15259
15260         [BZ #16167]
15261         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15262         argument being NaN and avoid computations with second argument in
15263         that case.
15264         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15265         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15266         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15267
15268 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15269
15270         * locale/iso-639.def: Add Chitwani Tharu (the).
15271
15272 2013-11-14  Andreas Schwab  <schwab@suse.de>
15273
15274         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15275         word instead of empty string.
15276
15277 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15278
15279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15280         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15282         (__fe_nomask_env): Likewise.
15283
15284 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15285
15286         * benchtests/bench-timing.h: Include time.h.
15287
15288 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15289
15290         [BZ #15997]
15291         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15292         to 3.4.0 for x32.
15293         * sysdeps/unix/sysv/linux/configure: Regenerated.
15294
15295 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15296
15297         [BZ #16151]
15298         * stdlib/strtod_l.c (round_and_return): Do not consider
15299         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15300         exponent one less than half the least subnormal exponent.
15301         * stdlib/test-strtod-round-data: Add more tests.
15302         * stdlib/tst-strtod-round.c (tests): Regenerated.
15303
15304 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15305
15306         [BZ #14143]
15307         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15308         (__fe_mask_env): Likewise.
15309         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15310         libm_hidden_proto and add function prototype.
15311         (__fe_mask_env): Add function prototype.
15312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15313         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15315         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15317         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15318
15319 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15320
15321         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15322         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15323
15324 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15325
15326         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15327         of htab_find_slot().
15328
15329 2013-11-11  David S. Miller  <davem@davemloft.net>
15330
15331         [BZ #16150]
15332         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15333         symbol in the non-vis3 case in static builds.
15334         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15335         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15336         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15337         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15338
15339 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15340
15341         [BZ #387]
15342         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15343         it is empty.
15344
15345 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15346
15347         * benchtests/Makefile: Add bench-strtod.
15348         * benchtests/bench-strtod.c: New file: strtod benchtest
15349
15350 2013-11-11  Andreas Schwab  <schwab@suse.de>
15351
15352         [BZ #16153]
15353         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15354         terminating NUL in key length.
15355
15356 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15357
15358         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15359         Add artificial ODP entry for vDSO symbol for PPC64.
15360         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15361         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15362
15363 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15364
15365         [BZ #15374]
15366         * nss/getent.c (services_keys): Recognize services starting with digit.
15367
15368 2013-11-06  David S. Miller  <davem@davemloft.net>
15369
15370         [BZ #15985]
15371         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15372         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15373
15374 2013-11-06  Will Newton  <will.newton@linaro.org>
15375
15376         * manual/memory.texi (Malloc Examples): Remove register
15377         keyword from examples.
15378
15379 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15380
15381         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15382
15383 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15384
15385         [BZ #6981]
15386         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15387         depending on [__GCC_IEC_559 > 0].
15388         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15389         depending on [__GCC_IEC_559_COMPLEX > 0].
15390
15391 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15392
15393         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15394         to iso-639.def.
15395
15396 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15397
15398         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15399
15400 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15401
15402         [BZ #16112]
15403         * malloc/malloc (malloc_info): Do not handle first bin as
15404         special case.
15405
15406 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15407
15408         * locale/iso-639.def: Add Central Nahuatl (nhn).
15409
15410 2013-11-01  Bruno Haible  <bruno@clisp.org>
15411
15412         [BZ #7003]
15413         * manual/math.texi (BSD Random): Specify range upper bound as
15414         in POSIX.
15415
15416 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15417
15418         * locale/iso-639.def: Add Meadow Mari (mhr).
15419
15420 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15421
15422         [BZ #14752], [BZ #15763]
15423         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15424         Validate name.
15425         * rt/tst_shm.c: Add test for escaping directory.
15426
15427 2013-10-31  Andreas Schwab  <schwab@suse.de>
15428
15429         [BZ #15917]
15430         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15431         followed by 'x' as part of digit sequence.
15432         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15433
15434 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15435
15436         [BZ #16037]
15437         * configure.ac: allow GNU Make 4.0 and greater.
15438         * configure: Regenerated.
15439
15440 2013-10-30  Will Newton  <will.newton@linaro.org>
15441
15442         [BZ #16038]
15443         * malloc/hooks.c (memalign_check): Limit alignment to the
15444         maximum representable power of two.
15445         * malloc/malloc.c (__libc_memalign): Likewise.
15446         * malloc/tst-memalign.c (do_test): Add test for very
15447         large alignment values.
15448         * malloc/tst-posix_memalign.c (do_test): Likewise.
15449
15450 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15451
15452         [BZ #11087]
15453         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15454         (munmap_chunk): Likewise.
15455         (mremap_chunk): Likewise.
15456
15457 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15458
15459         [BZ #15799]
15460         * stdlib/div.c (div): Remove obsolete code.
15461         * stdlib/ldiv.c (ldiv): Likewise.
15462         * stdlib/lldiv.c (lldiv): Likewise.
15463
15464 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15465
15466         [BZ #16071]
15467         * nss/nss_files/files-XXX.c (get_contents_ret): New
15468         enumerator.
15469         (get_contents): New function.
15470         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15471
15472 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15473
15474         * configure.in: Moved to ...
15475         * configure.ac: ... here. Change reference to configure.in
15476         to configure.ac.
15477         * sysdeps/arm/preconfigure.ac: ... here.
15478         configure.in to configure.ac.
15479         * sysdeps/gnu/configure.in: Moved to ...
15480         * sysdeps/gnu/configure.ac: ... here.
15481         * sysdeps/i386/configure.in: Moved to ...
15482         * sysdeps/i386/configure.ac: ... here.
15483         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15484         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15485         * sysdeps/mach/configure.in: Moved to ...
15486         * sysdeps/mach/configure.ac: ... here.
15487         * sysdeps/mach/hurd/configure.in: Moved to ...
15488         * sysdeps/mach/hurd/configure.ac: ... here.
15489         * sysdeps/powerpc/configure.in: Moved to ...
15490         * sysdeps/powerpc/configure.ac: ... here.
15491         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15492         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15493         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15494         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15495         * sysdeps/s390/s390-32/configure.in: Moved to ...
15496         * sysdeps/s390/s390-32/configure.ac: ... here.
15497         * sysdeps/s390/s390-64/configure.in: Moved to ...
15498         * sysdeps/s390/s390-64/configure.ac: ... here.
15499         * sysdeps/sh/configure.in: Moved to ...
15500         * sysdeps/sh/configure.ac: ... here.
15501         * sysdeps/sparc/configure.in: Moved to ...
15502         * sysdeps/sparc/configure.ac: ... here.
15503         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15504         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15505         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15506         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15507         * sysdeps/x86_64/configure.in: Moved to ...
15508         * sysdeps/x86_64/configure.ac: ... here.
15509         * sysdeps/x86_64/preconfigure.in: Moved to ...
15510         * sysdeps/x86_64/preconfigure.ac: ... here.
15511         * aclocal.m4: Change reference to configure.in to configure.ac.
15512         * config.h.in: Likewise.
15513         * manual/install.texi: Likewise.
15514         * manual/maint.texi: Likewise.
15515         * Makefile: Likewise.
15516         * malloc/Makefile: Likewise.
15517         * nscd/Makefile: Likewise.
15518         * Makeconfig: Change reference to configure.in and
15519         preconfigure.in to configure.ac and preconfigure.ac
15520         respectively.
15521         * INSTALL: Regenerated.
15522         * configure: Likewise.
15523         * sysdeps/gnu/configure: Likewise.
15524         * sysdeps/i386/configure: Likewise.
15525         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15526         * sysdeps/mach/configure: Likewise.
15527         * sysdeps/mach/hurd/configure: Likewise.
15528         * sysdeps/powerpc/configure: Likewise.
15529         * sysdeps/powerpc/powerpc32/configure: Likewise.
15530         * sysdeps/powerpc/powerpc64/configure: Likewise.
15531         * sysdeps/s390/s390-32/configure: Likewise.
15532         * sysdeps/s390/s390-64/configure: Likewise.
15533         * sysdeps/sh/configure: Likewise.
15534         * sysdeps/sparc/configure: Likewise.
15535         * sysdeps/unix/sysv/linux/configure: Likewise.
15536         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15537         * sysdeps/x86_64/configure: Likewise.
15538         * sysdeps/x86_64/preconfigure: Likewise.
15539
15540 2013-10-29  Andreas Schwab  <schwab@suse.de>
15541
15542         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15543
15544 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15545
15546         * benchtests/pow-inputs: Add new inputs.
15547
15548         * benchtests/exp-inputs: Add new inputs.
15549
15550         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15551         conditional check for return value.
15552         (__cos32): Likewise.
15553
15554 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15555
15556         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15557         to provide a boost for large inputs with word alignment.
15558         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15559         implementation based on optimized PPC64 strcpy.
15560         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15561         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15562         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15563         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15564
15565 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15566
15567         [BZ #2801]
15568         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15569
15570 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15571
15572         [BZ #14876]
15573         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15574         * time/tst-strptime.c (day_tests): Add testcase.
15575
15576 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15577
15578         [BZ #14029]
15579         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15580
15581 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15582
15583         [BZ #16074]
15584         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15585         MAP_FAILED on error.
15586
15587 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15588
15589         [BZ #16072]
15590         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15591         heap for large requests.
15592
15593 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15594
15595         [BZ #9954]
15596         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15597         result if the result has no associated interface.
15598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15599         interface for all 127.X.Y.Z addresses.
15600
15601 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15602
15603         * locale/iso-639.def: Add Ligurian (lij)
15604
15605 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15606
15607         [BZ #15825]
15608         * sunrpc/rpc_main.c: Document rpcgen -5.
15609
15610 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15611
15612         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15613
15614 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15615
15616         [BZ #10278]
15617         * posix/glob.c: Match only directories when trailing slash is present.
15618         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15619         (main): Add testcase.
15620
15621 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15622
15623         [BZ #15670]
15624         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15625
15626 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15627
15628         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15629         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15630         AUTH_DES and cindex for FIPS 140-2.
15631         (DES Encryption): Add cindex FIPS 46-3.
15632
15633         * locale/locarchive.h (struct locarhandle): Add fname.
15634         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15635         if an optional argument was specified to --list-archive,
15636         otherwise NULL.
15637         * locale/programs/locarchive.c (show_archive_content): Take new
15638         argument fname and pass it via ah.fname to open_archive.
15639         * locale/programs/localedef.h: Update decl.
15640         (open_archive): If AH->fname is non-null, open that file
15641         rather than the default file name, and don't ignore ENOENT.
15642         (create_archive): Set AH.fname to NULL.
15643         (delete_locales_from_archive): Likewise.
15644         (add_locales_to_archive): Likewise.
15645         * locale/programs/locfile.c (write_all_categories): Likewise.
15646
15647 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15648             Aldy Hernandez  <aldyh@redhat.com>
15649
15650         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15651         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15652         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15653         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15654         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15656         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15657         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15658         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15659         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15660         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15661         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15662         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15663         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15665         Likewise.
15666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15667         Likewise.
15668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15669         Likewise.
15670         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15671         Likewise.
15672         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15674         Likewise.
15675         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15676         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15677         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15678         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15679         Likewise.
15680         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15681         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15682         * sysdeps/powerpc/preconfigure: Likewise.
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15684         Likewise.
15685         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15686         Replace contents of file by #include of <fenv_libc.h>.
15687         * sysdeps/powerpc/soft-fp/sfp-machine.h
15688         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15689         and <sys/prctl.h>.
15690         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15701         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15703         Allow copysignl PLT reference to be missing.
15704
15705 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15706             Joseph Myers  <joseph@codesourcery.com
15707
15708         [BZ #15948]
15709         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15710         single character.
15711         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15712
15713 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15714
15715         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15716         * elf/tst-tls1.c: Likewise.
15717         * elf/tst-tls10.h: Likewise.
15718         * elf/tst-tls14.c: Likewise.
15719         * elf/tst-tls2.c: Likewise.
15720         * elf/tst-tls3.c: Likewise.
15721         * elf/tst-tls4.c: Likewise.
15722         * elf/tst-tls5.c: Likewise.
15723         * elf/tst-tls6.c: Likewise.
15724         * elf/tst-tls7.c: Likewise.
15725         * elf/tst-tls8.c: Likewise.
15726         * elf/tst-tls9.c: Likewise.
15727         * elf/tst-tlsmod1.c: Likewise.
15728         * elf/tst-tlsmod13.c: Likewise.
15729         * elf/tst-tlsmod13a.c: Likewise.
15730         * elf/tst-tlsmod14a.c: Likewise.
15731         * elf/tst-tlsmod16a.c: Likewise.
15732         * elf/tst-tlsmod16b.c: Likewise.
15733         * elf/tst-tlsmod2.c: Likewise.
15734         * elf/tst-tlsmod3.c: Likewise.
15735         * elf/tst-tlsmod4.c: Likewise.
15736         * elf/tst-tlsmod5.c: Likewise.
15737         * elf/tst-tlsmod6.c: Likewise.
15738
15739 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15740
15741         [BZ #12486]
15742         * malloc/malloc.c: remove checks for statistics.
15743
15744 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15745
15746         [BZ #15277]
15747         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15748         * inet/tst-network.c: Add testcase.
15749
15750 2013-10-17  Andreas Schwab  <schwab@suse.de>
15751
15752         [BZ #15218]
15753         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15754         to determine canonical name.
15755
15756 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15757
15758         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15759         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15761         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15763         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15764         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15765         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15766         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15767         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15768         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15769         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15770         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15771         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15772         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15773         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15774         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15775         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15776         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15777         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15778         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15781         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15782         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15783         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15784         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15785         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15786         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15787         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15788         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15790         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15791         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15792         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15793         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15794         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15795         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15796         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15797         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15798         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15799         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15800         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15801         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15802         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15803         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15804         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15805         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15806         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15807         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15808         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15809         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15810         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15811         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15812         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15813         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15815         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15816
15817 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15818
15819         [BZ #16041]
15820         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15821         make result into a quiet NaN.
15822
15823 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15824
15825         * soft-fp/adddf3.c: Fix horizontal whitespace.
15826         * soft-fp/addsf3.c: Likewise.
15827         * soft-fp/addtf3.c: Likewise.
15828         * soft-fp/divdf3.c: Likewise.
15829         * soft-fp/divsf3.c: Likewise.
15830         * soft-fp/divtf3.c: Likewise.
15831         * soft-fp/double.h: Likewise.
15832         * soft-fp/eqdf2.c: Likewise.
15833         * soft-fp/eqsf2.c: Likewise.
15834         * soft-fp/eqtf2.c: Likewise.
15835         * soft-fp/extenddftf2.c: Likewise.
15836         * soft-fp/extended.h: Likewise.
15837         * soft-fp/extendsfdf2.c: Likewise.
15838         * soft-fp/extendsftf2.c: Likewise.
15839         * soft-fp/extendxftf2.c: Likewise.
15840         * soft-fp/fixdfdi.c: Likewise.
15841         * soft-fp/fixdfsi.c: Likewise.
15842         * soft-fp/fixdfti.c: Likewise.
15843         * soft-fp/fixsfdi.c: Likewise.
15844         * soft-fp/fixsfsi.c: Likewise.
15845         * soft-fp/fixsfti.c: Likewise.
15846         * soft-fp/fixtfdi.c: Likewise.
15847         * soft-fp/fixtfsi.c: Likewise.
15848         * soft-fp/fixtfti.c: Likewise.
15849         * soft-fp/fixunsdfdi.c: Likewise.
15850         * soft-fp/fixunsdfsi.c: Likewise.
15851         * soft-fp/fixunsdfti.c: Likewise.
15852         * soft-fp/fixunssfdi.c: Likewise.
15853         * soft-fp/fixunssfsi.c: Likewise.
15854         * soft-fp/fixunssfti.c: Likewise.
15855         * soft-fp/fixunstfdi.c: Likewise.
15856         * soft-fp/fixunstfsi.c: Likewise.
15857         * soft-fp/fixunstfti.c: Likewise.
15858         * soft-fp/floatdidf.c: Likewise.
15859         * soft-fp/floatdisf.c: Likewise.
15860         * soft-fp/floatditf.c: Likewise.
15861         * soft-fp/floatsidf.c: Likewise.
15862         * soft-fp/floatsisf.c: Likewise.
15863         * soft-fp/floatsitf.c: Likewise.
15864         * soft-fp/floattidf.c: Likewise.
15865         * soft-fp/floattisf.c: Likewise.
15866         * soft-fp/floattitf.c: Likewise.
15867         * soft-fp/floatundidf.c: Likewise.
15868         * soft-fp/floatundisf.c: Likewise.
15869         * soft-fp/floatunditf.c: Likewise.
15870         * soft-fp/floatunsidf.c: Likewise.
15871         * soft-fp/floatunsisf.c: Likewise.
15872         * soft-fp/floatunsitf.c: Likewise.
15873         * soft-fp/floatuntidf.c: Likewise.
15874         * soft-fp/floatuntisf.c: Likewise.
15875         * soft-fp/floatuntitf.c: Likewise.
15876         * soft-fp/fmadf4.c: Likewise.
15877         * soft-fp/fmasf4.c: Likewise.
15878         * soft-fp/fmatf4.c: Likewise.
15879         * soft-fp/gedf2.c: Likewise.
15880         * soft-fp/gesf2.c: Likewise.
15881         * soft-fp/getf2.c: Likewise.
15882         * soft-fp/ledf2.c: Likewise.
15883         * soft-fp/lesf2.c: Likewise.
15884         * soft-fp/letf2.c: Likewise.
15885         * soft-fp/muldf3.c: Likewise.
15886         * soft-fp/mulsf3.c: Likewise.
15887         * soft-fp/multf3.c: Likewise.
15888         * soft-fp/negdf2.c: Likewise.
15889         * soft-fp/negsf2.c: Likewise.
15890         * soft-fp/negtf2.c: Likewise.
15891         * soft-fp/op-1.h: Likewise.
15892         * soft-fp/op-2.h: Likewise.
15893         * soft-fp/op-4.h: Likewise.
15894         * soft-fp/op-8.h: Likewise.
15895         * soft-fp/op-common.h: Likewise.
15896         * soft-fp/quad.h: Likewise.
15897         * soft-fp/single.h: Likewise.
15898         * soft-fp/soft-fp.h: Likewise.
15899         * soft-fp/sqrtdf2.c: Likewise.
15900         * soft-fp/sqrtsf2.c: Likewise.
15901         * soft-fp/sqrttf2.c: Likewise.
15902         * soft-fp/subdf3.c: Likewise.
15903         * soft-fp/subsf3.c: Likewise.
15904         * soft-fp/subtf3.c: Likewise.
15905         * soft-fp/truncdfsf2.c: Likewise.
15906         * soft-fp/trunctfdf2.c: Likewise.
15907         * soft-fp/trunctfsf2.c: Likewise.
15908         * soft-fp/trunctfxf2.c: Likewise.
15909         * soft-fp/unorddf2.c: Likewise.
15910         * soft-fp/unordsf2.c: Likewise.
15911         * soft-fp/unordtf2.c: Likewise.
15912
15913 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15914
15915         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15916         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15917
15918 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15919
15920         * elf/dl-libc.c: Clear initfini list after freeing.
15921
15922 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15923
15924         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15925         * soft-fp/addsf3.c: Likewise.
15926         * soft-fp/addtf3.c: Likewise.
15927         * soft-fp/divdf3.c: Likewise.
15928         * soft-fp/divsf3.c: Likewise.
15929         * soft-fp/divtf3.c: Likewise.
15930         * soft-fp/double.h: Likewise.
15931         * soft-fp/eqdf2.c: Likewise.
15932         * soft-fp/eqsf2.c: Likewise.
15933         * soft-fp/eqtf2.c: Likewise.
15934         * soft-fp/extenddftf2.c: Likewise.
15935         * soft-fp/extended.h: Likewise.
15936         * soft-fp/extendsfdf2.c: Likewise.
15937         * soft-fp/extendsftf2.c: Likewise.
15938         * soft-fp/extendxftf2.c: Likewise.
15939         * soft-fp/fixdfdi.c: Likewise.
15940         * soft-fp/fixdfsi.c: Likewise.
15941         * soft-fp/fixdfti.c: Likewise.
15942         * soft-fp/fixsfdi.c: Likewise.
15943         * soft-fp/fixsfsi.c: Likewise.
15944         * soft-fp/fixsfti.c: Likewise.
15945         * soft-fp/fixtfdi.c: Likewise.
15946         * soft-fp/fixtfsi.c: Likewise.
15947         * soft-fp/fixtfti.c: Likewise.
15948         * soft-fp/fixunsdfdi.c: Likewise.
15949         * soft-fp/fixunsdfsi.c: Likewise.
15950         * soft-fp/fixunsdfti.c: Likewise.
15951         * soft-fp/fixunssfdi.c: Likewise.
15952         * soft-fp/fixunssfsi.c: Likewise.
15953         * soft-fp/fixunssfti.c: Likewise.
15954         * soft-fp/fixunstfdi.c: Likewise.
15955         * soft-fp/fixunstfsi.c: Likewise.
15956         * soft-fp/fixunstfti.c: Likewise.
15957         * soft-fp/floatdidf.c: Likewise.
15958         * soft-fp/floatdisf.c: Likewise.
15959         * soft-fp/floatditf.c: Likewise.
15960         * soft-fp/floatsidf.c: Likewise.
15961         * soft-fp/floatsisf.c: Likewise.
15962         * soft-fp/floatsitf.c: Likewise.
15963         * soft-fp/floattidf.c: Likewise.
15964         * soft-fp/floattisf.c: Likewise.
15965         * soft-fp/floattitf.c: Likewise.
15966         * soft-fp/floatundidf.c: Likewise.
15967         * soft-fp/floatundisf.c: Likewise.
15968         * soft-fp/floatunsidf.c: Likewise.
15969         * soft-fp/floatunsisf.c: Likewise.
15970         * soft-fp/floatuntidf.c: Likewise.
15971         * soft-fp/floatuntisf.c: Likewise.
15972         * soft-fp/floatuntitf.c: Likewise.
15973         * soft-fp/fmadf4.c: Likewise.
15974         * soft-fp/fmasf4.c: Likewise.
15975         * soft-fp/fmatf4.c: Likewise.
15976         * soft-fp/gedf2.c: Likewise.
15977         * soft-fp/gesf2.c: Likewise.
15978         * soft-fp/getf2.c: Likewise.
15979         * soft-fp/ledf2.c: Likewise.
15980         * soft-fp/lesf2.c: Likewise.
15981         * soft-fp/letf2.c: Likewise.
15982         * soft-fp/muldf3.c: Likewise.
15983         * soft-fp/mulsf3.c: Likewise.
15984         * soft-fp/multf3.c: Likewise.
15985         * soft-fp/negdf2.c: Likewise.
15986         * soft-fp/negsf2.c: Likewise.
15987         * soft-fp/negtf2.c: Likewise.
15988         * soft-fp/op-1.h: Likewise.
15989         * soft-fp/op-2.h: Likewise.
15990         * soft-fp/op-4.h: Likewise.
15991         * soft-fp/op-8.h: Likewise.
15992         * soft-fp/op-common.h: Likewise.
15993         * soft-fp/quad.h: Likewise.
15994         * soft-fp/single.h: Likewise.
15995         * soft-fp/soft-fp.h: Likewise.
15996         * soft-fp/sqrtdf2.c: Likewise.
15997         * soft-fp/sqrtsf2.c: Likewise.
15998         * soft-fp/sqrttf2.c: Likewise.
15999         * soft-fp/subdf3.c: Likewise.
16000         * soft-fp/subsf3.c: Likewise.
16001         * soft-fp/subtf3.c: Likewise.
16002         * soft-fp/truncdfsf2.c: Likewise.
16003         * soft-fp/trunctfdf2.c: Likewise.
16004         * soft-fp/trunctfsf2.c: Likewise.
16005         * soft-fp/trunctfxf2.c: Likewise.
16006         * soft-fp/unorddf2.c: Likewise.
16007         * soft-fp/unordsf2.c: Likewise.
16008         * soft-fp/unordtf2.c: Likewise.
16009
16010 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16011
16012         [BZ #15672]
16013         * misc/error.c (error_tail): Fix possible buffer overflow.
16014
16015 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16016
16017         [BZ #13028]
16018         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16019         address.
16020
16021 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16022
16023         [BZ #832]
16024         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16025         testing pipefail option.
16026
16027 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16028
16029         * soft-fp/double.h: Indent preprocessor directives inside #if.
16030         * soft-fp/extended.h: Likewise.
16031         * soft-fp/op-2.h: Likewise.
16032         * soft-fp/op-4.h: Likewise.
16033         * soft-fp/op-common.h: Likewise.
16034         * soft-fp/quad.h: Likewise.
16035         * soft-fp/single.h: Likewise.
16036         * soft-fp/soft-fp.h: Likewise.
16037
16038 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16039
16040         * iconv/iconv_prog.c: Fix typos.
16041         * stdio-common/psiginfo-data.h: Likewise.
16042
16043 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16044
16045         [BZ #15764]
16046         * locale/setlocale.c: Fix typo.
16047
16048 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16049
16050         [BZ #16036]
16051         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16052         signaling NaN arguments.
16053         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16054         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16055
16056         [BZ #14910]
16057         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16058         unordered operands.
16059         * soft-fp/gesf2.c (__gesf2): Likewise.
16060         * soft-fp/getf2.c (__getf2): Likewise.
16061         * soft-fp/ledf2.c (__ledf2): Likewise.
16062         * soft-fp/lesf2.c (__lesf2): Likewise.
16063         * soft-fp/letf2.c (__letf2): Likewise.
16064
16065         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16066         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16067         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16068         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16069         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16070         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16071         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16072         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16073         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16074         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16075         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16076         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16077         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16078         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16079         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16080         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16081         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16082         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16083         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16084         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16085         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16086         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16087         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16088         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16089         * soft-fp/floattidf.c (__floattidf): Likewise.
16090         * soft-fp/floattisf.c (__floattisf): Likewise.
16091         * soft-fp/floattitf.c (__floattitf): Likewise.
16092         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16093         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16094         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16095         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16096         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16097         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16098         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16099         * soft-fp/gesf2.c (__gesf2): Likewise.
16100         * soft-fp/getf2.c (__getf2): Likewise.
16101         * soft-fp/ledf2.c (__ledf2): Likewise.
16102         * soft-fp/lesf2.c (__lesf2): Likewise.
16103         * soft-fp/letf2.c (__letf2): Likewise.
16104
16105         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16106         Undefine and redefine.
16107         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16108         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16109         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16110         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16111         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16112         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16113         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16114         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16115         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16116         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16117         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16118         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16119         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16120         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16121         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16122
16123         [BZ #16032]
16124         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16125         without decrementing exponent if mantissa >= that for the
16126         denominator, not >.
16127         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16128         denominator, not >.  Decrement exponent in < case instead of
16129         incrementing in >= case.
16130         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16131         without decrementing exponent if mantissa >= that for the
16132         denominator, not >.
16133
16134         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16135         computing saturated result for unsigned overflow.
16136
16137 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16138             Jeff Law  <law@redhat.com>
16139
16140         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16141         (atan2Mp): Add systemtap probe marker.
16142         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16143         (__ieee754_log): Add systemtap probe marker.
16144         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16145         (atanMp): Add systemtap probe marker.
16146         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16147         (tanMp): Add systemtap probe marker.
16148         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16149         (__slowexp): Add systemtap probe marker.
16150         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16151         (__slowpow): Add systemtap probe marker.
16152         * manual/probes.texi: Document probes.
16153
16154 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16155
16156         [BZ #15362]
16157         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16158         written.
16159         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16160         written.
16161         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16162         written to buffer but not flushed.
16163         * libio/iofwrite_u.c:  Likewise.
16164         * libio/iopadn.c:  Return bytes returned even if EOF was
16165         encountered.
16166         * libio/iowpadn.c:  Likewise.
16167         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16168         if _IO_padn does not write the whole buffer.
16169         [!COMPILE_WPRINTF] (PAD): Likewise.
16170
16171 2013-10-10  David S. Miller  <davem@davemloft.net>
16172
16173         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16174         directory block.
16175
16176 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16177
16178         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16179         instead of FSF address.
16180         * soft-fp/fixdfti.c: Likewise.
16181         * soft-fp/fixsfti.c: Likewise.
16182         * soft-fp/fixtfti.c: Likewise.
16183         * soft-fp/fixunsdfti.c: Likewise.
16184         * soft-fp/fixunssfti.c: Likewise.
16185         * soft-fp/fixunstfti.c: Likewise.
16186         * soft-fp/floattidf.c: Likewise.
16187         * soft-fp/floattisf.c: Likewise.
16188         * soft-fp/floattitf.c: Likewise.
16189         * soft-fp/floatuntidf.c: Likewise.
16190         * soft-fp/floatuntisf.c: Likewise.
16191         * soft-fp/floatuntitf.c: Likewise.
16192         * soft-fp/trunctfxf2.c: Likewise.
16193
16194         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16195         * soft-fp/fixdfti.c: Likewise.
16196         * soft-fp/fixsfti.c: Likewise.
16197         * soft-fp/fixtfti.c: Likewise.
16198         * soft-fp/fixunsdfti.c: Likewise.
16199         * soft-fp/fixunssfti.c: Likewise.
16200         * soft-fp/fixunstfti.c: Likewise.
16201         * soft-fp/floattidf.c: Likewise.
16202         * soft-fp/floattisf.c: Likewise.
16203         * soft-fp/floattitf.c: Likewise.
16204         * soft-fp/floatuntidf.c: Likewise.
16205         * soft-fp/floatuntisf.c: Likewise.
16206         * soft-fp/floatuntitf.c: Likewise.
16207         * soft-fp/trunctfxf2.c: Likewise.
16208
16209 2013-10-10  David S. Miller  <davem@davemloft.net>
16210
16211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16212
16213 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16214
16215         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16216         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16217         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16218         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16219         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16220         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16221         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16222
16223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16224         for NaNs before doing comparisons on argument.
16225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16226         Likewise.
16227
16228 2013-10-10  Will Newton  <will.newton@linaro.org>
16229
16230         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16231         passed to _int_memalign does not overflow.
16232
16233 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16234
16235         * scripts/bench.pl: Add include-sources directive.
16236         * benchtests/README: Update documentation.
16237
16238 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16239
16240         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16241         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16242         instead of FP_INIT_ROUNDMODE.
16243         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16244         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16245
16246         [BZ #16034]
16247         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16248         copy class of input value.
16249         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16250         not handle exceptions.
16251         * soft-fp/negsf2.c (__negsf2): Likewise.
16252         * soft-fp/negtf2.c (__negtf2): Likewise.
16253         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16254
16255 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16256
16257         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16258         semicolon.  From Linux kernel.
16259
16260 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16261
16262         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16263
16264 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16265
16266         [BZ #156]
16267         * manual/socket.texi: Added statement about buffer
16268         for gethostbyname2_r.
16269
16270 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16271
16272         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16273         Use .p2align directive instead, throughout.
16274         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16275         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16276         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16277         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16279         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16280         * sysdeps/x86_64/strchr.S: Likewise.
16281         * sysdeps/x86_64/strrchr.S: Likewise.
16282
16283 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16284
16285         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16286
16287         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16288
16289         * sysdeps/generic/math_private.h (__mpsin1): Remove
16290         declaration.
16291         (__mpcos1): Likewise.
16292         (__mpsin): New argument __range_reduce.
16293         (__mpcos): Likewise.
16294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16295         (slow): Use __mpsin and __mpcos.
16296         (slow1): Likewise.
16297         (slow2): Likewise.
16298         (sloww): Likewise.
16299         (sloww1): Likewise.
16300         (sloww2): Likewise.
16301         (bsloww): Likewise.
16302         (bsloww1): Likewise.
16303         (bsloww2): Likewise.
16304         (cslow2): Likewise.
16305         (csloww): Likewise.
16306         (csloww1): Likewise.
16307         (csloww2): Likewise.
16308         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16309         range_reduce.  Merge in __mpsin1.
16310         (__mpcos): Likewise.
16311         (__mpsin1): Remove.
16312         (__mpcos1): Likewise.
16313
16314 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16315
16316         * locale/loadlocale.c (_nl_intern_locale_data): Use
16317         LOCFILE_ALIGNED_P.
16318         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16319         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16320         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16321         obstack data is appropriately aligned.
16322         (obstack_int32_grow_fast): Likewise.
16323         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16324         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16325         (add_locale_uint32_array): Likewise.
16326
16327 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16328
16329         * benchtests/Makefile: Remove ARGLIST and RET variables.
16330         ($(objpfx)bench-%.c): Pass only function name to the script.
16331         * benchtests/README: Update documentation.
16332         * benchtests/acos-inputs: Add new directives.
16333         * benchtests/acosh-inputs: Likewise.
16334         * benchtests/asin-inputs: Likewise.
16335         * benchtests/asinh-inputs: Likewise.
16336         * benchtests/atan-inputs: Likewise.
16337         * benchtests/atanh-inputs: Likewise.
16338         * benchtests/cos-inputs: Likewise.
16339         * benchtests/cosh-inputs: Likewise.
16340         * benchtests/exp-inputs: Likewise.
16341         * benchtests/log-inputs: Likewise.
16342         * benchtests/pow-inputs: Likewise.
16343         * benchtests/rint-inputs: Likewise.
16344         * benchtests/sin-inputs: Likewise.
16345         * benchtests/sinh-inputs: Likewise.
16346         * benchtests/tan-inputs: Likewise.
16347         * benchtests/tanh-inputs: Likewise.
16348         * scripts/bench.pl: Add support for new directives.
16349
16350 2013-10-07  Alan Modra  <amodra@gmail.com>
16351
16352         * README: Fix careless merge.
16353
16354 2013-10-05  Alan Modra  <amodra@gmail.com>
16355
16356         * NEWS: Mention powerpc64le support and bugs fixed.
16357         * README: Both big-endian and little-endian powerpc64 supported.
16358
16359 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16360
16361         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16362         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16363         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16364         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16365
16366 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16367
16368         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16369         match prototype.
16370
16371 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16372
16373         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16374         Move -mhard-float appending from
16375         ports/sysdeps/powerpc/powerpc32/Makefile.
16376         [$(with-fp) = yes] (ASFLAGS): Likewise.
16377         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16378         * sysdeps/powerpc/nofpu: Move directory from
16379         ports/sysdeps/powerpc/nofpu.
16380         * sysdeps/powerpc/soft-fp: Move directory from
16381         ports/sysdeps/powerpc/soft-fp.
16382         * sysdeps/powerpc/powerpc32/405: Move directory from
16383         ports/sysdeps/powerpc/powerpc32/405.
16384         * sysdeps/powerpc/powerpc32/440: Move directory from
16385         ports/sysdeps/powerpc/powerpc32/440.
16386         * sysdeps/powerpc/powerpc32/464: Move directory from
16387         ports/sysdeps/powerpc/powerpc32/464.
16388         * sysdeps/powerpc/powerpc32/476: Move directory from
16389         ports/sysdeps/powerpc/powerpc32/476.
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16399         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16400         * README: Update for powerpc-*-linux-gnu software floating point
16401         support in libc.
16402
16403         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16404         case to powerpc/powerpc32*.
16405         * sysdeps/unix/sysv/linux/configure: Regenerated.
16406
16407         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16408         (_FPU_MASK_OM): Define as 0x04.
16409         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16411         0x00c10080.
16412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16413         0x0000003c.
16414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16415
16416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16417         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16418         getcontext_e500.
16419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16420         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16421         setcontext_e500.
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16423         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16424         and setcontext_e500.
16425
16426 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16427
16428         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16429
16430 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16431
16432         * manual/threads.texi (Default Thread Attributes): Fix typo.
16433
16434 2013-10-04  Will Newton  <will.newton@linaro.org>
16435
16436         * malloc/Makefile: Add tst-memalign.
16437         * malloc/tst-memalign.c: New file.
16438
16439         * malloc/tst-posix_memalign.c: Add comments.
16440         (do_test): Add comments and call free on all potentially
16441         allocated pointers. Add space after cast.
16442
16443         * malloc/tst-pvalloc.c: Add comments.
16444         (do_test): Add comments and call free on all potentially
16445         allocated pointers. Remove duplicate check for NULL pointer.
16446         Add space after cast.
16447
16448         * malloc/tst-valloc.c: Add comments.
16449         (do_test): Add comments and call free on all potentially
16450         allocated pointers. Remove duplicate check for NULL pointer.
16451         Add space after cast.
16452
16453 2013-10-04  Alan Modra  <amodra@gmail.com>
16454
16455         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16456         Use stdint types in rather than __attribute__((mode())).
16457         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16458
16459 2013-10-04  Alan Modra  <amodra@gmail.com>
16460
16461         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16462         Correct handling of unaligned relocs for little-endian.
16463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16464
16465 2013-10-04  Alan Modra  <amodra@gmail.com>
16466
16467         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16468         * configure: Regenerate.
16469         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16470         * shlib-versions: Likewise.
16471
16472 2013-10-04  Alan Modra  <amodra@gmail.com>
16473
16474         * string/tester.c (test_memrchr): Increment reported test cycle.
16475
16476 2013-10-04  Alan Modra  <amodra@gmail.com>
16477
16478         * string/test-memcpy.c (do_one_test): When reporting errors, print
16479         string address and don't overrun end of string.
16480
16481 2013-10-04  Alan Modra  <amodra@gmail.com>
16482
16483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16484         insrdi.  Make better use of reg selection to speed exit slightly.
16485         Schedule entry path a little better.  Remove useless "are we done"
16486         checks on entry to main loop.  Handle wrapping around zero address.
16487         Correct main loop count.  Handle single left-over word from main
16488         loop inline rather than by using loop_small.  Remove extra word
16489         case in loop_small caused by wrong loop count.  Add little-endian
16490         support.
16491         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16493         cache hint.
16494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16495         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16496         support.  Avoid rlwimi.
16497         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16498
16499 2013-10-04  Alan Modra  <amodra@gmail.com>
16500
16501         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16502         insrdi.  Formatting.
16503         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16504         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16505         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16506         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16507         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16508         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16509
16510 2013-10-04  Alan Modra  <amodra@gmail.com>
16511
16512         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16513         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16515         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16516         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16517         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16518         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16519         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16520         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16521         use of regs.  Use power7 mtocrf.  Tidy function tails.
16522
16523 2013-10-04  Alan Modra  <amodra@gmail.com>
16524
16525         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16526         Formatting.  Consistently use rXXX register defines or rN defines.
16527         Use early exit labels that avoid restoring unused non-volatile regs.
16528         Make cr field use more consistent with rWORDn compares.  Rename
16529         regs used as shift registers for unaligned loop, using rN defines
16530         for short lifetime/multiple use regs.
16531         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16532         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16533         addi 1,1,64 to pop stack frame.  Simplify return value code.
16534         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16535
16536 2013-10-04  Alan Modra  <amodra@gmail.com>
16537
16538         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16539         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16540         rather than rlwimi.
16541         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16542         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16543         little-endian support.  Correct typos.
16544         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16545         rather than rlwimi.
16546         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16547         in loop and entry code to keep "and." results.
16548         (strchr): Add little-endian support.  Comment.  Move cntlzd
16549         earlier in tail.
16550         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16551
16552 2013-10-04  Alan Modra  <amodra@gmail.com>
16553
16554         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16555         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16556         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16557         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16558
16559 2013-10-04  Alan Modra  <amodra@gmail.com>
16560
16561         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16562         (rTMP): Define as r11.
16563         (strcmp): Add little-endian support.  Optimise tail.
16564         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16565         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16566         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16567         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16568         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16570         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16571
16572 2013-10-04  Alan Modra  <amodra@gmail.com>
16573
16574         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16575         little-endian support.  Remove unnecessary "are we done" tests.
16576         Handle "s" wrapping around zero and extremely large "size".
16577         Correct main loop count.  Handle single left-over word from main
16578         loop inline rather than by using small_loop.  Correct comments.
16579         Delete "zero" tail, use "end_max" instead.
16580         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16581
16582 2013-10-04  Alan Modra  <amodra@gmail.com>
16583
16584         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16585         support.  Don't branch over align.
16586         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16587         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16588         support.  Rearrange tmp reg use to suit.  Comment.
16589         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16590
16591 2013-10-04  Alan Modra  <amodra@gmail.com>
16592
16593         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16594
16595 2013-10-04  Alan Modra  <amodra@gmail.com>
16596
16597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16598         conditional form of branch and link when obtaining pc.
16599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16600
16601 2013-10-04  Alan Modra  <amodra@gmail.com>
16602
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16604         HIWORD/LOWORD.
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16607
16608 2013-10-04  Alan Modra  <amodra@gmail.com>
16609
16610         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16611         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16612         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16613         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16614         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16615         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16616         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16617         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16618         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16619         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16620
16621 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16622             Alistair Popple <alistair@ozlabs.au.ibm.com>
16623             Alan Modra <amodra@gmail.com>
16624
16625         [BZ #15723]
16626         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16627         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16628         _dl_hwcap access for little-endian.
16629         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16630         destroy vmx regs when saving unaligned.
16631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16633         destroy vmx regs when saving unaligned.
16634
16635 2013-10-04  Alan Modra  <amodra@gmail.com>
16636
16637         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16638         Don't use a union to pack hi/low value.
16639
16640 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16641
16642         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16643         for little-endian.
16644         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16645         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16646         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16647         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16648         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16649
16650 2013-10-04  Alan Modra  <amodra@gmail.com>
16651
16652         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16653         constants to usual value for .cst8 section, and remove redundant
16654         high address load.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16656         constant for 0x1p52.  Load little-endian words of double from
16657         correct stack offsets.
16658
16659 2013-10-04  Alan Modra  <amodra@gmail.com>
16660
16661         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16662         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16663         words of double from correct stack offsets.
16664         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16665         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16666         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16667         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16668         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16669         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16670         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16671         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16672         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16674         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16675         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16676         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16677         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16678         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16679         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16680         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16681
16682 2013-10-04  Alan Modra  <amodra@gmail.com>
16683
16684         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16685         64-bit int/double union.
16686         (_FPU_SETCW): Likewise.
16687         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16688         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16689
16690 2013-10-04  Alan Modra  <amodra@gmail.com>
16691
16692         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16693         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16694
16695 2013-10-04  Alan Modra  <amodra@gmail.com>
16696
16697         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16698         use vector int constants.
16699         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16700
16701 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16702
16703         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16704         array with long long.
16705         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16706         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16707         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16708         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16709         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16710         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16711         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16712         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16713         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16714         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16715         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16716         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16717         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16718
16719 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16720
16721         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16722         (__signbit): Likewise.  Correct for little-endian.
16723         (__signbitl): Call __signbit.
16724         (lrint): Correct for little-endian.
16725         (lrintf): Call lrint.
16726
16727 2013-10-04  Alan Modra  <amodra@gmail.com>
16728
16729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16730         union 32-bit int array member with 64-bit int array.
16731         (t515, tm256): Double rather than long double.
16732         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16733
16734 2013-10-04  Alan Modra  <amodra@gmail.com>
16735
16736         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16737         Delete.
16738         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16740         version of math_ldbl.h.
16741
16742 2013-10-04  Alan Modra  <amodra@gmail.com>
16743
16744         [BZ #15734], [BZ #15735]
16745         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16746         all uses of ieee875 long double macros and unions.  Simplify test
16747         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16748         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16749         normalize after ldbl_extract_mantissa, and don't add hidden bit
16750         already handled.  Don't treat low word of ieee854 mantissa like
16751         low word of IBM long double and mask off bit when testing for
16752         zero.
16753         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16754         all uses of ieee875 long double macros and unions.  Simplify tests
16755         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16756         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16757         two1022, instead use their values.  Recognise that tests for large
16758         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16760         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16761         test for 0.0L and nan.  Correct negation.
16762         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16763         ieee875 long double macros and unions.  Correct output for large
16764         magnitude x.  Correct absolute value calculation.
16765         (__erfcl): Likewise.
16766         * math/libm-test.inc: Add tests for errors discovered in IBM long
16767         double versions of fmodl, remainderl, erfl and erfcl.
16768
16769 2013-10-04  Alan Modra  <amodra@gmail.com>
16770
16771         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16772         all uses of ieee854 long double macros and unions.  Simplify tests
16773         for long doubles that are fully specified by the high double.
16774         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16775         Likewise.
16776         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16777         Remove dead code too.
16778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16779         (__ieee754_ynl): Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16781         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16782         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16783         Remove dead code too.
16784         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16785         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16786         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16788         Simplify.
16789         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16790         Simplify.
16791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16792         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16793         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16794         Comment on variable precision.
16795         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16796         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16797         Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16802         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16803
16804 2013-10-04  Alan Modra  <amodra@gmail.com>
16805
16806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16807         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16808         all uses of ieee854 long double macros and unions.
16809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16810         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16811         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16813         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16815         Likewise.
16816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16817         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16818         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16819         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16821         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16822         Simplify sign and nan test too.
16823         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16824         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16825         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16826         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16827         Likewise.
16828         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16829         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16830         Likewise.
16831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16833         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16834         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16835         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16837
16838 2013-10-04  Alan Modra  <amodra@gmail.com>
16839
16840         * stdio-common/printf_size.c (__printf_size): Don't use
16841         union ieee854_long_double in fpnum union.
16842         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16843         signbit macro to retrieve sign from long double.
16844         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16845         retrieve sign from long double.
16846         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16847         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16848         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16849         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16850         * math/test-misc.c (main): Don't use union ieee854_long_double.
16851
16852 2013-10-04  Alan Modra  <amodra@gmail.com>
16853
16854         [BZ #15680]
16855         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16856         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16857         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16858         calculation.  Remove unnecessary test for denormal exponent.
16859         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16860         Correct handling of denormals.  Avoid undefined shift behaviour.
16861         Correct normalisation of low mantissa when low double is denormal.
16862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16863         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16864         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16865         Correct normalisation of low mantissa.  Test for overflow of high
16866         mantissa and normalise.
16867         (ldbl_nearbyint): Use more readable constant for two52.
16868         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16869         (__mpn_construct_long_double): Fix test for overflow of high
16870         mantissa and correct normalisation.  Avoid undefined shift.
16871
16872 2013-10-04  Alan Modra  <amodra@gmail.com>
16873
16874         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16875         (union ibm_extended_long_double): Define as an array of ieee754_double.
16876         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16877         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16878         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16879         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16880         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16881         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16883         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16884         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16885         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16887
16888 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16889
16890         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16891         page size instead of calling getpagesize.
16892
16893         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16894         (LOCFILE_ALIGN_MASK): Likewise.
16895         (LOCFILE_ALIGN_UP): Likewise.
16896         (LOCFILE_ALIGNED_P): Likewise.
16897         * locale/programs/ld-collate.c (collate_output): Use the new
16898         macros instead of __alignof__ (int32_t).
16899         * locale/weight.h (findidx): Likewise.
16900
16901 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16902
16903         [BZ #431]
16904         * manual/string.texi: Fix strncat and wcsncat.
16905
16906 2013-10-03  Brooks Moses  <bmoses@google.com>
16907
16908         [BZ #15915]
16909         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16910         * Makerules: ...here, and adjust associated comments.
16911
16912 2013-10-02  Will Newton  <will.newton@linaro.org>
16913
16914         * malloc/Makefile: Add tst-pvalloc.
16915         * malloc/tst-pvalloc.c: New file.
16916
16917 2013-10-02  Will Newton  <will.newton@linaro.org>
16918
16919         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16920         improve test coverage.
16921
16922 2013-10-02  Will Newton  <will.newton@linaro.org>
16923
16924         * malloc/Makefile: Add tst-posix_memalign.
16925         * malloc/tst-posix_memalign.c: New file.
16926
16927 2013-10-01  Eric Blake  <eblake@redhat.com>
16928
16929         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16930         Use __THROWNL rather than __THROW on static functions.
16931
16932 2013-09-30  Petr Machata  <pmachata@redhat.com>
16933
16934         * elf/elf.h (R_AARCH64_ABS16): New macro.
16935         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16936         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16937         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16938         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16939         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16940         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16941         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16942         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16943         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16944         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16945         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16946         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16947         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16948         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16949         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16950         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16951         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16952         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16953         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16954         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16955         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16956         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16957         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16958         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16959         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16960         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16961         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16962         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16963         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16964         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16965         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16966         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16967         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16968         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16969         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16970         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16971         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16972         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16973         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16974         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16975         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16976         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16977         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16978         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16979         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16980         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16981         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16982         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16983         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16984         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16985         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16986         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16987         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16988         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16989         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16990         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16991         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16992         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16993         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16994         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16995         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16996         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16997         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16998         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16999         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17000         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17001         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17002         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17003         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17004         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17005         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17006         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17007         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17008         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17009         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17010         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17011         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17012         (R_AARCH64_TLSDESC_LDR): Likewise.
17013         (R_AARCH64_TLSDESC_ADD): Likewise.
17014         (R_AARCH64_TLSDESC_CALL): Likewise.
17015
17016 2013-09-30  Andreas Schwab  <schwab@suse.de>
17017
17018         [BZ #15048]
17019         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17020         the nss database lookup.
17021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17023
17024 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17025
17026         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17027
17028 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17029
17030         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17031         ${Bash-specific parameter/pattern/string} parameter expansion.
17032         * sysdeps/unix/make-syscalls.sh: Likewise.
17033
17034 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17035
17036         * sysdeps/sh/stackguard-macros.h: New file.
17037
17038 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17039
17040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17042         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17043         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17044         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17045         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17046
17047 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17048
17049         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17050         Fix thread ID register.
17051
17052 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17053
17054         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17055         [POSIX || UNIX98]: Require rather than permitting all symbols from
17056         <time.h>.
17057         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17058         element of struct sched_param.
17059         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17060         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17061         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17062         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17063         constant.
17064
17065 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17066
17067         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17068         argument calculation.
17069
17070 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17071
17072         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17073         Expect macro.
17074         [POSIX] (pthread_attr_t): Do not require type.
17075         [POSIX] (pthread_cond_t): Likewise.
17076         [POSIX] (pthread_condattr_t): Likewise.
17077         [POSIX] (pthread_key_t): Likewise.
17078         [POSIX] (pthread_mutex_t): Likewise.
17079         [POSIX] (pthread_mutexattr_t): Likewise.
17080         [POSIX] (pthread_once_t): Likewise.
17081         [POSIX] (pthread_t): Likewise.
17082         [POSIX-based standards] (pthread_atfork): Expect function.
17083
17084 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17085             Richard Sandiford  <richard@codesourcery.com>
17086
17087         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17088         (swap_endianness_p): New extern variable.
17089         (set_big_endian): New inline function.
17090         (maybe_swap_uint32): Likewise.
17091         (maybe_swap_uint32_array): Likewise.
17092         (maybe_swap_uint32_obstack): Likewise.
17093         * locale/programs/locfile.c: Include <stdbool.h>.
17094         (swap_endianness_p): New variable.
17095         (add_locale_uint32): Call maybe_swap_uint32.
17096         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17097         (write_locale_data): Call maybe_swap_uint32_array.
17098         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17099         maybe_swap_uint32.
17100         (obstack_int32_grow_fast): Likewise.
17101         (output_weightwc): Call maybe_swap_uint32_obstack.
17102         (collate_output): Likewise.
17103         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17104         (OPT_LITTLE_ENDIAN): Likewise.
17105         (options): Add --little-endian and --big-endian options.
17106         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17107         * locale/programs/locarchive.c: Include "locfile.h".
17108         (GET): New macro.
17109         (SET): Likewise.
17110         (INC): Likewise.
17111         (create_archive): Use the new macros to access fields of
17112         structures directly mapped from or written to locale archives.
17113         (oldlocrecentcmp): Likewise.
17114         (enlarge_archive): Likewise.
17115         (insert_name): Likewise.
17116         (add_alias): Likewise.
17117         (add_locale): Likewise.
17118         (delete_locales_from_archive): Likewise.
17119         (show_archive_content): Likewise.
17120         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17121         locale data.
17122
17123 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17124
17125         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17126         http://www.gnu.org/doc/freemanuals.texi.
17127         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17128
17129 2013-09-24  Will Newton  <will.newton@linaro.org>
17130
17131         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17132         macro.
17133
17134 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17135
17136         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17137         unsigned char.
17138
17139 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17140
17141         * manual/threads.texi (POSIX Threads): Fix a typo.
17142
17143 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17144
17145         [BZ #14547]
17146         * string/tst-strcoll-overflow.c: New test case.
17147         * string/Makefile (xtests): Add tst-strcoll-overflow.
17148         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17149         cache if string sizes may cause integer overflow.
17150
17151         [BZ #14547]
17152         * string/strcoll_l.c (coll_seq): New members rule, idx,
17153         save_idx and back_us.
17154         (get_next_seq_nocache): New function.
17155         (do_compare_nocache): New function.
17156         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17157         when malloc fails.
17158
17159 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17160
17161         [BZ #15754]
17162         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17163         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17164         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17165
17166         [BZ #15754]
17167         * elf/Makefile (tests): Add tst-ptrguard1.
17168         (tests-static): Add tst-ptrguard1-static.
17169         (tst-ptrguard1-ARGS): Define.
17170         (tst-ptrguard1-static-ARGS): Define.
17171         * elf/tst-ptrguard1.c: New file.
17172         * elf/tst-ptrguard1-static.c: New file.
17173         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17174         * sysdeps/i386/stackguard-macros.h: Likewise.
17175         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17176         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17177         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17178         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17179         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17180         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17181
17182 2013-09-23  Hector Marco  <hecmargi@upv.es>
17183             Ismael Ripoll  <iripoll@disca.upv.es>
17184             Carlos O'Donell  <carlos@redhat.com>
17185
17186         [BZ #15754]
17187         * sysdeps/generic/stackguard-macros.h: Define
17188         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17189         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17190         Define __pointer_chk_guard_local.
17191         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17192         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17193
17194 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17195
17196         [BZ #15859]
17197         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17198
17199 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17200
17201         * include/string.h (__ffs): Declare as hidden.
17202         * string/ffs.c (__ffs): Define as hidden.
17203         * sysdeps/i386/ffs.c (__ffs): Likewise.
17204         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17205         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17206         * sysdeps/s390/ffs.c (__ffs): Likewise.
17207         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17208
17209 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17210
17211         * NEWS: Mention malloc probes.
17212
17213         * malloc/arena.c (new_heap): New memory_heap_new probe.
17214         (grow_heap): New memory_heap_more probe.
17215         (shrink_heap): New memory_heap_less probe.
17216         (heap_trim): New memory_heap_free probe.
17217         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17218         (systrim): New memory_sbrk_less probe.
17219         * manual/probes.texi: Document them.
17220
17221         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17222         * manual/probes.texi: Document it.
17223
17224         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17225         (__libc_realloc): Add memory_realloc_retry probe.
17226         (__libc_memalign): Add memory_memalign_retry probe.
17227         (__libc_valloc): Add memory_valloc_retry probe.
17228         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17229         (__libc_calloc): Add memory_calloc_retry probe.
17230         * manual/probes.texi: Document them.
17231
17232         * malloc/arena.c (get_free_list): Add probe
17233         memory_arena_reuse_free_list.
17234         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17235         and memory_arena_reuse.
17236         (arena_get2) [!PER_THREAD]: Likewise.
17237         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17238         memory_arena_reuse_realloc.
17239         * manual/probes.texi: Document them.
17240
17241         * malloc/malloc.c (__libc_free): Add
17242         memory_mallopt_free_dyn_thresholds probe.
17243         (__libc_mallopt): Add multiple memory_mallopt probes.
17244         * manual/probes.texi: Document them.
17245
17246         * malloc/malloc.c: Include stap-probe.h.
17247         (__libc_mallopt): Add memory_mallopt probe.
17248         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17249         * manual/probes.texi: New.
17250         * manual/Makefile (chapters): Add probes.
17251         * manual/threads.texi: Set next node.
17252
17253 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17254
17255         [BZ #15963, #13985]
17256         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17257         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17258         Add `Chinese' to `nan' entry name.
17259
17260 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17261
17262         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17263         (POLYNOMIAL): Likewise.
17264         (TAYLOR_SINCOS): Likewise.
17265         (TAYLOR_SLOW): Likewise.
17266         (__sin): Use TAYLOR_SINCOS.
17267         (__cos): Likewise.
17268         (slow): Use TAYLOR_SLOW.
17269         (sloww): Likewise.
17270         (bsloww): Likewise.
17271         (csloww): Likewise.
17272
17273 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17274
17275         * stdlib/strtod_l.c: Fix buffer overrun.
17276
17277 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17278
17279         * benchtests/Makefile (bench): Add sincos.
17280         * benchtests/bench-sincos.c: New file.
17281
17282         * math/libm-test.inc (cos_test_data): New test inputs.
17283         (sin_test_data): Likewise.
17284
17285         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17286         macro.
17287         (__sin): Use it.
17288         (__cos): Likewise.
17289         (slow1): Likewise.
17290         (slow2): Likewise.
17291         (sloww1): Likewise.
17292         (sloww2): Likewise.
17293         (bsloww1): Likewise.
17294         (bsloww2): Likewise.
17295         (cslow2): Likewise.
17296         (csloww1): Likewise.
17297         (csloww2): Likewise.
17298
17299         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17300         function.
17301         (__sin): Use it.
17302         (__cos): Likewise.
17303
17304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17305         gotos.
17306         (__cos): Likewise.
17307
17308 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17309
17310         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17311         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17312         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17313         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17314         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17315         * elf/cache.c (print_entry): Handle the new cache flags.
17316
17317 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17318             Aldy Hernandez  <aldyh@redhat.com>
17319
17320         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17321         Change condition to [_SOFT_FLOAT].
17322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17334         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17337         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17338         declaration.
17339
17340 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17341
17342         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17343         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17344         (__longjmp): Use LOAD_GP to load saved GPRs.
17345         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17346         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17347         (__sigsetjmp): Use SAVE_GP to save GPRs.
17348
17349         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17350         Do not append -msoft-float.
17351         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17352
17353 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17354
17355         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17356
17357 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17358
17359         [BZ #15966]
17360         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17361         (_FPU_GETCW): Use initial "__" on variable and field names but not
17362         on macro parameter name.
17363         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17364         parentheses around reference to macro parameter.
17365
17366 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17367
17368         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17369         prototype.
17370         (ctype_startup): Use uint32_t in cast and sizeof for
17371         ctype->charnames.
17372
17373 2013-09-11  Jia Liu  <proljc@gmail.com>
17374
17375         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17376         __daddr_t_defined.
17377         [__FreeBSD__]: Likewise.
17378
17379 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17380
17381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17382         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17383         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17384         (strchr): Remove __strchr_sse42 ifunc selection.
17385         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17386         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17387
17388 2013-09-11  Will Newton  <will.newton@linaro.org>
17389
17390         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17391         parameter to RES. Remove hardcoded 1000 value.
17392         * benchtests/bench-skeleton.c (main): Pass RES parameter
17393         to TIMING_INIT and multiply result by 1000.
17394
17395 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17396
17397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17398
17399 2013-09-11  Andreas Schwab  <schwab@suse.de>
17400
17401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17402         if not defined.
17403         (O_TMPFILE) [__USE_GNU]: Define.
17404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17405         Define.
17406
17407 2013-09-11  Will Newton  <will.newton@linaro.org>
17408
17409         [BZ #15857]
17410         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17411         does not overflow.
17412
17413 2013-09-11  Will Newton  <will.newton@linaro.org>
17414
17415         [BZ #15856]
17416         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17417         does not overflow.
17418
17419 2013-09-11  Will Newton  <will.newton@linaro.org>
17420
17421         [BZ #15855]
17422         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17423         does not overflow.
17424
17425 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17426
17427         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17428         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17429         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17430         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17431         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17432
17433 2013-09-10  Allan McRae  <allan@archlinux.org>
17434
17435         [BZ #15748]
17436         * manual/arith.texi (Parsing of Floats): Clarify
17437         cross-reference.
17438
17439         [BZ #15849]
17440         * manual/install.texi (Running make install): Mention
17441         --enable-pt-chown.
17442         * INSTALL: Regenerated.
17443
17444 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17445
17446         * csu/init-first.c (_init): Remove the !SHARED condition around
17447         FPU control word initialization.
17448         * elf/dl-support.c (_dl_fpu_control): New variable.
17449         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17450         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17451         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17452         * math/test-fpucw-static.c: New file.
17453         * math/test-fpucw-ieee.c: New file.
17454         * math/test-fpucw-ieee-static.c: New file.
17455         * math/Makefile (tests): Add `test-fpucw-ieee' and
17456         `$(tests-static)'.
17457         (tests-static): New variable.
17458         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17459         dependency to...
17460         [($(build-shared),yes)]
17461         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17462         ... this.
17463         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17464         New dependency.
17465
17466 2013-09-09  Allan McRae  <allan@archlinux.org>
17467
17468         [BZ #15939]
17469         * manual/string.texi (Collation Functions): Fix typo in
17470         strcoll example.
17471         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17472
17473         [BZ #15893]
17474         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17475
17476         [BZ #15892]
17477         * libio/memstream.c (open_memstream): Fix memory leak.
17478         * libio/wmemstream.c (open_wmemstream): Likewise.
17479
17480         [BZ #15895]
17481         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17482
17483 2013-09-09  Will Newton  <will.newton@linaro.org>
17484
17485         * malloc/Makefile: Add tst-realloc to tests.
17486         * malloc/tst-realloc.c: New file.
17487
17488 2013-09-09  Allan McRae  <allan@archlinux.org>
17489
17490         [BZ #15844]
17491         * COPYING: Update from GNU website to fix FSF address.
17492         * COPYING.LIB: Likewise.
17493
17494 2013-09-06  David S. Miller  <davem@davemloft.net>
17495
17496         * po/zh_TW.po: Update Chinese (traditional) translation from
17497         translation project.
17498
17499 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17500             Joseph Myers  <joseph@codesourcery.com>
17501
17502         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17503         "localeinfo.h".
17504         (obstack_chunk_alloc): New macro.
17505         (obstack_chunk_free): Likewise.
17506         (record_offset): New function.
17507         (init_locale_data): Likewise.
17508         (align_locale_data): Likewise.
17509         (add_locale_empty): Likewise.
17510         (add_locale_raw_data): Likewise.
17511         (add_locale_raw_obstack): Likewise.
17512         (add_locale_string): Likewise.
17513         (add_locale_wstring): Likewise.
17514         (add_locale_uint32): Likewise.
17515         (add_locale_uint32_array): Likewise.
17516         (add_locale_char): Likewise.
17517         (start_locale_structure): Likewise.
17518         (end_locale_structure): Likewise.
17519         (start_locale_prelude): Likewise.
17520         (end_locale_prelude): Likewise.
17521         (write_locale_data): Take locale_file structure rather than an
17522         iovec.
17523         * locale/programs/locfile.h: Include "obstack.h".
17524         (struct locale_file): Change to store locale file contents instead
17525         of header.
17526         (init_locale_data): New prototype.
17527         (align_locale_data): Likewise.
17528         (add_locale_empty): Likewise.
17529         (add_locale_raw_data): Likewise.
17530         (add_locale_raw_obstack): Likewise.
17531         (add_locale_string): Likewise.
17532         (add_locale_wstring): Likewise.
17533         (add_locale_uint32): Likewise.
17534         (add_locale_uint32_array): Likewise.
17535         (add_locale_char): Likewise.
17536         (start_locale_structure): Likewise.
17537         (end_locale_structure): Likewise.
17538         (start_locale_prelude): Likewise.
17539         (end_locale_prelude): Likewise.
17540         (write_locale_data): Update prototype.
17541         * locale/programs/3level.h (struct TABLE): Remove result field.
17542         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17543         Use new locale_file interface.
17544         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17545         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17546         * locale/programs/ld-address.c (address_output): Use new
17547         locale_file interface.
17548         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17549         NO_ADD_LOCALE.
17550         (collate_finish): Don't call collseq_table_finalize.
17551         (collate_output): Use new locale_file interface.
17552         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17553         in file.
17554         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17555         (TABLE): Move defines earlier in file.
17556         (ELEMENT): Likewise.
17557         (DEFAULT): Likewise.
17558         (wctrans_table_add): Move macro and inline function earlier in
17559         file.
17560         (struct wctype_table): Move type earlier in file.
17561         (add_locale_wctype_table): New static prototype.
17562         (struct locale_ctype_t): Use logical types instead of struct iovec
17563         pointers for members.
17564         (ctype_output): Use new locale_file interface.
17565         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17566         new locale_file interface.
17567         (allocate_arrays): Update for use of new locale_file interface.
17568         * locale/programs/ld-identification.c (identification_output): Use
17569         new locale_file interface.
17570         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17571         * locale/programs/ld-messages.c (messages_output): Likewise.
17572         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17573         * locale/programs/ld-name.c (name_output): Likewise.
17574         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17575         * locale/programs/ld-paper.c (paper_output): Likewise.
17576         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17577         * locale/programs/ld-time.c (time_output): Likewise.
17578
17579 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17580
17581         * benchtests/Makefile: Add memrchr benchmark.
17582         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17583         benchmark as memrchr.
17584         * benchtests/bench-memrchr-ifunc.c: New file.
17585         * benchtests/bench-memrchr.c: New file.
17586
17587 2013-09-06   Will Newton  <will.newton@linaro.org>
17588
17589         * benchtests/Makefile (string-bench): Add memcpy.
17590
17591 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17592             Cong Wang  <amwang@redhat.com>
17593
17594         [BZ #15850]
17595         * sysdeps/unix/sysv/linux/bits/in.h
17596         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17597         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17598         before __USE_KERNEL_IPV6_DEFS uses.
17599         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17600         IPPROTO_BEETPH.
17601         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17602         sockaddr_in6, or ipv6_mreq.
17603
17604 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17605
17606         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17607         memory access for final bytes in some large inputs.
17608         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17609
17610 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17611
17612         * string/test-memrchr.c: New file.
17613         * string/test-memrchr-ifunc.c: New file.
17614         * string/Makefile: Add new memrchr testcase.
17615
17616 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17617
17618         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17619         fanotify_init returns EPERM.
17620
17621 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17622
17623         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17624         errors.
17625         (top level): Treat second token from macro or constant entries for
17626         allowed headers as allowed.
17627         * include/complex.h: Condition internal declarations on
17628         [!_ISOMAC].
17629         * include/fenv.h: Condition include of <stdbool.h> and internal
17630         declarations on [!_ISOMAC].
17631
17632 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17633
17634         [BZ #15923]
17635         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17636
17637 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17638
17639         * configure.in (--enable-versioning): Remove configure option.
17640         (libc_cv_asm_symver_directive): Remove configure test.
17641         (libc_cv_ld_version_script_option): Likewise.
17642         (VERSIONING): Remove variable and AC_SUBST.
17643         (DO_VERSIONING): Remove AC_DEFINE.
17644         * configure: Regenerated.
17645         * config.h.in (DO_VERSIONING): Remove macro.
17646         * Makerules [$(versioning) = yes]: Change conditionals to
17647         [$(build-shared) = yes].
17648         * config.make.in (versioning): Remove variable.
17649         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17650         [$(build-shared) = yes].
17651         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17652         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17653         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17654         [$(build-shared) = yes].
17655         * extra-lib.mk [$(versioning) = yes]: Likewise.
17656         * hurd/Makefile [$(versioning) = yes]: Likewise.
17657         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17658         [SHARED].
17659         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17660         [SHARED].
17661         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17662         [SHARED && !NO_HIDDEN].
17663         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17664         [SHARED].
17665         [SHARED && DO_VERSIONING]: Likewise..
17666         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17667         [$(build-shared) = yes].
17668         * manual/install.texi (--disable-versioning): Remove
17669         documentation.
17670         * INSTALL: Regenerated.
17671         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17672         to [SHARED].
17673         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17674         [$(build-shared) = yes].
17675         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17676         * sysdeps/i386/i686/multiarch/strstr-c.c
17677         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17678         [SHARED && !NO_HIDDEN].
17679         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17680         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17681         * sysdeps/powerpc/powerpc32/dl-machine.c
17682         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17683         * sysdeps/powerpc/powerpc32/sysdep.h
17684         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17685         to [SHARED && PIC && !NO_HIDDEN].
17686         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17687         conditional to [SHARED].
17688
17689 2013-09-04   Will Newton  <will.newton@linaro.org>
17690
17691         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17692         * benchtests/bench-string.h: Include bench-timing.h instead
17693         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17694         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17695         call to HP_TIMING_DIFF_INIT.
17696         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17697         instead of hp-timing.h macros.
17698         * benchtests/bench-memchr.c: Likewise.
17699         * benchtests/bench-memcmp.c: Likewise.
17700         * benchtests/bench-memcpy.c: Likewise.
17701         * benchtests/bench-memmem.c: Likewise.
17702         * benchtests/bench-memmove.c: Likewise.
17703         * benchtests/bench-memset.c: Likewise.
17704         * benchtests/bench-rawmemchr.c: Likewise.
17705         * benchtests/bench-strcasecmp.c: Likewise.
17706         * benchtests/bench-strcasestr.c: Likewise.
17707         * benchtests/bench-strcat.c: Likewise.
17708         * benchtests/bench-strchr.c: Likewise.
17709         * benchtests/bench-strcmp.c: Likewise.
17710         * benchtests/bench-strcpy.c: Likewise.
17711         * benchtests/bench-strcpy_chk.c: Likewise.
17712         * benchtests/bench-strlen.c: Likewise.
17713         * benchtests/bench-strncasecmp.c: Likewise.
17714         * benchtests/bench-strncat.c: Likewise.
17715         * benchtests/bench-strncmp.c: Likewise.
17716         * benchtests/bench-strncpy.c: Likewise.
17717         * benchtests/bench-strnlen.c: Likewise.
17718         * benchtests/bench-strpbrk.c: Likewise.
17719         * benchtests/bench-strrchr.c: Likewise.
17720         * benchtests/bench-strspn.c: Likewise.
17721         * benchtests/bench-strstr.c: Likewise.
17722
17723 2013-09-04  Will Newton  <will.newton@linaro.org>
17724
17725         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17726
17727 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17728
17729         [BZ #15427]
17730         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17731         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17732         * math/libm-test.inc (lgamma_test_data): Add more tests.
17733         * sysdeps/i386/fpu/libm-test-ulps: Update.
17734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17735
17736 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17737
17738         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17740         Add ifunc.
17741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17742         Add strcmp-sse2-unaligned
17743         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17744
17745 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17746
17747         * Versions.def (libc): Add GLIBC_2.19.
17748
17749 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17750
17751         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17752         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17753
17754 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17755
17756         [BZ #14155]
17757         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17758         intermediate calculations in recurrence.
17759         (__ieee754_ynf): Likewise.
17760         * math/libm-test.inc (jn_test_data): Do not allow spurious
17761         underflow exception.  Add more tests.
17762         (yn_test_data): Add more tests.
17763         * sysdeps/i386/fpu/libm-test-ulps: Update.
17764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17765
17766 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17767
17768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17769
17770 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17771
17772         * csu/init-first.c: Fix then/than typos.
17773         * locale/programs/ld-collate.c: Likewise.
17774         * locale/programs/linereader.h: Likewise.
17775         * manual/charset.texi: Likewise.
17776         * manual/filesys.texi: Likewise.
17777         * manual/stdio.texi: Likewise.
17778         * manual/string.texi: Likewise.
17779         * stdlib/fmtmsg.c: Likewise.
17780         * sysdeps/i386/stpncpy.S: Likewise.
17781         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17782         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17784         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17785
17786 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17787
17788         * elf/dl-open.c: Fix typos.
17789         * iconvdata/gbbig5.c: Likewise.
17790         * iconvdata/iso-2022-jp.c: Likewise.
17791         * iconv/gconv_int.h: Likewise.
17792         * iconv/loop.c: Likewise.
17793         * nis/rpcsvc/nis.h: Likewise.
17794         * resolv/ns_name.c: Likewise.
17795         * stdio-common/vfscanf.c: Likewise.
17796         * streams/stropts.h: Likewise.
17797         * sunrpc/rpc_thread.c: Likewise.
17798         * sysdeps/i386/strpbrk.S: Likewise.
17799         * sysdeps/ieee754/k_standard.c: Likewise.
17800         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17802         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17803         * sysdeps/mach/hurd/profil.c: Likewise.
17804         * sysdeps/s390/dl-procinfo.h: Likewise.
17805         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17806         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17807         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17808         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17809         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17810
17811 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17812
17813         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17814         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17815
17816 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17817
17818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17819         aix specific files.
17820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17821         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17822         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17823         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17824         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17825         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17826         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17828
17829 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17830             Roland McGrath  <roland@hack.frob.com>
17831
17832         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17833         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17834
17835 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17836
17837         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17838         __executable_start symbol instead of _start.
17839
17840 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17841
17842         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17843         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17844         Move macros to...
17845         * sysdeps/gnu/ldsodefs.h: ... this new file.
17846
17847         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17848         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17849         instead of ELFOSABI_LINUX.
17850
17851         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17852         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17853         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17854         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17855         Likewise.
17856         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17857         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17858         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17859         Likewise.
17860         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17861         (ibm_extended_long_double): Add ieee_nan member.
17862         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17863         (do_test): New function.
17864
17865         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17866         TEST_TRUNC.
17867         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17868         functions, renamed from truncdfsf_test, trunctfsf_test,
17869         trunctfdf_test.
17870         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17871         functions.
17872         (do_test): Run all these.
17873
17874 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17875
17876         * argp/argp-help.c: Fix typos.
17877         * argp/argp-parse.c: Likewise.
17878         * debug/backtracesyms.c: Likewise.
17879         * elf/elf.h: Likewise.
17880         * malloc/malloc.c: Likewise.
17881         * nis/nis_print.c: Likewise.
17882         * resolv/res_comp.c: Likewise.
17883         * stdlib/stdlib.h: Likewise.
17884         * sunrpc/clnt_tcp.c: Likewise.
17885         * sunrpc/clnt_udp.c: Likewise.
17886         * sunrpc/clnt_unix.c: Likewise.
17887         * sysdeps/unix/bsd/ptsname.c: Likewise.
17888         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17889         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17891         Likewise.
17892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17893         Likewise.
17894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17895         Likewise.
17896         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17897
17898 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17899
17900         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17902
17903 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17904
17905         [BZ #15897]
17906         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17907         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17908         ($(objpfx)bug-dl-leaf): New rule.
17909         ($(objpfx)bug-dl-leaf.so): Likewise.
17910         ($(objpfx)bug-dl-leaf.out): Likewise.
17911         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17912         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17913         * dlfcn/bug-dl-leaf.c: New test.
17914         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17915         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17916         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17917         (dlclose): Likewise.
17918         (dlmopen): Likewise.
17919
17920 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17921
17922         * include/netdb.h [!_ISOMAC]:
17923         Don't include <tls.h>.
17924         (h_errno, __libc_h_errno): Move declaration and macros out of
17925         [_LIBC_REENTRANT].
17926
17927         * include/resolv.h [_RESOLV_H_]:
17928         Don't include <tls.h>.
17929         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17930         * resolv/res_libc.c: Don't include <tls.h>.
17931         (_res): Use __attribute__ ((nocommon)) in place of
17932         __attribute__ ((section (".bss"))).
17933
17934         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17935         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17936
17937         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17938
17939         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17940         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17941
17942         * resolv/res_mkquery.c: Include <sys/time.h>.
17943
17944         * inet/ifreq.c: Moved to ...
17945         * sysdeps/unix/ifreq.c: ... here.
17946         * inet/ifreq.c: New file, true stub version.
17947
17948         * socket/sa_len.c: New file.
17949         * socket/Makefile (aux): Add it.
17950         * sysdeps/unix/sysv/linux/Makefile
17951         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17952         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17953         and #include <socket/sa_len.c>.
17954         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17955         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17956
17957         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17958         * bits/socket.h: ... here.
17959
17960         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17961         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17962         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17963
17964 2013-08-27  Andreas Schwab  <schwab@suse.de>
17965
17966         [BZ #15736]
17967         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17968         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17969         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17970         * string/test-strcasecmp.c (test_main): Run tests in several
17971         locales.
17972         * string/test-strncasecmp.c (test_main): Likewise.
17973
17974         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17975         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17976         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17978         (__strncasecmp_ssse3) [PIC]: Likewise.
17979
17980 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17981
17982         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17983
17984         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17985         instead of explicitly declaring xdecrypt.
17986         * nis/nss_nis/nis-publickey.c: Likewise.
17987
17988 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17989
17990         [BZ #15890]
17991         * nscd/aicache.c: Include res_hconf.h.
17992         (addhstaiX): Initialize res_hconf.
17993
17994 2013-08-26  Andreas Schwab  <schwab@suse.de>
17995
17996         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17997         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17998
17999 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18000
18001         * nscd/aicache.c (addhstaiX): Fix indentation.
18002
18003 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18004
18005         * configure.ac: Quote $build_pt_chown test.
18006         * configure: Regenerated.
18007
18008 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18009
18010         [BZ #15532]
18011         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18012         * math/s_cexpf.c (__cexpf): Likewise.
18013         * math/s_cexpl.c (__cexpl): Likewise.
18014         * math/libm-test.inc (cexp_test_data): Correct expected return
18015         value for NaN + i0.  Add another test.
18016
18017 2013-08-22  David S. Miller  <davem@davemloft.net>
18018
18019         * po/ca.po: Update Catalan translation from translation project.
18020         * po/uk.po: Add Ukrainian translations from translation project.
18021
18022 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18023
18024         [BZ #15797]
18025         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18026         is infinite, not alongside NaN test.
18027         * math/s_fdimf.c (__fdimf): Likewise.
18028         * math/s_fdiml.c (__fdiml): Likewise.
18029         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18030         errno is unchanged.
18031
18032 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18033
18034         * argp/argp-help.c: Fix typos.
18035         * crypt/speeds.c: Likewise.
18036         * csu/check_fds.c: Likewise.
18037         * elf/dl-load.c: Likewise.
18038         * elf/dl-open.c: Likewise.
18039         * elf/reldep3.c: Likewise.
18040         * elf/reldep.c: Likewise.
18041         * elf/sprof.c: Likewise.
18042         * iconv/iconv_charmap.c: Likewise.
18043         * iconv/skeleton.c: Likewise.
18044         * iconv/strtab.c: Likewise.
18045         * io/lockf64.c: Likewise.
18046         * libio/libioP.h: Likewise.
18047         * resolv/gai_notify.c: Likewise.
18048         * resolv/ns_name.c: Likewise.
18049         * resolv/ns_samedomain.c: Likewise.
18050         * resolv/res_send.c: Likewise.
18051         * stdlib/random.c: Likewise.
18052         * sunrpc/rpc/xdr.h: Likewise.
18053         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18054         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18055         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18056         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18058         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18059         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18061         * sysdeps/mach/hurd/check_fds.c: Likewise.
18062         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18063         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18064         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18065         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18066         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18067         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18068         * sysdeps/pthread/aio_notify.c: Likewise.
18069         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18070         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18071         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18072         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18073         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18074
18075 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18076
18077         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18078         version if bit_Slow_SSE4_2 is set.
18079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18080         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18081
18082 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18083
18084         [BZ #15867]
18085         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18086         trampoline stack frame information.
18087         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18088         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18089         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18090         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18091         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18092         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18093         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18094         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18095         sa_flags value.
18096         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18097         interrupting a syscall and set with option SA_SIGINFO.
18098
18099 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18100
18101         [BZ #15531]
18102         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18103         argument is infinite.
18104         * math/s_cprojf.c (__cprojf): Likewise.
18105         * math/s_cprojl.c (__cprojl): Likewise.
18106         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18107         * math/libm-test.inc (cproj_test_data): Add more tests.
18108
18109         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18110
18111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18112         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18113         size.  Use __ffs to determine corresponding shift.
18114
18115 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18116             Roland McGrath  <roland@hack.frob.com>
18117
18118         * Makefile (INSTALL): Remove trailing blank lines from output of
18119         makeinfo.
18120
18121 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18122
18123         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18124         Align 32 bit compat elf_greg to 8 bytes.
18125
18126 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18127
18128         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18129
18130 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18131
18132         * string/strcoll_l.c (coll_seq): New structure.
18133         (get_next_seq_cached): New function.
18134         (get_next_seq): New function.
18135         (do_compare): New function.
18136         (STRCOLL): Use GNU style definition.  Simplify implementation
18137         by using get_next_seq, get_next_seq_cached and do_compare.
18138
18139 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18140
18141         [BZ #14699]
18142         CVE-2013-4237
18143         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18144         member.
18145         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18146         member.
18147         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18148         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18149         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18150         conditional.
18151         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18152         GETDENTS_64BIT_ALIGNED.
18153         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18154         * manual/filesys.texi (Reading/Closing Directory): Document
18155         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18156         strongly.
18157         * manual/conf.texi (Limits for Files): Add portability note to
18158         NAME_MAX, PATH_MAX.
18159         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18160
18161 2013-08-13  Andreas Schwab  <schwab@suse.de>
18162
18163         [BZ #15749]
18164         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18165         of fabs.
18166         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18167         LDBL_MAX_EXP >= 16384]: Add tests for it.
18168
18169 2013-08-12  David S. Miller  <davem@davemloft.net>
18170
18171         * version.h (RELEASE): Set to "development".
18172         (VERSION): Set to "2.18.90".
18173         * NEWS: Add 2.19 section.
18174
18175 2013-08-03  David S. Miller  <davem@davemloft.net>
18176
18177         * po/ko.po: Update Korean translation from translation project.
18178
18179 2013-08-01  David S. Miller  <davem@davemloft.net>
18180
18181         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18182         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18183         Bilka.
18184
18185 2013-07-30  David S. Miller  <davem@davemloft.net>
18186
18187         * po/fr.po: Update French translation from translation project.
18188
18189 2013-07-28  David S. Miller  <davem@davemloft.net>
18190
18191         * po/cs.po: Update Czech translation from translation project.
18192
18193         * po/sv.po: Update Swedish translation from translation project.
18194
18195 2013-07-27  David S. Miller  <davem@davemloft.net>
18196
18197         * po/eo.po: Update Esperanto translation from translation project.
18198
18199         * po/vi.po: Update Vietnamese translation from translation project.
18200
18201         * po/de.po: Update German translation from translation project.
18202
18203 2013-07-26  David S. Miller  <davem@davemloft.net>
18204
18205         * po/bg.po: Update Bulgarian translation from translation project.
18206
18207         * po/nl.po: Update Dutch translation from translation project.
18208         * po/pl.po: Update Polish translation from translation project.
18209         * po/ru.po: Update Russian translation from translation project.
18210
18211 2013-07-24  David S. Miller  <davem@davemloft.net>
18212
18213         * po/libc.pot: Update.
18214
18215 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18216
18217         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18218         variable page size.
18219         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18220         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18221         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18222
18223 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18224
18225         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18226
18227 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18228             Andreas Schwab  <schwab@suse.de>
18229             Roland McGrath  <roland@hack.frob.com>
18230             Joseph Myers  <joseph@codesourcery.com>
18231             Carlos O'Donell  <carlos@redhat.com>
18232
18233         [BZ #15755]
18234         * config.h.in: Define HAVE_PT_CHOWN.
18235         * config.make.in (build-pt-chown): New variable.
18236         * configure.in (--enable-pt_chown): New configure option.
18237         * configure: Regenerate.
18238         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18239         build-pt-chown is enabled.
18240         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18241         pt_chown to fix pty ownership.
18242         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18243         CLOSE_ALL_FDS.
18244         * manual/install.texi (Configuring and compiling): Mention
18245         --enable-pt_chown. Add @findex for grantpt.
18246         * INSTALL: Regenerate.
18247
18248 2013-07-20  David S. Miller  <davem@davemloft.net>
18249
18250         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18251         difference between 32-bit and 64-bit.
18252
18253 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18254
18255         [BZ #15711]
18256         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18257         Avoid system header dependency with -ffreestanding.
18258         ($(objpfx)bits/syscall%d): Likewise.
18259
18260 2013-07-13  David S. Miller  <davem@davemloft.net>
18261
18262         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18263         underflows from atanl/atan2l due to bug 15319.
18264         (casinh_test_data): Likewise.
18265
18266 2013-07-07  David S. Miller  <davem@davemloft.net>
18267
18268         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18269
18270 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18271
18272         * sysdeps/i386/fpu/libm-test-ulps: Update.
18273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18274
18275 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18276
18277         * configure.in (--enable-lock-elision): Fix message text.
18278         * INSTALL: Regenerate.
18279         * configure: Regenerate.
18280
18281 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18282
18283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18284
18285 2013-07-03  Andreas Jaeger  <aj@suse.de>
18286
18287         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18288         define.
18289         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18290         (ptrace_peeksiginfo_args): Add.
18291         (__ptrace_peeksiginfo_flags): Add.
18292         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18293         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18294         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18295
18296 2013-07-03  Allan McRae  <allan@archlinux.org>
18297
18298         * sysdeps/i386/fpu/libm-test-ulps: Update.
18299
18300 2013-07-02  David S. Miller  <davem@davemloft.net>
18301
18302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18303
18304 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18305
18306         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18307
18308 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18309
18310         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312
18313 2013-07-02  Andi Kleen <ak@linux.intel.com>
18314
18315         * config.h.in (ENABLE_LOCK_ELISION): Add.
18316         * configure.in (--enable-lock-elision): Add option.
18317         * manual/install.texi: Document --enable lock elision.
18318         * configure: Regenerate
18319         * INSTALL: Regenerate.
18320
18321 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18322
18323         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18324         SSE4.2 strcasecmp for libc.a.
18325         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18326
18327 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18328
18329         [BZ #13304]
18330         * soft-fp/op-common.h (_FP_FMA): New macro.
18331         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18332         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18333         (_FP_MUL_MEAT_1_imm): ... here.
18334         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18335         (_FP_MUL_MEAT_1_wide): ... here.
18336         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18337         (_FP_MUL_MEAT_1_hard): ... here.
18338         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18339         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18340         (_FP_MUL_MEAT_2_wide): ... here.
18341         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18342         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18343         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18344         (_FP_MUL_MEAT_2_gmp): ... here.
18345         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18346         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18347         (_FP_MUL_MEAT_4_wide): ... here.
18348         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18349         (_FP_MUL_MEAT_4_gmp): ... here.
18350         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18351         (_FP_WFRACBITS_DW_S): Likewise.
18352         (_FP_WFRACXBITS_DW_S): Likewise.
18353         (_FP_HIGHBIT_DW_S): Likewise.
18354         (FP_FMA_S): Likewise.
18355         (_FP_FRAC_HIGH_DW_S): Likewise.
18356         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18357         (_FP_WFRACBITS_DW_D): Likewise.
18358         (_FP_WFRACXBITS_DW_D): Likewise.
18359         (_FP_HIGHBIT_DW_D): Likewise.
18360         (FP_FMA_D): Likewise.
18361         (_FP_FRAC_HIGH_DW_D): Likewise.
18362         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18363         (_FP_WFRACBITS_DW_E): Likewise.
18364         (_FP_WFRACXBITS_DW_E): Likewise.
18365         (_FP_HIGHBIT_DW_E): Likewise.
18366         (FP_FMA_E): Likewise.
18367         (_FP_FRAC_HIGH_DW_E): Likewise.
18368         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18369         (_FP_WFRACBITS_DW_Q): Likewise.
18370         (_FP_WFRACXBITS_DW_Q): Likewise.
18371         (_FP_HIGHBIT_DW_Q): Likewise.
18372         (FP_FMA_Q): Likewise.
18373         (_FP_FRAC_HIGH_DW_Q): Likewise.
18374         * soft-fp/fmasf4.c: New file.
18375         * soft-fp/fmadf4.c: Likewise.
18376         * soft-fp/fmatf4.c: Likewise.
18377
18378 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18379
18380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18381         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18382         Silvermont.
18383         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18384         macro.
18385         (index_Slow_SSE4_2): Likewise.
18386         (index_Prefer_PMINUB_for_stringop): Likewise.
18387         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18388         bit_Slow_SSE4_2 is set.
18389         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18390         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18391
18392 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18393
18394         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18395         rtld_global._dl_hwcap2.
18396         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18397         POWER8.
18398         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18399         POWER8 feature descriptions defined in _dl_hwcap2.
18400         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18401         string handling for POWER8 feature bits.
18402         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18403         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18404         _dl_powerpc_cap_flags.
18405         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18406         * sysdeps/powerpc/rtld-global-offsets.sym
18407         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18408         _dl_hwcap2 in the rtld_global_ro structure.
18409
18410 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18411
18412         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18413         hardware capabilities in support of AT_HWCAP2.
18414         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18415         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18416         GLRO(dl_hwcap2).
18417         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18418         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18419         explicitly the unknown a_type display mechanism is used.
18420         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18421         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18422         struct member.
18423         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18424         to macro prototype for AT_HWCAP2 support.
18425         * sysdeps/i386/dl-procinfo.h: Likewise.
18426         * sysdeps/s390/dl-procinfo.h: Likewise.
18427         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18428         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18429         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18430         return -1 for unknown a_type display fallback.
18431         * sysdeps/sparc/dl-procinfo.h: Likewise.
18432         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18433         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18434
18435 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18436
18437         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18438         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18439
18440 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18441
18442         [BZ #12492]
18443         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18444         mprotect making __stack_prot writable.
18445
18446 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18447             Joseph Myers  <joseph@codesourcery.com>
18448
18449         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18450         as being properly aligned.
18451
18452 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18453
18454         * dlfcn/modstatic5.c: New file.
18455         * dlfcn/tststatic5.c: New file.
18456         * dlfcn/Makefile (tests): Add tststatic5.
18457         (tests-static): Likewise.
18458         (modules-names): Add modstatic5.
18459         (tststatic5-ENV): New variable.
18460         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18461
18462         [BZ #15022]
18463         * elf/dl-support.c (_dl_main_map): New variable.
18464         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18465         (_dl_nns, _dl_load_adds): Set to 1.
18466         (_dl_initial_searchlist): Refer to _dl_main_map.
18467         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18468         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18469         call to _dl_get_origin.
18470         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18471         around call_map.
18472         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18473         * dlfcn/modstatic3.c: New file.
18474         * dlfcn/tststatic3.c: New file.
18475         * dlfcn/tststatic4.c: New file.
18476         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18477         (tests-static): Likewise.
18478         (modules-names): Add modstatic3.
18479         (tststatic3-ENV, tststatic4-ENV): New variables.
18480         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18481         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18482
18483 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18484
18485         * configure.in (CC): Require GCC version 4.4 or later.
18486         * configure: Regenerated.
18487         * manual/install.texi (Tools for Compilation): Update GCC version
18488         requirement.
18489         * INSTALL: Regenerated.
18490
18491 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18492
18493         [BZ #15674]
18494         * string/test-memcmp.c (check2): New.
18495         (main): Call check2.
18496
18497         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18498
18499 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18500
18501         [BZ #15022]
18502         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18503         over to...
18504         (dl_open_worker) [!SHARED]: ... here.
18505
18506 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18507
18508         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18509
18510 2013-06-25  Richard Henderson  <rth@redhat.com>
18511
18512         * locale/programs/locarchive.c: Include <libc-internal.h>
18513
18514 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18515
18516         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18517         trailing whitespace removed.
18518
18519 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18520
18521         [BZ #10283]
18522         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18523         * locale/programs/locarchive.c: Include libc-mmap.h.
18524         (prepare_address_space): Take two new outputs (the mmap base and len).
18525         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18526         values.
18527         (create_archive): Declare new mmap base and len values for
18528         prepare_address_space, and store the result in ah.
18529         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18530         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18531         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18532         Declare new mmap base and len values for
18533         prepare_address_space, and store the result in new_ah.
18534         (open_archive): Declare new mmap base and len values for
18535         prepare_address_space, and store the result in ah.
18536         (close_archive): If ah->mmap_base is not NULL, use that and
18537         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18538         * sysdeps/generic/libc-mmap.h: New file.
18539
18540 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18541
18542         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18543         (ALIGN_UP): Likewise.
18544         (PTR_ALIGN_DOWN): Likewise.
18545         (PTR_ALIGN_UP): Likewise.
18546
18547 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18548
18549         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18550         entry mapped to PPC_PLATFORM_POWER8.
18551         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18552         POWER8.
18553         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18554         (_dl_string_platform): Add case for exporting platform position for
18555         POWER8.
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18557         search path to sysdeps/powerpc/powerpc32/power8 directory.
18558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18559         search path to sysdeps/powerpc/powerpc64/power8 directory.
18560         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18561         power7 directories.
18562         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18563         power7 directories.
18564
18565 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18566
18567         * INSTALL: Regenerate.
18568
18569         * nscd/connections.c (nscd_init): Fix comment.
18570
18571 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18572
18573         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18574
18575         [BZ #15667]
18576         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18577         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18578
18579 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18580
18581         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18582         DL_DST_REQ_STATIC.
18583         (DL_DST_REQ_STATIC): Remove macro.
18584
18585 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18586
18587         [BZ #7006]
18588         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18589         with a shift of 0 bits.
18590
18591 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18592
18593         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18594         $(tststatic-ENV).
18595
18596 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18597
18598         [BZ #15655]
18599         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18600
18601 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18602
18603         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18604         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18605         accepts -fno-tree-loop-distribute-patterns.
18606         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18607         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18608         recursive call.
18609         * string/memset.c (memset): Likewise.
18610         * string/test-memmove.c (simple_memmove): Disable loop transformation
18611         to library calls.
18612         * string/test-memset.c (simple_memset): Likewise.
18613         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18614         * benchtests/bench-memset.c (simple_memset): Likewise.
18615         * configure: Regenerated.
18616
18617 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18618
18619         * math/test-misc.c (main): Ignore fesetround failure when failures
18620         of subsequent rounding tests would be ignored.
18621
18622         [BZ #15654]
18623         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18624         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18625         * math/fegetenv.c (__fegetenv): Return 0.
18626         * math/fegetexcept.c (fegetexcept): Return 0.
18627         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18628         FE_TONEAREST.
18629         * math/feholdexcpt.c (feholdexcept): Return 0.
18630         * math/fesetenv.c (__fesetenv): Return 0.
18631         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18632         argument FE_TONEAREST.
18633         * math/feupdateenv.c (__feupdateenv): Return 0.
18634         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18635
18636 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18637
18638         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18639         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18640         ($(objpfx)rtld-%.os rules): Use them.
18641
18642 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18643
18644         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18645         fields.
18646
18647 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18648
18649         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18650         length of target pattern, then descending length of dependency pattern.
18651         * configure.in (AWK): Require gawk 3.1.2 or newer.
18652         * manual/install.texi (Tools for Compilation): Say that we do.
18653         * configure: Regenerated.
18654
18655         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18656         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18657         * scripts/sysd-rules.awk: ... this new script.
18658         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18659         than a glob-style pattern.
18660
18661 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18662
18663         * math/test-misc.c (main): Do not treat incorrectly rounded
18664         conversions as failure unless ROUNDING_TESTS passes.
18665
18666 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18667
18668         [BZ #15631]
18669         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18670         restore exception state around main square root computation, then
18671         check for inexactness explicitly.
18672
18673         * math/libm-test.inc (fma_test_data): Add another test.
18674
18675 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18676
18677         * manual/threads.texi (Non-POSIX Extensions): New document
18678         node.  Document pthread_getattr_default_np and
18679         pthread_setattr_default_np.
18680
18681         * Versions.def (libpthread): Add GLIBC_2.18.
18682         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18684         Likewise.
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18686         Likewise.
18687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18688         Likewise.
18689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18690         Likewise.
18691         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18692         Likewise.
18693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18696         Likewise.
18697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18698         Likewise.
18699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18700         Likewise.
18701
18702 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18703
18704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18705         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18706
18707 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18708             H.J. Lu  <hjl.tools@gmail.com>
18709
18710         [BZ #15627]
18711         * sysdeps/x86_64/rtld-memset.c: Remove file.
18712         * sysdeps/x86_64/rtld-memset.S: New file.
18713
18714 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18715
18716         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18717         (test_in_one_mode): Take arguments for whether the rounding mode
18718         is supported for each floating-point type.
18719         (do_test): Pass new arguments to test_in_one_mode using
18720         ROUNDING_TESTS.
18721
18722 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18723
18724         * posix/tst-waitid.c (do_test): Distinguish different instances of
18725         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18726         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18727         before entering the kernel for waitpid.
18728
18729 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730
18731         * NEWS: Fix note on clock function precision.  Text by Roland
18732         McGrath.
18733
18734 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18735
18736         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18737         it into place only when and if the sanity check passes.
18738
18739 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18740
18741         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18742         output for whether conversion result is exact.  Take argument
18743         indicating whether type is IBM long double.
18744         (round_for_all): Change need_exact field to ibm_ld.
18745         * stdlib/tst-strtod-round.c (struct exactness): New type.
18746         (struct test): Change bool ld_ok field to struct exactness exact.
18747         (TEST): Update all definitions for change to field.
18748         (tests): Regenerate array contents.
18749         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18750         field value.  Check for IBM long double here.
18751         (do_test): Update calls to test_in_one_mode.
18752
18753 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18754
18755         [BZ #12515]
18756         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18757         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18758
18759 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18760
18761         [BZ #15605]
18762         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18763         generated by the compiler on loop optimizations.
18764         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18765         general definitions.
18766
18767 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18768
18769         * math/bug-nextafter.c: Include <math-tests.h>.
18770         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18771         the relevant type.
18772         * math/bug-nexttoward.c: Include <math-tests.h>.
18773         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18774         the relevant type.
18775         * math/test-misc.c: Include <math-tests.h>.
18776         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18777         the relevant type.
18778
18779 2013-06-12  Andreas Jaeger  <aj@suse.de>
18780
18781         * po/ia.po: Update Interlingua translation from translation
18782         project.
18783
18784 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18785
18786         * include/fenv.h: Include stdbool.h.
18787         (struct rm_ctx): New structure.
18788         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18789         Define macro.
18790         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18791         (SET_RESTORE_ROUNDF): Likewise.
18792         (SET_RESTORE_ROUNDL): Likewise.
18793         (SET_RESTORE_ROUND_NOEX): Likewise.
18794         (SET_RESTORE_ROUND_NOEXF): Likewise.
18795         (SET_RESTORE_ROUND_NOEXL): Likewise.
18796         (SET_RESTORE_ROUND_53BIT): Likewise.
18797         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18798         (libc_feresetround_noexf_ctx): Likewise.
18799         (libc_feresetround_noexl_ctx): Likewise.
18800         (libc_feholdsetround_53bit_ctx): Likewise.
18801         (libc_feresetround_53bit_ctx): Likewise.
18802         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18803         (libc_feholdexcept_setround_sse_ctx): New function.
18804         (libc_fesetenv_sse_ctx): Likewise.
18805         (libc_feupdateenv_sse_ctx): Likewise.
18806         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18807         (libc_feholdexcept_setround_387_ctx): Likewise.
18808         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18809         (libc_feholdsetround_387_prec_ctx): Likewise.
18810         (libc_feholdsetround_387_ctx): Likewise.
18811         (libc_feholdsetround_387_53bit_ctx): Likewise.
18812         (libc_feholdsetround_sse_ctx): Likewise.
18813         (libc_feresetround_sse_ctx): Likewise.
18814         (libc_feresetround_387_ctx): Likewise.
18815         (libc_feupdateenv_387_ctx): Likewise.
18816         (libc_feholdexcept_setroundf_ctx): Define macro.
18817         (libc_fesetenvf_ctx): Likewise.
18818         (libc_feupdateenvf_ctx): Likewise.
18819         (libc_feholdsetroundf_ctx): Likewise.
18820         (libc_feresetroundf_ctx): Likewise.
18821         (libc_feholdexcept_setround_ctx): Likewise.
18822         (libc_fesetenv_ctx): Likewise.
18823         (libc_feupdateenv_ctx): Likewise.
18824         (libc_feholdsetround_ctx): Likewise.
18825         (libc_feresetround_ctx): Likewise.
18826         (libc_feholdexcept_setroundl_ctx): Likewise.
18827         (libc_feupdateenvl_ctx): Likewise.
18828         (libc_feholdsetroundl_ctx): Likewise.
18829         (libc_feresetroundl_ctx): Likewise.
18830         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18831         (libc_feresetround_53bit_ctx): Likewise.
18832
18833 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18834
18835         * locale/iso-639.def: Convert to UTF-8.
18836
18837 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18838
18839         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18840         (EXCEPTION_TESTS_double): Likewise.
18841         (EXCEPTION_TESTS_long_double): Likewise.
18842         (EXCEPTION_TESTS): Likewise.
18843         * math/libm-test.inc (test_exceptions): Only test exceptions if
18844         EXCEPTION_TESTS (FLOAT).
18845
18846 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18847
18848         * benchtests/Makefile (string-bench): Add strcpy_chk and
18849         stpcpy_chk.
18850         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18851         * benchtests/bench-stpcpy_chk.c: New file.
18852         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18853         * benchtests/bench-strcpy_chk.c: New file.
18854         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18855         code.
18856         (do_test): Likewise.
18857
18858 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18859
18860         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18861         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18862         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18863         with tabs where appropriate.
18864         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18865         dl-procinfo.h.
18866         [PPC_PLATFORM_PPC440]: Likewise.
18867         [PPC_PLATFORM_PPC464]: Likewise.
18868         [PPC_PLATFORM_PPC476]: Likewise.
18869         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18870         ppc464, and ppc476 platform strings merging from ports/
18871         dl-procinfo.h.
18872
18873 2013-06-11  Andreas Schwab  <schwab@suse.de>
18874
18875         [BZ #14991]
18876         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18877         (from_ucs4_idx): Regenerate.
18878         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18879         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18880         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18881         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18882         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18883         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18884         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18885         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18886         from FROM_LOOP and TO_LOOP specific macros.
18887         (BODY): Handle combining characters.
18888         * iconvdata/BIG5HKSCS.irreversible: Update.
18889         * iconvdata/BIG5HKSCS.precomposed: New file.
18890         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18891         characters.
18892         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18893
18894 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18895
18896         * include/sys/time.h: Fix indentation and add copyright header.
18897
18898         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18899         (do_test): Likewise.
18900         * string/test-memchr.c (do_one_test): Likewise.
18901         (do_test): Likewise.
18902         * string/test-memcmp.c (do_one_test): Likewise.
18903         (do_test): Likewise.
18904         * string/test-memcpy.c (do_one_test): Likewise.
18905         (do_test): Likewise.
18906         * string/test-memmem.c (do_one_test): Likewise.
18907         (do_test): Likewise.
18908         (do_random_tests): Likewise.
18909         * string/test-memmove.c (do_one_test): Likewise.
18910         (do_test): Likewise.
18911         * string/test-memset.c (do_one_test): Likewise.
18912         (do_test): Likewise.
18913         * string/test-rawmemchr.c (do_one_test): Likewise.
18914         (do_test): Likewise.
18915         * string/test-strcasecmp.c (do_one_test): Likewise.
18916         (do_test): Likewise.
18917         * string/test-strcasestr.c (do_one_test): Likewise.
18918         (do_test): Likewise.
18919         * string/test-strcat.c (do_one_test): Likewise.
18920         (do_test): Likewise.
18921         * string/test-strchr.c (do_one_test): Likewise.
18922         (do_test): Likewise.
18923         * string/test-strcmp.c (do_one_test): Likewise.
18924         (do_test): Likewise.
18925         * string/test-strcpy.c (do_one_test): Likewise.
18926         (do_test): Likewise.
18927         * string/test-string.h: Likewise.
18928         (test_init): Likewise.
18929         * string/test-strlen.c (do_one_test): Likewise.
18930         (do_test): Likewise.
18931         * string/test-strncasecmp.c (do_one_test): Likewise.
18932         (do_test): Likewise.
18933         * string/test-strncat.c (do_one_test): Likewise.
18934         (do_test): Likewise.
18935         * string/test-strncmp.c (do_one_test): Likewise.
18936         (do_test_limit): Likewise.
18937         (do_test): Likewise.
18938         * string/test-strncpy.c (do_one_test): Likewise.
18939         (do_test): Likewise.
18940         * string/test-strnlen.c (do_one_test): Likewise.
18941         (do_test): Likewise.
18942         * string/test-strpbrk.c (do_one_test): Likewise.
18943         (do_test): Likewise.
18944         * string/test-strrchr.c (do_one_test): Likewise.
18945         (do_test): Likewise.
18946         * string/test-strspn.c (do_one_test): Likewise.
18947         (do_test): Likewise.
18948         * string/test-strstr.c (do_one_test): Likewise.
18949         (do_test): Likewise.
18950
18951         * benchtests/Makefile (string-bench): Add string benchmarks.
18952         * benchtests/bench-bcopy-ifunc.c: New file.
18953         * benchtests/bench-bcopy.c: New file.
18954         * benchtests/bench-bzero-ifunc.c: New file.
18955         * benchtests/bench-bzero.c: New file.
18956         * benchtests/bench-memccpy-ifunc.c: New file.
18957         * benchtests/bench-memccpy.c: New file.
18958         * benchtests/bench-memchr-ifunc.c: New file.
18959         * benchtests/bench-memchr.c: New file.
18960         * benchtests/bench-memcmp-ifunc.c: New file.
18961         * benchtests/bench-memcmp.c: New file.
18962         * benchtests/bench-memmem-ifunc.c: New file.
18963         * benchtests/bench-memmem.c: New file.
18964         * benchtests/bench-memmove-ifunc.c: New file.
18965         * benchtests/bench-memmove.c: New file.
18966         * benchtests/bench-mempcpy-ifunc.c: New file.
18967         * benchtests/bench-mempcpy.c: New file.
18968         * benchtests/bench-memset-ifunc.c: New file.
18969         * benchtests/bench-memset.c: New file.
18970         * benchtests/bench-rawmemchr-ifunc.c: New file.
18971         * benchtests/bench-rawmemchr.c: New file.
18972         * benchtests/bench-stpcpy-ifunc.c: New file.
18973         * benchtests/bench-stpcpy.c: New file.
18974         * benchtests/bench-stpncpy-ifunc.c: New file.
18975         * benchtests/bench-stpncpy.c: New file.
18976         * benchtests/bench-strcasecmp-ifunc.c: New file.
18977         * benchtests/bench-strcasecmp.c: New file.
18978         * benchtests/bench-strcasestr-ifunc.c: New file.
18979         * benchtests/bench-strcasestr.c: New file.
18980         * benchtests/bench-strcat-ifunc.c: New file.
18981         * benchtests/bench-strcat.c: New file.
18982         * benchtests/bench-strchr-ifunc.c: New file.
18983         * benchtests/bench-strchr.c: New file.
18984         * benchtests/bench-strchrnul-ifunc.c: New file.
18985         * benchtests/bench-strchrnul.c: New file.
18986         * benchtests/bench-strcmp-ifunc.c: New file.
18987         * benchtests/bench-strcmp.c: New file.
18988         * benchtests/bench-strcpy-ifunc.c: New file.
18989         * benchtests/bench-strcpy.c: New file.
18990         * benchtests/bench-strcspn-ifunc.c: New file.
18991         * benchtests/bench-strcspn.c: New file.
18992         * benchtests/bench-strlen-ifunc.c: New file.
18993         * benchtests/bench-strlen.c: New file.
18994         * benchtests/bench-strncasecmp-ifunc.c: New file.
18995         * benchtests/bench-strncasecmp.c: New file.
18996         * benchtests/bench-strncat-ifunc.c: New file.
18997         * benchtests/bench-strncat.c: New file.
18998         * benchtests/bench-strncmp-ifunc.c: New file.
18999         * benchtests/bench-strncmp.c: New file.
19000         * benchtests/bench-strncpy-ifunc.c: New file.
19001         * benchtests/bench-strncpy.c: New file.
19002         * benchtests/bench-strnlen-ifunc.c: New file.
19003         * benchtests/bench-strnlen.c: New file.
19004         * benchtests/bench-strpbrk-ifunc.c: New file.
19005         * benchtests/bench-strpbrk.c: New file.
19006         * benchtests/bench-strrchr-ifunc.c: New file.
19007         * benchtests/bench-strrchr.c: New file.
19008         * benchtests/bench-strspn-ifunc.c: New file.
19009         * benchtests/bench-strspn.c: New file.
19010         * benchtests/bench-strstr-ifunc.c: New file.
19011         * benchtests/bench-strstr.c: New file.
19012
19013         * benchtests/Makefile: Disable parallel execution of targets.
19014         (string-bench): Add memcpy.
19015         (benchset): New variable to store a list of benchmark sets.
19016         (bench-func): Renamed from bench.
19017         (bench-set): New target.
19018         (bench): Depend on bench-func and bench-set.
19019         * benchtests/README: Add section on benchmark sets.
19020         * benchtests/bench-memcpy-ifunc.c: New file.
19021         * benchtests/bench-memcpy.c: New file.
19022         * benchtests/bench-string.h: New file.
19023
19024 2013-06-11  Andreas Schwab  <schwab@suse.de>
19025
19026         [BZ #15577]
19027         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19028         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19029         values in the triple.
19030         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19031         terminator in the group key.
19032
19033 2013-06-11  Andreas Jaeger  <aj@suse.de>
19034
19035         * po/zh_TW.po: Update Chinese (traditional) translation from
19036         translation project.
19037
19038 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19039
19040         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19041         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19042         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19043         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19044         (clock_getcpuclockid): Likewise.
19045         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19046         Add weak_alias and libc_hidden_def.
19047         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19048         * rt/clock_gettime.c (clock_gettime): Rename to
19049         __clock_gettime.  Add weak_alias and libc_hidden_def.
19050         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19051         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19052         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19053         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19054         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19055         Likewise.
19056         * rt/clock_settime.c (clock_settime): Rename to
19057         __clock_settime.  Add weak_alias and libc_hidden_def.
19058         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19059
19060 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19061
19062         * mach/err_boot.sub: Remove trailing whitespace.
19063         * mach/err_ipc.sub: Likewise.
19064         * mach/err_mach.sub: Likewise.
19065
19066         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19067         (ROUNDING_TESTS_double): Likewise.
19068         (ROUNDING_TESTS_long_double): Likewise.
19069         (ROUNDING_TESTS): Likewise.
19070         * math/libm-test.inc: Include <math-tests.h>.
19071         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19072         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19073         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19074         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19075
19076 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19077
19078         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19079         of assigning.
19080
19081 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19082
19083         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19084         otherwise empty TRANS lines.
19085         * sysdeps/gnu/errlist.c: Regenerated.
19086
19087         * catgets/gencat.c (error_print): Use (void) in function
19088         definition.
19089         * crypt/crypt_util.c (__init_des): Likewise.
19090         * crypt/speeds.c (Stop): Likewise.
19091         (main): Likewise.
19092         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19093         * inet/ruserpass.c (token): Likewise.
19094         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19095         * intl/localealias.c (extend_alias_table): Likewise.
19096         * intl/plural-exp.c (init_germanic_plural): Likewise.
19097         * libio/fcloseall.c (__fcloseall): Likewise.
19098         * libio/genops.c (_IO_flush_all): Likewise.
19099         (_IO_flush_all_linebuffered): Likewise.
19100         (_IO_cleanup): Likewise.
19101         (_IO_iter_begin): Likewise.
19102         (_IO_iter_end): Likewise.
19103         (_IO_list_lock): Likewise.
19104         (_IO_list_unlock): Likewise.
19105         (_IO_list_resetlock): Likewise.
19106         * libio/getchar.c (getchar): Likewise.
19107         * libio/getchar_u.c (getchar_unlocked): Likewise.
19108         * libio/getwchar.c (getwchar): Likewise.
19109         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19110         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19111         * login/getpt.c (__getpt): Likewise.
19112         * login/tst-utmp.c (main): Likewise.
19113         * malloc/hooks.c (__malloc_check_init): Likewise.
19114         * malloc/malloc.c (__malloc_stats): Likewise.
19115         * malloc/mtrace.c (tr_break): Likewise.
19116         (mtrace): Likewise.
19117         (muntrace): Likewise.
19118         * misc/fstab.c (endfsent): Likewise.
19119         * misc/getclktck.c (__getclktck): Likewise.
19120         * misc/getdtsz.c (__getdtablesize): Likewise.
19121         * misc/gethostid.c (gethostid): Likewise.
19122         * misc/getpagesize.c (__getpagesize): Likewise.
19123         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19124         (__get_nprocs): Likewise.
19125         (__get_phys_pages): Likewise.
19126         (__get_avphys_pages): Likewise.
19127         * misc/getttyent.c (getttyent): Likewise.
19128         (setttyent): Likewise.
19129         (endttyent): Likewise.
19130         * misc/getusershell.c (getusershell): Likewise.
19131         (endusershell): Likewise.
19132         (setusershell): Likewise.
19133         (initshells): Likewise.
19134         * misc/hsearch.c (__hdestroy): Likewise.
19135         * misc/sync.c (sync): Likewise.
19136         * misc/syslog.c (closelog_internal): Likewise.
19137         (closelog): Likewise.
19138         * misc/ttyslot.c (ttyslot): Likewise.
19139         * misc/vhangup.c (vhangup): Likewise.
19140         * posix/fork.c (__fork): Likewise.
19141         * posix/getegid.c (__getegid): Likewise.
19142         * posix/geteuid.c (__geteuid): Likewise.
19143         * posix/getgid.c (__getgid): Likewise.
19144         * posix/getpid.c (__getpid): Likewise.
19145         * posix/getppid.c (__getppid): Likewise.
19146         * posix/getuid.c (__getuid): Likewise.
19147         * posix/pause.c (pause): Likewise.
19148         * posix/setpgrp.c (setpgrp): Likewise.
19149         * posix/setsid.c (__setsid): Likewise.
19150         * posix/test-vfork.c (noop): Likewise.
19151         * resolv/gethnamaddr.c (_endhtent): Likewise.
19152         (_gethtent): Likewise.
19153         (ht_endhostent): Likewise.
19154         (gethostent): Likewise.
19155         (dns_service): Likewise.
19156         * stdlib/drand48.c (drand48): Likewise.
19157         * stdlib/lrand48.c (lrand48): Likewise.
19158         * stdlib/mrand48.c (mrand48): Likewise.
19159         * stdlib/rand.c (rand): Likewise.
19160         * stdlib/random.c (__random): Likewise.
19161         * stdlib/setenv.c (clearenv): Likewise.
19162         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19163         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19164         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19165         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19166         (__get_nprocs): Likewise.
19167         (__get_phys_pages): Likewise.
19168         (__get_avphys_pages): Likewise.
19169         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19170         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19171         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19172         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19173         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19174         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19175         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19176         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19177         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19178         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19179         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19180         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19181         * sysdeps/posix/clock.c (clock): Likewise.
19182         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19183         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19184         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19185         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19186         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19187         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19188         (__get_nprocs_conf): Likewise.
19189         (__get_phys_pages): Likewise.
19190         (__get_avphys_pages): Likewise.
19191         * time/clock.c (clock): Likewise.
19192         * time/tzset.c (__tzname_max): Likewise.
19193
19194 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19195
19196         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19197         (__bswap_32): Do not use "register".
19198         * crypt/crypt.c (_ufc_doit_r): Likewise.
19199         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19200         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19201         * gmon/gmon.c (__monstartup): Likewise.
19202         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19203         * hurd/hurdmalloc.c (more_memory): Likewise.
19204         (malloc): Likewise.
19205         (free): Likewise.
19206         (realloc): Likewise.
19207         (malloc_fork_prepare): Likewise.
19208         (malloc_fork_parent): Likewise.
19209         (malloc_fork_child): Likewise.
19210         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19211         (_svcauth_des): Likewise.
19212         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19213         * inet/inet_net.c (inet_network): Likewise.
19214         * inet/inet_netof.c (inet_netof): Likewise.
19215         * inet/rcmd.c (__validuser2_sa): Likewise.
19216         * io/fts.c (fts_open): Likewise.
19217         (fts_load): Likewise.
19218         (fts_close): Likewise.
19219         (fts_read): Likewise.
19220         (fts_children): Likewise.
19221         (fts_build): Likewise.
19222         (fts_stat): Likewise.
19223         (fts_sort): Likewise.
19224         (fts_alloc): Likewise.
19225         (fts_lfree): Likewise.
19226         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19227         (_IO_file_xsgetn): Likewise.
19228         (_IO_file_xsgetn_mmap): Likewise.
19229         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19230         (_IO_cookie_write): Likewise.
19231         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19232         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19233         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19234         * malloc/obstack.c (_obstack_begin): Likewise.
19235         (_obstack_begin_1): Likewise.
19236         (_obstack_newchunk): Likewise.
19237         (_obstack_allocated_p): Likewise.
19238         (obstack_free): Likewise.
19239         (_obstack_memory_used): Likewise.
19240         * misc/getttyent.c (getttynam): Likewise.
19241         (getttyent): Likewise.
19242         (skip): Likewise.
19243         (value): Likewise.
19244         * misc/getusershell.c (initshells): Likewise.
19245         * misc/syslog.c (__vsyslog_chk): Likewise.
19246         * misc/ttyslot.c (ttyslot): Likewise.
19247         * nis/nis_hash.c (__nis_hash): Likewise.
19248         * posix/fnmatch_loop.c (FCT): Likewise.
19249         * posix/getconf.c (print_all): Likewise.
19250         (main): Likewise.
19251         * posix/getopt.c (exchange): Likewise.
19252         * posix/glob.c (globfree): Likewise.
19253         (prefix_array): Likewise.
19254         (__glob_pattern_type): Likewise.
19255         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19256         (NS_GET32): Likewise.
19257         (NS_PUT16): Likewise.
19258         (NS_PUT32): Likewise.
19259         * resolv/gethnamaddr.c (getanswer): Likewise.
19260         (gethostbyname2): Likewise.
19261         (gethostbyaddr): Likewise.
19262         (_gethtent): Likewise.
19263         (_gethtbyname2): Likewise.
19264         (_gethtbyaddr): Likewise.
19265         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19266         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19267         * resolv/res_init.c (__res_vinit): Likewise.
19268         (net_mask): Likewise.
19269         * resolv/res_mkquery.c (outchar): Likewise.
19270         (PRINT): Likewise.
19271         * stdio-common/printf_fp.c (outchar): Likewise.
19272         (PRINT): Likewise.
19273         * stdio-common/printf_fphex.c (outchar): Likewise.
19274         (PRINT): Likewise.
19275         * stdio-common/printf_size.c (outchar): Likewise.
19276         (PRINT): Likewise.
19277         * stdio-common/test_rdwr.c (main): Likewise.
19278         * stdio-common/tfformat.c (matches): Likewise.
19279         * stdio-common/vfprintf.c (outchar): Likewise.
19280         (printf_unknown): Likewise.
19281         (buffered_vfprintf): Likewise.
19282         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19283         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19284         (ReadFile): Likewise.
19285         * stdlib/qsort.c (SWAP): Likewise.
19286         (_quicksort): Likewise.
19287         * stdlib/setenv.c (__add_to_environ): Likewise.
19288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19289         * stdlib/strtol_l.c (__strtol_l): Likewise.
19290         * stdlib/tst-strtod.c (main): Likewise.
19291         * stdlib/tst-strtol.c (main): Likewise.
19292         * stdlib/tst-strtoll.c (main): Likewise.
19293         * string/bits/string2.h (__strcmp_cc): Likewise.
19294         (__strcmp_cg): Likewise.
19295         (__strcspn_c1): Likewise.
19296         (__strcspn_c2): Likewise.
19297         (__strcspn_c3): Likewise.
19298         (__strspn_c1): Likewise.
19299         (__strspn_c2): Likewise.
19300         (__strspn_c3): Likewise.
19301         (__strsep_1c): Likewise.
19302         (__strsep_2c): Likewise.
19303         (__strsep_3c): Likewise.
19304         * string/memccpy.c (__memccpy): Likewise.
19305         * string/stpcpy.c (__stpcpy): Likewise.
19306         * string/strcmp.c (strcmp): Likewise.
19307         * string/strrchr.c (strrchr): Likewise.
19308         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19309         Likewise.
19310         * sysdeps/mach/hurd/getcwd.c
19311         (_hurd_canonicalize_directory_name_internal): Likewise.
19312         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19313         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19314         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19315         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19316         Likewise, in both definitions.
19317         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19318         definitions.
19319         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19320         64] (__bswap_64): Likewise.
19321         * time/test_time.c (main): Likewise.
19322         * time/tzfile.c (__tzfile_read): Likewise.
19323         (__tzfile_compute): Likewise.
19324         * time/tzset.c (__tzset_parse_tz): Likewise.
19325         (tzset_internal): Likewise.
19326         (compute_change): Likewise.
19327         * wcsmbs/wcscat.c (__wcscat): Likewise.
19328         * wcsmbs/wcschr.c (wcschr): Likewise.
19329         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19330         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19331         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19332         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19333         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19334         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19335         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19336         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19337         * wcsmbs/wmemset.c (wmemset): Likewise.
19338
19339 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19340
19341         * scripts/config.guess: Update to version 2013-05-16.
19342         * scripts/config.sub: Update to version 2013-04-24.
19343         * scripts/install-sh: Update to version 2011-11-20.07.
19344         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19345         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19346
19347 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19348
19349         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19350         * elf/sln.c: Likewise.
19351         * hurd/hurd/ioctl.h: Likewise.
19352         * hurd/hurdmalloc.c: Likewise.
19353         * hurd/xattr.c: Likewise.
19354         * include/shlib-compat.h: Likewise.
19355         * inet/ruserpass.c: Likewise.
19356         * libio/iofgets_u.c: Likewise.
19357         * libio/iofgetws_u.c: Likewise.
19358         * locale/programs/ld-identification.c: Likewise.
19359         * locale/programs/ld-time.c: Likewise.
19360         * mach/msg-destroy.c: Likewise.
19361         * nss/nss_files/files-netgrp.c: Likewise.
19362         * resolv/res_data.c: Likewise.
19363         * soft-fp/op-1.h: Likewise.
19364         * soft-fp/op-2.h: Likewise.
19365         * soft-fp/op-4.h: Likewise.
19366         * soft-fp/op-common.h: Likewise.
19367         * stdio-common/printf_fphex.c: Likewise.
19368         * stdlib/strtod_l.c: Likewise.
19369         * sunrpc/rpc/clnt.h: Likewise.
19370         * sysdeps/generic/framestate.c: Likewise.
19371         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19372         * sysdeps/i386/bsd-setjmp.S: Likewise.
19373         * sysdeps/i386/__longjmp.S: Likewise.
19374         * sysdeps/i386/setjmp.S: Likewise.
19375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19376         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19377         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19378         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19380         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19381         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19382         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19383         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19384         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19385         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19386         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19387         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19388         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19389         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19390         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19391         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19392         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19393         * sysdeps/ieee754/support.c: Likewise.
19394         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19395         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19396         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19397         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19398         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19399         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19400         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19401         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19402         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19403         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19404         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19405         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19407         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19408         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19409         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19410         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19412
19413 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19414
19415         * posix/transbug.c: Remove executable mode.
19416
19417 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19418
19419         * crypt/speeds.c: Remove trailing whitespace.
19420         * dlfcn/default.c: Likewise.
19421         * elf/ifuncdep2.c: Likewise.
19422         * elf/ifuncmain1.c: Likewise.
19423         * elf/ifuncmain1vis.c: Likewise.
19424         * elf/testobj.h: Likewise.
19425         * elf/tst-stackguard1.c: Likewise.
19426         * gmon/sys/gmon.h: Likewise.
19427         * hurd/hurdmsg.c: Likewise.
19428         * hurd/new-fd.c: Likewise.
19429         * hurd/ports-get.c: Likewise.
19430         * iconvdata/ibm1008_420.c: Likewise.
19431         * inet/tst-getni1.c: Likewise.
19432         * inet/tst-getni2.c: Likewise.
19433         * libio/ioungetc.c: Likewise.
19434         * libio/wfiledoalloc.c: Likewise.
19435         * manual/libm-err-tab.pl: Likewise.
19436         * math/w_dremf.c: Likewise.
19437         * misc/ftruncate.c: Likewise.
19438         * posix/bug-glob2.c: Likewise.
19439         * posix/tst-pcre.c: Likewise.
19440         * posix/wait4.c: Likewise.
19441         * resolv/README: Likewise.
19442         * resolv/res_debug.h: Likewise.
19443         * resolv/tst-inet_ntop.c: Likewise.
19444         * setjmp/bug269-setjmp.c: Likewise.
19445         * soft-fp/extended.h: Likewise.
19446         * soft-fp/op-1.h: Likewise.
19447         * soft-fp/op-2.h: Likewise.
19448         * soft-fp/op-4.h: Likewise.
19449         * soft-fp/op-8.h: Likewise.
19450         * soft-fp/testit.c: Likewise.
19451         * stdio-common/bug16.c: Likewise.
19452         * stdlib/random.c: Likewise.
19453         * sunrpc/rpcsvc/rquota.x: Likewise.
19454         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19455         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19456         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19457         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19458         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19459         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19460         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19461         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19462         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19463         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19464         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19465         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19466         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19468         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19470         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19471         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19472         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19473         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19476         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19477         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19478         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19481         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19482         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19483         * sysdeps/ieee754/s_lib_version.c: Likewise.
19484         * sysdeps/mach/hurd/check_fds.c: Likewise.
19485         * sysdeps/mach/hurd/getsockname.c: Likewise.
19486         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19487         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19488         * sysdeps/powerpc/bits/link.h: Likewise.
19489         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19490         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19491         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19492         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19493         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19494         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19495         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19496         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19497         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19498         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19499         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19500         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19501         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19502         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19503         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19504         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19506         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19507         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19508         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19509         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19510         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19511         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19512         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19513         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19514         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19515         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19516         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19517         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19519         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19520         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19522         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19523         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19524         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19525         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19526         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19527         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19528         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19529         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19530         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19531         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19532         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19533         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19534         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19535         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19536         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19537         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19538         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19539         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19540         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19541         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19542         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19543         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19544         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19545         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19546         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19547         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19549         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19550         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19551         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19552         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19553         * sysdeps/powerpc/sysdep.h: Likewise.
19554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19555         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19556         * sysdeps/sh/dl-trampoline.S: Likewise.
19557         * sysdeps/sh/memset.S: Likewise.
19558         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19559         * sysdeps/sh/strlen.S: Likewise.
19560         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19561         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19562         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19563         * sysdeps/sparc/sparc32/rem.S: Likewise.
19564         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19565         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19566         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19567         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19568         * sysdeps/sparc/sparc32/urem.S: Likewise.
19569         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19570         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19571         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19572         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19573         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19574         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19575         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19576         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19577         * sysdeps/unix/bsd/times.c: Likewise.
19578         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19579         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19583         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19584         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19585         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19587         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19589         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19590         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19591         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19592         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19593         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19594         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19595         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19596         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19597         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19598         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19599         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19600         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19601         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19602         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19603         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19604         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19605         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19606         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19607         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19608         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19609         * sysdeps/x86_64/strcspn.S: Likewise.
19610
19611 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19612
19613         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19614         generated file.  Regenerate properly from gen-translit.pl.
19615         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19616         locale/C-translit.h.
19617
19618 2013-06-05  Andreas Schwab  <schwab@suse.de>
19619
19620         [BZ #15100]
19621         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19622         week as 6 instead of -1.
19623         * time/tst-strptime.c (day_tests): Add test case.
19624
19625 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19626
19627         * sysdeps/generic/math_private.h
19628         (libc_feholdexcept_setround_53bit): Replace with
19629         libc_feholdsetround_53bit.
19630         (libc_feupdateenv_53bit): Replace with
19631         libc_feresetround_53bit.
19632         (SET_RESTORE_ROUND_53BIT): Adjust.
19633
19634 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19635
19636         * string/test-strchrnul.c: Add copyright header.
19637
19638         * posix/tst-getaddrinfo4.c: Increase test timeout.
19639
19640 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19641
19642         [BZ #15536]
19643         * math/libm-test.inc (MAX_EXP): Remove
19644         (MIN_EXP): Define.
19645         (ulp): Use MIN_EXP - MANT_DIG.
19646         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19647
19648 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19649
19650         * po/be.po: Revert last change.
19651         * po/zh_CN.po: Likewise.
19652         * po/header.pot: Likewise.
19653
19654 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19655
19656         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19657         link-libc-deps to empty as target-specific variable.
19658         * Makerules (link-libc-args): New variable.
19659         (libc-for-link): Likewise.
19660         (link-libc-deps): Likewise.
19661         (lib%.so): Depend on $(link-libc-deps).  Link with
19662         $(link-libc-args).
19663         (build-module): Link with $(link-libc-args).
19664         (build-module-asneeded): Likewise.
19665         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19666         list of objects.
19667         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19668         target-specific variable.
19669         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19670         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19671         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19672         libc.
19673         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19674         libc and ld.so.
19675         ($(objpfx)libpcprofile.so): Likewise.
19676         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19677         libc_nonshared.a.
19678         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19679         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19680         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19681         $(link-libc-deps).
19682         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19683         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19684         * login/Makefile ($(objpfx)libutil.so): Likewise.
19685         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19686         * math/Makefile ($(objpfx)libm.so): Likewise.
19687         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19688         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19689         variable instead of depending directly on libc.
19690         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19691         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19692         $(link-libc-deps).
19693         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19694         libc.
19695         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19696         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19697         ($(objpfx)libanl.so): Likewise.
19698         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19699         ld.so.
19700         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19701         $(link-libc-deps).
19702         * sysdeps/i386/fpu/Makefile: Remove file.
19703         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19704         ($(objpfx)libm.so): Remove dependency on ld.so.
19705
19706 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19707
19708         [BZ # 15553]
19709         * nis/yp_xdr.c (XDRMAXNAME): Define.
19710         (XDRMAXRECORD): Define.
19711         (xdr_domainname): Use XDRMAXNAME.
19712         (xdr_mapname): Likewise.
19713         (xdr_peername): Likewise.
19714         (xdr_keydat): Use XDRMAXRECORD.
19715         (xdr_valdat): Likewise.
19716
19717 2013-05-30  Jeff Law  <law@redhat.com>
19718
19719         [BZ #14256]
19720         * manual/errno.texi (ESTALE): Update to account for more than
19721         just NFS file systems.
19722         * sysdeps/gnu/errlist.c: Regenerated.
19723
19724 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19725
19726         [BZ #15465]
19727         * elf/Makefile (tests): Add tst-null-argv.
19728         (modules-names):  Add tst-null-argv-lib.
19729         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19730         (tst-null-argv-ENV): Set environment for tst-null-argv.
19731         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19732         (RTLD_PROGNAME): New macro.
19733         * elf/tst-null-argv.c: New test case.
19734         * elf/tst-null-argv-lib.c: Library for test case.
19735         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19736         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19737         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19738         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19739         * elf/dl-init.c (call_init): Likewise.
19740         (_dl_init): Likewise.
19741         * elf/dl-load.c (print_search_path): Likewise.
19742         (_dl_map_object): Likewise.
19743         * elf/dl-lookup.c (do_lookup_x): Likewise.
19744         (add_dependency): Likewise.
19745         (_dl_lookup_symbol_x): Likewise.
19746         (_dl_debug_bindings): Likewise.
19747         * elf/dl-open.c (_dl_show_scope): Likewise.
19748         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19749         * elf/dl-version.c (match_symbol): Likewise.
19750         (_dl_check_map_versions): Likewise.
19751         * elf/rtld.c (dl_main): Likewise.
19752         (print_unresolved): Use RTLD_PROGNAME.
19753         (print_missing_version): Likewise.
19754         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19755         (elf_machine_rela): Likewise.
19756         * sysdeps/powerpc/powerpc32/dl-machine.c
19757         (__process_machine_rela): Likewise.
19758         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19759         Likewise.
19760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19761         Likewise.
19762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19763         Likewise.
19764         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19765         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19766         Likewise.
19767         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19768         Likewise.
19769         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19770
19771 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19772
19773         * po/be.po: Add descriptive title.
19774         * po/zh_CN.po: Likewise.
19775         * po/header.pot: Likewise.
19776
19777 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19778
19779         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19780         error message.
19781         (enlarge_archive): Likewise.
19782
19783 2013-05-28  Ben North  <ben@redfrontdoor.org>
19784
19785         * manual/arith.texi (frexp): It is the magnitude of the return
19786         value which lies in [0.5, 1), not the return value itself.
19787
19788 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19789
19790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19791
19792 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19793
19794         * stdio-common/bug26.c (main): Correct fscanf template.
19795
19796         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19797         declare _dl_skip_args.
19798
19799         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19800         Don't declare.
19801
19802         * manual/platform.texi: Add missing @end deftypefun.
19803
19804 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19805
19806         [BZ #15529]
19807         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19808         bit of mantissa of 2^16382.
19809         * math/libm-test.inc (hypot_test_data): Add more tests.
19810
19811         * math/libm-test.inc: Add drem and pow10 to list of tested
19812         functions.
19813         (pow10_test): New function.
19814         (drem_test): Likewise.
19815         (drem_test_tonearest): Likewise.
19816         (drem_test_towardzero): Likewise.
19817         (drem_test_downward): Likewise.
19818         (drem_test_upward): Likewise.
19819         (main): Call the new functions.
19820
19821         * math/libm-test.inc (finite_test_data): Remove.
19822         (finite_test): Run tests from isfinite_test_data.
19823         (gamma_test_data): Remove.
19824         (gamma_test): Run tests from lgamma_test_data.
19825         * sysdeps/i386/fpu/libm-test-ulps: Update.
19826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19827
19828 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19829
19830         * manual/platform.texi: Add PowerPC PPR function set documentation.
19831         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19832         implementation.
19833
19834 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19835
19836         * math/libm-test.inc (MAX_EXP): Define.
19837         (ULPDIFF): Define.
19838         (ulp): New function.
19839         (check_float_internal): Use ULPDIFF.
19840         (cpow_test): Disable failing test.
19841         (check_ulp): Test ulp() implemetnation.
19842         (main): Call check_ulp before starting tests.
19843
19844 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19845
19846         * math/gen-libm-test.pl (generate_testfile): Do not handle
19847         START_DATA and END_DATA.
19848         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19849         END_DATA.
19850         (acos_tonearest_test_data): Likewise.
19851         (acos_towardzero_test_data): Likewise.
19852         (acos_downward_test_data): Likewise.
19853         (acos_upward_test_data): Likewise.
19854         (acosh_test_data): Likewise.
19855         (asin_test_data): Likewise.
19856         (asin_tonearest_test_data): Likewise.
19857         (asin_towardzero_test_data): Likewise.
19858         (asin_downward_test_data): Likewise.
19859         (asin_upward_test_data): Likewise.
19860         (asinh_test_data): Likewise.
19861         (atan_test_data): Likewise.
19862         (atanh_test_data): Likewise.
19863         (atan2_test_data): Likewise.
19864         (cabs_test_data): Likewise.
19865         (cacos_test_data): Likewise.
19866         (cacosh_test_data): Likewise.
19867         (carg_test_data): Likewise.
19868         (casin_test_data): Likewise.
19869         (casinh_test_data): Likewise.
19870         (catan_test_data): Likewise.
19871         (catanh_test_data): Likewise.
19872         (cbrt_test_data): Likewise.
19873         (ccos_test_data): Likewise.
19874         (ccosh_test_data): Likewise.
19875         (ceil_test_data): Likewise.
19876         (cexp_test_data): Likewise.
19877         (cimag_test_data): Likewise.
19878         (clog_test_data): Likewise.
19879         (clog10_test_data): Likewise.
19880         (conj_test_data): Likewise.
19881         (copysign_test_data): Likewise.
19882         (cos_test_data): Likewise.
19883         (cos_tonearest_test_data): Likewise.
19884         (cos_towardzero_test_data): Likewise.
19885         (cos_downward_test_data): Likewise.
19886         (cos_upward_test_data): Likewise.
19887         (cosh_test_data): Likewise.
19888         (cosh_tonearest_test_data): Likewise.
19889         (cosh_towardzero_test_data): Likewise.
19890         (cosh_downward_test_data): Likewise.
19891         (cosh_upward_test_data): Likewise.
19892         (cpow_test_data): Likewise.
19893         (cproj_test_data): Likewise.
19894         (creal_test_data): Likewise.
19895         (csin_test_data): Likewise.
19896         (csinh_test_data): Likewise.
19897         (csqrt_test_data): Likewise.
19898         (ctan_test_data): Likewise.
19899         (ctan_tonearest_test_data): Likewise.
19900         (ctan_towardzero_test_data): Likewise.
19901         (ctan_downward_test_data): Likewise.
19902         (ctan_upward_test_data): Likewise.
19903         (ctanh_test_data): Likewise.
19904         (ctanh_tonearest_test_data): Likewise.
19905         (ctanh_towardzero_test_data): Likewise.
19906         (ctanh_downward_test_data): Likewise.
19907         (ctanh_upward_test_data): Likewise.
19908         (erf_test_data): Likewise.
19909         (erfc_test_data): Likewise.
19910         (exp_test_data): Likewise.
19911         (exp_tonearest_test_data): Likewise.
19912         (exp_towardzero_test_data): Likewise.
19913         (exp_downward_test_data): Likewise.
19914         (exp_upward_test_data): Likewise.
19915         (exp10_test_data): Likewise.
19916         (exp2_test_data): Likewise.
19917         (expm1_test_data): Likewise.
19918         (fabs_test_data): Likewise.
19919         (fdim_test_data): Likewise.
19920         (finite_test_data): Likewise.
19921         (floor_test_data): Likewise.
19922         (fma_test_data): Likewise.
19923         (fma_towardzero_test_data): Likewise.
19924         (fma_downward_test_data): Likewise.
19925         (fma_upward_test_data): Likewise.
19926         (fmax_test_data): Likewise.
19927         (fmin_test_data): Likewise.
19928         (fmod_test_data): Likewise.
19929         (fpclassify_test_data): Likewise.
19930         (frexp_test_data): Likewise.
19931         (gamma_test_data): Likewise.
19932         (hypot_test_data): Likewise.
19933         (ilogb_test_data): Likewise.
19934         (isfinite_test_data): Likewise.
19935         (isgreater_test_data): Likewise.
19936         (isgreaterequal_test_data): Likewise.
19937         (isinf_test_data): Likewise.
19938         (isless_test_data): Likewise.
19939         (islessequal_test_data): Likewise.
19940         (islessgreater_test_data): Likewise.
19941         (isnan_test_data): Likewise.
19942         (isnormal_test_data): Likewise.
19943         (issignaling_test_data): Likewise.
19944         (isunordered_test_data): Likewise.
19945         (j0_test_data): Likewise.
19946         (j1_test_data): Likewise.
19947         (jn_test_data): Likewise.
19948         (ldexp_test_data): Likewise.
19949         (lgamma_test_data): Likewise.
19950         (lrint_test_data): Likewise.
19951         (lrint_tonearest_test_data): Likewise.
19952         (lrint_towardzero_test_data): Likewise.
19953         (lrint_downward_test_data): Likewise.
19954         (lrint_upward_test_data): Likewise.
19955         (llrint_test_data): Likewise.
19956         (llrint_tonearest_test_data): Likewise.
19957         (llrint_towardzero_test_data): Likewise.
19958         (llrint_downward_test_data): Likewise.
19959         (llrint_upward_test_data): Likewise.
19960         (log_test_data): Likewise.
19961         (log10_test_data): Likewise.
19962         (log1p_test_data): Likewise.
19963         (log2_test_data): Likewise.
19964         (logb_test_data): Likewise.
19965         (logb_downward_test_data): Likewise.
19966         (lround_test_data): Likewise.
19967         (llround_test_data): Likewise.
19968         (modf_test_data): Likewise.
19969         (nearbyint_test_data): Likewise.
19970         (nextafter_test_data): Likewise.
19971         (nexttoward_test_data): Likewise.
19972         (pow_test_data): Likewise.
19973         (pow_tonearest_test_data): Likewise.
19974         (pow_towardzero_test_data): Likewise.
19975         (pow_downward_test_data): Likewise.
19976         (pow_upward_test_data): Likewise.
19977         (remainder_test_data): Likewise.
19978         (remainder_tonearest_test_data): Likewise.
19979         (remainder_towardzero_test_data): Likewise.
19980         (remainder_downward_test_data): Likewise.
19981         (remainder_upward_test_data): Likewise.
19982         (remquo_test_data): Likewise.
19983         (rint_test_data): Likewise.
19984         (rint_tonearest_test_data): Likewise.
19985         (rint_towardzero_test_data): Likewise.
19986         (rint_downward_test_data): Likewise.
19987         (rint_upward_test_data): Likewise.
19988         (round_test_data): Likewise.
19989         (scalb_test_data): Likewise.
19990         (scalbn_test_data): Likewise.
19991         (scalbln_test_data): Likewise.
19992         (signbit_test_data): Likewise.
19993         (sin_test_data): Likewise.
19994         (sin_tonearest_test_data): Likewise.
19995         (sin_towardzero_test_data): Likewise.
19996         (sin_downward_test_data): Likewise.
19997         (sin_upward_test_data): Likewise.
19998         (sincos_test_data): Likewise.
19999         (sinh_test_data): Likewise.
20000         (sinh_tonearest_test_data): Likewise.
20001         (sinh_towardzero_test_data): Likewise.
20002         (sinh_downward_test_data): Likewise.
20003         (sinh_upward_test_data): Likewise.
20004         (sqrt_test_data): Likewise.
20005         (tan_test_data): Likewise.
20006         (tan_tonearest_test_data): Likewise.
20007         (tan_towardzero_test_data): Likewise.
20008         (tan_downward_test_data): Likewise.
20009         (tan_upward_test_data): Likewise.
20010         (tanh_test_data): Likewise.
20011         (tgamma_test_data): Likewise.
20012         (trunc_test_data): Likewise.
20013         (y0_test_data): Likewise.
20014         (y1_test_data): Likewise.
20015         (yn_test_data): Likewise.
20016         (significand_test_data): Likewise.
20017
20018         * math/gen-libm-test.pl (@functions): Remove variable.
20019         (generate_testfile): Don't handle START and END lines.
20020         * math/libm-test.inc (START): New macro.
20021         (END): Likewise.
20022         (END_COMPLEX): Likewise.
20023         (acos_test): Use END macro without arguments.
20024         (acos_test_tonearest): Likewise.
20025         (acos_test_towardzero): Likewise.
20026         (acos_test_downward): Likewise.
20027         (acos_test_upward): Likewise.
20028         (acosh_test): Likewise.
20029         (asin_test): Likewise.
20030         (asin_test_tonearest): Likewise.
20031         (asin_test_towardzero): Likewise.
20032         (asin_test_downward): Likewise.
20033         (asin_test_upward): Likewise.
20034         (asinh_test): Likewise.
20035         (atan_test): Likewise.
20036         (atanh_test): Likewise.
20037         (atan2_test): Likewise.
20038         (cabs_test): Likewise.
20039         (cacos_test): Use END_COMPLEX macro without arguments.
20040         (cacosh_test): Likewise.
20041         (carg_test): Use END macro without arguments.
20042         (casin_test): Use END_COMPLEX macro without arguments.
20043         (casinh_test): Likewise.
20044         (catan_test): Likewise.
20045         (catanh_test): Likewise.
20046         (cbrt_test): Use END macro without arguments.
20047         (ccos_test): Use END_COMPLEX macro without arguments.
20048         (ccosh_test): Likewise.
20049         (ceil_test): Use END macro without arguments.
20050         (cexp_test): Use END_COMPLEX macro without arguments.
20051         (cimag_test): Use END macro without arguments.
20052         (clog_test): Use END_COMPLEX macro without arguments.
20053         (clog10_test): Likewise.
20054         (conj_test): Likewise.
20055         (copysign_test): Use END macro without arguments.
20056         (cos_test): Likewise.
20057         (cos_test_tonearest): Likewise.
20058         (cos_test_towardzero): Likewise.
20059         (cos_test_downward): Likewise.
20060         (cos_test_upward): Likewise.
20061         (cosh_test): Likewise.
20062         (cosh_test_tonearest): Likewise.
20063         (cosh_test_towardzero): Likewise.
20064         (cosh_test_downward): Likewise.
20065         (cosh_test_upward): Likewise.
20066         (cpow_test): Use END_COMPLEX macro without arguments.
20067         (cproj_test): Likewise.
20068         (creal_test): Use END macro without arguments.
20069         (csin_test): Use END_COMPLEX macro without arguments.
20070         (csinh_test): Likewise.
20071         (csqrt_test): Likewise.
20072         (ctan_test): Likewise.
20073         (ctan_test_tonearest): Likewise.
20074         (ctan_test_towardzero): Likewise.
20075         (ctan_test_downward): Likewise.
20076         (ctan_test_upward): Likewise.
20077         (ctanh_test): Likewise.
20078         (ctanh_test_tonearest): Likewise.
20079         (ctanh_test_towardzero): Likewise.
20080         (ctanh_test_downward): Likewise.
20081         (ctanh_test_upward): Likewise.
20082         (erf_test): Use END macro without arguments.
20083         (erfc_test): Likewise.
20084         (exp_test): Likewise.
20085         (exp_test_tonearest): Likewise.
20086         (exp_test_towardzero): Likewise.
20087         (exp_test_downward): Likewise.
20088         (exp_test_upward): Likewise.
20089         (exp10_test): Likewise.
20090         (exp2_test): Likewise.
20091         (expm1_test): Likewise.
20092         (fabs_test): Likewise.
20093         (fdim_test): Likewise.
20094         (finite_test): Likewise.
20095         (floor_test): Likewise.
20096         (fma_test): Likewise.
20097         (fma_test_towardzero): Likewise.
20098         (fma_test_downward): Likewise.
20099         (fma_test_upward): Likewise.
20100         (fmax_test): Likewise.
20101         (fmin_test): Likewise.
20102         (fmod_test): Likewise.
20103         (fpclassify_test): Likewise.
20104         (frexp_test): Likewise.
20105         (gamma_test): Likewise.
20106         (hypot_test): Likewise.
20107         (ilogb_test): Likewise.
20108         (isfinite_test): Likewise.
20109         (isgreater_test): Likewise.
20110         (isgreaterequal_test): Likewise.
20111         (isinf_test): Likewise.
20112         (isless_test): Likewise.
20113         (islessequal_test): Likewise.
20114         (islessgreater_test): Likewise.
20115         (isnan_test): Likewise.
20116         (isnormal_test): Likewise.
20117         (issignaling_test): Likewise.
20118         (isunordered_test): Likewise.
20119         (j0_test): Likewise.
20120         (j1_test): Likewise.
20121         (jn_test): Likewise.
20122         (ldexp_test): Likewise.
20123         (lgamma_test): Likewise.
20124         (lrint_test): Likewise.
20125         (lrint_test_tonearest): Likewise.
20126         (lrint_test_towardzero): Likewise.
20127         (lrint_test_downward): Likewise.
20128         (lrint_test_upward): Likewise.
20129         (llrint_test): Likewise.
20130         (llrint_test_tonearest): Likewise.
20131         (llrint_test_towardzero): Likewise.
20132         (llrint_test_downward): Likewise.
20133         (llrint_test_upward): Likewise.
20134         (log_test): Likewise.
20135         (log10_test): Likewise.
20136         (log1p_test): Likewise.
20137         (log2_test): Likewise.
20138         (logb_test): Likewise.
20139         (logb_test_downward): Likewise.
20140         (lround_test): Likewise.
20141         (llround_test): Likewise.
20142         (modf_test): Likewise.
20143         (nearbyint_test): Likewise.
20144         (nextafter_test): Likewise.
20145         (nexttoward_test): Likewise.
20146         (pow_test): Likewise.
20147         (pow_test_tonearest): Likewise.
20148         (pow_test_towardzero): Likewise.
20149         (pow_test_downward): Likewise.
20150         (pow_test_upward): Likewise.
20151         (remainder_test): Likewise.
20152         (remainder_test_tonearest): Likewise.
20153         (remainder_test_towardzero): Likewise.
20154         (remainder_test_downward): Likewise.
20155         (remainder_test_upward): Likewise.
20156         (remquo_test): Likewise.
20157         (rint_test): Likewise.
20158         (rint_test_tonearest): Likewise.
20159         (rint_test_towardzero): Likewise.
20160         (rint_test_downward): Likewise.
20161         (rint_test_upward): Likewise.
20162         (round_test): Likewise.
20163         (scalb_test): Likewise.
20164         (scalbn_test): Likewise.
20165         (scalbln_test): Likewise.
20166         (signbit_test): Likewise.
20167         (sin_test): Likewise.
20168         (sin_test_tonearest): Likewise.
20169         (sin_test_towardzero): Likewise.
20170         (sin_test_downward): Likewise.
20171         (sin_test_upward): Likewise.
20172         (sincos_test): Likewise.
20173         (sinh_test): Likewise.
20174         (sinh_test_tonearest): Likewise.
20175         (sinh_test_towardzero): Likewise.
20176         (sinh_test_downward): Likewise.
20177         (sinh_test_upward): Likewise.
20178         (sqrt_test): Likewise.
20179         (tan_test): Likewise.
20180         (tan_test_tonearest): Likewise.
20181         (tan_test_towardzero): Likewise.
20182         (tan_test_downward): Likewise.
20183         (tan_test_upward): Likewise.
20184         (tanh_test): Likewise.
20185         (tgamma_test): Likewise.
20186         (trunc_test): Likewise.
20187         (y0_test): Likewise.
20188         (y1_test): Likewise.
20189         (yn_test): Likewise.
20190         (significand_test): Likewise.
20191
20192 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20193
20194         [BZ #15381]
20195         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20196
20197 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20198
20199         [BZ #14894]
20200         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20201         __ppc_mdoio and __ppc_mdoom.
20202         * manual/platform.texi: Document new functions __ppc_yield,
20203         __ppc_mdoio and __ppc_mdoom.
20204
20205 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20206
20207         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20208         (main): Mention "tls" pseudo-hwcap is legacy.
20209         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20210
20211 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20212
20213         * math/gen-libm-test.pl (parse_args): Output only string of
20214         arguments as text for test name, not full call or descriptions of
20215         tests for extra outputs.
20216         (generate_testfile): Do not pass function name to parse_args.
20217         Generate this_func variable from START.
20218         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20219         field to arg_str.
20220         (struct test_ff_f_data): Likewise.
20221         (test_ff_f_data_nexttoward): Likewise.
20222         (struct test_fi_f_data): Likewise.
20223         (struct test_fl_f_data): Likewise.
20224         (struct test_if_f_data): Likewise.
20225         (struct test_fff_f_data): Likewise.
20226         (struct test_c_f_data): Likewise.
20227         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20228         (struct test_fF_f1_data): Likewise.
20229         (struct test_ffI_f1_data): Likewise.
20230         (struct test_c_c_data): Rename test_name field to arg_str.
20231         (struct test_cc_c_data): Likewise.
20232         (struct test_f_i_data): Likewise.
20233         (struct test_ff_i_data): Likewise.
20234         (struct test_f_l_data): Likewise.
20235         (struct test_f_L_data): Likewise.
20236         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20237         and extra2_name.
20238         (COMMON_TEST_SETUP): New macro.
20239         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20240         (COMMON_TEST_CLEANUP): Likewise.
20241         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20242         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20243         macros.
20244         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20245         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20246         macros.
20247         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20248         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20249         cleanup macros.
20250         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20251         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20252         macros.
20253         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20254         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20255         macros.
20256         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20257         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20258         cleanup macros.
20259         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20260         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20261         cleanup macros.
20262         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20263         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20264         cleanup macros.
20265         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20266         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20267         macros.
20268         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20269         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20270         macros.
20271         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20272         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20273         macros.
20274         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20275         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20276         cleanup macros.
20277         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20278         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20279         cleanup macros.
20280         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20281         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20282         macros.
20283         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20284         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20285         cleanup macros.
20286         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20287         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20288         macros.
20289         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20290         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20291         macros.
20292         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20293         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20294         cleanup macros.
20295         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20296
20297 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20298
20299         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20300         to _sifields.sigfault.
20301         (si_addr_lsb): Define new macro.
20302         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20303         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20304         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20305
20306 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20307
20308         [BZ #15441]
20309         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20310         returns -1.
20311         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20312         null return -1.
20313         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20314         loading the domain.
20315
20316 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20317
20318         * math/gen-libm-test.pl (parse_args): Do not include expected
20319         result in test name.
20320         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20321         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20322         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20323         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20324         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20326
20327 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20328
20329         * benchtests/Makefile: Sort function entries.
20330
20331         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20332         tanh, asinh, acosh, atanh.
20333         * benchtests/acos-inputs: New file.
20334         * benchtests/acosh-inputs: New file.
20335         * benchtests/asin-inputs: New file.
20336         * benchtests/asinh-inputs: New file.
20337         * benchtests/atanh-inputs: New file.
20338         * benchtests/cosh-inputs: New file.
20339         * benchtests/log-inputs: New file.
20340         * benchtests/sinh-inputs: New file.
20341         * benchtests/tanh-inputs: New file.
20342
20343 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20344
20345         [BZ #15339]
20346         * posix/tst-getaddrinfo4.c: New test.
20347         * posix/Makefile (tests): Add it.
20348
20349 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350
20351         [BZ #15339]
20352         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20353         when no services were used.
20354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20355         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20356
20357 2013-05-21  Andreas Schwab  <schwab@suse.de>
20358
20359         [BZ #15014]
20360         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20361         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20362         successful.
20363         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20364         redundant variable declarations and reallocation of buffer when
20365         parsing as IPv6 address.  Always set NSS status when called from
20366         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20367         buffer too small.  Correct computation of needed size.
20368         * nss/Makefile (tests): Add test-digits-dots.
20369         * nss/test-digits-dots.c: New test.
20370
20371 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20372
20373         * benchtests/Makefile: Remove instructions for adding
20374         benchmark tests.
20375         * benchtests/README: New file to explain how to execute and
20376         enhance the benchmark tests.
20377
20378 2013-05-21  Andreas Schwab  <schwab@suse.de>
20379
20380         [BZ #15493]
20381         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20382         * setjmp/tst-sigsetjmp.c: New test.
20383
20384 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20385
20386         * sysdeps/x86_64/memset.S (memset): New implementation.
20387         (__bzero): Likewise.
20388         (__memset_tail): New function.
20389
20390 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20391
20392         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20393         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20394         __memcpy_sse2_unaligned ifunc selection.
20395         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20396         Add memcpy-sse2-unaligned.S.
20397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20398         Add: __memcpy_sse2_unaligned.
20399
20400 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20401
20402         [BZ #15490]
20403         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20404         math_force_eval before restoring floating-point envrionment.
20405         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20406         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20407         Likewise.
20408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20409         <math_private.h>.
20410         (__nearbyintl): Use math_force_eval before restoring
20411         floating-point environment.
20412         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20413
20414         * math/gen-libm-test.pl (special_functions): Remove.
20415         (parse_args): Don't handle TEST_extra.  Handle functions with no
20416         return value.
20417         * math/libm-test.inc (struct test_sincos_data): Replace with
20418         struct test_fFF_11_data.
20419         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20420         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20421         (sincos_test_data): Change element type to struct
20422         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20423         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20424         RUN_TEST_LOOP_sincos.
20425         * math/README.libm-test: Don't mention special handling of
20426         individual functions.
20427         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20430         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20431         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20433
20434         * math/gen-libm-test.pl (get_variable): Remove function.
20435         (parse_args): Don't show pointer parameters to call in test
20436         names.  Use "extra output N" in test names for extra outputs
20437         rather than naming variables.
20438
20439 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20440
20441         [BZ #15488]
20442         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20443         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20444         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20445         double tests.
20446         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20447         disable.
20448         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20449         check_long_double.
20450
20451         * math/gen-libm-test.pl (@tests): Remove variable.
20452         ($count): Likewise.
20453         (new_test): Remove function.
20454         (show_exceptions): New function.
20455         (special_functions): Use show_exceptions instead of new_test.
20456         (parse_args): Likewise.
20457         (generate_testfile): Pass only function name in generated call to
20458         print_max_error or print_complex_max_error.
20459         (get_ulps): Do not handle complex tests specially.
20460         (output_test): Rename to ...
20461         (get_all_ulps_for_test): ... this.  Return a string rather than
20462         printing to a file.  Require ulps to be present.
20463         (output_ulps): Generate arrays rather than #defines.
20464         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20465         (struct ulp_data): New type.
20466         (BUILD_COMPLEX_ULP): Remove macro.
20467         (compare_ulp_data): New function.
20468         (find_ulps): Likewise.
20469         (find_test_ulps): Likewise.
20470         (find_function_ulps): Likewise.
20471         (find_complex_function_ulps): Likewise.
20472         (print_max_error): Determine allowed ulps using
20473         find_function_ulps.
20474         (print_complex_max_error): Determine allowed ulps using
20475         find_complex_function_ulps.
20476         (check_float_internal): Determine max ulps using find_test_ulps.
20477         (check_float): Do not take max_ulp parameter.  Update call to
20478         check_float_internal.
20479         (check_complex): Likewise.
20480         (check_int): Do not take max_ulp parameter.
20481         (check_long): Likewise.
20482         (check_bool): Likewise.
20483         (check_longlong): Likewise.
20484         (struct test_f_f_data): Remove max_ulp field.
20485         (struct test_ff_f_data): Likewise.
20486         (struct test_ff_f_data_nexttoward): Likewise.
20487         (struct test_fi_f_data): Likewise.
20488         (struct test_fl_f_data): Likewise.
20489         (struct test_if_f_data): Likewise.
20490         (struct test_fff_f_data): Likewise.
20491         (struct test_c_f_data): Likewise.
20492         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20493         (struct test_fF_f1_data): Likewise.
20494         (struct test_ffI_f1_data): Likewise.
20495         (struct test_c_c_data): Remove max_ulp field.
20496         (struct test_cc_c_data): Likewise.
20497         (struct test_f_i_data): Likewise.
20498         (struct test_ff_i_data): Likewise.
20499         (struct test_f_l_data): Likewise.
20500         (struct test_f_L_data): Likewise.
20501         (struct test_sincos_data): Likewise.
20502         (RUN_TEST_f_f): Do not handle ulps.
20503         (RUN_TEST_LOOP_f_f): Likewise.
20504         (RUN_TEST_2_f): Likewise.
20505         (RUN_TEST_LOOP_2_f): Likewise.
20506         (RUN_TEST_fff_f): Likewise.
20507         (RUN_TEST_LOOP_fff_f): Likewise.
20508         (RUN_TEST_c_f): Likewise.
20509         (RUN_TEST_LOOP_c_f): Likewise.
20510         (RUN_TEST_f_f1): Likewise.
20511         (RUN_TEST_LOOP_f_f1): Likewise.
20512         (RUN_TEST_fF_f1): Likewise.
20513         (RUN_TEST_LOOP_fF_f1): Likewise.
20514         (RUN_TEST_fI_f1): Likewise.
20515         (RUN_TEST_LOOP_fI_f1): Likewise.
20516         (RUN_TEST_ffI_f1): Likewise.
20517         (RUN_TEST_LOOP_ffI_f1): Likewise.
20518         (RUN_TEST_c_c): Likewise.
20519         (RUN_TEST_LOOP_c_c): Likewise.
20520         (RUN_TEST_cc_c): Likewise.
20521         (RUN_TEST_LOOP_cc_c): Likewise.
20522         (RUN_TEST_f_i): Likewise.
20523         (RUN_TEST_LOOP_f_i): Likewise.
20524         (RUN_TEST_f_i_tg): Likewise.
20525         (RUN_TEST_LOOP_f_i_tg): Likewise.
20526         (RUN_TEST_ff_i_tg): Likewise.
20527         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20528         (RUN_TEST_f_b): Likewise.
20529         (RUN_TEST_LOOP_f_b): Likewise.
20530         (RUN_TEST_f_b_tg): Likewise.
20531         (RUN_TEST_LOOP_f_b_tg): Likewise.
20532         (RUN_TEST_f_l): Likewise.
20533         (RUN_TEST_LOOP_f_l): Likewise.
20534         (RUN_TEST_f_L): Likewise.
20535         (RUN_TEST_LOOP_f_L): Likewise.
20536         (RUN_TEST_sincos): Likewise.
20537         (RUN_TEST_LOOP_sincos): Likewise.
20538
20539 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20540
20541         [BZ #15480]
20542         [BZ #15485]
20543         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20544         main case of finite arguments, set rounding mode to FE_TONEAREST
20545         and discard exceptions.
20546         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20547         exceptions.
20548         (remainder_tonearest_test_data): New variable.
20549         (remainder_test_tonearest): New function.
20550         (remainder_towardzero_test_data): New variable.
20551         (remainder_test_towardzero): New function.
20552         (remainder_downward_test_data): New variable.
20553         (remainder_test_downward): New function.
20554         (remainder_upward_test_data): New variable.
20555         (remainder_test_upward): New function.
20556         (main): Call the new test functions.
20557
20558         * math/libm-test.inc (struct test_f_f1_data): Remove field
20559         extra_init.
20560         (struct test_fF_f1_data): Likewise.
20561         (struct test_ffI_f1_data): Likewise.
20562         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20563         based on value of EXTRA_EXPECTED.
20564         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20565         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20566         EXTRA_VAR based on value of EXTRA_EXPECTED.
20567         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20568         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20569         EXTRA_VAR based on value of EXTRA_EXPECTED.
20570         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20571         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20572         EXTRA_VAR based on value of EXTRA_EXPECTED.
20573         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20574         * math/gen-libm-test.pl (parse_args): Don't output initializers
20575         for extra output values.
20576
20577         * math/libm-test.inc (check_int): Expect result to be exactly
20578         equal to expected value and do not handle ulps.
20579         (check_long): Likewise.
20580         (check_longlong): Likewise.
20581
20582         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20583         exceptions.
20584         (cimag_test_data): Likewise.
20585         (conj_test_data): Likewise.
20586         (copysign_test_data): Likewise.
20587         (cproj_test_data): Likewise.
20588         (creal_test_data): Likewise.
20589         (fabs_test_data): Likewise.
20590         (fdim_test_data): Likewise.
20591         (finite_test_data): Likewise.
20592         (floor_test_data): Likewise.
20593         (fmax_test_data): Likewise.
20594         (fmin_test_data): Likewise.
20595         (fmod_test_data): Likewise.
20596         (fpclassify_test_data): Likewise.
20597         (frexp_test_data): Likewise.
20598         (ilogb_test_data): Likewise.
20599         (isfinite_test_data): Likewise.
20600         (isgreater_test_data): Likewise.
20601         (isgreaterequal_test_data): Likewise.
20602         (isinf_test_data): Likewise.
20603         (isless_test_data): Likewise.
20604         (islessequal_test_data): Likewise.
20605         (islessgreater_test_data): Likewise.
20606         (isnan_test_data): Likewise.
20607         (isnormal_test_data): Likewise.
20608         (issignaling_test_data): Likewise.
20609         (isunordered_test_data): Likewise.
20610         (ldexp_test_data): Likewise.
20611         (lrint_test_data): Likewise.
20612         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20613         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20614         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20615         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20616         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20617         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20618         test input.
20619         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20620         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20621         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20622         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20623         that test input.
20624         (lrint_downward_test_data): Test for "inexact" exceptions.
20625         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20626         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20627         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20628         test input.
20629         (lrint_upward_test_data): Test for "inexact" exceptions.
20630         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20631         test input.
20632         (llrint_test_data): Test for "inexact" exceptions.
20633         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20634         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20635         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20636         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20637         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20638         (llrint_downward_test_data): Test for "inexact" exceptions.
20639         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20640         (llrint_upward_test_data): Test for "inexact" exceptions.
20641         (logb_test_data): Likewise.
20642         (logb_downward_test_data): Likewise.
20643         (nextafter_test_data): Likewise.
20644         (nexttoward_test_data): Likewise.
20645         (remainder_test_data): Likewise.
20646         (remquo_test_data): Likewise.
20647         (scalbn_test_data): Likewise.
20648         (scalbln_test_data): Likewise.
20649         (signbit_test_data): Likewise.
20650         (sqrt_test_data): Likewise.
20651         (significand_test_data): Likewise.
20652
20653 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20654
20655         [BZ #15424]
20656         * benchtests/bench-modf.c (struct args): Mark arg0 as
20657         volatile.
20658         * scripts/bench.pl: Mark members of struct args as volatile.
20659
20660 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20661
20662         [BZ # 15497]
20663         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20664         negative infinity on POWER6 or lower.
20665         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20666
20667 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20668
20669         [BZ #15442]
20670         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20671         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20672         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20673         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20674         (_FP_SETQNAN): New macro.
20675         (_FP_SETQNAN_SEMIRAW): Likewise.
20676         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20677         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20678         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20679         (FP_EXTEND): Use _FP_FRAC_SNANP.
20680         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20681         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20682         into account.
20683         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20684         New macro.
20685         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20686         Likewise.
20687
20688 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20689
20690         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20691         with DIVIDE_BY_ZERO_EXCEPTION.
20692         (gamma_test_data): Likewise.
20693         (lgamma_test_data): Likewise.
20694         (log_test_data): Likewise.
20695         (log10_test_data): Likewise.
20696         (log2_test_data): Likewise.
20697         (tgamma_test_data): Likewise.
20698
20699         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20700         (acos_test_tonearest): Likewise.
20701         (acos_test_towardzero): Likewise.
20702         (acos_test_downward): Likewise.
20703         (acos_test_upward): Likewise.
20704         (acosh_test): Likewise.
20705         (asin_test): Likewise.
20706         (asin_test_tonearest): Likewise.
20707         (asin_test_towardzero): Likewise.
20708         (asin_test_downward): Likewise.
20709         (asin_test_upward): Likewise.
20710         (asinh_test): Likewise.
20711         (atan_test): Likewise.
20712         (atanh_test): Likewise.
20713         (atan2_test): Likewise.
20714         (cabs_test): Likewise.
20715         (cacos_test): Likewise.
20716         (cacosh_test): Likewise.
20717         (casin_test): Likewise.
20718         (casinh_test): Likewise.
20719         (catan_test): Likewise.
20720         (catanh_test): Likewise.
20721         (cbrt_test): Likewise.
20722         (ccos_test): Likewise.
20723         (ccosh_test): Likewise.
20724         (cexp_test): Likewise.
20725         (clog_test): Likewise.
20726         (clog10_test): Likewise.
20727         (cos_test): Likewise.
20728         (cos_test_tonearest): Likewise.
20729         (cos_test_towardzero): Likewise.
20730         (cos_test_downward): Likewise.
20731         (cos_test_upward): Likewise.
20732         (cosh_test): Likewise.
20733         (cosh_test_tonearest): Likewise.
20734         (cosh_test_towardzero): Likewise.
20735         (cosh_test_downward): Likewise.
20736         (cosh_test_upward): Likewise.
20737         (cpow_test): Likewise.
20738         (csin_test): Likewise.
20739         (csinh_test): Likewise.
20740         (csqrt_test): Likewise.
20741         (ctan_test): Likewise.
20742         (ctan_test_tonearest): Likewise.
20743         (ctan_test_towardzero): Likewise.
20744         (ctan_test_downward): Likewise.
20745         (ctan_test_upward): Likewise.
20746         (ctanh_test): Likewise.
20747         (ctanh_test_tonearest): Likewise.
20748         (ctanh_test_towardzero): Likewise.
20749         (ctanh_test_downward): Likewise.
20750         (ctanh_test_upward): Likewise.
20751         (erf_test): Likewise.
20752         (erfc_test): Likewise.
20753         (exp_test): Likewise.
20754         (exp_test_tonearest): Likewise.
20755         (exp_test_towardzero): Likewise.
20756         (exp_test_downward): Likewise.
20757         (exp_test_upward): Likewise.
20758         (exp10_test): Likewise.
20759         (exp2_test): Likewise.
20760         (expm1_test): Likewise.
20761         (fmod_test): Likewise.
20762         (gamma_test): Likewise.
20763         (hypot_test): Likewise.
20764         (j0_test): Likewise.
20765         (j1_test): Likewise.
20766         (jn_test): Likewise.
20767         (lgamma_test): Likewise.
20768         (log_test): Likewise.
20769         (log10_test): Likewise.
20770         (log1p_test): Likewise.
20771         (log2_test): Likewise.
20772         (logb_test_downward): Likewise.
20773         (pow_test): Likewise.
20774         (pow_test_tonearest): Likewise.
20775         (pow_test_towardzero): Likewise.
20776         (pow_test_downward): Likewise.
20777         (pow_test_upward): Likewise.
20778         (remainder_test): Likewise.
20779         (remquo_test): Likewise.
20780         (sin_test): Likewise.
20781         (sin_test_tonearest): Likewise.
20782         (sin_test_towardzero): Likewise.
20783         (sin_test_downward): Likewise.
20784         (sin_test_upward): Likewise.
20785         (sincos_test): Likewise.
20786         (sinh_test): Likewise.
20787         (sinh_test_tonearest): Likewise.
20788         (sinh_test_towardzero): Likewise.
20789         (sinh_test_downward): Likewise.
20790         (sinh_test_upward): Likewise.
20791         (sqrt_test): Likewise.
20792         (tan_test): Likewise.
20793         (tan_test_tonearest): Likewise.
20794         (tan_test_towardzero): Likewise.
20795         (tan_test_downward): Likewise.
20796         (tan_test_upward): Likewise.
20797         (tanh_test): Likewise.
20798         (tgamma_test): Likewise.
20799         (y0_test): Likewise.
20800         (y1_test): Likewise.
20801         (yn_test): Likewise.
20802
20803         * math/gen-libm-test.pl (adjust_arg): Remove function.
20804         (special_function): Remove argument $in_func.  Only handle
20805         generating output for tables of tests, not inside functions.
20806         (parse_args): Likewise.
20807         (generate_testfile): Remove variable $in_func.  Update call to
20808         parse_args.
20809         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20810         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20811         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20812         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20813         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20814         (MAX_VALUE_INIT): Rename macro to max_value.
20815         (MIN_VALUE_INIT): Rename macro to min_value.
20816         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20817         (plus_zero): Remove variable.
20818         (minus_zero): Likewise.
20819         (plus_infty): Likewise.
20820         (minus_infty): Likewise.
20821         (qnan_value): Likewise.
20822         (max_value): Likewise.
20823         (min_value): Likewise.
20824         (min_subnorm_value): Likewise.
20825
20826 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20827
20828         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20829         uint64_t or uint32_t usage.
20830         * crypt/sha256-block.c: Likewise.
20831         * crypt/sha256-crypt.c: Likewise.
20832         * crypt/sha256.c: Likewise.
20833         * crypt/sha512-block.c: Likewise.
20834         * crypt/sha512-crypt.c: Likewise.
20835         * crypt/sha512.c: Likewise.
20836         * debug/backtrace-tst.c: Likewise.
20837         * debug/pcprofiledump.c: Likewise.
20838         * elf/cache.c: Likewise.
20839         * elf/dl-cache.c: Likewise.
20840         * elf/dl-misc.c: Likewise.
20841         * elf/dl-profile.c: Likewise.
20842         * elf/dl-support.c: Likewise.
20843         * elf/ldconfig.c: Likewise.
20844         * elf/sprof.c: Likewise.
20845         * iconv/dummy-repertoire.c: Likewise.
20846         * iconv/iconv_charmap.c: Likewise.
20847         * iconv/skeleton.c: Likewise.
20848         * iconvdata/8bit-generic.c: Likewise.
20849         * iconvdata/cp737.h: Likewise.
20850         * iconvdata/cp775.h: Likewise.
20851         * iconvdata/ibm1008.h: Likewise.
20852         * iconvdata/ibm1025.h: Likewise.
20853         * iconvdata/ibm1046.h: Likewise.
20854         * iconvdata/ibm1097.h: Likewise.
20855         * iconvdata/ibm1112.h: Likewise.
20856         * iconvdata/ibm1122.h: Likewise.
20857         * iconvdata/ibm1123.h: Likewise.
20858         * iconvdata/ibm1124.h: Likewise.
20859         * iconvdata/ibm1129.h: Likewise.
20860         * iconvdata/ibm1130.h: Likewise.
20861         * iconvdata/ibm1132.h: Likewise.
20862         * iconvdata/ibm1133.h: Likewise.
20863         * iconvdata/ibm1137.h: Likewise.
20864         * iconvdata/ibm1140.h: Likewise.
20865         * iconvdata/ibm1141.h: Likewise.
20866         * iconvdata/ibm1142.h: Likewise.
20867         * iconvdata/ibm1143.h: Likewise.
20868         * iconvdata/ibm1144.h: Likewise.
20869         * iconvdata/ibm1145.h: Likewise.
20870         * iconvdata/ibm1146.h: Likewise.
20871         * iconvdata/ibm1147.h: Likewise.
20872         * iconvdata/ibm1148.h: Likewise.
20873         * iconvdata/ibm1149.h: Likewise.
20874         * iconvdata/ibm1153.h: Likewise.
20875         * iconvdata/ibm1154.h: Likewise.
20876         * iconvdata/ibm1155.h: Likewise.
20877         * iconvdata/ibm1156.h: Likewise.
20878         * iconvdata/ibm1157.h: Likewise.
20879         * iconvdata/ibm1158.h: Likewise.
20880         * iconvdata/ibm1160.h: Likewise.
20881         * iconvdata/ibm1161.h: Likewise.
20882         * iconvdata/ibm1162.h: Likewise.
20883         * iconvdata/ibm1163.h: Likewise.
20884         * iconvdata/ibm1164.h: Likewise.
20885         * iconvdata/ibm1166.h: Likewise.
20886         * iconvdata/ibm1167.h: Likewise.
20887         * iconvdata/ibm12712.h: Likewise.
20888         * iconvdata/ibm1390.h: Likewise.
20889         * iconvdata/ibm1399.h: Likewise.
20890         * iconvdata/ibm16804.h: Likewise.
20891         * iconvdata/ibm4517.h: Likewise.
20892         * iconvdata/ibm4899.h: Likewise.
20893         * iconvdata/ibm4909.h: Likewise.
20894         * iconvdata/ibm4971.h: Likewise.
20895         * iconvdata/ibm5347.h: Likewise.
20896         * iconvdata/ibm803.h: Likewise.
20897         * iconvdata/ibm856.h: Likewise.
20898         * iconvdata/ibm901.h: Likewise.
20899         * iconvdata/ibm902.h: Likewise.
20900         * iconvdata/ibm9030.h: Likewise.
20901         * iconvdata/ibm9066.h: Likewise.
20902         * iconvdata/ibm921.h: Likewise.
20903         * iconvdata/ibm922.h: Likewise.
20904         * iconvdata/ibm9448.h: Likewise.
20905         * iconvdata/isiri-3342.h: Likewise.
20906         * iconvdata/jis0201.h: Likewise.
20907         * include/link.h: Likewise.
20908         * include/netdb.h: Likewise.
20909         * inet/check_native.c: Likewise.
20910         * inet/check_pf.c: Likewise.
20911         * inet/getipv4sourcefilter.c: Likewise.
20912         * inet/getnameinfo.c: Likewise.
20913         * inet/getsourcefilter.c: Likewise.
20914         * inet/htonl.c: Likewise.
20915         * inet/setipv4sourcefilter.c: Likewise.
20916         * inet/setsourcefilter.c: Likewise.
20917         * inet/test-inet6_opt.c: Likewise.
20918         * inet/tst-network.c: Likewise.
20919         * locale/C-collate.c: Likewise.
20920         * locale/C-ctype.c: Likewise.
20921         * locale/C-time.c: Likewise.
20922         * locale/C-translit.h: Likewise.
20923         * locale/loadarchive.c: Likewise.
20924         * locale/programs/3level.h: Likewise.
20925         * locale/programs/charmap.c: Likewise.
20926         * locale/programs/charmap.h: Likewise.
20927         * locale/programs/ld-address.c: Likewise.
20928         * locale/programs/ld-collate.c: Likewise.
20929         * locale/programs/ld-ctype.c: Likewise.
20930         * locale/programs/ld-identification.c: Likewise.
20931         * locale/programs/ld-measurement.c: Likewise.
20932         * locale/programs/ld-messages.c: Likewise.
20933         * locale/programs/ld-monetary.c: Likewise.
20934         * locale/programs/ld-name.c: Likewise.
20935         * locale/programs/ld-numeric.c: Likewise.
20936         * locale/programs/ld-paper.c: Likewise.
20937         * locale/programs/ld-telephone.c: Likewise.
20938         * locale/programs/ld-time.c: Likewise.
20939         * locale/programs/linereader.c: Likewise.
20940         * locale/programs/locale.c: Likewise.
20941         * locale/programs/locarchive.c: Likewise.
20942         * locale/programs/locfile.h: Likewise.
20943         * locale/programs/repertoire.c: Likewise.
20944         * locale/programs/simple-hash.c: Likewise.
20945         * locale/programs/simple-hash.h: Likewise.
20946         * malloc/memusage.c: Likewise.
20947         * malloc/memusagestat.c: Likewise.
20948         * nis/nis_defaults.c: Likewise.
20949         * nis/nis_hash.c: Likewise.
20950         * nis/nis_print.c: Likewise.
20951         * nis/nis_xdr.c: Likewise.
20952         * nscd/connections.c: Likewise.
20953         * nscd/hstcache.c: Likewise.
20954         * nscd/nscd_gethst_r.c: Likewise.
20955         * nscd/nscd_getserv_r.c: Likewise.
20956         * nscd/nscd_helper.c: Likewise.
20957         * nscd/servicescache.c: Likewise.
20958         * nss/makedb.c: Likewise.
20959         * nss/nss_db/db-XXX.c: Likewise.
20960         * nss/nss_db/db-initgroups.c: Likewise.
20961         * nss/nss_db/db-netgrp.c: Likewise.
20962         * nss/nss_files/files-network.c: Likewise.
20963         * nss/nss_files/files-parse.c: Likewise.
20964         * posix/bug-regex5.c: Likewise.
20965         * posix/fnmatch_loop.c: Likewise.
20966         * posix/regcomp.c: Likewise.
20967         * posix/regexec.c: Likewise.
20968         * posix/tst-rfc3484-2.c: Likewise.
20969         * posix/tst-rfc3484-3.c: Likewise.
20970         * posix/tst-rfc3484.c: Likewise.
20971         * resolv/nss_dns/dns-canon.c: Likewise.
20972         * resolv/nss_dns/dns-network.c: Likewise.
20973         * resolv/res_init.c: Likewise.
20974         * resolv/res_mkquery.c: Likewise.
20975         * resolv/tst-aton.c: Likewise.
20976         * stdlib/cxa_atexit.c: Likewise.
20977         * stdlib/cxa_finalize.c: Likewise.
20978         * stdlib/gen-fpioconst.c: Likewise.
20979         * stdlib/strtol_l.c: Likewise.
20980         * string/tst-endian.c: Likewise.
20981         * sunrpc/auth_des.c: Likewise.
20982         * sunrpc/clnt_udp.c: Likewise.
20983         * sunrpc/rtime.c: Likewise.
20984         * sunrpc/svcauth_des.c: Likewise.
20985         * sunrpc/xdr.c: Likewise.
20986         * sunrpc/xdr_intXX_t.c: Likewise.
20987         * sunrpc/xdr_rec.c: Likewise.
20988         * sysdeps/generic/ldconfig.h: Likewise.
20989         * sysdeps/generic/ldsodefs.h: Likewise.
20990         * sysdeps/generic/memusage.h: Likewise.
20991         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20992         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20993         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20994         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20995         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20996         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20997         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20998         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20999         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21001         * sysdeps/posix/getaddrinfo.c: Likewise.
21002         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21003         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21004         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21005         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21006         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21007         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21008         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21009         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21010         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21011         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21012         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21013         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21014         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21015         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21016         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21017         * sysdeps/x86_64/dl-tls.h: Likewise.
21018         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21019         * time/alt_digit.c: Likewise.
21020         * time/era.c: Likewise.
21021         * wcsmbs/tst-c16c32-1.c: Likewise.
21022
21023 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21024
21025         * math/libm-test.inc (struct test_sincos_data): New type.
21026         (RUN_TEST_LOOP_sincos): New macro.
21027         (sincos_test_data): New variable.
21028         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21029
21030 2013-05-16  Richard Henderson  <rth@redhat.com>
21031
21032         * math/atest-exp2.c (LIMB64): New macro.
21033         (CONSTSZ): New macro.
21034         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21035         (hexdig): Move ...
21036         (print_mpn_fp): ... to function scope.
21037         (read_mpn_hex): Remove.
21038         (get_log2): Remove.
21039         (exp2_mpn): Use mp_log2.
21040         (main): Use mp_exp1.
21041
21042 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21043
21044         * math/libm-test.inc: Remove comment about not testing "inexact"
21045         exceptions.
21046         (INEXACT_EXCEPTION): New macro.
21047         (NO_INEXACT_EXCEPTION): Likewise.
21048         (INVALID_EXCEPTION_OK): Update value.
21049         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21050         (OVERFLOW_EXCEPTION_OK): Likewise.
21051         (UNDERFLOW_EXCEPTION_OK): Likewise.
21052         (IGNORE_ZERO_INF_SIGN): Likewise.
21053         (ERRNO_UNCHANGED): Likewise.
21054         (ERRNO_EDOM): Likewise.
21055         (ERRNO_ERANGE): Likewise.
21056         (test_exceptions): Handle testing "inexact" exceptions.
21057         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21058         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21059         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21060         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21061         INEXACT_EXCEPTION.
21062         (rint_towardzero_test_data): Likewise.
21063         (rint_downward_test_data): Likewise.
21064         (rint_upward_test_data): Likewise.
21065
21066         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21067         with OVERFLOW_EXCEPTION.
21068         (exp10_test_data): Likewise.
21069         (exp2_test_data): Likewise.
21070         (expm1_test_data): Likewise.
21071         (lgamma_test_data): Likewise.
21072         (pow_test_data): Likewise.
21073         (tgamma_test_data): Likewise.
21074         (yn_test_data): Remove duplicate test of overflow.
21075
21076         * math/libm-test.inc (struct test_cc_c_data): New type.
21077         (RUN_TEST_LOOP_cc_c): New macro.
21078         (cpow_test_data): New variable.
21079         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21080
21081         * math/libm-test.inc (struct test_f_L_data): New type.
21082         (RUN_TEST_LOOP_f_L): New macro.
21083         (llrint_test_data): New variable.
21084         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21085         (llrint_tonearest_test_data): New variable.
21086         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21087         (llrint_towardzero_test_data): New variable.
21088         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21089         (llrint_downward_test_data): New variable.
21090         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21091         (llrint_upward_test_data): New variable.
21092         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21093         (llround_test_data): New variable.
21094         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21095
21096 2013-05-13  Peter Collingbourne  <pcc@google.com>
21097
21098         * math/atest-exp2.c (get_log2): Remove const attribute.
21099
21100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21101
21102         * math/libm-test.inc (struct test_f_l_data): New type.
21103         (RUN_TEST_LOOP_f_l): New macro.
21104         (lrint_test_data): New variable.
21105         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21106         (lrint_tonearest_test_data): New variable.
21107         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21108         (lrint_towardzero_test_data): New variable.
21109         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21110         (lrint_downward_test_data): New variable.
21111         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21112         (lrint_upward_test_data): New variable.
21113         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21114         (lround_test_data): New variable.
21115         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21116
21117 2013-05-15  Peter Collingbourne  <pcc@google.com>
21118
21119         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21120         (EXTRACT_WORDS64) Use where appropriate.
21121         (INSERT_WORDS64) Likewise.
21122
21123         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21124         constraints with x constraints.
21125         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21126
21127         * malloc/obstack.c (_obstack_compat): Add initializer.
21128
21129 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21130
21131         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21132         si_trapno and add si_addr_lsb to _sifields.sigfault.
21133         (si_trapno): Remove macro.
21134         (si_addr_lsb): Define new macro.
21135         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21136
21137 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21138
21139         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21140         instead of TEST_f_l.
21141         (llrint_test_tonearest): Likewise.
21142         (llrint_test_towardzero): Likewise.
21143         (llrint_test_downward): Likewise.
21144         (llrint_test_upward): Likewise.
21145         (llround_test): Likewise.
21146
21147         * math/libm-test.inc (struct test_f_i_data): Add comment.
21148         (RUN_TEST_LOOP_f_b): New macro.
21149         (RUN_TEST_LOOP_f_b_tg): Likewise.
21150         (finite_test_data): New variable.
21151         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21152         (isfinite_test_data): New variable.
21153         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21154         (isinf_test_data): New variable.
21155         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21156         (isnan_test_data): New variable.
21157         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21158         (isnormal_test_data): New variable.
21159         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21160         (issignaling_test_data): New variable.
21161         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21162         (signbit_test_data): New variable.
21163         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21164
21165         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21166         with INVALID_EXCEPTION.
21167         (acosh_test_data): Likewise.
21168         (asin_test_data): Likewise.
21169         (atanh_test_data): Likewise.
21170         (fmod_test_data): Likewise.
21171         (log_test_data): Likewise.
21172         (log10_test_data): Likewise.
21173         (log2_test_data): Likewise.
21174         (pow_test_data): Likewise.
21175         (sqrt_test_data): Likewise.
21176         (y0_test_data): Likewise.
21177         (y1_test_data): Likewise.
21178         (yn_test_data): Likewise.
21179
21180         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21181         function contents.
21182
21183         * math/libm-test.inc (struct test_ff_i_data): New type.
21184         (RUN_TEST_LOOP_ff_i_tg): New macro.
21185         (isgreater_test_data): New variable.
21186         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21187         (isgreaterequal_test_data): New variable.
21188         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21189         (isless_test_data): New variable.
21190         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21191         (islessequal_test_data): New variable.
21192         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21193         (islessgreater_test_data): New variable.
21194         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21195         (isunordered_test_data): New variable.
21196         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21197
21198 2013-05-14  David S. Miller  <davem@davemloft.net>
21199
21200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21201
21202 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21203
21204         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21205
21206         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21207         extra_test to int.
21208         (struct test_f_i_data): Change type of max_ulp to int.
21209
21210         * math/libm-test.inc (test_ffI_f1_data): New type.
21211         (RUN_TEST_LOOP_ffI_f1): New macro.
21212         (remquo_test_data): New variable.
21213         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21214
21215         * setjmp/tst-setjmp-fp.c: New file.
21216         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21217         (link-libm): New variable.
21218         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21219
21220         * math/libm-test.inc (struct test_f_i_data): New type.
21221         (RUN_TEST_LOOP_f_i): New macro.
21222         (RUN_TEST_LOOP_f_i_tg): Likewise.
21223         (fpclassify_test_data): New variable.
21224         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21225         (ilogb_test_data): New variable.
21226         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21227
21228         * math/libm-test.inc (scalbln_test): Correct function name in END
21229         call.
21230
21231         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21232         (RUN_TEST_LOOP_fI_f1): New macro.
21233         (frexp_test_data): New variable.
21234         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21235
21236         * math/libm-test.inc (struct test_fF_f1_data): New type.
21237         (RUN_TEST_LOOP_fF_f1): New macro.
21238         (modf_test_data): New variable.
21239         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21240
21241         * math/libm-test.inc (struct test_f_f1_data): New type.
21242         (RUN_TEST_LOOP_f_f1): New macro.
21243         (gamma_test_data): New variable.
21244         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21245         (lgamma_test_data): New variable.
21246         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21247
21248 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21249
21250         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21251         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21252         (main): Comment "tls" pseudo-hwcap.
21253
21254 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21255
21256         * math/libm-test.inc (struct test_fl_f_data): New type.
21257         (RUN_TEST_LOOP_fl_f): New variable.
21258         (scalbln_test_data): New variable.
21259         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21260
21261         * math/libm-test.inc (struct test_fi_f_data): New type.
21262         (RUN_TEST_LOOP_fi_f): New macro.
21263         (ldexp_test_data): New variable.
21264         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21265         (scalbn_test_data): New variable.
21266         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21267
21268         * math/libm-test.inc (struct test_c_f_data): New type.
21269         (RUN_TEST_LOOP_c_f): New macro.
21270         (cabs_test_data): New variable.
21271         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21272         (carg_test_data): New variable.
21273         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21274         (cimag_test_data): New variable.
21275         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21276         (creal_test_data): New variable.
21277         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21278
21279         * math/libm-test.inc (struct test_if_f_data): New type.
21280         (RUN_TEST_LOOP_if_f): New macro.
21281         (jn_test_data): New variable.
21282         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21283         (yn_test_data): New variable.
21284         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21285
21286         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21287
21288 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21289
21290         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21291         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21292
21293 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21294
21295         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21296         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21297         (bench-deps): Add bench-timing.h.
21298         * benchtests-bench-skeleton.c: Include bench-timing.h.
21299         (main): Use TIMING_* macros instead of clock_gettime.
21300         * benchtests/bench-timing.h: New file.
21301
21302         [BZ #14582]
21303         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21304         Renamed from _LIB_VERSION.
21305         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21306
21307 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21308
21309         * math/libm-test.inc (struct test_fff_f_data): New type.
21310         (RUN_TEST_LOOP_fff_f): New macro.
21311         (fma_test_data): New variable.
21312         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21313         (fma_towardzero_test_data): New variable.
21314         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21315         (fma_downward_test_data): New variable.
21316         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21317         (fma_upward_test_data): New variable.
21318         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21319
21320         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21321         (struct test_c_c_data): New type.
21322         (RUN_TEST_LOOP_c_c): New macro.
21323         (cacos_test_data): New variable.
21324         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21325         (cacosh_test_data): New variable.
21326         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21327         (casin_test_data): New variable.
21328         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21329         (casinh_test_data): New variable.
21330         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21331         (catan_test_data): New variable.
21332         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21333         (catanh_test_data): New variable.
21334         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21335         (ccos_test_data): New variable.
21336         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21337         (ccosh_test_data): New variable.
21338         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21339         (cexp_test_data): New variable.
21340         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21341         (clog_test_data): New variable.
21342         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21343         (clog10_test_data): New variable.
21344         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21345         (conj_test_data): New variable.
21346         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21347         (cproj_test_data): New variable.
21348         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21349         (csin_test_data): New variable.
21350         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21351         (csinh_test_data): New variable.
21352         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21353         (csqrt_test_data): New variable.
21354         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21355         (ctan_test_data): New variable.
21356         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21357         (ctan_tonearest_test_data): New variable.
21358         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21359         (ctan_towardzero_test_data): New variable.
21360         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21361         (ctan_downward_test_data): New variable.
21362         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21363         (ctan_upward_test_data): New variable.
21364         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21365         (ctanh_test_data): New variable.
21366         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21367         (ctanh_tonearest_test_data): New variable.
21368         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21369         (ctanh_towardzero_test_data): New variable.
21370         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21371         (ctanh_downward_test_data): New variable.
21372         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21373         (ctanh_upward_test_data): New variable.
21374         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21375         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21376         of BUILD_COMPLEX.
21377
21378         * math/libm-test.inc (struct test_ff_f_data): New type.
21379         (struct test_ff_f_data_nexttoward): Likewise.
21380         (RUN_TEST_LOOP_2_f): New macro.
21381         (RUN_TEST_LOOP_ff_f): Likewise.
21382         (atan2_test_data): New variable.
21383         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21384         (copysign_test_data): New variable.
21385         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21386         (fdim_test_data): New variable.
21387         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21388         (fmax_test_data): New variable.
21389         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21390         (fmin_test_data): New variable.
21391         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21392         (fmod_test_data): New variable.
21393         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21394         (hypot_test_data): New variable.
21395         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21396         (nextafter_test_data): New variable.
21397         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21398         (nexttoward_test_data): New variable.
21399         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21400         (pow_test_data): New variable.
21401         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21402         (pow_tonearest_test_data): New variable.
21403         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21404         (pow_towardzero_test_data): New variable.
21405         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21406         (pow_downward_test_data): New variable.
21407         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21408         (pow_upward_test_data): New variable.
21409         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21410         (remainder_test_data): New variable.
21411         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21412         (scalb_test_data): New variable.
21413         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21414         * sysdeps/i386/fpu/libm-test-ulps: Update.
21415
21416 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21417
21418         * math/libm-test.inc (fma_test): Use max_value instead of local
21419         variable fltmax.
21420         (nextafter_test): Likewise.
21421
21422         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21423         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21424         (acos_downward_test_data): New variable.
21425         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21426         (acos_upward_test_data): New variable.
21427         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21428         (acosh_test_data): New variable.
21429         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21430         (asin_test_data): New variable.
21431         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21432         (asin_tonearest_test_data): New variable.
21433         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21434         (asin_towardzero_test_data): New variable.
21435         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21436         (asin_downward_test_data): New variable.
21437         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21438         (asin_upward_test_data): New variable.
21439         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21440         (asinh_test_data): New variable.
21441         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21442         (atan_test_data): New variable.
21443         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21444         (atanh_test_data): New variable.
21445         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21446         (cbrt_test_data): New variable.
21447         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21448         (ceil_test_data): New variable.
21449         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21450         (cos_test_data): New variable.
21451         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21452         (cos_tonearest_test_data): New variable.
21453         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21454         (cos_towardzero_test_data): New variable.
21455         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21456         (cos_downward_test_data): New variable.
21457         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21458         (cos_upward_test_data): New variable.
21459         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21460         (cosh_test_data): New variable.
21461         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21462         (cosh_tonearest_test_data): New variable.
21463         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21464         (cosh_towardzero_test_data): New variable.
21465         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21466         (cosh_downward_test_data): New variable.
21467         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21468         (cosh_upward_test_data): New variable.
21469         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21470         (erf_test_data): New variable.
21471         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21472         (erfc_test_data): New variable.
21473         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21474         (exp_test_data): New variable.
21475         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21476         (exp_tonearest_test_data): New variable.
21477         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21478         (exp_towardzero_test_data): New variable.
21479         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21480         (exp_downward_test_data): New variable.
21481         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21482         (exp_upward_test_data): New variable.
21483         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21484         (exp10_test_data): New variable.
21485         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21486         (exp2_test_data): New variable.
21487         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21488         (expm1_test_data): New variable.
21489         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21490         (fabs_test_data): New variable.
21491         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21492         (floor_test_data): New variable.
21493         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21494         (j0_test_data): New variable.
21495         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21496         (j1_test_data): New variable.
21497         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21498         (log_test_data): New variable.
21499         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21500         (log10_test_data): New variable.
21501         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21502         (log1p_test_data): New variable.
21503         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21504         (log2_test_data): New variable.
21505         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21506         (logb_test_data): New variable.
21507         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21508         (logb_downward_test_data): New variable.
21509         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21510         (nearbyint_test_data): New variable.
21511         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21512         (rint_test_data): New variable.
21513         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21514         (rint_tonearest_test_data): New variable.
21515         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21516         (rint_towardzero_test_data): New variable.
21517         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21518         (rint_downward_test_data): New variable.
21519         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21520         (rint_upward_test_data): New variable.
21521         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21522         (round_test_data): New variable.
21523         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21524         (sin_test_data): New variable.
21525         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21526         (sin_tonearest_test_data): New variable.
21527         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21528         (sin_towardzero_test_data): New variable.
21529         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21530         (sin_downward_test_data): New variable.
21531         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21532         (sin_upward_test_data): New variable.
21533         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21534         (sinh_test_data): New variable.
21535         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21536         (sinh_tonearest_test_data): New variable.
21537         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21538         (sinh_towardzero_test_data): New variable.
21539         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21540         (sinh_downward_test_data): New variable.
21541         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21542         (sinh_upward_test_data): New variable.
21543         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21544         (sqrt_test_data): New variable.
21545         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21546         (tan_test_data): New variable.
21547         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21548         (tan_tonearest_test_data): New variable.
21549         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21550         (tan_towardzero_test_data): New variable.
21551         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21552         (tan_downward_test_data): New variable.
21553         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21554         (tan_upward_test_data): New variable.
21555         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21556         (tanh_test_data): New variable.
21557         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21558         (tgamma_test_data): New variable.
21559         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21560         (trunc_test_data): New variable.
21561         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21562         (y0_test_data): New variable.
21563         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21564         (y1_test_data): New variable.
21565         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21566         (significand_test_data): New variable.
21567         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21568
21569 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21570
21571         [BZ #12387]
21572         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21573
21574 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21575
21576         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21577
21578 2013-05-10  Andreas Jaeger  <aj@suse.de>
21579
21580         [BZ #15448]
21581         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21582         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21583
21584 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21585
21586         * math/gen-libm-test.pl (adjust_arg): New function.
21587         (special_functions): Handle generating output in both functions
21588         and arrays.
21589         (parse_args): Likewise.
21590         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21591         $in_func argument to parse_args.
21592         * math/libm-test.inc (struct test_f_f_data): New type.
21593         (IF_ROUND_INIT_): New macro.
21594         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21595         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21596         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21597         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21598         (ROUND_RESTORE_): Likewise.
21599         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21600         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21601         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21602         (ROUND_RESTORE_FE_UPWARD): Likewise.
21603         (RUN_TEST_LOOP_f_f): New macro.
21604         (acos_test_data): New variable.
21605         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21606         (acos_tonearest_test_data): New variable.
21607         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21608
21609 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21610
21611         * benchtests/bench-skeleton.c (startup): Fix coding style.
21612
21613 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21614
21615         [BZ #6809]
21616         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21617         negative infinity argument.
21618         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21619         negative infinity argument.
21620         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21621         negative infinity argument.
21622         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21623         domain errors.
21624
21625 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21626
21627         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21628         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21629         * iconv/iconv_prog.c (main): Likewise.
21630         * locale/programs/charmap-dir.c (charmap_readdir)
21631         (fopen_uncompressed): Likewise.
21632         * locale/programs/locfile.c (siblings_uncached)
21633         (write_locale_data): Use lstat64 instead of lstat.
21634         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21635         stat.
21636
21637 2013-05-10  Andreas Jaeger  <aj@suse.de>
21638
21639         [BZ #15395]
21640         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21641         localization.
21642         Include <locale.h>.
21643
21644 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21645
21646         * elf/dl-close.c (_dl_close_worker): Add comments.
21647
21648 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21649
21650         [BZ #15359]
21651         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21652         high part of pi/2.
21653         (__ieee754_rem_pio2l): Update comments.
21654
21655         [BZ #15429]
21656         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21657         high part of pi/2.
21658         (__ieee754_rem_pio2l): Update comments.
21659
21660         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21661         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21662
21663         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21664         M_PI_4l.
21665
21666         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21667         (M_PI_34_LOG10El): Likewise.
21668         (M_PI2_LOG10El): Likewise.
21669         (M_PI4_LOG10El): Likewise.
21670         (M_PI_LOG10El): Likewise.
21671
21672 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21673
21674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21675
21676 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21677
21678         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21679         (MINUS_ZERO_INIT): Likewise.
21680         (PLUS_INFTY_INIT): Likewise.
21681         (MINUS_INFTY_INIT): Likewise.
21682         (QNAN_VALUE_INIT): Likewise.
21683         (MAX_VALUE_INIT): Likewise.
21684         (MIN_VALUE_INIT): Likewise.
21685         (MIN_SUBNORM_VALUE_INIT): Likewise.
21686         (plus_zero): Initialize with PLUS_ZERO_INIT.
21687         (minus_zero): Initialize with MINUS_ZERO_INIT.
21688         (plus_infty): Initialize with PLUS_INFTY_INIT.
21689         (minus_infty): Initialize with MINUS_INFTY_INIT.
21690         (qnan_value): Initialize with QNAN_VALUE_INIT.
21691         (max_value): Initialize with MAX_VALUE_INIT.
21692         (min_value): Initialize with MIN_VALUE_INIT.
21693         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21694
21695         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21696         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21697         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21698         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21699
21700         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21701         (RUN_TEST_2_f): Likewise.
21702         (RUN_TEST_ff_f): Likewise.
21703         (RUN_TEST_fi_f): Likewise.
21704         (RUN_TEST_fl_f): Likewise.
21705         (RUN_TEST_fff_f): Likewise.
21706         (RUN_TEST_c_f): Likewise.
21707         (RUN_TEST_f_f1): Likewise.
21708         (RUN_TEST_fF_f1): Likewise.
21709         (RUN_TEST_fI_f1): Likewise.
21710         (RUN_TEST_ffI_f1): Likewise.
21711         (RUN_TEST_c_c): Likewise.
21712         (RUN_TEST_cc_c): Likewise.
21713         (RUN_TEST_f_i): Likewise.
21714         (RUN_TEST_f_i_tg): Likewise.
21715         (RUN_TEST_ff_i_tg): Likewise.
21716         (RUN_TEST_f_b): Likewise.
21717         (RUN_TEST_f_b_tg): Likewise.
21718         (RUN_TEST_f_l): Likewise.
21719         (RUN_TEST_f_L): Likewise.
21720         (RUN_TEST_sincos): Likewise.
21721         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21722         whether to show exceptions.  Do not include ");\n" in return
21723         value.
21724         (special_functions): Output call to RUN_TEST_sincos instead of
21725         check_float calls.  Update calls to new_test.
21726         (parse_args): Output call to single RUN_TEST_* macro instead of
21727         check_* calls and other assignments.  Update calls to new_test.
21728
21729         [BZ #2546]
21730         [BZ #2560]
21731         [BZ #5159]
21732         [BZ #15426]
21733         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21734         input to result for tgamma overflow.
21735         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21736         (gamma_coeff): New variable.
21737         (NCOEFF): New macro.
21738         (gamma_positive): New function.
21739         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21740         underflow here.  Use gamma_positive instead of exp (lgamma) for
21741         other arguments.
21742         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21743         (gamma_coeff): New variable.
21744         (NCOEFF): New macro.
21745         (gammaf_positive): New function.
21746         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21747         underflow here.  Use gamma_positive instead of exp (lgamma) for
21748         other arguments.
21749         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21750         (gamma_coeff): New variable.
21751         (NCOEFF): New macro.
21752         (gammal_positive): New function.
21753         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21754         underflow here.  Use gamma_positive instead of exp (lgamma) for
21755         other arguments.
21756         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21757         (gamma_coeff): New variable.
21758         (NCOEFF): New macro.
21759         (gammal_positive): New function.
21760         (__ieee754_gammal_r): Handle positive infinity, overflow and
21761         underflow here.  Handle NaN the same as positive infinity.  Remove
21762         check x < 0xffffffff for negative integers.  Use gamma_positive
21763         instead of exp (lgamma) for other arguments.
21764         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21765         (gamma_coeff): New variable.
21766         (NCOEFF): New macro.
21767         (gammal_positive): New function.
21768         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21769         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21770         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21771         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21772         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21773         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21774         * sysdeps/generic/math_private.h (__gamma_productf): New
21775         prototype.
21776         (__gamma_product): Likewise.
21777         (__gamma_productl): Likewise.
21778         * math/Makefile (libm-calls): Add gamma_product.
21779         * math/libm-test.inc (tgamma_test): Add more tests.
21780         * sysdeps/i386/fpu/libm-test-ulps: Update.
21781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21782
21783 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21784
21785         * benchtests/bench-skeleton.c (main): Preheat CPU.
21786
21787 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21788
21789         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21790
21791 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21792
21793         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21794         and _dl_skip_args_internal.
21795
21796 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21797
21798         * manual/message.texi (Message Translation): Talk about users.
21799         Message to key mapping impacts design.
21800
21801 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21802
21803         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21804
21805         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21806
21807         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21808         * sysdeps/wordsize-64/glob64.c: ... here.
21809
21810         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21811         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21812         New macros.
21813
21814         * debug/getlogin_r_chk.c: Moved to ...
21815         * login/getlogin_r_chk.c: ... here.
21816         * debug/Makefile (routines): Move getlogin_r_chk to ...
21817         * login/Makefile (routines): ... here.
21818         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21819         * login/Versions (libc: GLIBC_2.4): ... here.
21820
21821         * io/poll.c (__poll): Renamed from poll.
21822         Add libc_hidden_def.
21823         (poll): Define as weak alias.
21824
21825         * debug/ptsname_r_chk.c: Moved to ...
21826         * login/ptsname_r_chk.c: ... here.
21827         * debug/Makefile (routines): Move ptsname_r_chk to ...
21828         * login/Makefile (routines): ... here.
21829         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21830         * login/Versions (libc: GLIBC_2.4): ... here.
21831
21832         * posix/getlogin.c: Moved to ...
21833         * login/getlogin.c: ... here.
21834         * posix/getlogin_r.c: Moved to ...
21835         * login/getlogin_r.c: ... here.
21836         * posix/getlogin_r.c: Moved to ...
21837         * login/getlogin_r.c: ... here.
21838         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21839         * login/Makefile (routines): ... here.
21840         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21841         * login/Versions (libc: GLIBC_2.0): ... here.
21842
21843         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21844         (setrlimit): Define as weak alias.
21845
21846         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21847         Call __ names for open, ftruncate, and close.
21848         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21849         (truncate): Define as weak alias.
21850
21851 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21852
21853         * math/gen-libm-test.pl (parse_args): Initialize x before each
21854         test of frexp, modf and remquo.
21855
21856         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21857         test signgam value.
21858
21859 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21860
21861         [BZ #15418]
21862         [BZ #15419]
21863         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21864         internal tests.
21865         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21866
21867 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21868
21869         * elf/dl-writev.h: New file.
21870         * elf/dl-misc.c: Include it.
21871         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21872         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21873
21874 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21875
21876         * math/libm-test.inc (noXFails): Remove variable.
21877         (noXPasses): Likewise.
21878         (BUILD_COMPLEX_INT): Remove macro.
21879         (print_screen): Remove xfail argument.
21880         (print_screen_max_error): Likewise.
21881         (update_stats): Likewise.
21882         (print_max_error): Likewise.  Update calls to other affected
21883         functions.
21884         (print_complex_max_error): Likewise.
21885         (test_single_exception): Update calls to print_screen.
21886         (test_single_errno): Likewise.
21887         (check_float_internal): Remove xfail argument.  Update calls to
21888         other affected functions.
21889         (check_float): Likewise.
21890         (check_complex): Likewise.
21891         (check_int): Likewise.
21892         (check_long): Likewise.
21893         (check_bool): Likewise.
21894         (check_longlong): Likewise.
21895         (main): Don't print noXFails and noXPasses.
21896         * math/gen-libm-test.pl (top level): Don't mention expected
21897         failure handling in comment.
21898         (new_test): Don't handle expected failures.
21899         (parse_args): Don't mention expected failure handling in comment.
21900         (generate_testfile): Don't handle expected failures.
21901         (parse_ulps): Likewise.
21902         (print_ulps_file): Likewise.
21903         (get_failure): Remove function.
21904         (output_test): Don't handle expected failures.
21905         * make/README.libm-test: Don't mention expected failure handling.
21906
21907         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21908         (minus_zero): Likewise.
21909         (plus_infty): Likewise.
21910         (minus_infty): Likewise.
21911         (qnan_value): Likewise.
21912         (max_value): Likewise.
21913         (min_value): Likewise.
21914         (min_subnorm_value): Likewise.
21915         (initialize): Do not initialize those variables dynamically.
21916
21917 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21918
21919         * io/open.c (__open_2): Moved to ...
21920         * io/open_2.c: ... this new file.
21921         * io/open64.c (__open64_2): Moved to ...
21922         * io/open64_2.c: ... this new file.
21923         * io/openat.c (__openat_2): Moved to ...
21924         * io/openat_2.c: ... this new file.
21925         * io/openat64.c (__openat64_2): Moved to ...
21926         * io/openat64_2.c: ... this new file.
21927         * io/Makefile (routines): Add them.
21928         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21929         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21930         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21931         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21932         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21933         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21934         (__openat64): Add hidden_ver.
21935         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21936         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21937
21938         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21939         Separately conditionalize setting of GLRO(dl_sysinfo) so
21940         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21941         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21942
21943 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21944
21945         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21946         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21947         definition.
21948         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21949         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21950         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21951         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21952         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21953
21954 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21955
21956         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21957         test signgam value.
21958
21959         * math/libm-test.inc (hypot_test): Do not use
21960         IGNORE_ZERO_INF_SIGN.
21961
21962 2013-05-03  Andreas Jaeger  <aj@suse.de>
21963
21964         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21965         Linux 3.9.
21966         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21967         (PF_MAX): Adjust for VSOCK change.
21968
21969 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21970
21971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21972
21973 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21974
21975         [BZ #15264]
21976         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21977         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21978         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21979
21980 2013-05-02  David S. Miller  <davem@davemloft.net>
21981
21982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21983
21984 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21985
21986         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21987
21988 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21989
21990         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21991
21992 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21993
21994         [BZ #14952]
21995         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21996         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21997         Use __attribute__ ((__gnu_inline__)).
21998         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21999         Don't use __attribute__ ((__gnu_inline__)).
22000
22001 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22002
22003         [BZ #15423]
22004         * math/s_catan.c (__catan): Handle small real or imaginary part of
22005         input specially to avoid spurious underflow.
22006         * math/s_catanf.c (__catanf): Likewise.
22007         * math/s_catanh.c (__catanh): Likewise.
22008         * math/s_catanhf.c (__catanhf): Likewise.
22009         * math/s_catanhl.c (__catanhl): Likewise.
22010         * math/s_catanl.c (__catanl): Likewise.
22011         * math/libm-test.inc (catan_test): Add more tests.
22012         (catanh_test): Likewise.
22013         * sysdeps/i386/fpu/libm-test-ulps: Update.
22014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22015
22016 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22017
22018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22019
22020 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22021
22022         [BZ #15416]
22023         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22024         accurately for denominator in atan2.
22025         * math/s_catanf.c (__catanf): Likewise.
22026         * math/s_catanh.c (__catanh): Likewise.
22027         * math/s_catanhf.c (__catanhf): Likewise.
22028         * math/s_catanhl.c (__catanhl): Likewise.
22029         * math/s_catanl.c (__catanl): Likewise.
22030         * math/libm-test.inc (catan_test): Add more tests.
22031         (catanh_test): Likewise.
22032         * sysdeps/i386/fpu/libm-test-ulps: Update.
22033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22034
22035 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22036
22037         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22038
22039         * benchtests/Makefile (bench): Remove slow benchmarks.
22040         * benchtests/atan-inputs: Add slow benchmark inputs.
22041         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22042         (BENCH_FUNC): Accept variant offset.
22043         (VARIANT): Define.
22044         * benchtests/bench-skeleton.c (main): Run benchmark for each
22045         variant.
22046         * benchtests/cos-inputs: Add slow benchmark inputs.
22047         * benchtests/exp-inputs: Likewise.
22048         * benchtests/pow-inputs: Likewise.
22049         * benchtests/sin-inputs: Likewise.
22050         * benchtests/slowatan-inputs: Remove.
22051         * benchtests/slowatan.c: Remove.
22052         * benchtests/slowcos-inputs: Remove.
22053         * benchtests/slowcos.c: Remove.
22054         * benchtests/slowexp-inputs: Remove.
22055         * benchtests/slowexp.c: Remove.
22056         * benchtests/slowpow-inputs: Remove.
22057         * benchtests/slowpow.c: Remove.
22058         * benchtests/slowsin-inputs: Remove.
22059         * benchtests/slowsin.c: Remove.
22060         * benchtests/slowtan-inputs: Remove.
22061         * benchtests/slowtan.c: Remove.
22062         * benchtests/tan-inputs: Add slow benchmark inputs.
22063         * scripts/bench.pl: Parse comments and directives.
22064
22065         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22066         in CPPFLAGS.
22067         ($(objpfx)bench-%.c): Remove *-ITER.
22068         * benchtests/bench-modf.c: Remove definition of ITER.
22069         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22070         (main): Loop for DURATION seconds instead of fixed number of
22071         iterations.
22072         * scripts/bench.pl: Don't expect iterations in parameters.
22073
22074 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22075
22076         * io/fchdir.c (__fchdir): Renamed from fchdir.
22077         (fchdir): Define as weak alias.
22078
22079 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22080
22081         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22082         (ERRNO_EDOM): Likewise.
22083         (ERRNO_ERANGE): Likewise.
22084         (noErrnoTests): New variable.
22085         (init_max_error): Set errno to 0.
22086         (test_single_errno): New function.
22087         (test_errno): Likewise.
22088         (check_float_internal): Call test_errno.  Set errno to 0.
22089         (check_complex): Refer to errno tests in comment.
22090         (check_int): Call test_errno.  Set errno to 0.
22091         (check_long): Likewise.
22092         (check_bool): Likewise.
22093         (check_longlong): Likewise.
22094         (cos_test): Use ERRNO_* flags for errno tests instead of
22095         check_int.
22096         (expm1_test): Likewise.
22097         (fmod_test): Likewise.
22098         (ilogb_test): Likewise.
22099         (lgamma_test): Likewise.
22100         (pow_test): Likewise.
22101         (remainder_test): Likewise.
22102         (sin_test): Likewise.
22103         (tan_test): Likewise.
22104         (yn_test): Likewise.
22105         (initialize): Set errno to 0.
22106         (main): Print number of errno tests.
22107         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22108
22109 2013-04-29  Andreas Jaeger  <aj@suse.de>
22110
22111         [BZ #15084]
22112         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22113         and RES_USEVC.
22114
22115         [BZ #15085]
22116         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22117         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22118         unimplemented.
22119
22120         [BZ #15380]
22121         * stdlib/random.c (__initstate): Return NULL if
22122         __initstate fails.
22123
22124         [BZ #15086]
22125         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22126         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22127         RES_SNGLKUPREOP.
22128
22129 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22130
22131         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22132
22133 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22134
22135         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22136         of individual tests.
22137         (casin_test): Likewise.
22138         (casinh_test): Likewise.
22139
22140 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22141
22142         [BZ #15409]
22143         * math/s_catan.c (__catan): Handle arguments with large real or
22144         imaginary part separately without squaring.
22145         * math/s_catanf.c (__catanf): Likewise.
22146         * math/s_catanh.c (__catanh): Likewise.
22147         * math/s_catanhf.c (__catanhf): Likewise.
22148         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22149         and redefine.
22150         (__catanhl): Handle arguments with large real or imaginary part
22151         separately without squaring.
22152         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22153         and redefine.
22154         (__catanl): Handle arguments with large real or imaginary part
22155         separately without squaring.
22156         * math/libm-test.inc (catan_test): Add more tests.
22157         (catanh_test): Likewise.
22158         * sysdeps/i386/fpu/libm-test-ulps: Update.
22159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22160
22161 2013-04-27  Andreas Jaeger  <aj@suse.de>
22162
22163         [BZ #15007]
22164         * stdlib/stdlib.h: Update guards for qecvt.
22165         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22166         <stdlib.h>.
22167
22168 2013-04-27  Allan McRae  <allan@archlinux.org>
22169
22170         * sysdeps/i386/fpu/libm-test-ulps: Update.
22171
22172 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22173
22174         [BZ #15406]
22175         * math/s_catan.c: Include <float.h>.
22176         (__catan): Ensure underflow exception occurs for underflowed
22177         result.
22178         * math/s_catanf.c: Include <float.h>.
22179         (__catanf): Ensure underflow exception occurs for underflowed
22180         result.
22181         * math/s_catanh.c: Include <float.h>.
22182         (__catanh): Ensure underflow exception occurs for underflowed
22183         result.
22184         * math/s_catanhf.c: Include <float.h>.
22185         (__catanhf): Ensure underflow exception occurs for underflowed
22186         result.
22187         * math/s_catanhl.c: Include <float.h>.
22188         (__catanhl): Ensure underflow exception occurs for underflowed
22189         result.
22190         * math/s_catanl.c: Include <float.h>.
22191         (__catanl): Ensure underflow exception occurs for underflowed
22192         result.
22193         * math/libm-test.inc (catan_test): Add more tests.
22194         (catanh_test): Likewise.
22195
22196         [BZ #15405]
22197         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22198         underflowed result.
22199         * math/s_ccoshf.c (__ccoshf): Likewise.
22200         * math/s_ccoshl.c (__ccoshl): Likewise.
22201         * math/s_csin.c (__csin): Likewise.
22202         * math/s_csinf.c (__csinf): Likewise.
22203         * math/s_csinh.c (__csinh): Likewise.
22204         * math/s_csinhf.c (__csinhf): Likewise.
22205         * math/s_csinhl.c (__csinhl): Likewise.
22206         * math/s_csinl.c (__csinl): Likewise.
22207         * math/libm-test.inc (ccos_test): Add more tests.
22208         (ccosh_test): Likewise.
22209         (csin_test): Likewise.
22210         (csinh_test): Likewise.
22211
22212 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22213
22214         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22215         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22216         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22217         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22218         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22219         powerpc/power5+/fpu folders.
22220         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22221
22222
22223 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22224
22225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22226
22227 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22228
22229         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22230         additions to variable.
22231         [$(config-machine) = x86_64] (modules-names): Likewise.
22232         ($(objpfx)tst-audit3): Remove dependency.
22233         ($(objpfx)tst-audit3.out): Likewise.
22234         ($(objpfx)tst-audit4): Likewise.
22235         ($(objpfx)tst-audit4.out): Likewise.
22236         ($(objpfx)tst-audit5): Likewise.
22237         ($(objpfx)tst-audit5.out): Likewise.
22238         ($(objpfx)tst-audit6): Likewise.
22239         ($(objpfx)tst-audit6.out): Likewise.
22240         ($(objpfx)tst-audit7): Likewise.
22241         ($(objpfx)tst-audit7.out): Likewise.
22242         (tst-audit3-ENV): Remove variable.
22243         (tst-audit4-ENV): Likewise.
22244         (tst-audit5-ENV): Likewise.
22245         (tst-audit6-ENV): Likewise.
22246         (tst-audit7-ENV): Likewise.
22247         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22248         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22249         addition to variable.
22250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22253         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22254         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22255         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22256         tst-audit3, tst-audit4 and tst-audit5.
22257         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22258         tst-audit6 and tst-audit7.
22259         [$(subdir) = elf] (modules-names): Add audit modules for those
22260         tests.
22261         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22262         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22263         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22264         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22265         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22266         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22267         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22268         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22269         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22270         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22271         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22272         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22273         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22274         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22275         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22276         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22277         Likewise.
22278         [$(subdir) = elf && $(config-cflags-avx) = yes]
22279         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22280         [$(subdir) = elf && $(config-cflags-avx) = yes]
22281         (CFLAGS-tst-auditmod4a.c): Likewise.
22282         [$(subdir) = elf && $(config-cflags-avx) = yes]
22283         (CFLAGS-tst-auditmod4b.c): Likewise.
22284         [$(subdir) = elf && $(config-cflags-avx) = yes]
22285         (CFLAGS-tst-auditmod6b.c): Likewise.
22286         [$(subdir) = elf && $(config-cflags-avx) = yes]
22287         (CFLAGS-tst-auditmod6c.c): Likewise.
22288         [$(subdir) = elf && $(config-cflags-avx) = yes]
22289         (CFLAGS-tst-auditmod7b.c): Likewise.
22290         * elf/tst-audit3.c: Move to ...
22291         * sysdeps/x86_64/tst-audit3.c: ... here.
22292         * elf/tst-audit4.c: Move to ...
22293         * sysdeps/x86_64/tst-audit4.c: ... here.
22294         * elf/tst-audit5.c: Move to ...
22295         * sysdeps/x86_64/tst-audit5.c: ... here.
22296         * elf/tst-audit6.c: Move to ...
22297         * sysdeps/x86_64/tst-audit6.c: ... here.
22298         * elf/tst-audit7.c: Move to ...
22299         * sysdeps/x86_64/tst-audit7.c: ... here.
22300         * elf/tst-auditmod3a.c: Move to ...
22301         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22302         * elf/tst-auditmod3b.c: Move to ...
22303         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22304         * elf/tst-auditmod4a.c: Move to ...
22305         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22306         * elf/tst-auditmod4b.c: Move to ...
22307         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22308         * elf/tst-auditmod5a.c: Move to ...
22309         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22310         * elf/tst-auditmod5b.c: Move to ...
22311         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22312         * elf/tst-auditmod6a.c: Move to ...
22313         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22314         * elf/tst-auditmod6b.c: Move to ...
22315         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22316         * elf/tst-auditmod6c.c: Move to ...
22317         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22318         * elf/tst-auditmod7a.c: Move to ...
22319         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22320         * elf/tst-auditmod7b.c: Move to ...
22321         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22322
22323 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22324
22325         [BZ #15366]
22326         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22327         define unconditionally.
22328         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22329         define unconditionally.
22330         (INT8_C, INT16_C, etc.): Likewise.
22331
22332 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22333
22334         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22335         __ehdr_start with hidden visibility.
22336
22337         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22338
22339 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22340
22341         * math/libm-test.inc (cos_test): Use accurate hex constants.
22342         (sincost_test): Likewise.
22343
22344 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22345
22346         * math/libm-test.inc (catan_test): Add more tests.
22347         (catanh_test): Likewise.
22348
22349         * math/s_catanf.c (__catanf): Use suffixed floating-point
22350         constants.
22351         * math/s_catanhf.c (__catanhf): Likewise.
22352         * math/s_catanhl.c (__catanhl): Likewise.
22353         * math/s_catanl.c (__catanl): Likewise.
22354
22355         [BZ #15394]
22356         * math/s_catan.c (__catan): Calculate imaginary part of result
22357         with log1p not log unless computing log of number close to 0.
22358         * math/s_catanf.c (__catanf): Likewise.
22359         * math/s_catanl.c (__catanl): Likewise.
22360         * math/s_catanh.c (__catanh): Calculate real part of result with
22361         log1p not log unless computing log of number close to 0.
22362         * math/s_catanhf.c (__catanhf): Likewise.
22363         * math/s_catanhl.c (__catanhl): Likewise.
22364         * math/libm-test.inc (catan_test): Add more tests.
22365         (catanh_test): Likewise.
22366         * sysdeps/i386/fpu/libm-test-ulps: Update.
22367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22368
22369 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22370
22371         * benchtests/Makefile: Mention files in which fast and slow
22372         paths of math functions are implemented.
22373
22374 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22375
22376         * sysdeps/posix/timespec_get.c: New file.
22377
22378 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22379
22380         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22381         POWER.
22382         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22383         for POWER.
22384         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22385         powerpc/power5/fpu folders.
22386         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22387         * benchtests/Makefile: Add modf testcase.
22388         * benchtests/bench-modf.c: New file: Benchmark test for mo
22389
22390 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22391
22392         [BZ #14888]
22393         * time/Makefile (tests): Add tst-strptime-whitespace.
22394         * time/strptime_l.c (get_number): Use ISSPACE.
22395         (__strptime_internal): Likewise.
22396         * time/tst-strptime-whitespace.c: New test case.
22397
22398 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22399
22400         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22401         member.
22402         (_nss_files_init): Set it here.
22403
22404 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22405
22406         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22407         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22408         unsigned.
22409
22410 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22411
22412         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22413
22414 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22415
22416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22417         size just once.
22418
22419 2013-04-21  David S. Miller  <davem@davemloft.net>
22420
22421         * po/ru.po: Update Russion translation from translation project.
22422
22423 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22424
22425         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22426         and setfsgid.
22427
22428 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22429
22430         * configure.in: Remove i386 configure warning. Remove i386 case.
22431         * configure: Regenerate.
22432         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22433         Add example to error message.
22434         * sysdeps/i386/configure: Regenerate.
22435
22436 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22437
22438         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22439         slowtan.
22440         * benchtests/cos-inputs: New file.
22441         * benchtests/slowcos-inputs: New file.
22442         * benchtests/slowcos.c: New file.
22443         * benchtests/slowtan-inputs: New file.
22444         * benchtests/slowtan.c: New file.
22445         * benchtests/tan-inputs: New file.
22446
22447 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22448
22449         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22450         considered kosher.
22451
22452 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22453
22454         * benchtests/Makefile: Include cppflags-iterator.mk to add
22455         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22456
22457         * Makefile.in (bench-clean): New target.
22458         * benchtests/Makefile (bench-clean): Likewise.
22459
22460 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22461
22462         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22463
22464 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22465
22466         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22467
22468 2013-04-15  Andreas Schwab  <schwab@suse.de>
22469
22470         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22471         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22472         * nscd/pwdcache.c (cache_addpw): Likewise.
22473         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22474         more than recsize.
22475
22476 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22477
22478         * benchtests/Makefile (bench): Write all output to
22479         bench-out.tmp together.
22480
22481 2013-04-15  Andreas Schwab  <schwab@suse.de>
22482
22483         * nscd/nscd.c (main): Don't fork again after closing files.
22484
22485 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22486
22487         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22488
22489         * benchtests/Rules (bench-deps): Collect dependencies into a
22490         single variable.  Add Makefile to dependencies.
22491         ($(objpfx)bench-%.c): Depend on bench-deps.
22492
22493 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22494             Xavier Roche  <roche+kml2@exalead.com>
22495
22496         [BZ #15361]
22497         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22498         just that it's a file descriptor.
22499         * manual/llio.texi (Synchronizing AIO Operations): Update description
22500         for EBADF error from aio_fsync.
22501
22502 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22503
22504         * Rules (bench): Move target definition...
22505         * benchtests/Makefile: ... here.
22506
22507 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22508
22509         * math/libm-test.inc (cos_test): Fix PI/2 test.
22510         (sincos_test): Likewise.
22511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22512         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22513
22514 2013-04-11  Andreas Schwab  <schwab@suse.de>
22515
22516         [BZ #13988]
22517         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22518         accept exponent character only when digits were seen.
22519         * stdio-common/Makefile (tests): Add bug26.
22520         * stdio-common/bug26.c: New file.
22521
22522         [BZ #14293]
22523         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22524         non-freeable.
22525
22526 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22527
22528         * Makeconfig (rtld-prefix): Define built linker prefix.
22529         * Rules (run-bench): Use it.
22530         * math/Makefile (run-regen-ulps): Likewise.
22531
22532         * Rules (bench): Remove eval.
22533
22534 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22535             Roland McGrath  <roland@hack.frob.com>
22536             Ondrej Bilka  <neleai@seznam.cz>
22537
22538         [BZ #15346]
22539         * time/getdate.c: Include ctype.h and alloca.h.
22540         (__getdate_r): Trim leading and trailing spaces of input.
22541         * time/tst-getdate.c (tests): Add tests with leading and
22542         trailing spaces.
22543
22544 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22545
22546         [BZ #14280]
22547         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22548         when computing value.
22549
22550 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22551
22552         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22553         Use testrun.sh to run libm tests.
22554
22555         [BZ #15309]
22556         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22557
22558 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22559
22560         [BZ #15264]
22561         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22562
22563 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22564
22565         * Makefile.in (regen-ulps): New target.
22566         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22567         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22568         [ifneq (no,$(PERL)] (regen-ulps): New target.
22569         [ifeq (no,$(PERL)] (regen-ulps): New target.
22570         * math/libm-test.inc (ulps_file_name): Define.
22571         (output_dir): New variable.
22572         (options): Add "output-dir" option.
22573         (parse_opt): Handle 'o' case.
22574         (main): If output_dir is non-NULL use it as a prefix
22575         otherwise use "".
22576         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22577
22578 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22579
22580         [BZ #10060, #10062]
22581         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22582         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22583         fail configure if __sync_val_compare_and_swap is not inlined.
22584         * sysdeps/i386/configure: Regenerate.
22585         * configure.in: Build for i686 when configured for i386.
22586         * configure: Regenerate.
22587         * README: Remove i386 reference.
22588
22589 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22590
22591         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22592         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22593
22594 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22595
22596         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22597         (lmsnanval): New variables.
22598         (F): Add conversion tests.
22599         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22600         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22601
22602         * stdio-common/tstdiomisc.c (F): Properly collect individual
22603         tests' results.
22604
22605         [BZ #14686, #15336]
22606         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22607         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22608         Instead, use input NaN values or generate a qNaN by arithmetic
22609         operation.  Also fix bugs to comply with the standard.
22610         * math/libm-test.inc (remainder_test): Add more tests.
22611
22612         [BZ #15335, #15342]
22613         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22615         input NaN values or generate a qNaN by arithmetic operation.
22616
22617         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22618         unreachable code.
22619
22620         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22621         definitions.
22622
22623 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22624
22625         [BZ #14478]
22626         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22627         underflowed result.
22628         * math/s_cexpf.c (__cexpf): Likewise.
22629         * math/s_cexpl.c (__cexpl): Likewise.
22630         * math/libm-test.inc (cexp_test): Add more tests.
22631
22632 2013-04-03  Andreas Schwab  <schwab@suse.de>
22633
22634         [BZ #15330]
22635         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22636         order arrays from heap if bigger than alloca cutoff.
22637
22638 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22639
22640         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22641         (SNAN_TESTS_double): Refer to GCC PR56831.
22642         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22643         GCC PR56828.
22644
22645 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22646
22647         * Rules (bench): Move bench.out after the run is complete.
22648
22649         * Rules (bench): Echo currently running benchmark.
22650
22651         * benchtests/Makefile (bench): Add atan and slowatan.
22652         * benchtests/atan-inputs: New file.
22653         * benchtests/slowatan-inputs: New file.
22654         * benchtests/slowatan.c: New file.
22655
22656         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22658         its value.
22659
22660         [BZ #15305]
22661         * sysdeps/unix/sysv/linux/kernel-features.h
22662         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22663         __ASSUME_XFS_RESTRICTED_CHOWN.
22664         * sysdeps/unix/sysv/linux/pathconf.c
22665         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22666         Save and restore errno.
22667
22668 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22669
22670         [BZ #15327]
22671         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22672         arguments using __kernel_casinh.
22673         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22674         arguments using __kernel_casinhf.
22675         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22676         arguments using __kernel_casinhl.
22677         * math/libm-test.inc (cacosh_test): Add more tests.
22678         * sysdeps/i386/fpu/libm-test-ulps: Update.
22679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22680
22681 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22682
22683         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22684         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22685
22686         * bench/Makefile (bench): Add sin and slowsin.
22687         * benchtests/sin-inputs: New file.
22688         * benchtests/slowsin-inputs: New file.
22689         * benchtests/slowsin.c: New file.
22690
22691         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22692         (bench): Add slowexp and slowpow.
22693         (exp-ITER): Increase iterations.
22694         (pow-ITER): Likewise.
22695         * benchtests/exp-inputs: Change input.
22696         * benchtests/pow-inputs: Likewise.
22697         * benchtests/slowexp-inputs: New file.
22698         * benchtests/slowexp.c: New file.
22699         * benchtests/slowpow-inputs: New file.
22700         * benchtests/slowpow.c: New file.
22701
22702 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22703
22704         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22705         instructions.
22706         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22707         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22708         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22709         * benchtests/Makefile: Add rint benchtest.
22710         * benchtests/rint-inputs: Input for rint benchtest.
22711
22712 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22713
22714         * Versions.def (libm): Add GLIBC_2.18.
22715         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22716         hidden libm prototypes.
22717         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22718         * math/Makefile (libm-calls): Add s_issignaling.
22719         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22720         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22721         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22722         declaration.
22723         * math/math.h [__USE_GNU] (issignaling): New macro.
22724         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22725         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22726         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22727         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22728         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22729         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22730         * manual/arith.texi (issignaling): New section.
22731         * manual/libm-err-tab.pl (@all_functions): Update comment.
22732         * math/gen-libm-test.pl (parse_args): Apply special handling for
22733         issignaling.
22734         * math/libm-test.inc (print_float, issignaling_test): New
22735         functions.
22736         (check_float_internal): Add issignaling checks.
22737         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22738         default definition.
22739         * sysdeps/powerpc/math-tests.h: New file.
22740         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22741         tests.
22742         * math/test-snan.c (TEST_FUNC): Likewise.
22743
22744 2013-03-30  David S. Miller  <davem@davemloft.net>
22745
22746         * po/de.po: Update from translation team.
22747
22748 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22749
22750         [BZ #10357]
22751         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22752         imaginary part less than 1.0 and real part less than 0.5
22753         specially.
22754         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22755         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22756         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22757         (cacos_test): Add more tests.
22758         (casin_test): Likewise.
22759         (casinh_test): Likewise.
22760         * sysdeps/i386/fpu/libm-test-ulps: Update.
22761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762
22763 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22764
22765         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22766         ONE with its value.
22767
22768         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22769         (__pow_mp): Replace ONE and MONE with their values.
22770         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22772         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22773         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22774         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22775         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22776
22777         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22778
22779         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22780         (__pow_mp): Replace ZERO and MZERO with their values.
22781         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22782         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22783         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22785         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22786         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22787         (__sqr): Likewise.
22788
22789         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22790
22791         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22792
22793 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22794
22795         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22796         Declare with __attribute__ ((weak)).
22797         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22798         Call __call_tls_dtors only if it's not NULL.
22799
22800 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22801
22802         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22803         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22804         magic __ehdr_start linker symbol if it's defined.
22805         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22806         them up here if it was already done.
22807
22808         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22809         (_dl_aux_init): Use const in cast when setting it.
22810         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22811         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22812         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22813
22814         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22815         Declare them here.
22816         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22817         * csu/libc-tls.c: Nor here.
22818         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22819
22820         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22821         (__libc_message): Never call vsyslog.
22822
22823 2013-03-28  Alan Modra  <amodra@gmail.com>
22824
22825         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22826         Define as empty.
22827         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22828         Likewise.
22829
22830 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22831
22832         [BZ #15214]
22833         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22834         underflow.
22835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22836
22837 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22838
22839         [BZ #15304]
22840         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22841         Don't add gid passed as argument.
22842
22843         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22844
22845 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22846
22847         [BZ #15307]
22848         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22849         imaginary part between 1.0 and 1.5 and real part less than 0.5
22850         specially.
22851         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22852         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22853         * math/libm-test.inc (cacos_test): Add more tests.
22854         (casin_test): Likewise.
22855         (casinh_test): Likewise.
22856         * sysdeps/i386/fpu/libm-test-ulps: Update.
22857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22858
22859 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22860
22861         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22862         constants.
22863         (norm): Likewise.
22864         (denorm): Likewise.
22865         (__dbl_mp): Likewise.
22866         (add_magnitudes): Likewise.
22867         (sub_magnitudes): Likewise.
22868         (__add): Likewise.
22869         (__sub): Likewise.
22870         (__mul): Likewise.
22871         (__sqr): Likewise.
22872         (__inv): Likewise.
22873         (__dvd): Likewise.
22874
22875         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22876         commented code.
22877         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22878         (__dubcos): Likewise.
22879         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22880         (__ieee754_acos): Likewise.
22881         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22882         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22883         (__exp1): Likewise.
22884         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22886         (log1): Likewise.
22887         (my_log2): Likewise.
22888         (checkint): Likewise.
22889         * sysdeps/ieee754/dbl-64/e_remainder.c
22890         (__ieee754_remainder): Likewise.
22891         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22893         (bsloww): Likewise.
22894         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22895
22896         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22897         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22898         MANTISSA_STORE_T to store computations on mantissa.  Use
22899         macros for rounding and division.
22900         (denorm): Likewise.
22901         (__dbl_mp): Likewise.
22902         (add_magnitudes): Likewise.
22903         (sub_magnitudes): Likewise.
22904         (__mul): Likewise.
22905         (__sqr): Likewise.
22906         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22907         powers of two in terms of TWOPOW macro.
22908         (mp_no): Make type of mantissa as MANTISSA_T.
22909         [!RADIXI]: Define RADIXI.
22910         [!TWO52]: Define TWO52.
22911         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22912
22913 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22914
22915         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22916         llroundl symbol when building for PPC32.
22917
22918 2013-03-24  Mark H Weaver  <mhw@netris.org>
22919
22920         * manual/arith.texi (Normalization Functions): Fix prototypes for
22921         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22922
22923 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22924
22925         [BZ #13889]
22926         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22927         high value to check if expl overflow.
22928         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22929         to check for underflow and overflow.
22930         * math/libm-test.inc: Add exp test.
22931
22932 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22933
22934         [BZ #11120]
22935         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22936         with NOT_IN_libc.
22937
22938 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22939
22940         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22941         symbol.
22942
22943 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22944
22945         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22946         wrap blocks consisting of several statements.
22947
22948         * sysdeps/generic/math-tests.h: New file.
22949         * sysdeps/i386/fpu/math-tests.h: Likewise.
22950         * math/test-snan.c: Include it.
22951         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22952
22953 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22954
22955         [BZ #15285]
22956         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22957         (__ieee754_j0l): Do not improve calculations using cos of twice
22958         input for inputs above LDBL_MAX / 2.0L.
22959         (__ieee754_y0l): Likewise.
22960         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22961         (__ieee754_j1l): Do not improve calculations using cos of twice
22962         input for inputs above LDBL_MAX / 2.0L.
22963         (__ieee754_y1l): Likewise.
22964         * math/libm-test.inc (j0_test): Add another test.
22965         (j1_test): Likewise.
22966         (y0_test): Likewise.
22967         (y1_test): Likewise.
22968         * sysdeps/i386/fpu/libm-test-ulps: Update.
22969
22970 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22971
22972         * Rules ($(objpfx)bench-%.c): Include code from a C source
22973         file.
22974
22975 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22976
22977         [BZ #15287]
22978         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22979         imaginary part 1.0 and real part less than 0.5 specially.
22980         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22981         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22982         * math/libm-test.inc (cacos_test): Add more tests.
22983         (casin_test): Likewise.
22984         (casinh_test): Likewise.
22985         * sysdeps/i386/fpu/libm-test-ulps: Update.
22986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22987
22988 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22989
22990         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22991         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22992
22993 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22994
22995         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22996         * config.make.in (config-cflags-sse4): Remove variable.
22997         (config-cflags-avx): Likewise.
22998         (config-cflags-sse2avx): Likewise.
22999         (config-cflags-novzeroupper): Likewise.
23000         (config-asflags-i686): Likewise.
23001         (have-mfma4): Likewise.
23002         (have-as-vis3): Likewise.
23003         (MIG): Likewise.
23004         * configure.in (MIG): Do not AC_SUBST.
23005         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23006         (libc_cv_cc_sse4): Do not AC_SUBST.
23007         (libc_cv_cc_avx): Likewise.
23008         (libc_cv_cc_sse2avx): Likewise.
23009         (libc_cv_cc_novzeroupper): Likewise.
23010         (libc_cv_cc_fma4): Likewise.
23011         (libc_cv_as_i686): Likewise.
23012         (libc_cv_sparc_as_vis3): Likewise.
23013         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23014         LIBC_CONFIG_VAR.
23015         (config-asflags-i686): Likewise.
23016         (config-cflags-avx): Likewise.
23017         (config-cflags-sse2avx): Likewise.
23018         (have-mfma4): Likewise.
23019         (config-cflags-novzeroupper): Likewise.
23020         * sysdeps/mach/configure.in (MIG): Likewise.
23021         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23022         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23023         LIBC_CONFIG_VAR.
23024         (config-cflags-avx): Likewise.
23025         (config-cflags-sse2avx): Likewise.
23026         (have-mfma4): Likewise.
23027         (config-cflags-novzeroupper): Likewise.
23028         * configure: Regenerated.
23029         * sysdeps/i386/configure: Likewise.
23030         * sysdeps/mach/configure: Likewise.
23031         * sysdeps/sparc/configure: Likewise.
23032         * sysdeps/x86_64/configure: Likewise.
23033
23034 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23035
23036         [BZ #14812]
23037         * locale/programs/localedef.c (options): Put N_ translation marker
23038         on argument names, not just descriptions.
23039
23040 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23041
23042         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23043
23044 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23045
23046         [BZ #14176]
23047         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23048
23049 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23050
23051         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23052         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23053         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23054         [!BEFORE_ABORT] (before_abort): New function.
23055         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23056         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23057         (writev_for_fatal): New function.
23058         (WRITEV_FOR_FATAL): New macro; call that.
23059         (backtrace_and_maps): New function.
23060         (BEFORE_ABORT): New macro; call that.
23061         (struct str_list): Type removed.
23062         (__libc_message, __libc_fatal): Functions removed.
23063         Include <sysdeps/posix/libc_fatal.c> instead.
23064
23065 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23066
23067         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23068         constants.
23069         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23070         double constants.
23071
23072 2013-03-19  Andreas Schwab  <schwab@suse.de>
23073
23074         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23075         * sysdeps/gnu/configure: Regenerate.
23076
23077         * configure.in: Substitute libc_cv_rtlddir.
23078         * configure: Regenerate.
23079         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23080         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23081         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23082         * elf/Makefile (install-others, CFLAGS-interp.c)
23083         (ldso_install, common-ldd-rewrite): Likewise.
23084         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23085         $(inst_slibdir)/$(rtld-installed-name).
23086         * scripts/rellns-sh: Add -p option.
23087         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23088         for source.
23089
23090 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23091
23092         * manual/nptl.texi: Renamed to ...
23093         * manual/threads.texi: ... this.
23094         * manual/Makefile (chapters): Update.
23095
23096 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23097
23098         [BZ #14812]
23099         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23100         on argument names, not just descriptions.
23101         * malloc/memusagestat.c (options): Likewise.
23102         * nss/getent.c (options): Likewise.
23103
23104 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23105
23106         [BZ #14812]
23107         * iconv/iconv_prog.c (options): Put N_ translation marker
23108         on argument names, not just descriptions.
23109         * iconv/iconvconfig.c (options): Likewise.
23110
23111 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23112
23113         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23114         implementation which is faster on all x86_64 architectures.
23115         Tested on AMD, Intel Nehalem, SNB, IVB.
23116         * sysdeps/x86_64/strnlen.S: Likewise.
23117
23118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23119         Remove all multiarch strlen and strnlen versions.
23120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23121         Remove strlen and strnlen related parts.
23122
23123         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23124         Inline strlen part.
23125         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23126
23127         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23128         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23129         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23130         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23131         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23132         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23133
23134 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23135
23136         * manual/memory.texi (Malloc Tunable Parameters):
23137         Sort parameters alphabetically. Add comments for missing entries.
23138
23139 2013-03-17  David S. Miller  <davem@davemloft.net>
23140
23141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23142
23143 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23144
23145         [BZ #15283]
23146         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23147         for arguments at most half maximum finite value.
23148         * math/libm-test.inc (j0_test): Add more tests.
23149         (j1_test): Likewise.
23150         (y0_test): Likewise.
23151         (y1_test): Likewise.
23152         * sysdeps/i386/fpu/libm-test-ulps: Update.
23153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23154
23155         [BZ #14155]
23156         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23157         1 / x and functions P and Q for arguments above 0x1p256L.
23158         (__ieee754_y0l): Likewise.
23159         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23160         (__ieee754_y1l): Likewise.
23161         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23162         (j1_test): Likewise.
23163         (y0_test): Likewise.
23164         (y1_test): Likewise.
23165
23166 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23167
23168         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23169         variable.
23170
23171 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23172
23173         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23174         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23175         zero since it's initialized to EXEC_PAGESIZE.
23176
23177         * sysdeps/unix/sysv/linux/ldsodefs.h
23178         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23179         * sysdeps/generic/ldsodefs.h: ... here.
23180
23181 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23182
23183         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23184
23185         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23186         math/test-snan.c.
23187         * math/test-snan.c: Renamed from
23188         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23189         * math/Makefile (tests): Add test-snan.
23190         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23191         test-powerpc-snan.
23192
23193         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23194         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23195         functions.
23196         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23197         __builtin_nan family of functions.
23198         * math/libm-test.inc (initialize): Initialize qnan_value with
23199         __builtin_nan family of functions.
23200         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23201         Remove variables.
23202         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23203         Remove functions.
23204         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23205         storage class.  Initialize qNaN_var and sNaN_var with
23206         __builtin_nan and __builtin_nans families of functions,
23207         respectively.
23208
23209         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23210         (sqrt_test): Remove duplicate test with qNaN input.
23211         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23212         (round_test, signbit_test, significand_test): Note missing +/-Inf
23213         as well as qNaN tests.
23214
23215         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23216         qNaN_var.  Fix a few strings, too.
23217         * math/libm-test.inc (nan_value): Rename to qnan_value.
23218         * math/gen-libm-test.pl (%beautify): Adjust to that.
23219         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23220         * math/test-misc.c (main): Likewise.
23221         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23222         to __qnan_bytes, and __qnan_union, respectively.
23223         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23224         Likewise.
23225         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23226         and lqnanval, respectively.
23227         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23228         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23229         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23230         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23231
23232         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23233         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23234         doubles.
23235
23236         * math/test-misc.c (main): Fix copy'n'pastos.
23237         * misc/tst-efgcvt.c (special): Likewise.
23238
23239         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23240         Remove declarations.
23241
23242 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23243
23244         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23245         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23246         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23247         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23248
23249 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23250
23251         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23252         macro to return vdso values correctly in IFUNC implementations.
23253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23254         Optimization by using IFUNC.
23255
23256 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23257             Richard Henderson  <rth@redhat.com>
23258             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23259
23260         * Makefile.in (bench): New target.
23261         * NEWS: Mention the benchmark framework.
23262         * Rules (bench): Likewise.
23263         (binaries-bench): Generate binaries for functions to
23264         benchmark.
23265         * benchtests/Makefile: New makefile for benchmark tests.
23266         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23267         programs.
23268         * benchtests/exp-inputs: New input file for EXP function.
23269         * benchtests/pow-inputs: New input file for POW function.
23270         * scripts/bench.pl: New script to generate source files for
23271         benchmark programs.
23272
23273 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23274
23275         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23276         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23277         computations on mantissa.  Use macros for rounding and
23278         division.
23279         (denorm): Likewise.
23280         (__dbl_mp): Likewise.
23281         (add_magnitudes): Likewise.
23282         (sub_magnitudes): Likewise.
23283         (__mul): Likewise.
23284         (__sqr): Likewise.
23285         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23286         powers of two in terms of TWOPOW macro.
23287         (mp_no): Make type of mantissa as MANTISSA_T.
23288         [!RADIXI]: Define RADIXI.
23289         [!TWO52]: Define TWO52.
23290         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23291
23292         * manual/nptl.texi (cindex): Modify threads to pthreads.
23293
23294 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23295
23296         * sysdeps/x86_64/preconfigure: Regenerated.
23297
23298 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23299
23300         [BZ #14155]
23301         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23302         0x1p28 and above.
23303         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23304         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23305         0x1p28 and above.
23306         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23307         * math/libm-test.inc (j0_test): Do not allow one spurious
23308         underflow exception.
23309         (y1_test): Likewise.
23310
23311 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23312
23313         * manual/Makefile (chapters): Add nptl.
23314         * manual/debug.texi (Debugging Support): Add link to Threads
23315         chapter.
23316         * manual/nptl.texi: New file.
23317
23318         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23319
23320 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23321
23322         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23323         for non-NULL pointer before the memory validity test. Pointed
23324         out by Holger Brunck <holger.brunck@keymile.com>.
23325
23326 2013-03-13  Andreas Schwab  <schwab@suse.de>
23327
23328         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23329         instead of .os.
23330
23331 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23332
23333         * timezone/zic.c: Update from tzcode 2013b.
23334
23335 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23336
23337         * manual/install.texi (Configuring and compiling):
23338         Mention i686 and i586.
23339         * INSTALL: Regenerate.
23340
23341 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23342
23343         * sysdeps/init_array/elf-init.c: New file.
23344         * csu/elf-init.c
23345         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23346         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23347
23348         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23349         __gmon_start__ as global, but as static with a .preinit_array pointer.
23350         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23351         * sysdeps/init_array/crti.S: New file, empty except for comments.
23352         * sysdeps/init_array/crtn.S: Likewise.
23353
23354 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23355
23356         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23357         definining bcopy.
23358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23359         Remove Prefer_SSE_for_memop.
23360         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23361         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23362         HAS_PREFER_SSE_FOR_MEMOP.
23363         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23364         memset-x86-64.
23365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23366         Remove bzero, memset ifunc support.
23367         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23368         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23369         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23370         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23371
23372 2013-03-11  Andreas Schwab  <schwab@suse.de>
23373
23374         [BZ #15234]
23375         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23376         by SHLIB_COMPAT.
23377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23378         (GLIBC_2.16): Remove pthread_atfork.
23379
23380 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23381
23382         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23383         (ptestcases.h): Likewise.
23384
23385 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23386
23387         * Makeconfig ($(common-objpfx)config.status): Depend on
23388         sysdeps/*/preconfigure{,.in} too.
23389
23390 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23391
23392         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23393         (__free_hook): Use void * instead of __malloc_ptr_t.
23394         (__malloc_hook): Likewise.
23395         (__realloc_hook): Likewise.
23396         (__memalign_hook): Likewise.
23397         (__after_morecore_hook): Likewise.
23398         * malloc/arena.c (save_malloc_hook): Likewise.
23399         (save_free_hook): Likewise.
23400         * malloc/hooks.c (malloc_hook_ini): Likewise.
23401         (realloc_hook_ini): Likewise.
23402         (memalign_hook_ini): Likewise.
23403         * malloc/malloc.c (malloc_hook_ini): Likewise.
23404         (realloc_hook_ini): Likewise.
23405         (memalign_hook_ini): Likewise.
23406         (__free_hook): Likewise.
23407         (__malloc_hook): Likewise.
23408         (__realloc_hook): Likewise.
23409         (__memalign_hook): Likewise.
23410         (__libc_malloc): Likewise.
23411         (__libc_free): Likewise.
23412         (__libc_realloc): Likewise.
23413         (__libc_memalign): Likewise.
23414         (__libc_valloc): Likewise.
23415         (__libc_pvalloc): Likewise.
23416         (__libc_calloc): Likewise.
23417         (__posix_memalign): Likewise.
23418         * malloc/morecore.c (__sbrk): Likewise.
23419         (__default_morecore): Likewise.
23420
23421         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23422
23423         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23424         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23425         __malloc_ptrdiff_t.
23426
23427         * malloc/malloc.h (__malloc_size_t): Remove macro.
23428         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23429         __malloc_size_t.
23430         (old_memalign_hook): Likewise.
23431         (old_realloc_hook): Likewise.
23432         (struct hdr): Likewise.
23433         (flood): Likewise.
23434         (mallochook): Likewise.
23435         (memalignhook): Likewise.
23436         (reallochook): Likewise.
23437         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23438         (tr_old_realloc_hook): Likewise.
23439         (tr_old_memalign_hook): Likewise.
23440         (tr_mallochook): Likewise.
23441         (tr_reallochook): Likewise.
23442         (tr_memalignhook): Likewise.
23443
23444 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23445
23446         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23447         default_ldbl_pack and using as default implementation.
23448         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23449         implementation.
23450         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23451         redundant definition.
23452         (ldbl_insert_mantissa): Likewise.
23453         (ldbl_canonicalize): Likewise.
23454         (ldbl_nearbyint): Likewise.
23455         (ldbl_pack): Rename to ldbl_pack_ppc.
23456         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23457         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23458         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23459
23460 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23461
23462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23463         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23464         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23465         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23467         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23468         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23469         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23470
23471 2013-03-07  Andreas Jaeger  <aj@suse.de>
23472
23473         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23474         bits/mman-linux.h.
23475
23476 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23477
23478         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23479         Include mpa.h and declare __MPEXP.
23480         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23481         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23482         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23483         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23484         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23485         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23486         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23487
23488         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23489         (__slowpow): Use long double EXPL and LOGL functions to
23490         compute POW.
23491         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23492         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23493         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23494         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23495         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23496         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23497
23498         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23499         intermediate variable to calculate exponent.
23500         (__sqr): Likewise.
23501         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23502         Likewise.
23503         (__sqr): Likewise.
23504
23505         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23506         [!NO__SQR]: Define __sqr.
23507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23508         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23509         sysdeps/ieee754/dbl-64/mpa.c.
23510         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23511
23512         [BZ #12723]
23513         * posix/Makefile (tests): Add tst-pathconf.
23514         * posix/tst-pathconf.c: New test case.
23515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23516         _PC_PIPE_BUF.
23517         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23518
23519 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23520
23521         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23522
23523 2013-03-06  Andreas Jaeger  <aj@suse.de>
23524
23525         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23526         definition via __MAP_ANONYMOUS.
23527
23528         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23529         it's not part of Linux headers.
23530
23531         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23532         (MAP_HUGE_MASK): Define.
23533
23534         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23535         Define.
23536         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23537         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23538         Define.
23539         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23540         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23541         Define.
23542         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23543         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23544         Define.
23545         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23546
23547         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23548         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23549         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23550         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23551         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23552         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23553
23554         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23555         Handle f2fs.
23556
23557         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23558         Handle f2fs and efivarfs.
23559
23560         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23561         f2fs.
23562
23563         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23564         (EFIVARFS_MAGIC): Add.
23565         (F2FS_LINK_MAX): Add.
23566
23567 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23568
23569         * stdio-common/vfprintf.c: Replace __builtin_expect with
23570         __glibc_unlikely.
23571
23572 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23573
23574         [BZ #13550]
23575         * sysdeps/generic/bp-sym.h: Remove file.
23576         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23577         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23578         <bp-sym.h> and <bp-asm.h>.
23579         (__longjmp): Don't use BP_SYM.
23580         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23581         and <bp-asm.h>.
23582         (memcpy): Don't use BP_SYM.
23583         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23584         <bp-sym.h> and <bp-asm.h>.
23585         (memcpy): Don't use BP_SYM.
23586         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23587         <bp-asm.h>.
23588         (memcpy): Don't use BP_SYM.
23589         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23590         <bp-asm.h>.
23591         (memset): Don't use BP_SYM.
23592         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23593         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23594         (__bzero): Don't use BP_SYM.
23595         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23596         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23597         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23598         <bp-sym.h> and <bp-asm.h>.
23599         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23600         pointers.
23601         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23602         <bp-sym.h> and <bp-asm.h>.
23603         (memcpy): Don't use BP_SYM.
23604         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23605         <bp-sym.h> and <bp-asm.h>.
23606         (memset): Don't use BP_SYM.
23607         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23608         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23609         (__bzero): Don't use BP_SYM.
23610         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23611         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23612         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23613         <bp-sym.h> and <bp-asm.h>.
23614         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23615         pointers.
23616         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23617         <bp-sym.h> and <bp-asm.h>.
23618         (memcpy): Don't use BP_SYM.
23619         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23620         <bp-sym.h> and <bp-asm.h>.
23621         (memset): Don't use BP_SYM.
23622         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23623         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23624         (__bzero): Don't use BP_SYM.
23625         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23626         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23628         <bp-sym.h> and <bp-asm.h>.
23629         (__memchr): Don't use BP_SYM.
23630         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23631         <bp-sym.h> and <bp-asm.h>.
23632         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23633         pointers.
23634         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23635         <bp-sym.h> and <bp-asm.h>.
23636         (memcpy): Don't use BP_SYM.
23637         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23638         <bp-sym.h> and <bp-asm.h>.
23639         (__mempcpy): Don't use BP_SYM.
23640         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23641         <bp-sym.h> and <bp-asm.h>.
23642         (__memrchr): Don't use BP_SYM.
23643         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23644         <bp-sym.h> and <bp-asm.h>.
23645         (memset): Don't use BP_SYM.
23646         (__bzero): Likewise.
23647         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23648         <bp-sym.h> and <bp-asm.h>.
23649         (__rawmemchr): Don't use BP_SYM.
23650         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23651         <bp-sym.h> and <bp-asm.h>.
23652         (__STRCMP): Don't use BP_SYM.
23653         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23654         <bp-sym.h> and <bp-asm.h>.
23655         (strchr): Don't use BP_SYM.
23656         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23657         <bp-sym.h> and <bp-asm.h>.
23658         (__strchrnul): Don't use BP_SYM.
23659         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23660         <bp-sym.h> and <bp-asm.h>.
23661         (strlen): Don't use BP_SYM.
23662         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23663         <bp-sym.h> and <bp-asm.h>.
23664         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23665         pointers.
23666         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23667         <bp-sym.h> and <bp-asm.h>.
23668         (__strnlen): Don't use BP_SYM.
23669         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23670         <bp-sym.h> and <bp-asm.h>.
23671         (__GI__setjmp): Don't use BP_SYM.
23672         (_setjmp): Likewise.
23673         (__sigsetjmp): Likewise.
23674         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23675         (L(start_addresses)): Don't use BP_SYM.
23676         (_start): Likewise.
23677         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23678         <bp-asm.h>.
23679         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23680         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23681         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23682         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23683         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23684         <bp-asm.h>.
23685         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23686         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23687         about bounded pointers.
23688         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23689         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23690         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23691         <bp-asm.h>.
23692         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23693         about bounded pointers.  Remove GKM FIXME comments.
23694         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23695         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23696         <bp-asm.h>.
23697         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23698         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23699         Remove GKM FIXME comments.
23700         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23701         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23702         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23703         <bp-asm.h>.
23704         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23705         about bounded pointers.  Remove GKM FIXME comment.
23706         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23707         and <bp-asm.h>.
23708         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23709         pointers.
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23711         <bp-sym.h> and <bp-asm.h>.
23712         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23714         <bp-sym.h> and <bp-asm.h>.
23715         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23716         comment.
23717
23718 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23719
23720         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23721         call free(NULL).
23722
23723 2013-03-05  David S. Miller  <davem@davemloft.net>
23724
23725         * po/es.po: Update from translation team.
23726
23727 2013-03-05  Andreas Jaeger  <aj@suse.de>
23728
23729         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23730         <bits/mman-linux.h>.
23731         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23732         is fine.
23733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23734         <bits/mman-linux.h> to end of file.
23735         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23736         is fine.
23737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23738         <bits/mman-linux.h> to end of file.
23739         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23740         is fine.
23741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23742         <bits/mman-linux.h> to end of file.
23743
23744         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23745         (MCL_CURRENT, MCL_FUTURE): Define here.
23746
23747 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23748
23749         [BZ #15232]
23750         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23751         attribute_hidden.
23752         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23753
23754 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23755
23756         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23757         fourth parameter needed for rt_sigprocmask syscall.
23758         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23759         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23760         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23761         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23762         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23763         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23764
23765 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23766
23767         [BZ #13550]
23768         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23769         comment about bounded pointers.
23770         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23771         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23772
23773 2013-03-04  Andreas Jaeger  <aj@suse.de>
23774
23775         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23776         common definitions.
23777
23778         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23779         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23780         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23781         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23782         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23784
23785 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23786
23787         [BZ #15055]
23788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23789         __ieee754_sqrl instead of __sqrl.
23790
23791 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23792
23793         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23794         * sysdeps/powerpc/fpu_control.h: ... here.
23795         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23796         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23797         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23798         * sysdeps/powerpc/bits/mathinline.h: ... here.
23799
23800 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23801
23802         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23803         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23804         to just [NEED_DL_SYSINFO_DSO].
23805         * elf/dl-support.c: Likewise.
23806         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23807         * elf/rtld.c (dl_main): Likewise.
23808         * elf/setup-vdso.h (setup_vdso): Likewise.
23809         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23810         * sysdeps/unix/sysv/linux/dl-sysdep.c
23811         (_dl_discover_osversion): Likewise.
23812
23813 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23814
23815         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23816         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23817
23818 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23819
23820         * NEWS: Mention libm performance improvements and non-x86 PI
23821         futex support.
23822
23823         * csu/libc-start.c (__pthread_initialize_minimal): Change
23824         function arguments.
23825         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23826
23827 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23828
23829         [BZ #13550]
23830         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23831         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23832         <bp-sym.h> and <bp-asm.h>.
23833         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23834         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23835         and <bp-asm.h>.
23836         (memcpy): Don't use BP_SYM.
23837         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23838         <bp-asm.h>.
23839         (__mpn_add_n): Don't use BP_SYM.
23840         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23841         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23842         and <bp-asm.h>.
23843         (__mpn_addmul_1): Don't use BP_SYM.
23844         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23845         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23846         <bp-sym.h>.
23847         (_setjmp): Don't use BP_SYM.
23848         (__novmx_setjmp): Likewise.
23849         (__GI__setjmp): Likewise.
23850         (__vmx_setjmp): Likewise.
23851         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23852         <bp-sym.h>.
23853         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23854         (__bzero): Don't use BP_SYM.
23855         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23856         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23857         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23858         <bp-sym.h> and <bp-asm.h>.
23859         (memcpy): Don't use BP_SYM.
23860         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23861         <bp-sym.h> and <bp-asm.h>.
23862         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23863         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23864         <bp-sym.h> and <bp-asm.h>.
23865         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23866         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23867         <bp-asm.h>.
23868         (__mpn_lshift): Don't use BP_SYM.
23869         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23870         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23871         <bp-asm.h>.
23872         (memset): Don't use BP_SYM.
23873         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23874         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23875         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23876         <bp-asm.h>.
23877         (__mpn_mul_1): Don't use BP_SYM.
23878         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23879         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23880         <bp-sym.h> and <bp-asm.h>.
23881         (memcmp): Don't use BP_SYM.
23882         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23883         <bp-sym.h> and <bp-asm.h>.
23884         (memcpy): Don't use BP_SYM.
23885         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23886         <bp-sym.h> and <bp-asm.h>.
23887         (memset): Don't use BP_SYM.
23888         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23889         <bp-sym.h> and <bp-asm.h>.
23890         (strncmp): Don't use BP_SYM.
23891         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23892         <bp-sym.h> and <bp-asm.h>.
23893         (memcpy): Don't use BP_SYM.
23894         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23895         <bp-sym.h> and <bp-asm.h>.
23896         (memset): Don't use BP_SYM.
23897         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23898         <bp-sym.h> and <bp-asm.h>.
23899         (__memchr): Don't use BP_SYM.
23900         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23901         <bp-sym.h> and <bp-asm.h>.
23902         (memcmp): Don't use BP_SYM.
23903         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23904         <bp-sym.h> and <bp-asm.h>.
23905         (memcpy): Don't use BP_SYM.
23906         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23907         <bp-sym.h> and <bp-asm.h>.
23908         (__mempcpy): Don't use BP_SYM.
23909         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23910         <bp-sym.h> and <bp-asm.h>.
23911         (__memrchr): Don't use BP_SYM.
23912         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23913         <bp-sym.h> and <bp-asm.h>.
23914         (memset): Don't use BP_SYM.
23915         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23916         <bp-sym.h> and <bp-asm.h>.
23917         (__rawmemchr): Don't use BP_SYM.
23918         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23919         <bp-sym.h> and <bp-asm.h>.
23920         (__STRCMP): Don't use BP_SYM.
23921         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23922         <bp-sym.h> and <bp-asm.h>.
23923         (strchr): Don't use BP_SYM.
23924         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23925         <bp-sym.h> and <bp-asm.h>.
23926         (__strchrnul): Don't use BP_SYM.
23927         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23928         <bp-sym.h> and <bp-asm.h>.
23929         (strlen): Don't use BP_SYM.
23930         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23931         <bp-sym.h> and <bp-asm.h>.
23932         (strncmp): Don't use BP_SYM.
23933         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23934         <bp-sym.h> and <bp-asm.h>.
23935         (__strnlen): Don't use BP_SYM.
23936         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23937         <bp-asm.h>.
23938         (__mpn_rshift): Don't use BP_SYM.
23939         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23940         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23941         <bp-sym.h> and <bp-asm.h>.
23942         (__sigsetjmp): Don't use BP_SYM.
23943         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23944         (L(start_addresses)): Don't use BP_SYM.
23945         (_start): Likewise.
23946         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23947         <bp-asm.h>.
23948         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23949         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23950         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23951         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23952         <bp-asm.h>.
23953         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23954         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23955         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23956         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23957         <bp-asm.h>.
23958         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23959         comments.
23960         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23961         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23962         <bp-asm.h>.
23963         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23964         FIXME comments.
23965         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23966         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23967         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23968         <bp-asm.h>.
23969         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23970         comment.
23971         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23972         and <bp-asm.h>.
23973         (strncmp): Don't use BP_SYM,
23974         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23975         <bp-asm.h>.
23976         (__mpn_sub_n): Don't use BP_SYM.
23977         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23978         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23979         and <bp-asm.h>.
23980         (__mpn_submul_1): Don't use BP_SYM.
23981         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23983         <bp-sym.h> and <bp-asm.h>.
23984         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23986         <bp-sym.h> and <bp-asm.h>.
23987         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23988         comment.
23989
23990 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23991
23992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23993         Use ZK to minimize writes to Z.
23994         (sub_magnitudes): Simplify code a bit.
23995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23996         Use ZK to minimize writes to Z.
23997         (sub_magnitudes): Simplify code a bit.
23998
23999 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24000
24001         * csu/gmon-start.c: Add special exception to license text.
24002
24003 2013-02-27  Richard Henderson  <rth@redhat.com>
24004
24005         * scripts/config.guess: Update from config.git.
24006         * scripts/config.sub: Likewise.
24007
24008 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24009
24010         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24011
24012         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24013
24014         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24015
24016         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24017
24018         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24019
24020 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24021
24022         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24023         [$(build-shared = yes].
24024
24025 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24026
24027         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24028         (__mul): Reduce iterations for calculating mantissa.
24029
24030         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24031         MPTWO.
24032         (__mpranred): Likewise.
24033
24034         [BZ #15160]
24035         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24036         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24037
24038 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24039
24040         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24041         Define __attribute__.
24042
24043 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24044
24045         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24046         unused.
24047         * posix/regex_internal.h (__attribute): Remove.
24048         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24049         (re_string_context_at): Likewise.
24050         (bitset_not): Use __attribute__ and mark function as possibly
24051         unused.
24052         (bitset_merge): Likewise.
24053         (bitset_mask): Likewise.
24054         (re_string_char_size_at): Likewise.
24055         (re_string_wchar_at): Likewise.
24056         (re_string_elem_size_at): Likewise.
24057
24058 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24059
24060         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24061         code.
24062         (cc32): Likewise.
24063
24064         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24065         (__acr): Likewise.
24066         (__cpy): Likewise.
24067         (norm): Likewise.
24068         (denorm): Likewise.
24069         (__dbl_mp): Likewise.
24070         (add_magnitudes): Likewise.
24071         (sub_magnitudes): Likewise.
24072         (__mul): Likewise.
24073         (__inv): Likewise.
24074
24075         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24076         style.
24077
24078         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24079         style.
24080
24081         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24082         code.
24083
24084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24085         up changes with default code.
24086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24087         Likewise.
24088
24089 2013-02-24  Allan McRae  <allan@archlinux.org>
24090
24091         * manual/socket.texi (The Internet Namespace): Order menu items
24092         to match that in the file.
24093
24094         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24095         node listing of the info page menu.
24096
24097 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24098
24099         [BZ #13550]
24100         * sysdeps/i386/bp-asm.h: Remove file.
24101         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24102         (PARMS): Do not use macros from bp-asm.h.
24103         (S1): Likewise.
24104         (S2): Likewise.
24105         (SIZE): Likewise.
24106         (__mpn_add_n): Do not use BP_SYM
24107         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24108         "bp-asm.h".
24109         (PARMS): Do not use macros from bp-asm.h.
24110         (S1): Likewise.
24111         (SIZE): Likewise.
24112         (__mpn_addmul_1): Do not use BP_SYM
24113         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24114         "bp-asm.h".
24115         (PARMS): Do not use macros from bp-asm.h.
24116         (SIGMSK): Likewise.
24117         (_setjmp): Likewise.  Do not use BP_SYM.
24118         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24119         "bp-asm.h".
24120         (PARMS): Do not use macros from bp-asm.h.
24121         (SIGMSK): Likewise.
24122         (setjmp): Likewise.  Do not use BP_SYM.
24123         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24124         "bp-asm.h".
24125         (PARMS): Do not use macros from bp-asm.h.
24126         (__frexp): Do not use BP_SYM.
24127         (frexp): Likewise.
24128         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24129         "bp-asm.h".
24130         (PARMS): Do not use macros from bp-asm.h.
24131         (__frexpf): Do not use BP_SYM.
24132         (frexpf): Likewise.
24133         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24134         "bp-asm.h".
24135         (PARMS): Do not use macros from bp-asm.h.
24136         (__frexpl): Do not use BP_SYM.
24137         (frexpl): Likewise.
24138         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24139         "bp-asm.h".
24140         (PARMS): Do not use macros from bp-asm.h.
24141         (__remquo): Do not use BP_SYM.
24142         (remquo): Likewise.
24143         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24144         "bp-asm.h".
24145         (PARMS): Do not use macros from bp-asm.h.
24146         (__remquof): Do not use BP_SYM.
24147         (remquof): Likewise.
24148         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24149         "bp-asm.h".
24150         (PARMS): Do not use macros from bp-asm.h.
24151         (__remquol): Do not use BP_SYM.
24152         (remquol): Likewise.
24153         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24154         "bp-asm.h".
24155         (PARMS): Do not use macros from bp-asm.h.
24156         (DEST): Likewise.
24157         (SRC): Likewise.
24158         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24159         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24160         "bp-asm.h".
24161         (PARMS): Do not use macros from bp-asm.h.
24162         (strlen): Do not use BP_SYM.
24163         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24164         "bp-asm.h".
24165         (PARMS): Do not use macros from bp-asm.h.
24166         (S1): Likewise.
24167         (S2): Likewise.
24168         (SIZE): Likewise.
24169         (__mpn_add_n): Do not use BP_SYM.
24170         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24171         "bp-asm.h".
24172         (PARMS): Do not use macros from bp-asm.h.
24173         (S1): Likewise.
24174         (SIZE): Likewise.
24175         (__mpn_addmul_1): Do not use BP_SYM.
24176         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24177         weak_alias.
24178         (bzero): Likewise.
24179         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24180         "bp-asm.h".
24181         (PARMS): Do not use macros from bp-asm.h.
24182         (S): Likewise.
24183         (SIZE): Likewise.
24184         (__mpn_lshift): Do not use BP_SYM.
24185         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24186         "bp-asm.h".
24187         (PARMS): Do not use macros from bp-asm.h.
24188         (DEST): Likewise.
24189         (SRC): Likewise.
24190         (LEN): Likewise.
24191         (memcpy): Likewise.  Do not use BP_SYM.
24192         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24193         libc_hidden_def and weak_alias.
24194         (mempcpy): Do not use BP_SYM in weak_alias.
24195         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24196         "bp-asm.h".
24197         (PARMS): Do not use macros from bp-asm.h.
24198         (DEST): Likewise.
24199         (LEN): Likewise.
24200         [!BZERO_P] (CHR): Likewise.
24201         (memset): Likewise.  Do not use BP_SYM.
24202         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24203         "bp-asm.h".
24204         (PARMS): Do not use macros from bp-asm.h.
24205         (S1): Likewise.
24206         (SIZE): Likewise.
24207         (__mpn_mul_1): Do not use BP_SYM.
24208         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24209         "bp-asm.h".
24210         (PARMS): Do not use macros from bp-asm.h.
24211         (S): Likewise.
24212         (SIZE): Likewise.
24213         (__mpn_rshift): Do not use BP_SYM.
24214         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24215         "bp-asm.h".
24216         (PARMS): Do not use macros from bp-asm.h.
24217         (STR): Likewise.
24218         (CHR): Likewise.
24219         (strchr): Likewise.  Do not use BP_SYM.
24220         (index): Do not use BP_SYM in weak_alias.
24221         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24222         "bp-asm.h".
24223         (PARMS): Do not use macros from bp-asm.h.
24224         (DEST): Likewise.
24225         (SRC): Likewise.
24226         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24227         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24228         "bp-asm.h".
24229         (PARMS): Do not use macros from bp-asm.h.
24230         (strlen): Do not use BP_SYM.
24231         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24232         "bp-asm.h".
24233         (PARMS): Do not use macros from bp-asm.h.
24234         (S1): Likewise.
24235         (S2): Likewise.
24236         (SIZE): Likewise.
24237         (__mpn_sub_n): Do not use BP_SYM.
24238         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24239         "bp-asm.h".
24240         (PARMS): Do not use macros from bp-asm.h.
24241         (S1): Likewise.
24242         (SIZE): Likewise.
24243         (__mpn_submul_1): Do not use BP_SYM.
24244         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24245         "bp-asm.h".
24246         (PARMS): Do not use macros from bp-asm.h.
24247         (S1): Likewise.
24248         (S2): Likewise.
24249         (SIZE): Likewise.
24250         (__mpn_add_n): Do not use BP_SYM.
24251         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24252         weak_alias.
24253         (bzero): Likewise.
24254         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24255         "bp-asm.h".
24256         (PARMS): Do not use macros from bp-asm.h.
24257         (BLK2): Likewise.
24258         (LEN): Likewise.
24259         (memcmp): Do not use BP_SYM.
24260         (bcmp): Do not use BP_SYM in weak_alias.
24261         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24262         "bp-asm.h".
24263         (PARMS): Do not use macros from bp-asm.h.
24264         (DEST): Likewise.
24265         (SRC): Likewise.
24266         (LEN): Likewise.
24267         (memcpy): Likewise.  Do not use BP_SYM.
24268         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24269         "bp-asm.h".
24270         (PARMS): Do not use macros from bp-asm.h.
24271         (DEST): Likewise.
24272         (SRC): Likewise.
24273         (LEN): Likewise.
24274         (memmove): Likewise.  Do not use BP_SYM.
24275         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24276         "bp-asm.h".
24277         (PARMS): Do not use macros from bp-asm.h.
24278         (DEST): Likewise.
24279         (SRC): Likewise.
24280         (LEN): Likewise.
24281         (__mempcpy): Likewise.  Do not use BP_SYM.
24282         (mempcpy): Do not use BP_SYM in weak_alias.
24283         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24284         "bp-asm.h".
24285         (PARMS): Do not use macros from bp-asm.h.
24286         (DEST): Likewise.
24287         (LEN): Likewise.
24288         [!BZERO_P] (CHR): Likewise.
24289         (memset): Likewise.  Do not use BP_SYM.
24290         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24291         "bp-asm.h".
24292         (PARMS): Do not use macros from bp-asm.h.
24293         (STR2): Likewise.
24294         (strcmp): Do not use BP_SYM.
24295         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24296         "bp-asm.h".
24297         (PARMS): Do not use macros from bp-asm.h.
24298         (STR): Likewise.
24299         (DELIM): Likewise.
24300         [USE_AS_STRTOK_R] (SAVE): Likewise.
24301         (FUNCTION): Likewise.  Do not use BP_SYM.
24302         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24303         aliases.
24304         (strtok_r): Likewise.
24305         (__GI___strtok_r): Likewise.
24306         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24307         (PARMS): Do not use macros from bp-asm.h.
24308         (S): Likewise.
24309         (SIZE): Likewise.
24310         (__mpn_lshift): Do not use BP_SYM.
24311         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24312         (PARMS): Do not use macros from bp-asm.h.
24313         (STR): Likewise.
24314         (CHR): Likewise.
24315         (__memchr): Do not use BP_SYM.
24316         (memchr): Do not use BP_SYM in weak_alias.
24317         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24318         (PARMS): Do not use macros from bp-asm.h.
24319         (BLK2): Likewise.
24320         (LEN): Likewise.
24321         (memcmp): Do not use BP_SYM.
24322         (bcmp): Do not use BP_SYM in weak_alias.
24323         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24324         (PARMS): Do not use macros from bp-asm.h.
24325         (S1): Likewise.
24326         (SIZE): Likewise.
24327         (__mpn_mul_1): Do not use BP_SYM.
24328         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24329         "bp-asm.h".
24330         (PARMS): Do not use macros from bp-asm.h.
24331         (STR): Likewise.
24332         (CHR): Likewise.
24333         (__rawmemchr): Do not use BP_SYM.
24334         (rawmemchr): Do not use BP_SYM in weak_alias.
24335         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24336         (PARMS): Do not use macros from bp-asm.h.
24337         (S): Likewise.
24338         (SIZE): Likewise.
24339         (__mpn_rshift): Do not use BP_SYM.
24340         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24341         (PARMS): Do not use macros from bp-asm.h.
24342         (SIGMSK): Likewise.
24343         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24344         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24345         (_start): Do not use BP_SYM.
24346         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24347         (PARMS): Do not use macros from bp-asm.h.
24348         (DEST): Likewise.
24349         (SRC): Likewise.
24350         (__stpcpy): Likewise.  Do not use BP_SYM.
24351         (stpcpy): Do not use BP_SYM in weak_alias.
24352         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24353         "bp-asm.h".
24354         (PARMS): Do not use macros from bp-asm.h.
24355         (DEST): Likewise.
24356         (SRC): Likewise.
24357         (LEN): Likewise.
24358         (__stpncpy): Likewise.  Do not use BP_SYM.
24359         (stpncpy): Do not use BP_SYM in weak_alias.
24360         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24361         (PARMS): Do not use macros from bp-asm.h.
24362         (STR): Likewise.
24363         (CHR): Likewise.
24364         (strchr): Likewise.  Do not use BP_SYM.
24365         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24366         "bp-asm.h".
24367         (PARMS): Do not use macros from bp-asm.h.
24368         (STR): Likewise.
24369         (CHR): Likewise.
24370         (__strchrnul): Likewise.  Do not use BP_SYM.
24371         (strchrnul): Do not use BP_SYM in weak_alias.
24372         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24373         "bp-asm.h".
24374         (PARMS): Do not use macros from bp-asm.h.
24375         (STOP): Likewise.
24376         (strcspn): Do not use BP_SYM.
24377         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24378         "bp-asm.h".
24379         (PARMS): Do not use macros from bp-asm.h.
24380         (STR): Likewise.
24381         (STOP): Likewise.
24382         (strpbrk): Likewise.  Do not use BP_SYM.
24383         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24384         "bp-asm.h".
24385         (PARMS): Do not use macros from bp-asm.h.
24386         (STR): Likewise.
24387         (CHR): Likewise.
24388         (strrchr): Likewise.  Do not use BP_SYM.
24389         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24390         (PARMS): Do not use macros from bp-asm.h.
24391         (SKIP): Likewise.
24392         (strspn): Do not use BP_SYM.
24393         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24394         (PARMS): Do not use macros from bp-asm.h.
24395         (STR): Likewise.
24396         (DELIM): Likewise.
24397         (SAVE): Likewise.
24398         (FUNCTION): Likewise.  Do not use BP_SYM.
24399         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24400         aliases.
24401         (strtok_r): Likewise.
24402         (__GI___strtok_r): Likewise.
24403         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24404         (PARMS): Do not use macros from bp-asm.h.
24405         (S1): Likewise.
24406         (S2): Likewise.
24407         (SIZE): Likewise.
24408         (__mpn_sub_n): Do not use BP_SYM.
24409         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24410         "bp-asm.h".
24411         (PARMS): Do not use macros from bp-asm.h.
24412         (S1): Likewise.
24413         (SIZE): Likewise.
24414         (__mpn_submul_1): Do not use BP_SYM.
24415         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24416         <bp-sym.h>.
24417         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24418         and <bp-asm.h>.
24419         (PARMS): Do not use macros from bp-asm.h.
24420         (FLAGS): Likewise.
24421         (PTID): Likewise.
24422         (TLS): Likewise.
24423         (CTID): Likewise.
24424         (__clone): Do not use BP_SYM.
24425         (clone): Do not use BP_SYM in weak_alias.
24426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24427         and <bp-asm.h>.
24428         (PARMS): Do not use macros from bp-asm.h.
24429         (LEN): Likewise.
24430         (__mmap64): Do not use BP_SYM.
24431         (mmap64): Do not use BP_SYM in weak_alias.
24432         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24433         <bp-sym.h> and <bp-asm.h>.
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (__posix_fadvise64_l64): Do not use BP_SYM.
24436         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24437         (PARMS): Do not use macros from bp-asm.h.
24438         (NSOPS): Likewise.
24439         (semtimedop): Do not use BP_SYM.
24440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24441         and <bp-asm.h>.
24442
24443 2013-02-21  Allan McRae  <allan@archlinux.org>
24444
24445         * manual/message.texi (Charset conversion in gettext):
24446         Move @end statement to beginning of line.
24447
24448 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24449
24450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24451         static.
24452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24453         Likewise.
24454
24455         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24456         (denorm): Likewise.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24459
24460 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24461
24462         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24463         tail-call to the resolved function if pltexit isn't needed.
24464
24465 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24466
24467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24468         or Y being zero as being unlikely.
24469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24470         Likewise.
24471
24472 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24473
24474         * manual/nss.texi (System Databases and Name Service Switch):
24475         Remove frobnicate @pxref.
24476
24477 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24478
24479         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24480         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24481
24482 2013-02-20  Petr Machata  <pmachata@redhat.com>
24483
24484         * elf/elf.h (R_ARM_TARGET1): New macro.
24485         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24486         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24487         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24488         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24489         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24490         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24491         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24492         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24493         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24494         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24495         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24496         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24497         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24498         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24499         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24500         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24501         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24502         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24503         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24504         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24505         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24506         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24507         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24508         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24509         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24510         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24511         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24512         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24513         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24514         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24515         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24516         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24517         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24518         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24519         (R_ARM_THM_GOT_BREL12): Likewise.
24520         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24521         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24522         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24523         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24524         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24525         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24526         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24527         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24528         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24529
24530 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24531
24532         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24533         __attribute_used__ to __attribute__ ((unused)).
24534
24535 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24536
24537         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24538         powerpc mpa.c.
24539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24540         comment formatting.
24541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24542
24543 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24544
24545         [BZ #13550]
24546         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24547         Remove macro.
24548         (ENTER): Remove both macro definitions.
24549         (LEAVE): Likewise.
24550         (CHECK_BOUNDS_LOW): Likewise.
24551         (CHECK_BOUNDS_HIGH): Likewise.
24552         (CHECK_BOUNDS_BOTH): Likewise.
24553         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24554         (RETURN_BOUNDED_POINTER): Likewise.
24555         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24556         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24557         (POP_ERRNO_LOCATION_RETURN): Likewise.
24558         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24559         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24560         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24561         macros.
24562         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24563         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24564         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24565         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24566         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24567         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24568         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24569         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24570         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24571         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24572         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24573         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24574         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24575         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24576         removed macros.
24577         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24578         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24579         macros.
24580         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24581         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24582         * sysdeps/i386/i586/memset.S (memset): Likewise.
24583         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24585         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24586         macros.
24587         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24588         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24589         Change uses of L(2) to L(out).
24590         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24591         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24592         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24594         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24595         removed macros.
24596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24597         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24598         macros.
24599         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24600         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24601         (RETURN): Do not use macro LEAVE.
24602         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24603         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24604         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24605         * sysdeps/i386/i686/memset.S (memset): Likewise.
24606         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24607         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24608         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24609         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24610         Likewise.
24611         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24612         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24613         L(1_2) and L(1_3) into L(1).
24614         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24615         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24616         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24617         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24618         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24619         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24620         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24621         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24622         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24623         macros.
24624         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24625         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24626         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24627         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24628         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24629         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24630         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24631         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24632         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24633         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24634         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24635         * sysdeps/i386/strspn.S (strspn): Likewise.
24636         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24637         conditional code.
24638         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24639         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24640         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24641         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24642         L(1_3) into L(1_1).
24643         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24644         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24645         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24646         macros.
24647         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24648
24649 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24650
24651         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24652         macro.
24653
24654 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24655
24656         * math/atest-exp.c (exp_mpn): Remove ROUND.
24657         * math/atest-exp2.c (exp_mpn): Likewise.
24658         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24659
24660         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24661         * stdlib/tst-tls-atexit-lib.c: Likewise.
24662         * stdlib/tst-tls-atexit.c: Likewise.
24663
24664 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24665
24666         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24667         and __attribute_alloc_size__.
24668
24669 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24670
24671         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24672         __attribute_alloc_size__.
24673         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24674         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24675
24676 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24677
24678         * include/programs/xmalloc.h: New file.
24679         * catgets/gencat.c: Include it.
24680         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24681         * elf/pldd.c: Likewise.
24682         * iconv/iconv_charmap.c: Likewise.
24683         * iconv/iconvconfig.c: Likewise.
24684         * iconv/strtab.c: Likewise.
24685         * locale/programs/locale.c: Likewise.
24686         * locale/programs/localedef.h: Likewise.
24687         * locale/programs/simple-hash.c: Likewise.
24688         * nscd/nscd.h: Likewise.
24689         * nss/makedb.c: Likewise.
24690         * sysdeps/generic/ldconfig.h: Likewise.
24691
24692 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24693
24694         * Versions.def: Add GLIBC_2.18.
24695         * include/link.h (struct link_map): New member l_tls_dtor_count.
24696         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24697         (__call_tls_dtors): Likewise.
24698         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24699         __cxa_thread_atexit_impl.
24700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24701         Likewise.
24702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24703         Likewise.
24704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24705         Likewise.
24706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24707         Likewise.
24708         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24710         Likewise.
24711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24712         Likewise.
24713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24715         Likewise.
24716         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24717         (tests): Add test case tst-tls-atexit.
24718         (modules-names): Add shared library for tst-tls-atexit.
24719         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24720         (GLIBC_PRIVATE): Add __call_tls_dtors.
24721         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24722         for libstdc++.
24723         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24724         * stdlib/tst-tls-atexit.c: New test case.
24725         * stdlib/tst-tls-atexit-lib.c: New test case.
24726
24727         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24728
24729         * elf/Versions (ld): Add _dl_find_dso_for_object.
24730         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24731         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24732         (dl_open_worker): Use _dl_find_dso_for_object.
24733         * elf/dl-sym.c (do_sym): Likewise.
24734         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24735
24736 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24737
24738         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24739         Syntactic changes only.
24740         (_dl_runtime_profile): Do a tail-call to the resolved function.
24741
24742 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24743
24744         [BZ #13550]
24745         * sysdeps/x86_64/bp-asm.h: Remove file.
24746         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24747         <bp-sym.h> and <bp-asm.h>.
24748         (__clone): Do not use BP_SYM.
24749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24750         <bp-sym.h> and <bp-asm.h>.
24751         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24752         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24753         "bp-asm.h".
24754         (_setjmp): Do not use BP_SYM.
24755         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24756         "bp-asm.h".
24757         (setjmp): Do not use BP_SYM.
24758         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24759         libc_hidden_def.
24760         (mempcpy): Do not use BP_SYM in weak_alias.
24761         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24762         "bp-asm.h".
24763         (strchr): Do not use BP_SYM.
24764         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24765         "bp-asm.h".
24766         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24767         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24768         (_start): Do not use BP_SYM.
24769         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24770         "bp-asm.h".
24771         (strcat): Do not use BP_SYM.
24772         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24773         "bp-asm.h".
24774         (STRCMP): Do not use BP_SYM.
24775         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24776         "bp-asm.h".
24777         (STRCPY): Do not use BP_SYM.
24778         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24779         "bp-asm.h".
24780         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24781         "bp-asm.h".
24782         (FUNCTION): Do not use BP_SYM.
24783         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24784         weak_alias.
24785         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24786
24787 2013-02-17  Andreas Jaeger  <aj@suse.de>
24788
24789         * time/Versions: Sort entries.
24790         * string/Versions: Likewise.
24791         * resolv/Versions: Likewise.
24792         * posix/Versions: Likewise.
24793         * iconv/Versions: Likewise.
24794         * elf/Versions: Likewise.
24795         * wcsmbs/Versions: Likewise.
24796
24797 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24798
24799         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24800         loop termination condition.
24801
24802         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24803         variable to calculate EZ.
24804         (__sqr): Likewise.
24805
24806         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24807         the lower precision input.
24808
24809 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24810
24811         [BZ #13550]
24812         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24813         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24814         (run-via-rtld-prefix): Do not handle %-bp tests.
24815         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24816         (all-object-suffixes): Remove .ob.
24817         (bppfx): Remove variable.
24818         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24819         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24820         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24821         [$(build-bounded) = yes] (libtype.ob): Likewise.
24822         * Makerules (elide-routines.ob): Remove variable.
24823         (do-tests-clean): Do not handle *-bp.out.
24824         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24825         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24826         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24827         (tests): Do not include $(tests-bp.out).
24828         (xtests): Do not include $(xtests-bp.out).
24829         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24830         [$(build-bounded) = yes] ($(addprefix
24831         $(objpfx),$(binaries-bounded))): Remove rule.
24832         ($(objpfx)%-bp.out): Remove rule.
24833         * config.make.in (build-bounded): Remove variable.
24834         * crypt/Makefile [$(build-bounded) = yes]
24835         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24836         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24837         append to variable.
24838         [$(build-bounded) = yes] (install-lib): Likewise.
24839         [$(build-bounded) = yes] (generated): Likewise.
24840         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24841         Remove rule.
24842         * intl/Makefile [$(build-bounded) = yes]
24843         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24844         * math/Makefile [$(build-bounded) = yes]
24845         ($(tests:%=$(objpfx)%-bp): Likewise.
24846         * misc/Makefile [$(build-bounded) = yes]
24847         ($(objpfx)tst-tsearch-bp): Likewise.
24848         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24849         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24850         Remove dependency.
24851         * string/Makefile (o-objects.ob): Remove variable.
24852         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24853         (CFLAGS-.ob): Remove variable.
24854         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24855         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24856         both definitions of variable.
24857         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24858         (ASFLAGS-.ob): Remove variable.
24859
24860 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24861
24862         [BZ #13550]
24863         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24864         Remove __BOUNDED_POINTERS__ from condition.
24865         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24866         * string/bits/string2.h [!__NO_STRING_INLINES &&
24867         !__BOUNDED_POINTERS__]: Likewise.
24868         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24869         Likewise.
24870         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24871         Remove conditional code.
24872         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24873         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24874         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24875         condition.
24876
24877         [BZ #13550]
24878         * csu/libc-start.c: Do not include <bp-sym.h>.
24879         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24880         * elf/dl-open.c: Do not include <bp-sym.h>.
24881         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24882         * math/fegetenv.c: Do not include <bp-sym.h>.
24883         (fegetenv): Do not use BP_SYM in versioned symbols.
24884         * nptl/sysdeps/pthread/bits/libc-lockP.h
24885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24886         <bp-sym.h>.
24887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24888         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24890         (__pthread_mutex_destroy): Likewise.
24891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24892         (__pthread_mutex_lock): Likewise.
24893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24894         (__pthread_mutex_trylock): Likewise.
24895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24896         (__pthread_mutex_unlock): Likewise.
24897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24898         (__pthread_mutexattr_init): Likewise.
24899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24900         (__pthread_mutexattr_destroy): Likewise.
24901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24902         (__pthread_mutexattr_settype): Likewise.
24903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24904         (__pthread_rwlock_init): Likewise.
24905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24906         (__pthread_rwlock_destroy): Likewise.
24907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24908         (__pthread_rwlock_rdlock): Likewise.
24909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24910         (__pthread_rwlock_tryrdlock): Likewise.
24911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24912         (__pthread_rwlock_wrlock): Likewise.
24913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24914         (__pthread_rwlock_trywrlock): Likewise.
24915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24916         (__pthread_rwlock_unlock): Likewise.
24917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24918         (__pthread_key_create): Likewise.
24919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24920         (__pthread_setspecific): Likewise.
24921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24922         (__pthread_getspecific): Likewise.
24923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24924         Likewise.
24925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24926         (_pthread_cleanup_push_defer): Likewise.
24927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24928         (_pthread_cleanup_pop_restore): Likewise.
24929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24930         (pthread_setcancelstate): Likewise.
24931         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24932         <bp-sym.h>.
24933         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24934         (memchr): Do not use BP_SYM in weak_alias.
24935         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24936         (fegetenv): Do not use BP_SYM in versioned symbols.
24937         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24938         (fesetenv): Do not use BP_SYM in versioned symbols.
24939         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24940         (feupdateenv): Do not use BP_SYM in versioned symbols.
24941         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24942         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24943         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24944         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24945         (open64): Do not use BP_SYM in weak_alias.
24946         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24947         (fegetenv): Do not use BP_SYM in versioned symbols.
24948         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24949         (fesetenv): Do not use BP_SYM in versioned symbols.
24950         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24951         (feupdateenv): Do not use BP_SYM in versioned symbols.
24952         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24953         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24954         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24955         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24956         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24957         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24958         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24959         <bp-sym.h>.
24960         (__libc_start_main): Do not use BP_SYM.
24961
24962 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24963
24964         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24965         redundant return line.
24966         (norm): Likewise.
24967         (denorm): Likewise.
24968         (dbl_mp): Likewise.
24969         (sub_magnitudes): Likewise.
24970         (__add): Likewise.
24971         (__sub): Likewise.
24972         (__mul): Likewise.
24973         (__inv): Likewise.
24974         (__dvd): Likewise.
24975         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24976         (norm): Likewise.
24977         (denorm): Likewise.
24978         (dbl_mp): Likewise.
24979         (sub_magnitudes): Likewise.
24980         (__add): Likewise.
24981         (__sub): Likewise.
24982         (__mul): Likewise.
24983         (__inv): Likewise.
24984         (__dvd): Likewise.
24985
24986         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24987         instead of __mul.
24988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24989         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24990         (cc32): Likewise.
24991
24992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24993         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24994         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24995         of __mul for squares.
24996         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24997         function
24998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24999         Likewise.
25000         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25001         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25002
25003 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25004
25005         [BZ #13550]
25006         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25007         code.
25008         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25009         prototype or function definition.  Rename ubp_* variables and
25010         parameters.  Remove argv definitions conditional on
25011         [__BOUNDED_POINTERS__].
25012         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25013         * elf/dl-runtime.c (_dl_fixup): Likewise.
25014         * include/set-hooks.h (RUN_HOOK): Likewise.
25015         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25016         definition.
25017         * string/strcpy.c (strcpy): Do not use __unbounded.
25018         * sysdeps/generic/frame.h (struct layout): Likewise.
25019         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25020         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25021         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25022         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25023         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25024         (__backtrace): Likewise.
25025         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25026         use __ptrvalue.
25027         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25028         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25029         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25030         Likewise.
25031         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25032         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25033         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25034         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25035         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25036         Do not use __unbounded.
25037         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25038         Rename __unboundedrlimits parameter to rlimits in prototype.
25039         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25040         Do not use __unbounded.
25041         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25042         not use __ptrvalue.
25043         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25044         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25045         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25046         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25047         __ptrvalue or __unbounded.
25048         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25049         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25050         use __unbounded.
25051         (__new_msgctl): Do not use __ptrvalue.
25052         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25053         __unbounded.
25054         (__libc_msgrcv): Do not use __ptrvalue.
25055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25056         startup_info): Do not use __unbounded.
25057         (__libc_start_main): Likewise.  Rename ubp_* variables and
25058         parameters.  Remove argv definitions conditional on
25059         [__BOUNDED_POINTERS__].
25060         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25061         __ptrvalue.
25062         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25063         use __unbounded.
25064         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25065         or __ptrvalue.
25066         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25067         use __unbounded.
25068         (__new_shmctl): Do not use __ptrvalue.
25069         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25070         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25071         Likewise.
25072         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25073         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25074         (__libc_sigaction): Likewise.
25075         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25076         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25077         Likewise.
25078         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25079
25080 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25081
25082         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25083
25084         * string/mempcpy.c: Implement by calling memcpy.
25085
25086 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25087
25088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25089
25090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25091         evaluation.
25092
25093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25094         values in the mantissa.
25095
25096         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25097         minimize writes to Z.
25098         (sub_magnitudes): Simplify code a bit.
25099
25100 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25101
25102         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25103         from the message.  The linker prefixes all warnings with that already.
25104
25105 2013-02-12  Andreas Schwab  <schwab@suse.de>
25106
25107         [BZ #15078]
25108         * posix/regexec.c (extend_buffers): Add parameter min_len.
25109         (check_matching): Pass minimum needed length.
25110         (clean_state_log_if_needed): Likewise.
25111         (get_subexp): Likewise.
25112         * posix/Makefile (tests): Add bug-regex34.
25113         (bug-regex34-ENV): Define.
25114         * posix/bug-regex34.c: New file.
25115
25116         [BZ #11561]
25117         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25118         elements compare against the byte sequence of it, not its name.
25119         * posix/Makefile (tests): Add bug-regex35.
25120         (bug-regex35-ENV): Define.
25121         * posix/bug-regex35.c: New file.
25122
25123 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25124
25125         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25126         comment.
25127         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25128         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25129         (CHECK_EOL): Add undef.
25130
25131 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25132
25133         * bits/stdlib-bsearch.h: New file.
25134         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25135         * stdlib/stdlib.h: Likewise.
25136
25137 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25138
25139         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25140         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25141         declaration.
25142         * manual/search.texi (Array Search Function): Add missing const in
25143         lfind prototype.
25144         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25145         declaration to use rlim_t.
25146         (Basic Scheduling Functions): Remove erroneous const from
25147         sched_getparam prototype.  Remove erroneous * from
25148         sched_get_priority_max and sched_get_priority_min prototypes.
25149         (Resource Usage): Fix summary @comment on vtimes to refer to
25150         sys/vtimes.h rather than vtimes.h.
25151         Add missing *s in vtimes prototype.
25152         (Limits on Resources): Fix ulimit prototype to return long int.
25153         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25154         prototypes to use long int rather than double.
25155         (BSD Random): Fix initstate and setstate to use char *, not void *.
25156         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25157         prototype to make second argument 'struct aiocb64 *const[]'.
25158         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25159         (Status of AIO Operations): Remove erroneous const in aio_return and
25160         aio_return64 prototypes.
25161         (Synchronizing I/O): Fix sync prototype to return void.
25162         * manual/startup.texi (Suboptions): Remove an erroneous const in
25163         getsubopt prototype.
25164         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25165         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25166         use size_t rather than int.
25167         (Scanning All Users): Likewise for getpwent_r.
25168         (Setting Groups): Add missing const to setgroups prototype.
25169         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25170         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25171         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25172         'const void *' rather than 'const char *'.
25173         (Host Address Functions): Likewise for inet_ntop.
25174         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25175         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25176         ssize_t for return value.
25177         (Sending Data): Likewise for send, sendto, sendmsg.
25178         (Socket Option Functions): Add a missing const in setsockopt prototype.
25179         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25180         use wchar_t for the argument.
25181         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25182         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25183         take no arguments.
25184         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25185         double/float/long double for second argument.
25186         Fix return types of significand, significandf, significandl.
25187         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25188         argument in fchmod prototype.
25189         (File Owner): Use uid_t and gid_t in fchown prototype.
25190         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25191         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25192         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25193         use 'const struct dirent **' as argument types to CMP function pointer
25194         argument.
25195         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25196         (File Times): Fix summary magic @comment for struct utimbuf and utime
25197         to refer to utime.h, not time.h.
25198         * manual/string.texi (Argz Functions): Add missing const in
25199         argz_extract and argz_next prototypes.
25200         (Finding Tokens in a String): Likewise for basename.
25201         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25202         (Copying and Concatenation): Fix typo in wmemmove prototype.
25203         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25204         (Signal Stack): Remove erroneous const in sigstack prototype.
25205         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25206         prototype.
25207         (Simple Calendar Time): Likewise for stime.
25208         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25209         prototype.
25210         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25211         say sys/sysctl.h instead.
25212         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25213         and vsyslog prototypes.
25214
25215 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25216
25217         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25218         Remove.
25219
25220 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25221
25222         * misc/sys/mman.h: Fix typo in mremap comment.
25223
25224 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25225
25226         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25227         the '\0' terminator.
25228
25229 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25230
25231         [BZ #13550]
25232         * debug/segfault.c: Don't include <bp-checks.h>.
25233         * sysdeps/generic/bp-checks.h: Remove file.
25234         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25235         (__GETDENTS): Don't use CHECK_N.
25236         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25237         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25238         (__getgroups): Don't use CHECK_N.
25239         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25240         (setgroups): Don't use CHECK_N.
25241         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25242         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25243         (__libc_msgrcv): Don't use CHECK_N.
25244         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25245         (__libc_msgsnd): Don't use CHECK_N.
25246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25247         <bp-checks.h>.
25248         (__libc_pread): Don't use CHECK_N.
25249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25250         include <bp-checks.h>.
25251         (__libc_pread64): Don't use CHECK_N.
25252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25253         include <bp-checks.h>.
25254         (__libc_pwrite): Don't use CHECK_N.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25256         include <bp-checks.h>.
25257         (__libc_pwrite64): Don't use CHECK_N.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25259         <bp-checks.h>.
25260         (__libc_pread): Don't use CHECK_N.
25261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25262         include <bp-checks.h>.
25263         (__libc_pread64): Don't use CHECK_N.
25264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25265         include <bp-checks.h>.
25266         (__libc_pwrite): Don't use CHECK_N.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25268         include <bp-checks.h>.
25269         (__libc_pwrite64): Don't use CHECK_N.
25270         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25271         (do_pread): Don't use CHECK_N.
25272         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25273         (do_pread64): Don't use CHECK_N.
25274         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25275         (do_pwrite): Don't use CHECK_N.
25276         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25277         (do_pwrite64): Don't use CHECK_N.
25278         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25279         (__libc_readv): Don't use CHECK_N.
25280         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25281         (semop): Don't use CHECK_N.
25282         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25283         <bp-checks.h>.
25284         (semtimedop): Don't use CHECK_N.
25285         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25286         (__libc_pread): Don't use CHECK_N.
25287         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25288         <bp-checks.h>.
25289         (__libc_pread64): Don't use CHECK_N.
25290         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25291         <bp-checks.h>.
25292         (__libc_pwrite): Don't use CHECK_N.
25293         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25294         <bp-checks.h>.
25295         (__libc_pwrite64): Don't use CHECK_N.
25296         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25297         <bp-checks.h>.
25298         (__libc_msgrcv): Don't use CHECK_N.
25299         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25300         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25301         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25302         (__libc_writev): Don't use CHECK_N.
25303
25304 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25305
25306         * string/strcpy.c: Removed unused variable.
25307
25308         * Makeconfig (+sysdep-includes): Define with := rather than =.
25309         Use an existing include/ subdir of each sysdeps dir before it.
25310
25311 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25312
25313         * nscd/connection.c (register_traced_file): Comment function.
25314         [HAVE_INOTIFY] (union __inev): Define.
25315         [HAVE_INOTIFY] (inotify_check_files): New function.
25316         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25317         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25318         clear_db_cache.
25319         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25320
25321 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25322
25323         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25324         loaded if not already and that a failure is permanent.
25325
25326 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25327
25328         [BZ #15006]
25329         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25330         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25331
25332 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25333
25334         [BZ #13550]
25335         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25336         (CHECK_1_NULL_OK): Likewise.
25337         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25338         (__fxstat): Do not use CHECK_1.
25339         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25340         <bp-checks.h>.
25341         (___fxstat64): Do not use CHECK_1.
25342         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25343         <bp-checks.h>.
25344         (__fxstatat): Do not use CHECK_1.
25345         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25346         <bp-checks.h>.
25347         (__fxstatat64): Do not use CHECK_1.
25348         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25349         <bp-checks.h>.
25350         (__fxstat): Do not use CHECK_1.
25351         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25352         <bp-checks.h>.
25353         (__fxstatat): Do not use CHECK_1.
25354         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25355         <bp-checks.h>.
25356         (__getresgid): Do not use CHECK_1.
25357         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25358         <bp-checks.h>.
25359         (__getresuid): Do not use CHECK_1.
25360         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25361         <bp-checks.h>.
25362         (__lxstat): Do not use CHECK_1.
25363         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25364         <bp-checks.h>.
25365         (__old_msgctl): Do not use CHECK_1.
25366         (__new_msgctl): Likewise.
25367         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25368         <bp-checks.h>.
25369         (__new_setrlimit): Do not use CHECK_1.
25370         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25371         <bp-checks.h>.
25372         (__old_shmctl): Do not use CHECK_1.
25373         (__new_shmctl): Likewise.
25374         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25375         <bp-checks.h>.
25376         (__xstat): Do not use CHECK_1.
25377         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25378         (__lxstat): Do not use CHECK_1.
25379         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25380         <bp-checks.h>.
25381         (___lxstat64): Do not use CHECK_1.
25382         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25383         (__old_msgctl): Do not use CHECK_1.
25384         (__new_msgctl): Likewise.
25385         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25386         <bp-checks.h>.
25387         (__gettimeofday): Do not use CHECK_1.
25388         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25389         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25390         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25391         <bp-checks.h>.
25392         (__gettimeofday): Do not use CHECK_1.
25393         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25394         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25395         (__new_shmctl): Do not use CHECK_1.
25396         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25397         <bp-checks.h>.
25398         (do_sigtimedwait): Do not use CHECK_1.
25399         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25400         <bp-checks.h>.
25401         (do_sigwaitinfo): Do not use CHECK_1.
25402         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25403         <bp-checks.h>.
25404         (msgctl): Do not use CHECK_1.
25405         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25406         <bp-checks.h>.
25407         (shmctl): Do not use CHECK_1.
25408         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25409         (ustat): Do not use CHECK_1.
25410         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25411         <bp-checks.h>.
25412         (__fxstat): Do not use CHECK_1.
25413         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25414         <bp-checks.h>.
25415         (__fxstatat): Do not use CHECK_1.
25416         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25417         <bp-checks.h>.
25418         (__lxstat): Do not use CHECK_1.
25419         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25420         <bp-checks.h>.
25421         (__xstat): Do not use CHECK_1.
25422         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25423         (__xstat): Do not use CHECK_1.
25424         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25425         (___xstat64): Do not use CHECK_1.
25426
25427         [BZ #13550]
25428         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25429         definitions.
25430         (CHECK_BOUNDS_HIGH): Likewise.
25431         * string/strcpy.c: Do not include <bp-checks.h>.
25432         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25433
25434 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25435
25436         * nscd/nscd-client.h (__nscd_drop_map_ref):
25437         Add __attribute__ ((unused)).
25438         * nis/nss-nisplus.h (niserr2nss): Likewise.
25439
25440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25441         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25442
25443         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25444         Remove inline keyword.
25445         * include/rounding-mode.h (round_away): Likewise.
25446         * libio/wfileops.c (adjust_wide_data): Likewise.
25447         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25448         (__m128i_strloadu_tolower): Likewise.
25449         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25450         (__m128i_strloadu_tolower): Likewise.
25451         * time/mktime.c (ydhms_diff): Likewise.
25452         * locale/elem-hash.h (elem_hash): Likewise.
25453         * locale/setlocale.c (setdata): Likewise.
25454         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25455         (re_string_wchar_at): Likewise.
25456         (bitset_not, bitset_merge, bitset_mask): Likewise.
25457         [!(__GNUC__ > 3)] (inline): Remove macro.
25458         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25459         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25460         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25461         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25462         * string/memcmp.c (memcmp_bytes): Likewise.
25463         * locale/programs/locarchive.c (compute_hashval): Likewise.
25464         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25465         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25466         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25467         * nss/getent.c (print_rpc, print_protocols): Likewise.
25468         (print_passwd, print_group, print_aliases): Likewise.
25469         * nis/nss-nisplus.h (niserr2nss): Likewise.
25470         * nscd/connections.c (restart_p): Likewise.
25471         Change return type to bool.
25472
25473 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25474
25475         * Makeconfig (all-Depend-files): Add existing
25476         $(sorted-subdirs:=/Depend) files.
25477         (all-subdirs): Remove nss.
25478         * sysdeps/unix/inet/Subdirs: Add it here instead.
25479         * hesiod/Depend: New file.
25480
25481         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25482         instead of calling alloca.
25483
25484         * io/lseek.c (__lseek): Rename to __libc_lseek.
25485         Define __lseek as an alias.
25486
25487         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25488
25489 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25490
25491         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25492         else clause and remove check for non-standard endianness.
25493
25494 2013-02-04  David S. Miller  <davem@davemloft.net>
25495
25496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25497
25498 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25499
25500         [BZ #13550]
25501         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25502         (__ubp_memchr): Remove prototype.
25503         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25504         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25505         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25506         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25507         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25508         Remove alias.
25509         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25510         (__ubp_memchr): Likewise.
25511         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25512         (__ubp_memchr): Likewise.
25513         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25514         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25515         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25516         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25517         CHECK_STRING.
25518         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25519         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25520         (__getcwd): Do not use CHECK_STRING.
25521         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25522         <bp-checks.h>.
25523         (__real_chown): Do not use CHECK_STRING.
25524         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25525         <bp-checks.h>.
25526         (fchownat): Do not use CHECK_STRING.
25527         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25528         CHECK_STRING.
25529         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25530         <bp-checks.h>.
25531         (__lchown): Do not use CHECK_STRING.
25532         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25533         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25534         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25535         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25537         include <bp-checks.h>.
25538         (truncate64): Do not use CHECK_STRING.
25539         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25540         <bp-checks.h>.
25541         (__real_chown): Do not use CHECK_STRING.
25542         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25543         <bp-checks.h>.
25544         (__lchown): Do not use CHECK_STRING.
25545         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25546         <bp-checks.h>.
25547         (__chown): Do not use CHECK_STRING.
25548         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25549         <bp-checks.h>.
25550         (truncate64): Do not use CHECK_STRING.
25551         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25552         Likewise.
25553         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25554         (__xmknod): Do not use CHECK_STRING.
25555         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25556         <bp-checks.h>.
25557         (__xmknodat): Do not use CHECK_STRING.
25558         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25559         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25560
25561 2013-02-04  Andreas Schwab  <schwab@suse.de>
25562
25563         [BZ #14142]
25564         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25565         * include/netdb.h: Likewise for h_errno.
25566         * elf/tst-stackguard1.c: Include <tls.h>.
25567
25568 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25569
25570         * elf/link.h (struct link_map): Extend the l_addr comment.
25571         * include/link.h (struct link_map): Likewise.
25572
25573 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25574
25575         [BZ #13550]
25576         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25577         (BOUNDED_1): Remove macro.
25578         * debug/backtrace.c: Don't include <bp-checks.h>.
25579         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25580         (__backtrace): Likewise.
25581         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25582         <bp-checks.h>.
25583         (__backtrace): Don't use BOUNDED_1.
25584         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25585         <bp-checks.h>.
25586         (__backtrace): Don't use BOUNDED_1.
25587         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25588         (__backtrace): Don't use BOUNDED_1.
25589         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25590         (shmat): Don't use BOUNDED_N.
25591
25592 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25593
25594         [BZ #13550]
25595         * sysdeps/generic/bp-start.h: Remove file.
25596         * csu/libc-start.c: Don't include <bp-start.h>.
25597         (LIBC_START_MAIN): Set up __environ directly instead of using
25598         INIT_ARGV_and_ENVIRON.
25599         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25600         <bp-start.h>.
25601
25602         [BZ #13550]
25603         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25604         definitions.
25605         (CHECK_FCNTL): Likewise.
25606         (CHECK_N_PAGES): Likewise.
25607
25608         [BZ #13550]
25609         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25610         definitions.
25611         (CHECK_SIGSET_NULL_OK): Likewise.
25612         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25613         <bp-checks.h>.
25614         (sigpending): Don't use CHECK_SIGSET.
25615         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25616         <bp-checks.h>.
25617         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25618         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25619         <bp-checks.h>.
25620         (do_sigsuspend): Don't use CHECK_SIGSET.
25621         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25622         use CHECK_SIGSET.
25623         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25624         (do_sigwait): Don't use CHECK_SIGSET.
25625         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25626         use CHECK_SIGSET.
25627         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25628         include <bp-checks.h>.
25629         (sigpending): Don't use CHECK_SIGSET.
25630         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25631         include <bp-checks.h>.
25632         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25633         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25634         <bp-checks.h>.
25635         (sigpending): Don't use CHECK_SIGSET.
25636         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25637         <bp-checks.h>.
25638         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25639
25640         [BZ #13550]
25641         * sysdeps/generic/bp-semctl.h: Remove file.
25642         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25643         <bp-checks.h> and <bp-semctl.h>.
25644         (__old_semctl): Don't use CHECK_SEMCTL.
25645         (__new_semctl): Likewise.
25646         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25647         and <bp-semctl.h>.
25648         (__old_semctl): Don't use CHECK_SEMCTL.
25649         (__new_semctl): Likewise.
25650         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25651         <bp-checks.h> and <bp-semctl.h>.
25652         (__old_semctl): Don't use CHECK_SEMCTL.
25653         (__new_semctl): Likewise.
25654         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25655         <bp-checks.h> and <bp-semctl.h>.
25656         (semctl): Don't use CHECK_SEMCTL.
25657
25658         [BZ #13550]
25659         * Makerules (elide-bp-thunks): Remove variable.
25660         (elide-routines.oS): Don't use $(elide-bp-thunks).
25661         (elide-routines.os): Likewise.
25662         (elide-routines.o): Likewise.
25663         (elide-routines.op): Likewise.
25664         (elide-routines.og): Likewise.
25665         (objects): Don't use $(bp-thunks).
25666         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25667         include.
25668         (common-generated): Do not add s-proto-bp.d.
25669         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25670         (int): Likewise.
25671         (typ): Likewise.
25672         Do not generate makefile rules for bounded-pointer thunks.
25673         * sysdeps/generic/bp-thunks.h: Remove file.
25674         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25675         * sysdeps/unix/s-proto-bp.S: Likewise.
25676
25677         [BZ #15062]
25678         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25679         parts of result separately when argument is not close to line from
25680         -i to i and one part of argument is small.
25681         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25682         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25683         * math/libm-test.inc (cacos_test): Add more tests.
25684         (casin_test): Likewise.
25685         (casinh_test): Likewise.
25686         * sysdeps/i386/fpu/libm-test-ulps: Update.
25687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25688
25689 2013-01-31  David S. Miller  <davem@davemloft.net>
25690
25691         * po/de.po: Update from translation team.
25692
25693 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25694
25695         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25696
25697 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25698
25699         * configure.in (_AC_PROG_CC_C89): New definition.
25700         * configure: Regenerate.
25701
25702         * configure.in (AC_PROG_CPP): New definition.
25703         * configure: Regenerate.
25704
25705 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25706
25707         * debug/tst-backtrace.h: New file.
25708         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25709         (ret): Remove variable.
25710         (x): Likewise.
25711         (FAIL): Remove macro.
25712         (NO_INLINE): Likewise.
25713         (fn1): Use match function instead of strstr.
25714         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25715         (ret): Remove variable.
25716         (x): Likewise.
25717         (FAIL): Remove macro.
25718         (NO_INLINE): Likewise.
25719         (fn): Use match function instead of strstr.
25720         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25721         (ret): Remove variable.
25722         (x): Likewise.
25723         (FAIL): Remove macro.
25724         (NO_INLINE): Likewise.
25725         (handle_signal): Use match function instead of strstr.
25726         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25727         (ret): Remove variable.
25728         (x): Likewise.
25729         (FAIL): Remove macro.
25730         (NO_INLINE): Likewise.
25731         (handle_signal): Use match function instead of strstr.
25732
25733 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25734
25735         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25736
25737 2013-01-23  David S. Miller  <davem@davemloft.net>
25738
25739         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25740         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25741         argument of CAS if possible.
25742         * sysdeps/sparc/sparc64/bits/atomic.h
25743         (__arch_compare_and_exchange_val_32_acq): Likewise.
25744         (__arch_compare_and_exchange_val_64_acq): Likewise.
25745
25746 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25747
25748         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25749         * sysdeps/posix/ulimit.c: ... this.
25750         Include <limits.h>.
25751         * sysdeps/unix/bsd/ulimit.c: Remove file.
25752
25753 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25754
25755         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25756         (LDFLAGS-tst-array5): Likewise.
25757
25758 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25759
25760         [BZ #15036]
25761         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25762         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25763         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25764         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25765
25766 2013-01-21  David S. Miller  <davem@davemloft.net>
25767
25768         * sysdeps/sparc/backtrace.c: New file.
25769         * sysdeps/sparc/sparc32/backtrace.h: New file.
25770         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25771         * sysdeps/sparc/sparc64/backtrace.h: New file.
25772         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25773         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25774         -funwind-tables.
25775
25776 2013-01-21  Andreas Schwab  <schwab@suse.de>
25777
25778         [BZ #15020]
25779         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25780         closed its stdout.
25781
25782 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25783
25784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25785         "mpa2.h".
25786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25787
25788 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25789             Mark Mitchell  <mark@codesourcery.com>
25790             Tom de Vries  <tom@codesourcery.com>
25791             Paul Pluzhnikov  <ppluzhnikov@google.com>
25792
25793         * debug/tst-backtrace2.c: New file.
25794         * debug/tst-backtrace3.c: Likewise.
25795         * debug/tst-backtrace4.c: Likewise.
25796         * debug/tst-backtrace5.c: Likewise.
25797         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25798         (CFLAGS-tst-backtrace3.c): Likewise.
25799         (CFLAGS-tst-backtrace4.c): Likewise.
25800         (CFLAGS-tst-backtrace5.c): Likewise.
25801         (LDFLAGS-tst-backtrace2): Likewise.
25802         (LDFLAGS-tst-backtrace3): Likewise.
25803         (LDFLAGS-tst-backtrace4): Likewise.
25804         (LDFLAGS-tst-backtrace5): Likewise.
25805         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25806         tst-backtrace4 and tst-backtrace5.
25807
25808 2013-01-18  Anton Blanchard  <anton@samba.org>
25809             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25810
25811         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25812         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25813         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25814         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25816         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25817         "+r" and remove output regs list as redundant.  Add explicit inline
25818         asm to specify register of return val to work around compiler codegen
25819         bug.  Remove (int) cast on return value.  Add return type parameter to
25820         use in macro so that this macro does not truncate return value for
25821         64-bit values.
25822         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25823         pass to INTERNAL_VSYSCALL_NCS.
25824         (INLINE_VSYSCALL): Add 'long int' as return type to
25825         INTERNAL_VSYSCALL_NCS macro invocation.
25826         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25827         INTERNAL_VSYSCALL_NCS macro invocation.
25828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25829
25830 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25831
25832         [BZ #14496]
25833         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25834         Fix application of SIMD FP exception mask.
25835
25836         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25837         mp_no from a power of two.
25838         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25839         __mpexp_twomm1.  Use __pow_mp.
25840
25841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25842         multiplication.
25843
25844 2013-01-17  David S. Miller  <davem@davemloft.net>
25845
25846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25847
25848 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25849
25850         [BZ #15023]
25851         * include/complex.h: Condition contents on [!_COMPLEX_H].
25852         (__kernel_casinhf): New prototype.
25853         (__kernel_casinh): Likewise.
25854         (__kernel_casinhl): Likewise.
25855         * math/Makefile (libm_calls): Add k_casinh.
25856         * math/k_casinh.c: New file.
25857         * math/k_casinhf.c: Likewise.
25858         * math/k_casinhl.c: Likewise.
25859         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25860         finite nonzero arguments.
25861         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25862         finite nonzero arguments.
25863         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25864         finite nonzero arguments.
25865         * math/s_casinh.c: Do not include <float.h>.
25866         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25867         * math/s_casinhf.c: Do not include <float.h>.
25868         (__casinhf): Move code for finite nonzero arguments to
25869         k_casinhf.c.
25870         * math/s_casinhl.c: Do not include <float.h>.
25871         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25872         redefine.
25873         (__casinhl): Move code for finite nonzero arguments to
25874         k_casinhl.c.
25875         * math/libm-test.inc (cacos_test): Add more tests.
25876         * sysdeps/i386/fpu/libm-test-ulps: Update.
25877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25878
25879 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25880
25881         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25882         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25883         [!HAVE_MREMAP]: Remove [defined linux] case.
25884         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25885
25886 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25887
25888         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25889
25890 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25891
25892         * elf/elf.h (R_386_SIZE32): New relocation.
25893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25894         R_386_SIZE32.
25895         (elf_machine_rela): Likewise.
25896         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25897         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25898
25899 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25900
25901         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25902         (FP_FAST_FMA): Do not define.
25903         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25904         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25905         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25906         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25907         !_SOFT_FLOAT]: Likewise.
25908         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25910         value.
25911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25912         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25913         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25914         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25915         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25916         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25917         file.
25918
25919 2013-01-16  Andreas Schwab  <schwab@suse.de>
25920
25921         [BZ #14327]
25922         * include/stdlib.h (__mktemp): Add declaration.
25923         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25924         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25925
25926 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25927
25928         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25929         definitions.
25930         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25931         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25932         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25933         definitions here.
25934         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25935         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25936         definitions.
25937         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25938         and ONE.
25939         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25940         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25942         definitions.
25943         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25944         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25945         definitions.
25946         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25947
25948         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25949
25950 2013-01-15  David S. Miller  <davem@davemloft.net>
25951
25952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25953         trunc{,f} to libm-sysdep_routes.
25954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25956         file.
25957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25959         file.
25960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25961         file.
25962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25964         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25965         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25966         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25967         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25968         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25969         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25970
25971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25972         nearbyint{,f} to libm-sysdep_routes.
25973         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25975         New file.
25976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25977         file.
25978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25979         New file.
25980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25981         file.
25982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25985         file.
25986         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25988         file.
25989         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25990         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25991         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25992
25993         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25994         libc_feholdexcept and libc_fesetenv.
25995
25996 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25997
25998         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25999
26000 2013-01-14  David S. Miller  <davem@davemloft.net>
26001
26002         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26003         (SPARC_ASM_VIS2_IFUNC): Likewise.
26004         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26006         use of 'siam' instruction.
26007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26008         Likewise.
26009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26010         Likewise.
26011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26012         Likewise.
26013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26016         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26018         file.
26019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26020         file.
26021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26022         file.
26023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26024         file.
26025         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26026         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26030         new VIS2 routines.
26031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26034         Likewise.
26035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26037         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26040         routines to libm-sysdep_routines.
26041         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26042
26043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26044         fdim/fdimf to libm-sysdep_routines.
26045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26046         file.
26047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26049         file.
26050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26053         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26054         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26055         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26056         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26057
26058 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26059
26060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26061         to optimize copies.
26062
26063         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26066
26067         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26068         local variable MPTWO.
26069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26070         Likewise.
26071
26072 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26073
26074         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26075         GLOB_NOESCAPE.
26076
26077 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26078
26079         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26080
26081 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26082
26083         * manual/pattern.texi (glob_t): Document gl_flags.
26084         (glob64_t): Likewise.
26085
26086 2013-01-11  David S. Miller  <davem@davemloft.net>
26087
26088         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26089         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26090         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26091         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26092         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26093         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26094         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26095         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26096         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26097         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26098         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26099         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26100         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26101
26102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26103         sparc V9 rather than using V8 code.
26104         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26105         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26106
26107         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26108         Move to...
26109         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26110         Here.
26111
26112 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26113
26114         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26115         not in the main loop.
26116         * configure: Regenerated.
26117
26118 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26119
26120         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26121         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26122         to just #else.
26123         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26124         [!__GLIBC_HAVE_LONG_LONG] case.
26125         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26126         condition to just #else.
26127         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26128         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26129         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26130         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26131         unconditional.
26132         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26133         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26134         #elif condition to just #else.
26135         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26136         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26137         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26138         #elif condition to just #else.
26139
26140 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26141
26142         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26143         (EF_MIPS_ARCH_64): Fix value.
26144         (EF_MIPS_ARCH_32R2): New.
26145         (EF_MIPS_ARCH_64R2): New.
26146
26147 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26148
26149         * Makeconfig (+link-pie-before-libc): New.
26150         (+link-pie-after-libc): Likewise.
26151         (+link-pie-tests): Likewise.
26152         (+link-pie): Rewritten.
26153         (link-before-libc): Remove $(config-LDFLAGS).
26154         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26155         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26156         (config-LDFLAGS): Renamed to ...
26157         (rtld-LDFLAGS): This.
26158         (rtld-tests-LDFLAGS): New macro.
26159         (link-libc-rpath-link): Likewise.
26160         (link-libc-tests-rpath-link): Likewise.
26161         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26162         (link-libc): Prepand $(link-libc-rpath-link).
26163         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26164         (test-program-prefix): New macro.
26165         (test-via-rtld-prefix): Likewise.
26166         (test-program-cmd): Likewise.
26167         (host-test-program-cmd): Likewise.
26168         * Makefile ($(common-objpfx)testrun.sh): Replace
26169         $(run-program-prefix) with $(test-program-prefix).
26170         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26171         $(rtld-LDFLAGS).
26172         ($(common-objpfx)shlib.lds): Likewise.
26173         (build-module-helper): Likewise.
26174         ($(common-objpfx)format.lds): Likewise.
26175         * Rules (binaries-pie-tests): New.
26176         (binaries-pie-notests): Likewise.
26177         (binaries-pie): Rewritten.
26178         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26179         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26180         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26181         (make-test-out): Replace $(host-built-program-cmd) with
26182         $(host-test-program-cmd).
26183         * config.make.in (build-hardcoded-path-in-tests): New variable.
26184         * configure.in (--enable-hardcoded-path-in-tests): New configure
26185         option.
26186         (hardcoded_path_in_tests): New AC_SUBST.
26187         * configure: Regenerated.
26188         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26189         $(built-program-cmd) with $(test-program-cmd).
26190         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26191         (test_program_cmd): This.
26192         * elf/Makefile ($(objpfx)order.out): Run test with
26193         $(test-program-prefix).
26194         ($(objpfx)order2.out): Likewise.
26195         ($(objpfx)tst-initorder.out): Likewise.
26196         ($(objpfx)tst-initorder2.out): Likewise.
26197         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26198         $(test-program-cmd).
26199         ($(objpfx)tst-array1-static.out): Likewise.
26200         ($(objpfx)tst-array2.out): Likewise.
26201         ($(objpfx)tst-array3.out): Likewise.
26202         ($(objpfx)tst-array4.out): Likewise.
26203         ($(objpfx)tst-array5.out): Likewise.
26204         ($(objpfx)tst-array5-static.out): Likewise.
26205         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26206         $(test-program-cmd).
26207         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26208         $(run-program-prefix) with $(test-program-prefix).
26209         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26210         (test_program_prefix): This.
26211         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26212         $(run-program-prefix) with $(test-program-prefix).
26213         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26214         (test_program_prefix): This.
26215         * iconvdata/tst-tables.sh: Likewise.
26216         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26217         $(run-program-prefix) with $(test-program-prefix).
26218         ($(objpfx)tst-translit.out): Likewise.
26219         ($(objpfx)tst-gettext2.out): Likewise.
26220         ($(objpfx)tst-gettext4.out): Likewise.
26221         ($(objpfx)tst-gettext6.out): Likewise.
26222         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26223         (test_program_prefix): This.
26224         * intl/tst-gettext2.sh: Likewise.
26225         * intl/tst-gettext4.sh  Likewise.
26226         * intl/tst-gettext6.sh: Likewise.
26227         * intl/tst-translit.sh: Likewise.
26228         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26229         with $(test-program-cmd).
26230         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26231         $(run-program-prefix) with $(test-program-prefix).
26232         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26233         (test_program_prefix): This.
26234         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26235         $(run-program-prefix) with $(test-program-prefix).
26236         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26237         (test_program_prefix): This.
26238         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26239         * posix/Makefile ($(objpfx)globtest.out): Replace
26240         $(run-via-rtld-prefix) and $(test-wrapper) with
26241         $(test-program-prefix) and $(test-via-rtld-prefix).
26242         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26243         $(test-program-prefix).
26244         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26245         $(host-test-program-cmd).
26246         (tst-spawn-ARGS): Likewise.
26247         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26248         $(test-program-prefix).
26249         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26250         (test_via_rtld_prefix): This.
26251         (test_wrapper): Renamed to ...
26252         (test_program_prefix): This.
26253         (run_program_prefix): Replaced by test_program_prefix.
26254         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26255         (test_program_prefix): This.
26256         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26257         with $(host-test-program-cmd).
26258         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26259         $(run-program-prefix) with $(test-program-prefix).
26260         ($(objpfx)tst-printf.out): Likewise.
26261         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26262         $(test-program-cmd).
26263         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26264         (test_program_prefix): This.
26265         * stdio-common/tst-unbputc.sh: Likewise.
26266         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26267         $(run-program-prefix) with $(test-program-prefix).
26268         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26269         (test_program_prefix): This.
26270         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26271         $(built-program-cmd) with $(test-program-cmd).
26272
26273 2013-01-11  Andreas Jaeger  <aj@suse.de>
26274
26275         [BZ #15003]
26276         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26277         value. Sync with Linux 3.7.
26278
26279 2013-01-10  David S. Miller  <davem@davemloft.net>
26280
26281         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26282         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26283         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26284
26285 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26286
26287         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26288         never set.
26289         * configure: Regenerated.
26290
26291 2013-01-10  David S. Miller  <davem@davemloft.net>
26292
26293         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26294         sparc V9 rather than using V8 code.
26295         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26296         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26297
26298 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26299
26300         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26301         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26302         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26303         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26304         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26305         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26306         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26307         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26308         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26309         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26310         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26311         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26312         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26313         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26314         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26315         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26316         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26317         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26318         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26319         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26320         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26321         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26322         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26323         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26324         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26325         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26326         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26327
26328 2013-01-10  David S. Miller  <davem@davemloft.net>
26329
26330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26331
26332 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26333
26334         * posix/Makefile (tests-static): New variable.
26335         (tests): Add $(tests-static).
26336         (tst-exec-static-ARGS): New variable.
26337         (tst-spawn-static-ARGS): Likewise.
26338         * posix/tst-exec-static.c: New file.
26339         * posix/tst-spawn-static.c: Likewise.
26340         * posix/tst-exec.c: Support run directly.
26341         * posix/tst-spawn.c: Likewise.
26342
26343 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26344
26345         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26346         long.
26347         * math/bits/mathcalls.h (llrint): Likewise.
26348         (llround): Likewise.
26349         * stdlib/stdlib.h (struct drand48_data): Likewise.
26350         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26351         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26353         Likewise.
26354         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26355         Likewise.
26356         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26357         (elf_greg_t): Likewise.
26358         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26359         (__jmp_buf): Likewise.
26360         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26361         definitions.
26362         (llrint): Likewise, for all definitions.
26363         (llrintl): Likewise.
26364
26365         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26366         Remove [__GNUC__] condition.
26367         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26368         condition to just [__USE_ISOC99].
26369         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26370
26371 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26372
26373         [BZ #14200]
26374         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26375         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26376         defined.
26377         (_POSIX_V6_ILP32_OFF32): Likewise.
26378         (_XBS5_ILP32_OFF32): Likewise.
26379         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26380         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26381
26382 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26383
26384         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26385
26386         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26387         doubles __mpexp_twomm1.  Adjust usage.
26388         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26389         Remove.
26390
26391 2013-01-10  Andreas Schwab  <schwab@suse.de>
26392
26393         [BZ #14964]
26394         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26395         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26396
26397 2013-01-09  David S. Miller  <davem@davemloft.net>
26398
26399         [BZ #15003]
26400         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26401         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26402         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26403         (TCP_FASTOPEN): Define.
26404         (tcp_repair_opt): New structure.
26405         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26406         enum values.
26407         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26408         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26409         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26410         (tcp_cookie_transactions): New structure.
26411
26412 2013-01-09  Anton Blanchard  <anton@samba.org>
26413
26414         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26415         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26417         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26418
26419 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26420
26421         * include/features.h (__USE_ANSI): Remove.
26422
26423 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26424
26425         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26426
26427         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26428
26429 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26430
26431         * sysdeps/s390/fpu/libm-test-ulps: Update.
26432
26433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26434
26435         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26436         (__acr): Likewise.
26437         (__cpy): Likewise.
26438         (norm): Likewise.
26439         (denorm): Likewise.
26440         (__mp_dbl): Likewise.
26441         (__dbl_mp): Likewise.
26442         (add_magnitudes): Likewise.
26443         (sub_magnitudes): Likewise.
26444         (__add): Likewise.
26445         (__sub): Likewise.
26446         (__mul): Likewise.
26447         (__inv): Likewise.
26448         (__dvd): Likewise.
26449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26450         (__acr): Likewise.
26451         (__cpy): Likewise.
26452         (norm): Likewise.
26453         (denorm): Likewise.
26454         (__mp_dbl): Likewise.
26455         (__dbl_mp): Likewise.
26456         (add_magnitudes): Likewise.
26457         (sub_magnitudes): Likewise.
26458         (__add): Likewise.
26459         (__sub): Likewise.
26460         (__mul): Likewise.
26461         (__inv): Likewise.
26462         (__dvd): Likewise.
26463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26464         (__acr): Likewise.
26465         (__cpy): Likewise.
26466         (norm): Likewise.
26467         (denorm): Likewise.
26468         (__mp_dbl): Likewise.
26469         (__dbl_mp): Likewise.
26470         (add_magnitudes): Likewise.
26471         (sub_magnitudes): Likewise.
26472         (__add): Likewise.
26473         (__sub): Likewise.
26474         (__mul): Likewise.
26475         (__inv): Likewise.
26476         (__dvd): Likewise.
26477
26478 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26479
26480         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26481         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26482         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26483         2 && __USE_EXTERN_INLINES]: Likewise.
26484
26485 2013-01-08  Andreas Jaeger  <aj@suse.de>
26486
26487         [BZ# 14985]
26488         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26489         Remove.
26490         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26491         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26492
26493 2013-01-07  Anton Blanchard  <anton@samba.org>
26494
26495         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26496         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26497         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26498         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26499         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26500         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26501         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26502         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26504         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26508         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26509         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26511         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26513         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26514         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26515         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26516         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26518         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26519         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26520         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26521         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26523         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26524         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26525         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26526         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26527         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26528         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26529         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26531         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26536         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26537         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26538
26539 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26540
26541         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26542         (__MALLOC_PMT): Likewise.
26543         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26544         [__GNUC__], only on [_LIBC].
26545         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26546         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26547         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26548         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26549         forward declaration.
26550         (realloc_hook_ini): Likewise.
26551         (memalign_hook_ini): Likewise.
26552         (__libc_memalign): Do not use __MALLOC_PMT in variable
26553         declaration.
26554         (__libc_valloc): Likewise.
26555         (__libc_pvalloc): Likewise.
26556         (__libc_calloc): Likewise.
26557         (__posix_memalign): Likewise.
26558
26559         [BZ #14996]
26560         * math/s_casinh.c: Include <float.h>.
26561         (__casinh): Do not do computation with squaring and square root
26562         for large arguments.
26563         * math/s_casinhf.c: Include <float.h>.
26564         (__casinhf): Do not do computation with squaring and square root
26565         for large arguments.
26566         * math/s_casinhl.c: Include <float.h>.
26567         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26568         (__casinhl): Do not do computation with squaring and square root
26569         for large arguments.
26570         * math/libm-test.inc (casin_test): Add more tests.
26571         (casinh_test): Likewise.
26572         * sysdeps/i386/fpu/libm-test-ulps: Update.
26573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26574
26575 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26576
26577         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26578         (__x86_64_raw_data_cache_size): Likewise.
26579         (__x86_64_data_cache_size_half): Likewise.
26580         (__x86_64_raw_data_cache_size_half): Likewise.
26581         (__x86_64_shared_cache_size): Likewise.
26582         (__x86_64_raw_shared_cache_size): Likewise.
26583         (__x86_64_shared_cache_size_half): Likewise.
26584         (__x86_64_raw_shared_cache_size_half): Likewise.
26585         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26586         to ...
26587         (__x86_data_cache_size): This.
26588         (__x86_64_raw_data_cache_size): Renamed to ...
26589         (__x86_raw_data_cache_size): This.
26590         (__x86_64_data_cache_size_half): Renamed to ...
26591         (__x86_data_cache_size_half): This.
26592         (__x86_64_raw_data_cache_size_half): Renamed to ...
26593         (__x86_raw_data_cache_size_half): This.
26594         (__x86_64_shared_cache_size): Renamed to ...
26595         (__x86_shared_cache_size): This.
26596         (__x86_64_raw_shared_cache_size): Renamed to ...
26597         (__x86_raw_shared_cache_size): This.
26598         (__x86_64_shared_cache_size_half): Renamed to ...
26599         (__x86_shared_cache_size_half): This.
26600         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26601         (__x86_raw_shared_cache_size_half): This.
26602         * sysdeps/x86_64/memcpy.S: Updated.
26603         * sysdeps/x86_64/memset.S: Likewise.
26604         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26605         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26606         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26607
26608 2013-01-04  David S. Miller  <davem@davemloft.net>
26609
26610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26611
26612 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26613
26614         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26615         1 to avoid redefinition warning.
26616         (__USE_GNU): Don't define.
26617         (init_signaling_nan): Protoize.
26618
26619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26620
26621 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26622
26623         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26625         (__cpymn): Likewise.
26626         (norm): Remove commented code.
26627         (denorm): Likewise.
26628         (__mp_dbl): Likewise.
26629         (__inv): Likewise.
26630         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26631         (__cpymn): Likewise.
26632         (norm): Remove commented code.
26633         (denorm): Likewise.
26634         (__mp_dbl): Likewise.
26635         (__inv): Likewise.
26636
26637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26638         mp_no value for 1.0 and 2.0.
26639         (norm): Use RADIXI instead of radixi.d.
26640         (denorm): Likewise.
26641         (__mul): Use 0.0 instead of zero.d.
26642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26643         mp_no value for 1.0 and 2.0.
26644         (norm): Use RADIXI instead of radixi.d.
26645         (denorm): Likewise.
26646         (__mul): Use 0.0 instead of zero.d.
26647
26648 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26649
26650         [BZ #14994]
26651         * math/s_casinh.c (__casinh): Reduce finite argument to first
26652         quadrant then set signs of results at the end.
26653         * math/s_casinhf.c (__casinhf): Likewise.
26654         * math/s_casinhl.c (__casinhl): Likewise.
26655         * math/libm-test.inc (casin_test): Add more tests.
26656         (casinh_test): Likewise.
26657         * sysdeps/i386/fpu/libm-test-ulps: Update.
26658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26659
26660 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26661
26662         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26663
26664         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26665
26666         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26667         declarations.
26668         (denorm): Likewise.
26669         (__mp_dbl): Likewise.
26670         (__inv): Likewise.
26671
26672         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26673         and adjust the header comment.
26674
26675         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26676         variable name from declaration.
26677
26678 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26679
26680         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26681         Initialize COMMON_CPUID_INDEX_7 element.
26682         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26683         (CPUID_RTM): Likewise.
26684         (HAS_RTM): Likewise.
26685         (COMMON_CPUID_INDEX_7): New enum.
26686
26687 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26688
26689         [BZ #14981]
26690         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26691         size is zero, record memory as freed.
26692
26693 2013-01-03  Andreas Jaeger  <aj@suse.de>
26694
26695         * po/ia.po: Add new Interlingua translation.
26696
26697 2012-01-03  Allan McRae  <allan@archlinux.org>
26698
26699         * locale/programs/localedef.c: Fix description of '--posix' flag.
26700
26701 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26702
26703         * NEWS: Update dates in second copyright notice.
26704         * README: Update copyright dates in example.
26705         * manual/libc.texinfo: Update copyright dates.
26706         * scripts/test-installation.pl: Update copyright date in --version
26707         output.
26708
26709         * hurd/ctty-input.c: Fix copyright notice formatting.
26710         * hurd/ctty-output.c: Likewise.
26711         * hurd/dtable.c: Likewise.
26712         * hurd/hurd-raise.c: Likewise.
26713         * hurd/hurdprio.c: Likewise.
26714         * hurd/msgportdemux.c: Likewise.
26715         * misc/sys/file.h: Likewise.
26716         * misc/sys/ioctl.h: Likewise.
26717         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26718         * sysdeps/mach/hurd/chdir.c: Likewise.
26719         * sysdeps/mach/hurd/fchdir.c: Likewise.
26720         * sysdeps/mach/hurd/rename.c: Likewise.
26721         * sysdeps/mach/hurd/rmdir.c: Likewise.
26722         * sysdeps/mach/hurd/seekdir.c: Likewise.
26723         * sysdeps/mach/hurd/setsid.c: Likewise.
26724         * sysdeps/posix/wait3.c: Likewise.
26725
26726         * All files with FSF copyright notices: Update copyright dates
26727         using scripts/update-copyrights.
26728         * intl/plural.c: Regenerated.
26729         * locale/programs/charmap-kw.h: Likewise.
26730         * locale/programs/locfile-kw.h: Likewise.
26731
26732 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26733
26734         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26735         four values.
26736
26737         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26738         calculation loop and add branch prediction.
26739
26740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26741         check access beyond bounds of m1np.
26742
26743         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26744         MPTWO.
26745         (__inv): Remove local variable MPTWO to use the global
26746         constant.
26747         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26748         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26749         variable MPTWO.
26750         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26751         MP3HALFS static const.
26752
26753 2013-01-01  David S. Miller  <davem@davemloft.net>
26754
26755         * po/ca.po: Update from translation team.
26756
26757 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26758
26759         * scripts/update-copyrights: New file.
26760         * Makeconfig: Reformat copyright notice.
26761         * ctype/ctype.h: Likewise.
26762         * debug/swprintf_chk.c: Likewise.
26763         * elf/dl-cache.c: Likewise.
26764         * elf/dl-debug.c: Likewise.
26765         * elf/dl-object.c: Likewise.
26766         * grp/initgroups.c: Likewise.
26767         * hurd/Makefile: Likewise.
26768         * hurd/hurd/signal.h: Likewise.
26769         * hurd/hurdfault.c: Likewise.
26770         * hurd/hurdioctl.c: Likewise.
26771         * hurd/hurdlookup.c: Likewise.
26772         * hurd/intr-msg.c: Likewise.
26773         * iconv/gconv_open.c: Likewise.
26774         * libio/swprintf.c: Likewise.
26775         * locale/lc-ctype.c: Likewise.
26776         * locale/nl_langinfo.c: Likewise.
26777         * mach/Machrules: Likewise.
26778         * mach/Makefile: Likewise.
26779         * malloc/obstack.h: Likewise.
26780         * manual/Makefile: Likewise.
26781         * manual/tsort.awk: Likewise.
26782         * misc/bits/stab.def: Likewise.
26783         * nis/nis_print_group_entry.c: Likewise.
26784         * nis/nis_table.c: Likewise.
26785         * nis/nss_compat/compat-pwd.c: Likewise.
26786         * nis/nss_compat/compat-spwd.c: Likewise.
26787         * po/Makefile: Likewise.
26788         * posix/fnmatch.c: Likewise.
26789         * posix/regex.h: Likewise.
26790         * resolv/Makefile: Likewise.
26791         * resolv/nss_dns/dns-network.c: Likewise.
26792         * resolv/res_hconf.c: Likewise.
26793         * scripts/gen-sorted.awk: Likewise.
26794         * soft-fp/soft-fp.h: Likewise.
26795         * stdio-common/printf.h: Likewise.
26796         * stdlib/monetary.h: Likewise.
26797         * stdlib/random.c: Likewise.
26798         * stdlib/random_r.c: Likewise.
26799         * sysdeps/generic/Makefile: Likewise.
26800         * sysdeps/gnu/Makefile: Likewise.
26801         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26803         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26805         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26806         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26807         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26811         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26812         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26813         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26814         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26815         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26816         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26817         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26819         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26820         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26821         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26822         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26823         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26824         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26825         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26827         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26828         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26829         * sysdeps/mach/hurd/errnos.awk: Likewise.
26830         * sysdeps/mach/hurd/fork.c: Likewise.
26831         * sysdeps/mach/hurd/getcwd.c: Likewise.
26832         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26833         * sysdeps/mach/hurd/mmap.c: Likewise.
26834         * sysdeps/mach/hurd/utimes.c: Likewise.
26835         * sysdeps/mach/hurd/xmknod.c: Likewise.
26836         * sysdeps/posix/profil.c: Likewise.
26837         * sysdeps/posix/readdir_r.c: Likewise.
26838         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26839         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26840         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26841         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26842         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26843         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26844         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26845         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26847         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26848         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26849         * sysdeps/pthread/lio_listio.c: Likewise.
26850         * sysdeps/sparc/dl-procinfo.h: Likewise.
26851         * sysdeps/unix/i386/sysdep.S: Likewise.
26852         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26853         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26854         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26855         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26857         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26858         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26859         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26860         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26861         * sysdeps/wordsize-32/divdi3.c: Likewise.
26862         * time/sys/time.h: Likewise.
26863         * wcsmbs/Makefile: Likewise.
26864
26865 2013-01-01  David S. Miller  <davem@davemloft.net>
26866
26867         * po/fr.po: Update from translation team.
26868
26869         * catgets/gencat.c: Update copyright year.
26870         * csu/version.c: Likewise.
26871         * debug/catchsegv.sh: Likewise.
26872         * debug/pcprofiledump.c: Likewise.
26873         * debug/xtrace.sh: Likewise.
26874         * elf/ldconfig.c: Likewise.
26875         * elf/ldd.bash.in: Likewise.
26876         * elf/pldd.c: Likewise.
26877         * elf/sotruss.ksh: Likewise.
26878         * elf/sprof.c: Likewise.
26879         * iconv/iconv_prog.c: Likewise.
26880         * iconv/iconvconfig.c: Likewise.
26881         * locale/programs/locale.c: Likewise.
26882         * locale/programs/localedef.c: Likewise.
26883         * login/programs/pt_chown.c: Likewise.
26884         * malloc/memusage.sh: Likewise.
26885         * malloc/memusagestat.c: Likewise.
26886         * malloc/mtrace.pl: Likewise.
26887         * nscd/nscd.c: Likewise.
26888         * nss/getent.c: Likewise.
26889         * nss/makedb.c: Likewise.
26890         * posix/getconf.c: Likewise.
26891
26892 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26893
26894         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26895         numbers.
26896
26897 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26898
26899         * math/bits/mathcalls.h (modf): Use __nonnull.
26900
26901 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26902
26903         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26904         (split): Use macro CN instead of the bare value.
26905         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26906         could be used.
26907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26908         instead of the bare value.
26909         (power1): Likewise.
26910
26911 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26912
26913         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26914         __ATAN_TWOM.
26915         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26916
26917         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26918         their values.
26919         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26920         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26921         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26922         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26923
26924 2012-12-28  Andreas Jaeger  <aj@suse.de>
26925
26926         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26927         values are from Linux 3.7.
26928
26929         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26930         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26931
26932 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26933
26934         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26935         TRUE case.
26936
26937         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26938         (norm): Likewise.
26939         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26940         variables with preprocessor constants.
26941         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26942         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26943         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26944
26945 2012-12-27  Bruno Haible  <bruno@clisp.org>
26946
26947         [BZ #14317]
26948         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26949         only if needed.
26950
26951 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952
26953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26954         and use variable directly.
26955         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26956
26957         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26958         MPONE.
26959         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26960         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26961         variable MPONE.
26962         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26963         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26964         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26965         include directive.  Remove local variable MPONE.
26966         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26967         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26968         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26969
26970 2012-12-25  David S. Miller  <davem@davemloft.net>
26971
26972         * version.h (RELEASE): Set to "development".
26973         (VERSION): Set to "2.17.90".
26974         * NEWS: Add 2.18 section.
26975
26976 2012-12-21  David S. Miller  <davem@davemloft.net>
26977
26978         * po/hr.po: Update from translation team.
26979
26980 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26981
26982         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26983
26984 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26985
26986         * NEWS:  Mention new memcpy for MIPS.
26987
26988 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26989
26990         * manual/contrib.texi (Contributors): Spelling correction.
26991
26992 2012-12-15  David S. Miller  <davem@davemloft.net>
26993
26994         * po/ru.po: Update from translation team.
26995
26996 2012-12-13  David S. Miller  <davem@davemloft.net>
26997
26998         * NEWS: Mention IFUNC testsuite enhancements.
26999
27000         * po/pl.po: Update from translation team.
27001         * po/bg.po: Likewise.
27002
27003         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27004         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27005
27006 2012-12-11  David S. Miller  <davem@davemloft.net>
27007
27008         * po/sv.po: Update from translation team.
27009
27010         * po/vi.po: Update from translation team.
27011
27012         * po/cs.po: Update from translation team.
27013
27014         * po/de.po: Update from translation team.
27015         * po/eo.po: Likewise.
27016         * po/nl.po: Likewise.
27017
27018 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27019
27020         [BZ #14246]
27021         * manual/argp.texi (Argp Helper Functions): Move node to follow
27022         Argp Parsing State.
27023
27024         [BZ #14872]
27025         * manual/conf.texi (Limits on File System Capacity): Mention if
27026         terminating null is included in the max size.
27027
27028 2012-12-10  Andreas Jaeger  <aj@suse.de>
27029
27030         * po/cs.po: Update from translation team.
27031
27032 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27033
27034         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27035         void pointer and cast to uintptr_t.
27036         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27037         path.
27038         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27039         * sysdeps/s390/s390-64/memset.S: Likewise.
27040
27041 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27042
27043         [BZ #14833]
27044         * menual/message.texi (Message Translation): Fix typos.
27045         (Helper programs for gettext): Likewise.
27046
27047 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27048
27049         [BZ #14898]
27050         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27051         Change to -1.
27052
27053 2012-12-07  David S. Miller  <davem@davemloft.net>
27054
27055         * po/libc.pot: Update.
27056
27057 2012-12-07  Richard Henderson  <rth@redhat.com>
27058
27059         [BZ #10114]
27060         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27061         normal/normal case to before the switch.
27062         (_FP_DIV): Likewise.
27063
27064 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27065             Mike Frysinger  <vapier@gentoo.org>
27066
27067         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27068         check for __NR_fadvise64_64.
27069
27070 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27071
27072         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27073         0, not just to plain "0" as a statement.
27074         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27075         with cw.
27076
27077 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27078
27079         * NEWS: Use sourceware.org in Bugzilla URL.
27080
27081 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27082
27083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27084         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27085
27086         * stdio-common/tst-put-error.c (do_test): Add newline to the
27087         padded test to ensure flush.
27088
27089 2012-12-05  Jeff Law  <law@redhat.com>
27090
27091         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27092
27093 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27094
27095         * README: Don't refer to ports add-on as distributed separately.
27096         Mention AArch64 in list of systems supported in the ports add-on.
27097
27098         * LICENSES: Add more non-FSF copyright and license notices.
27099
27100         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27101         ((unused)).
27102
27103         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27104
27105         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27106         10000 as width of padded output.
27107
27108 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27109
27110         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27111
27112         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27113         variable LX with __attribute__ ((unused)).
27114         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27115         Likewise.
27116         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27118         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27119         with __attribute__ ((unused)).
27120
27121 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27122
27123         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27124
27125 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27126
27127         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27128         (CFLAGS-nldbl-acos.c): New variable.
27129         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27130         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27131         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27132         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27133         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27134         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27135         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27136         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27137         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27138         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27139         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27140         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27141         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27142         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27143         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27144         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27145         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27146         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27147         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27148         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27149         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27150         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27151         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27152         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27153         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27154         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27155         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27156         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27157         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27158         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27159         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27160         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27161         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27162         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27163         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27164         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27165         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27166         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27167         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27168         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27169         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27170         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27171         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27172         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27173         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27174         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27175         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27176         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27177         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27178         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27179         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27180         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27181         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27182         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27183         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27184         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27185         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27186         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27187         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27188         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27189         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27190         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27191         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27192         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27193         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27194         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27195         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27196         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27197         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27198         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27199         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27200         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27201         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27202         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27203         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27204         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27205         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27206         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27207         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27208         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27209         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27210         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27211         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27212         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27213         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27214         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27215         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27216         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27217         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27218         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27219         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27220         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27221         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27222         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27223         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27224         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27225         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27226
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27228         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27229
27230         [BZ #14914]
27231         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27232         whole low double instead of just low 47 bits when splitting values
27233         into two parts.
27234
27235 2012-12-03  Allan McRae  <allan@archlinux.org>
27236
27237         * manual/stdio.texi (Predefined Printf Handlers): Remove
27238         @hsep and @vsep usage.
27239
27240 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27241
27242         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27243         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27244
27245 2012-12-03  Jeff Law  <law@redhat.com>
27246
27247         * time/sys/time.h (settimeofday): Do not mark TV argument
27248         as __nonnull.
27249
27250 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27251
27252         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27253         when currently writing and seek to current position when not.
27254         * libio/Makefile (tests): Remove bug-fclose1.
27255         * libio/bug-fclose1.c: Delete.
27256
27257 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27258
27259         * manual/arith.texi (feenableexcept): Fix typo.
27260         (fedisableexcept): Likewise.
27261
27262 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27263
27264         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27265         second, differently-typed declaration, rather than a cast.
27266
27267 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27268
27269         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27270         * include/rpc/svc.h: ... here.
27271
27272 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27273
27274         [BZ #13013]
27275         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27276         depending n and resplen2 to catch cases where answer
27277         equals answerp2.
27278
27279 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27280
27281         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27282         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27283
27284 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27285
27286         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27287
27288 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27289
27290         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27291
27292 2012-11-28  Jeff Law  <law@redhat.com>
27293
27294         [BZ #13761]
27295         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27296         dataset_temporary.  Track alloca usage into alloca_used.
27297         If dataset is large allocate and release it via malloc/free.
27298
27299 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27300
27301         [BZ #14197]
27302         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27303
27304 2012-11-28  David S. Miller  <davem@davemloft.net>
27305
27306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27307
27308 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27309
27310         [BZ #14803]
27311         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27312         of pi/2 rounded to nearest to 64 bits.
27313         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27314         nearest to 64 bits.
27315         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27316         bits.
27317
27318 2012-11-28  Jeff Law <law@redhat.com>
27319             Martin Osvald <mosvald@redhat.com>
27320
27321         [BZ #14889]
27322         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27323         * sunrpc/svc.c: Include time.h.
27324         (__svc_accept_failed): New function.
27325         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27326         any reason other than EINTR, call __svc_accept_failed.
27327         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27328         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27329
27330 2012-11-28  Andreas Schwab  <schwab@suse.de>
27331
27332         * scripts/abilist.awk: Also handle indirect functions in .opd
27333         section.
27334
27335 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27336
27337         [BZ #13881]
27338         * sysdeps/x86/fpu/powl_helper.c: New file.
27339         * sysdeps/x86/fpu/Makefile: Likewise.
27340         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27341         (p3): New object.
27342         (__ieee754_powl): Use __powl_helper for finite arguments except
27343         integer exponents below 8.
27344         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27345         (p3): New object.
27346         (__ieee754_powl): Use __powl_helper for finite arguments except
27347         integer exponents below 8.
27348         * math/libm-test.inc (pow_test): Add more tests and enable some
27349         previously disabled tests.
27350         * sysdeps/i386/fpu/libm-test-ulps: Update.
27351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352
27353 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27354             Carlos O'Donell  <carlos_odonell@mentor.com>
27355
27356         * nss/makedb.c (is_prime): Assert that input is odd and greater
27357         than 4.  Note that fact in a comment too.
27358         (next_prime): Add 4 to input.
27359
27360 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27361
27362         [BZ #11741]
27363         * libio/Makefile (tests): Add test case tst-fwrite-error.
27364         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27365         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27366         * libio/tst-fwrite-error.c: New test case.
27367
27368 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27369
27370         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27371         before casting to void *.
27372         * include/libc-internal.h (__pointer_type): New macro.
27373         (__integer_if_pointer_type_sub): Likewise.
27374         (__integer_if_pointer_type): Likewise.
27375         (cast_to_integer): Likewise.
27376         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27377         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27378         before casting to atomic64_t.
27379         (atomic_exchange_acq): Likewise.
27380         (__arch_exchange_and_add_body): Likewise.
27381         (__arch_add_body): Likewise.
27382         (atomic_add_negative): Likewise.
27383         (atomic_add_zero): Likewise.
27384
27385 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27386
27387         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27388         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27389         (add_fdes): Likewise.
27390         (linear_search_fdes): Likewise.
27391         (binary_search_unencoded_fdes): Likewise.
27392
27393 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27394
27395         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27396
27397 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27398
27399         * configure.in: Autodetect C++ header directories.
27400         * configure: Regenerated.
27401
27402 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27403
27404         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27405
27406 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27407
27408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27409
27410 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27411
27412         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27413         LDBL_MANT_DIG == 106]: Disable some tests.
27414         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27415         Likewise.
27416         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27417         Likewise.
27418
27419         [BZ #14871]
27420         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27421         input for small inputs.  Return +/- pi/2 for large inputs.
27422         * math/libm-test.inc (atan_test): Add more tests.
27423
27424         * sysdeps/generic/unwind-dw2-fde-glibc.c
27425         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27426         __attribute__ ((unused)).
27427
27428         [BZ #14645]
27429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27430         x * y if x and y are nonzero and z is zero.
27431
27432         [BZ #14811]
27433         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27434         nonzero exponents with absolute value below 0x1p-117 to +/-
27435         0x1p-117.
27436
27437         [BZ #14869]
27438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27439         up arguments below 2**-450, not just those below 2**-500.
27440         * math/libm-test.inc (hypot_test): Add another test.
27441
27442         [BZ #14868]
27443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27444         Return a+b for ratio over 2**120, not 2**60.
27445         * math/libm-test.inc (hypot_test): Add another test.
27446
27447         * math/libm-test.inc (clog_test): Use
27448         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27449         (clog10_test): Likewise.
27450
27451         [BZ #6778]
27452         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27453
27454 2012-11-22  Andreas Schwab  <schwab@suse.de>
27455
27456         * sysdeps/i386/fpu/libm-test-ulps: Update.
27457
27458 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27459
27460         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27461         printf output with newline.
27462
27463 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27464
27465         [BZ #14865]
27466         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27467         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27468         -z nodlopen, -z initfirst and -z execstack support.
27469         * configure: Regenerated.
27470
27471         * elf/elf.h (DF_1_NODIRECT): New macro.
27472         (DF_1_IGNMULDEF): Likewise.
27473         (DF_1_NOKSYMS): Likewise.
27474         (DF_1_NOHDR): Likewise.
27475         (DF_1_EDITED): Likewise.
27476         (DF_1_NORELOC): Likewise.
27477         (DF_1_SYMINTPOSE): Likewise.
27478         (DF_1_GLOBAUDIT): Likewise.
27479         (DF_1_SINGLETON): Likewise.
27480         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27481         DT_1_SUPPORTED_MASK bits.
27482         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27483
27484 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27485
27486         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27487
27488 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27489
27490         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27491         macro.
27492
27493         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27494         (sendmmsg): Move declarations...
27495         * socket/sys/socket.h: ... here.
27496         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27497         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27498         include it from...
27499         * socket/recvmmsg.c: ... this new file.
27500         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27501         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27502         definition of __sendmmsg hidden.
27503         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27504         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27505         Move ENOSYS stub into and include it from...
27506         * socket/sendmmsg.c: ... this new file.
27507         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27508         (sysdep_routines): Move recvmmsg and sendmmsg...
27509         * socket/Makefile (routines): ... here.
27510         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27511         (GLIBC_PRIVATE): Add __sendmmsg.
27512         * include/sys/socket.h (__sendmmsg): Add declarations.
27513         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27514         sendmmsg.
27515
27516 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27517
27518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27519         variable I1 with __attribute__ ((unused)).
27520         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27521
27522 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27523
27524         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27525         DUMMY variables with __attribute__ ((unused)).
27526
27527         * bits/byteswap.h: Include <bits/types.h>.
27528         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27529
27530 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27531
27532         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27533         string_t.  Do not manually set errno.
27534         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27535         length with __strnlen.  Make sure to both set errno and return it on
27536         failure.
27537
27538 2012-11-19  David S. Miller  <davem@davemloft.net>
27539
27540         With help from Joseph Myers.
27541         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27542         very large arguments properly.
27543         * math/libm-test.inc (atan_test): New tests.
27544         (atan2_test): New tests.
27545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27547
27548 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27549
27550         [BZ #14856]
27551         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27552         Define to 3.
27553
27554         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27555         [POSIX] (EADDRNOTAVAIL): Likewise.
27556         [POSIX] (EAFNOSUPPORT): Likewise.
27557         [POSIX] (EALREADY): Likewise.
27558         [POSIX] (ECONNABORTED): Likewise.
27559         [POSIX] (ECONNREFUSED): Likewise.
27560         [POSIX] (ECONNRESET): Likewise.
27561         [POSIX] (EDESTADDRREQ): Likewise.
27562         [POSIX] (EDQUOT): Likewise.
27563         [POSIX] (EHOSTUNREACH): Likewise.
27564         [POSIX] (EIDRM): Likewise.
27565         [POSIX] (EISCONN): Likewise.
27566         [POSIX] (ELOOP): Likewise.
27567         [POSIX] (EMULTIHOP): Likewise.
27568         [POSIX] (ENETDOWN): Likewise.
27569         [POSIX] (ENETUNREACH): Likewise.
27570         [POSIX] (ENOBUFS): Likewise.
27571         [POSIX] (ENODATA): Likewise.
27572         [POSIX] (ENOLINK): Likewise.
27573         [POSIX] (ENOMSG): Likewise.
27574         [POSIX] (ENOPROTOOPT): Likewise.
27575         [POSIX] (ENOSR): Likewise.
27576         [POSIX] (ENOSTR): Likewise.
27577         [POSIX] (ENOTCONN): Likewise.
27578         [POSIX] (ENOTSOCK): Likewise.
27579         [POSIX] (EOPNOTSUPP): Likewise.
27580         [POSIX] (EOVERFLOW): Likewise.
27581         [POSIX] (EPROTO): Likewise.
27582         [POSIX] (EPROTONOSUPPORT): Likewise.
27583         [POSIX] (EPROTOTYPE): Likewise.
27584         [POSIX] (ESTALE): Likewise.
27585         [POSIX] (ETIME): Likewise.
27586         [POSIX] (ETXTBSY): Likewise.
27587         [POSIX] (EWOULDBLOCK): Likewise.
27588         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27589         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27590         [POSIX] (SEEK_CUR): Likewise.
27591         [POSIX] (SEEK_END): Likewise.
27592         [POSIX || UNIX98] (mode_t): Do not require.
27593         [POSIX] (off_t): Likewise.
27594         [POSIX] (pid_t): Likewise.
27595         [POSIX] (sys/stat.h): Do not allow header.
27596         [POSIX] (unistd.h): Likewise.
27597         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27598         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27599         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27600         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27601         require.
27602         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27603         sigevent): Specify elements.
27604         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27605         entry.
27606         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27607         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27608
27609         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27610         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27611         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27612         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27613         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27614         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27615         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27616         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27617         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27618         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27619         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27620         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27621         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27622         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27623         Likewise.
27624         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27625         Likewise.
27626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27627         Likewise.
27628         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27629         Likewise.
27630         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27632         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27633         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27634         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27635         Specify lower bound on value.
27636         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27637         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27638         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27639         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27640         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27641         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27642         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27643         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27644         value.
27645         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27646         as optional.
27647         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27648         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27649         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27650         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27651         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27652         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27653         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27654         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27655         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27656         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27657         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27658         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27659         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27660         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27661         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27662         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27663         entry.
27664         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27665         optional.
27666         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27667         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27668         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27669         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27670         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27671         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27672         Likewise.
27673         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27674         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27675         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27676         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27677         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27678         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27679         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27680         as optional.
27681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27682         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27683         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27684         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27685         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27686         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27687         specify as optional.
27688         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27689         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27690         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27691         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27692         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27693         [XPG3] (NL_LANGMAX): Likewise.
27694         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27695         [POSIX || XPG3] (NL_NMAX): Likewise.
27696         [POSIX || XPG3] (NL_SETMAX): Likewise.
27697         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27698         [XPG3] (NZERO): Likewise.
27699         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27700         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27701         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27702         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27703         (REG_ERANGE): Expect.
27704         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27705         optional-constant.
27706         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27707         Use (void) in prototype.
27708         [POSIX] (*_t): Allow.
27709         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27710         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27711         (WRDE_BADVAL): Expect.
27712
27713         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27714         expect.
27715         [XPG3 || XPG4] (O_RSYNC): Likewise.
27716         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27717         Likewise.
27718         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27719         [XPG3 || XPG4] (sigqueue): Likewise.
27720         [XPG3 || XPG4] (sigtimedwait): Likewise.
27721         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27722         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27723         [XPG3 || XPG4] (vsnprintf): Likewise.
27724         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27725         Likewise.
27726         [XPG3 || XPG4] (blksize_t): Likewise.
27727         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27728         Likewise.
27729         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27730         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27731         [XPG3 || XPG4] (struct itimerspec): Likewise.
27732         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27733         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27734         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27735         [XPG3 || XPG4] (clockid_t): Likewise.
27736         [XPG3 || XPG4] (timer_t): Likewise.
27737         [XPG3 || XPG4] (clock_getres): Likewise.
27738         [XPG3 || XPG4] (clock_gettime): Likewise.
27739         [XPG3 || XPG4] (clock_settime): Likewise.
27740         [XPG3 || XPG4] (nanosleep): Likewise.
27741         [XPG3 || XPG4] (timer_create): Likewise.
27742         [XPG3 || XPG4] (timer_delete): Likewise.
27743         [XPG3 || XPG4] (timer_gettime): Likewise.
27744         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27745         [XPG3 || XPG4] (timer_settime): Likewise.
27746         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27747         [XPG3 || XPG4] (getlogin_r): Likewise.
27748         [XPG3 || XPG4] (pread): Likewise.
27749         [XPG3 || XPG4] (pthread_atfork): Likewise.
27750         [XPG3 || XPG4] (pwrite): Likewise.
27751
27752         [BZ #14835]
27753         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27754         <bits/siginfo.h>.
27755
27756 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27757
27758         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27759         finalizing MALLSTREAM.
27760
27761         * sysdeps/mach/hurd/syncfs.c: New file.
27762
27763 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27764
27765         [BZ #14719]
27766         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27767         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27768         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27769         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27770         (_nss_dns_gethostbyname4_r): Likewise.
27771         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27772         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27773
27774 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27775
27776         [BZ #13763]
27777         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27778
27779 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27780
27781         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27782         * elf/cache.c (print_entry): Print ",AArch64" for
27783         FLAG_AARCH64_LIB64
27784
27785         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27786         * elf/cache.c (print_entry): Print ",hard-float" for
27787         FLAG_ARM_LIBHF.
27788
27789 2012-11-18  David S. Miller  <davem@davemloft.net>
27790
27791         With help from Joseph Myers.
27792         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27793         cutoff to 2**-13.
27794         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27795         cutoff to 2**-25.
27796         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27797         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27798         small.
27799         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27800         * math/libm-test.inc (y0_test): New tests.
27801         (y1_test): New tests.
27802         * sysdeps/i386/fpu/libm-test-ulps: Update.
27803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27805
27806 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27807
27808         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27809         64-bit targets.
27810         * configure: Regenerated.
27811
27812 2012-11-17  David S. Miller  <davem@davemloft.net>
27813
27814         [BZ #14811]
27815         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27816         nonzero exponents with absolute value below 0x1p-128 to +/-
27817         0x1p-128.
27818
27819 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27820
27821         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27822
27823         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27824
27825         * posix/getconf-speclist.c: New file.
27826         * posix/posix-envs.def: Likewise.
27827         * posix/confstr.c (START_ENV_GROUP): New macro.
27828         (END_ENV_GROUP): Likewise.
27829         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27830         (KNOWN_PRESENT_ENV_STRING): Likewise.
27831         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27832         (UNKNOWN_ENVIRONMENT): Likewise.
27833         (confstr): Include posix-envs.def instead of handling
27834         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27835         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27836         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27837         (END_ENV_GROUP): Likewise.
27838         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27839         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27840         (UNKNOWN_ENVIRONMENT): Likewise.
27841         (__sysconf): Include posix-envs.def instead of handling associated
27842         cases directly here.
27843         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27844         preprocessing getconf-speclist.c rather than running getconf or
27845         generating empty file.
27846
27847 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27848
27849         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27850
27851 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27852
27853         [BZ #14672]
27854         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27855
27856 2012-11-16  David S. Miller  <davem@davemloft.net>
27857
27858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27859         smaller than LDBL_EPSILON/2.0L, just return xm1.
27860
27861 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27862
27863         * elf/tst-array1.c (init): Set constructor priority to 1000.
27864         (fini): Set destructor priority to 1000.
27865         * elf/tst-array2dep.c: Likewise.
27866
27867 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27868
27869         [BZ #11741]
27870         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27871         (_IO_new_file_xsputn): Also return EOF if none of the input
27872         data was written when overflow failed.
27873         * libio/iopadn.c (_IO_padn): Likewise.
27874         * libio/iowpadn.c (_IO_wpadn): Likewise.
27875         * stdio-common/tst-put-error.c: Add copyright notice.
27876         (do_test): Add case for printing padded string.
27877         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27878         _IO_padn returned error.
27879         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27880         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27881         return EOF.
27882
27883 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27884
27885         * libio/libioP.h: Add comment note that the references to C++
27886         bits are now obsolete.
27887
27888 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27889
27890         * math/libm-test.inc (check_complex): Use asprintf.
27891
27892 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27893
27894         * debug/pcprofiledump.c (print_version): Update copyright year.
27895         * malloc/memusagestat.c (print_version): Likewise.
27896
27897 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27898
27899         [BZ #14831]
27900         * elf/Makefile (tests): Add tst-audit8.
27901         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27902         ($(objpfx)tst-audit8.out): New target.
27903         (tst-audit8-ENV): New variable.
27904         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27905         audit if l_reloc_result is NULL.
27906         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27907         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27908         * elf/tst-audit8.c: New file.
27909
27910 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27911
27912         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27913         * misc/Makefile (CFLAGS-select.c): Define.
27914         * posix/Makefile (CFLAGS-pause.c): Define.
27915
27916 2012-11-13  David S. Miller  <davem@davemloft.net>
27917
27918         * crypt/Makefile: Move test targets after toplevel Rules
27919         inclusion.  Grab any necessary sysdep routines when linking.
27920         * crypt/md5.c (md5_process_block): Remove define, we will always
27921         name it __md5_process_block.
27922         (md5_finish_ctx): Update md5_process_block call.
27923         (md5_stream): Likewise.
27924         (md5_process_bytes): Likewise.
27925         (md5_process_block): Rename to __md5_process_block and move to ...
27926         * crypt/md5-block.c: ... here.
27927         * crypt/sha256.c (sha256_process_block): Move to ...
27928         * crypt/sha256-block.c: ... here.
27929         * crypt/sha512.c (sha512_process_block): Move to ...
27930         * crypt/sha512-block.c: ... here.
27931         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27932         path.
27933         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27934         * sysdeps/sparc/sparc64/multiarch/Makefile
27935         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27936         crypt subdir.
27937         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27938         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27939         multiarch changes.
27940         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27941         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27942         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27943         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27944         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27945         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27946         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27947         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27948         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27949         file.
27950         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27952         file.
27953         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27954
27955 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27956
27957         * timezone/tzselect.ksh: Update from tzcode git revision
27958         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27959         * timezone/zdump.c: Likewise.
27960         * timezone/zic.c: Likewise.
27961         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27962         in TZVERSION setting, not $(PKGVERSION).
27963         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27964         REPORT_BUGS_TO settings.
27965
27966         [BZ #14838]
27967         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27968         macro.
27969
27970 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27971
27972         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27973         detection to immediately after _FP_ROUND().
27974         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27975         bits are 0.
27976
27977 2012-11-11  David S. Miller  <davem@davemloft.net>
27978
27979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27980         inttypes.h
27981         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27982         __close rather than their public counterparts.
27983
27984 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27985
27986         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27987         file.
27988         [UNIX98] (sem_timedwait): Do not expect.
27989         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27990         [XPG4 || UNIX98] (sockatmark): Do not expect.
27991         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27992         (clock_getcpuclockid): Do not expect.
27993         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27994         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27995         Do not expect.
27996         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27997         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27998         [UNIX98] (vwscanf): Likewise.
27999         [UNIX98] (vswscanf): Likewise.
28000
28001 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28002
28003         * timezone/version.h: Remove file.
28004         * timezone/README: Do not refer to version.h.
28005         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28006         $(objpfx)version.h.
28007         ($(objpfx)zdump.o): Likewise.
28008         ($(objpfx)version.h): New target.
28009
28010         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28011         2012i.
28012         * timezone/README: Don't mention modification to tzselect.ksh.
28013         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28014         work on unmodified tzselect.ksh.  Substitute version numbers in
28015         tzselect.ksh.
28016
28017         * Makefile (format-me): Remove.
28018         (INSTALL): Adjust indentation.  Use commands directly instead of
28019         using $(format-me).
28020
28021         * aclocal.m4 (ACX_PKGVERSION): New macro.
28022         (ACX_BUGURL): Likewise.
28023         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28024         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28025         (REPORT_BUGS_TO): Likewise.
28026         * configure: Regenerated.
28027         * config.h.in (PKGVERSION): New macro.
28028         (REPORT_BUGS_TO): Likewise.
28029         * config.make.in (PKGVERSION): New variable.
28030         (PKGVERSION_TEXI): Likewise.
28031         (REPORT_BUGS_TO): Likewise.
28032         (REPORT_BUGS_TEXI): Likewise.
28033         * Makefile (format-me): Use -I$(common-objpfx)manual.
28034         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28035         ($(common-objpfx)manual/%): New target.
28036         (manual/%): Remove target.
28037         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28038         (print_version): Use PKGVERSION.
28039         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28040         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28041         and REPORT_BUGS_TO.
28042         ($(objpfx)xtrace): Likewise.
28043         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28044         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28045         (print_version): Use PKGVERSION.
28046         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28047         (do_version): Use PKGVERSION.
28048         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28049         REPORT_BUGS_TO.
28050         (common-ldd-rewrite): Likewise.
28051         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28052         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28053         (print_version): Use PKGVERSION.
28054         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28055         * elf/pldd.c (argp_program_bug_address): Remove variable.
28056         (more_help): New function.
28057         (argp): Use more_help.
28058         (print_version): Use PKGVERSION.
28059         * elf/sln.c (main): Use PKGVERSION.
28060         (usage): Use REPORT_BUGS_TO.
28061         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28062         (top level): Use PKGVERSION.
28063         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28064         (print_version): Use PKGVERSION.
28065         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28066         (print_version): Use PKGVERSION.
28067         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28068         (print_version): Use PKGVERSION.
28069         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28070         (print_version): Use PKGVERSION.
28071         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28072         (print_version): Use PKGVERSION.
28073         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28074         (print_version): Use PKGVERSION.
28075         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28076         and BUGURL.
28077         ($(objpfx)memusage): Likewise.
28078         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28079         (do_version): Use PKGVERSION.
28080         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28081         (print_version): Use PKGVERSION.
28082         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28083         ($PKGVERSION): New variable.
28084         ($REPORT_BUGS_TO): Likewise.
28085         (usage): Use $REPORT_BUGS_TO.
28086         (top level): Use $PKGVERSION.
28087         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28088         ($(objpfx)pkgvers.texi): New rule.
28089         ($(objpfx)stamp-pkgvers): Likewise.
28090         * manual/install.texi: Include pkgvers.texi.
28091         (--with-pkgversion): Document new configure option.
28092         (--with-bugurl): Likewise.
28093         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28094         than necessarily for this particular distribution.  Use
28095         REPORT_BUGS_TO for where to report bugs.
28096         * INSTALL: Regenerated.
28097         * manual/libc.texinfo: Include pkgvers.texi.
28098         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28099         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28100         (print_version): Use PKGVERSION.
28101         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28102         (print_version): Use PKGVERSION.
28103         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28104         (print_version): Use PKGVERSION.
28105         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28106         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28107         macro.
28108         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28109         (print_version): Use PKGVERSION.
28110         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28111         (print_version): Use PKGVERSION.
28112         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28113         and PKGVERSION.
28114
28115         * timezone/checktab.awk: Update from tzcode 2012i.
28116         * timezone/ialloc.c: Likewise.
28117         * timezone/private.h: Likewise.
28118         * timezone/scheck.c: Likewise.
28119         * timezone/tzfile.h: Likewise.
28120         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28121         (TZVERSION): Hardcode tzcode version number.
28122         * timezone/zdump.c: Update from tzcode 2012i.
28123         * timezone/zic.c: Likewise.
28124         * timezone/version.h: New file.
28125         * timezone/README: Describe version.h.  Update upstream location.
28126
28127         [BZ #14824]
28128         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28129         (mktemp): Enable declaration.
28130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28134         Likewise.
28135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28136         Likewise.
28137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28138         Likewise.
28139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28140         Likewise.
28141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28142         Likewise.
28143         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28144         Likewise.
28145
28146         [BZ #14821]
28147         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28148         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28149         for copies of such integer values.
28150         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28151         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28152
28153 2012-11-09  Andreas Jaeger  <aj@suse.de>
28154
28155         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28156         definitions and declarations that are provided by
28157         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28158
28159 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28160
28161         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28162         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28163         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28164         definition.
28165
28166 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28167
28168         * elf/elf.h: Update comment before AArch64 relocations.
28169
28170 2012-11-07  David S. Miller  <davem@davemloft.net>
28171
28172         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28173         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28174         (__start_context): Declare.
28175         (__makecontext_ret): Delete.
28176         (__makecontext): Hook up __start_context instead of
28177         __makecontext_ret.
28178         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28179         (sysdep_routines): Add __start_context when in stdlib.
28180
28181 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28182
28183         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28184         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28185         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28186         hardcoded "nm".
28187         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28188         (READELF): New variable.  Use it instead of hardcoded "readelf".
28189
28190 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28191
28192         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28193         * sysdeps/x86/Makefile: Here.
28194         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28195         * sysdeps/x86/tst-xmmymm.sh: This.
28196
28197 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28198
28199         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28200         expectations.
28201         [UNIX98] (pthread_barrier_t): Do not expect.
28202         [UNIX98] (pthread_barrierattr_t): Likewise.
28203         [UNIX98] (pthread_spinlock_t): Likewise.
28204         [UNIX98] (pthread_barrier_destroy): Likewise.
28205         [UNIX98] (pthread_barrier_init): Likewise.
28206         [UNIX98] (pthread_barrier_wait): Likewise.
28207         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28208         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28209         [UNIX98] (pthread_barrierattr_init): Likewise.
28210         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28211         [UNIX98] (pthread_getcpuclockid): Likewise.
28212         [UNIX98] (pthread_mutex_timedlock): Likewise.
28213         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28214         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28215         [UNIX98] (pthread_sigmask): Likewise.
28216         [UNIX98] (pthread_spin_destroy): Likewise.
28217         [UNIX98] (pthread_spin_init): Likewise.
28218         [UNIX98] (pthread_spin_lock): Likewise.
28219         [UNIX98] (pthread_spin_trylock): Likewise.
28220         [UNIX98] (pthread_spin_unlock): Likewise.
28221         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28222         Do not expect.
28223         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28224         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28225         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28226         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28227         [XPG3 || XPG4] (pthread_key_t): Likewise.
28228         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28229         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28230         [XPG3 || XPG4] (pthread_once_t): Likewise.
28231         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28232         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28233         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28234         [XPG3 || XPG4] (pthread_t): Likewise.
28235
28236         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28237         not expect.
28238         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28239
28240         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28241         Change function return type to int.
28242
28243         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28244         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28245         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28246         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28247         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28248         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28249         [!POSIX] (posix_madvise): Likewise.
28250         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28251         && !UNIX98].
28252         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28253         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28254         (mode_t): Likewise.
28255         (posix_mem_offset): Likewise.
28256         (posix_typed_mem_get_info): Likewise.
28257         (posix_typed_mem_open): Likewise.
28258
28259         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28260         Change condition to [XOPEN2K8].
28261
28262         * conform/conformtest.pl: Preprocess allow-header data with -x c
28263         instead of from stdin.
28264         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28265         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28266         [C99-based standards] (cerfc): Likewise.
28267         [C99-based standards] (cexp2): Likewise.
28268         [C99-based standards] (cexpm1): Likewise.
28269         [C99-based standards] (clog10): Likewise.
28270         [C99-based standards] (clog1p): Likewise.
28271         [C99-based standards] (clog2): Likewise.
28272         [C99-based standards] (clgamma): Likewise.
28273         [C99-based standards] (ctgamma): Likewise.
28274         [C99-based standards] (cerff): Likewise.
28275         [C99-based standards] (cerfcf): Likewise.
28276         [C99-based standards] (cexp2f): Likewise.
28277         [C99-based standards] (cexpm1f): Likewise.
28278         [C99-based standards] (clog10f): Likewise.
28279         [C99-based standards] (clog1pf): Likewise.
28280         [C99-based standards] (clog2f): Likewise.
28281         [C99-based standards] (clgammaf): Likewise.
28282         [C99-based standards] (ctgammaf): Likewise.
28283         [C99-based standards] (cerfl): Likewise.
28284         [C99-based standards] (cerfcl): Likewise.
28285         [C99-based standards] (cexp2l): Likewise.
28286         [C99-based standards] (cexpm1l): Likewise.
28287         [C99-based standards] (clog10l): Likewise.
28288         [C99-based standards] (clog1pl): Likewise.
28289         [C99-based standards] (clog2l): Likewise.
28290         [C99-based standards] (clgammal): Likewise.
28291         [C99-based standards] (ctgammal): Likewise.
28292         * conform/data/inttypes.h-data [C99-based standards]: Include
28293         stdint.h-data.  Remove all expectations for stdint.h contents.
28294         [C99-based standards] (PRI*): Do not allow.
28295         [C99-based standards] (SCN*): Likewise.
28296         [C99-based standards] (*_t): Likewise.
28297         [C99-based-standards] (PRId8): Expect macro.
28298         [C99-based-standards] (PRIi8): Likewise.
28299         [C99-based-standards] (PRIo8): Likewise.
28300         [C99-based-standards] (PRIu8): Likewise.
28301         [C99-based-standards] (PRIx8): Likewise.
28302         [C99-based-standards] (PRIX8): Likewise.
28303         [C99-based-standards] (SCNd8): Likewise.
28304         [C99-based-standards] (SCNi8): Likewise.
28305         [C99-based-standards] (SCNo8): Likewise.
28306         [C99-based-standards] (SCNu8): Likewise.
28307         [C99-based-standards] (SCNx8): Likewise.
28308         [C99-based-standards] (PRIdLEAST8): Likewise.
28309         [C99-based-standards] (PRIiLEAST8): Likewise.
28310         [C99-based-standards] (PRIoLEAST8): Likewise.
28311         [C99-based-standards] (PRIuLEAST8): Likewise.
28312         [C99-based-standards] (PRIxLEAST8): Likewise.
28313         [C99-based-standards] (PRIXLEAST8): Likewise.
28314         [C99-based-standards] (SCNdLEAST8): Likewise.
28315         [C99-based-standards] (SCNiLEAST8): Likewise.
28316         [C99-based-standards] (SCNoLEAST8): Likewise.
28317         [C99-based-standards] (SCNuLEAST8): Likewise.
28318         [C99-based-standards] (SCNxLEAST8): Likewise.
28319         [C99-based-standards] (PRIdFAST8): Likewise.
28320         [C99-based-standards] (PRIiFAST8): Likewise.
28321         [C99-based-standards] (PRIoFAST8): Likewise.
28322         [C99-based-standards] (PRIuFAST8): Likewise.
28323         [C99-based-standards] (PRIxFAST8): Likewise.
28324         [C99-based-standards] (PRIXFAST8): Likewise.
28325         [C99-based-standards] (SCNdFAST8): Likewise.
28326         [C99-based-standards] (SCNiFAST8): Likewise.
28327         [C99-based-standards] (SCNoFAST8): Likewise.
28328         [C99-based-standards] (SCNuFAST8): Likewise.
28329         [C99-based-standards] (SCNxFAST8): Likewise.
28330         [C99-based-standards] (PRId16): Likewise.
28331         [C99-based-standards] (PRIi16): Likewise.
28332         [C99-based-standards] (PRIo16): Likewise.
28333         [C99-based-standards] (PRIu16): Likewise.
28334         [C99-based-standards] (PRIx16): Likewise.
28335         [C99-based-standards] (PRIX16): Likewise.
28336         [C99-based-standards] (SCNd16): Likewise.
28337         [C99-based-standards] (SCNi16): Likewise.
28338         [C99-based-standards] (SCNo16): Likewise.
28339         [C99-based-standards] (SCNu16): Likewise.
28340         [C99-based-standards] (SCNx16): Likewise.
28341         [C99-based-standards] (PRIdLEAST16): Likewise.
28342         [C99-based-standards] (PRIiLEAST16): Likewise.
28343         [C99-based-standards] (PRIoLEAST16): Likewise.
28344         [C99-based-standards] (PRIuLEAST16): Likewise.
28345         [C99-based-standards] (PRIxLEAST16): Likewise.
28346         [C99-based-standards] (PRIXLEAST16): Likewise.
28347         [C99-based-standards] (SCNdLEAST16): Likewise.
28348         [C99-based-standards] (SCNiLEAST16): Likewise.
28349         [C99-based-standards] (SCNoLEAST16): Likewise.
28350         [C99-based-standards] (SCNuLEAST16): Likewise.
28351         [C99-based-standards] (SCNxLEAST16): Likewise.
28352         [C99-based-standards] (PRIdFAST16): Likewise.
28353         [C99-based-standards] (PRIiFAST16): Likewise.
28354         [C99-based-standards] (PRIoFAST16): Likewise.
28355         [C99-based-standards] (PRIuFAST16): Likewise.
28356         [C99-based-standards] (PRIxFAST16): Likewise.
28357         [C99-based-standards] (PRIXFAST16): Likewise.
28358         [C99-based-standards] (SCNdFAST16): Likewise.
28359         [C99-based-standards] (SCNiFAST16): Likewise.
28360         [C99-based-standards] (SCNoFAST16): Likewise.
28361         [C99-based-standards] (SCNuFAST16): Likewise.
28362         [C99-based-standards] (SCNxFAST16): Likewise.
28363         [C99-based-standards] (PRId32): Likewise.
28364         [C99-based-standards] (PRIi32): Likewise.
28365         [C99-based-standards] (PRIo32): Likewise.
28366         [C99-based-standards] (PRIu32): Likewise.
28367         [C99-based-standards] (PRIx32): Likewise.
28368         [C99-based-standards] (PRIX32): Likewise.
28369         [C99-based-standards] (SCNd32): Likewise.
28370         [C99-based-standards] (SCNi32): Likewise.
28371         [C99-based-standards] (SCNo32): Likewise.
28372         [C99-based-standards] (SCNu32): Likewise.
28373         [C99-based-standards] (SCNx32): Likewise.
28374         [C99-based-standards] (PRIdLEAST32): Likewise.
28375         [C99-based-standards] (PRIiLEAST32): Likewise.
28376         [C99-based-standards] (PRIoLEAST32): Likewise.
28377         [C99-based-standards] (PRIuLEAST32): Likewise.
28378         [C99-based-standards] (PRIxLEAST32): Likewise.
28379         [C99-based-standards] (PRIXLEAST32): Likewise.
28380         [C99-based-standards] (SCNdLEAST32): Likewise.
28381         [C99-based-standards] (SCNiLEAST32): Likewise.
28382         [C99-based-standards] (SCNoLEAST32): Likewise.
28383         [C99-based-standards] (SCNuLEAST32): Likewise.
28384         [C99-based-standards] (SCNxLEAST32): Likewise.
28385         [C99-based-standards] (PRIdFAST32): Likewise.
28386         [C99-based-standards] (PRIiFAST32): Likewise.
28387         [C99-based-standards] (PRIoFAST32): Likewise.
28388         [C99-based-standards] (PRIuFAST32): Likewise.
28389         [C99-based-standards] (PRIxFAST32): Likewise.
28390         [C99-based-standards] (PRIXFAST32): Likewise.
28391         [C99-based-standards] (SCNdFAST32): Likewise.
28392         [C99-based-standards] (SCNiFAST32): Likewise.
28393         [C99-based-standards] (SCNoFAST32): Likewise.
28394         [C99-based-standards] (SCNuFAST32): Likewise.
28395         [C99-based-standards] (SCNxFAST32): Likewise.
28396         [C99-based-standards] (PRId64): Likewise.
28397         [C99-based-standards] (PRIi64): Likewise.
28398         [C99-based-standards] (PRIo64): Likewise.
28399         [C99-based-standards] (PRIu64): Likewise.
28400         [C99-based-standards] (PRIx64): Likewise.
28401         [C99-based-standards] (PRIX64): Likewise.
28402         [C99-based-standards] (SCNd64): Likewise.
28403         [C99-based-standards] (SCNi64): Likewise.
28404         [C99-based-standards] (SCNo64): Likewise.
28405         [C99-based-standards] (SCNu64): Likewise.
28406         [C99-based-standards] (SCNx64): Likewise.
28407         [C99-based-standards] (PRIdLEAST64): Likewise.
28408         [C99-based-standards] (PRIiLEAST64): Likewise.
28409         [C99-based-standards] (PRIoLEAST64): Likewise.
28410         [C99-based-standards] (PRIuLEAST64): Likewise.
28411         [C99-based-standards] (PRIxLEAST64): Likewise.
28412         [C99-based-standards] (PRIXLEAST64): Likewise.
28413         [C99-based-standards] (SCNdLEAST64): Likewise.
28414         [C99-based-standards] (SCNiLEAST64): Likewise.
28415         [C99-based-standards] (SCNoLEAST64): Likewise.
28416         [C99-based-standards] (SCNuLEAST64): Likewise.
28417         [C99-based-standards] (SCNxLEAST64): Likewise.
28418         [C99-based-standards] (PRIdFAST64): Likewise.
28419         [C99-based-standards] (PRIiFAST64): Likewise.
28420         [C99-based-standards] (PRIoFAST64): Likewise.
28421         [C99-based-standards] (PRIuFAST64): Likewise.
28422         [C99-based-standards] (PRIxFAST64): Likewise.
28423         [C99-based-standards] (PRIXFAST64): Likewise.
28424         [C99-based-standards] (SCNdFAST64): Likewise.
28425         [C99-based-standards] (SCNiFAST64): Likewise.
28426         [C99-based-standards] (SCNoFAST64): Likewise.
28427         [C99-based-standards] (SCNuFAST64): Likewise.
28428         [C99-based-standards] (SCNxFAST64): Likewise.
28429         [C99-based-standards] (PRIdMAX): Likewise.
28430         [C99-based-standards] (PRIiMAX): Likewise.
28431         [C99-based-standards] (PRIoMAX): Likewise.
28432         [C99-based-standards] (PRIuMAX): Likewise.
28433         [C99-based-standards] (PRIxMAX): Likewise.
28434         [C99-based-standards] (PRIXMAX): Likewise.
28435         [C99-based-standards] (SCNdMAX): Likewise.
28436         [C99-based-standards] (SCNiMAX): Likewise.
28437         [C99-based-standards] (SCNoMAX): Likewise.
28438         [C99-based-standards] (SCNuMAX): Likewise.
28439         [C99-based-standards] (SCNxMAX): Likewise.
28440         [C99-based-standards] (PRIdPTR): Likewise.
28441         [C99-based-standards] (PRIiPTR): Likewise.
28442         [C99-based-standards] (PRIoPTR): Likewise.
28443         [C99-based-standards] (PRIuPTR): Likewise.
28444         [C99-based-standards] (PRIxPTR): Likewise.
28445         [C99-based-standards] (PRIXPTR): Likewise.
28446         [C99-based-standards] (SCNdPTR): Likewise.
28447         [C99-based-standards] (SCNiPTR): Likewise.
28448         [C99-based-standards] (SCNoPTR): Likewise.
28449         [C99-based-standards] (SCNuPTR): Likewise.
28450         [C99-based-standards] (SCNxPTR): Likewise.
28451         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28452         allow.
28453         * conform/data/stdint.h-data: Update comments to clarify
28454         requirements.
28455         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28456         type.
28457         [C99-based standards] (INT8_MAX): Likewise.
28458         [C99-based standards] (INT16_MIN): Likewise.
28459         [C99-based standards] (INT16_MAX): Likewise.
28460         [C99-based standards] (INT32_MIN): Likewise.
28461         [C99-based standards] (INT32_MAX): Likewise.
28462         [C99-based standards] (INT64_MIN): Likewise.
28463         [C99-based standards] (INT64_MAX): Likewise.
28464         [C99-based standards] (UINT8_MAX): Likewise.
28465         [C99-based standards] (UINT16_MAX): Likewise.
28466         [C99-based standards] (UINT32_MAX): Likewise.
28467         [C99-based standards] (UINT64_MAX): Likewise.
28468         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28469         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28470         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28471         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28472         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28473         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28474         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28475         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28476         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28477         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28478         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28479         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28480         [C99-based standards] (INT_FAST8_MIN): Likewise.
28481         [C99-based standards] (INT_FAST8_MAX): Likewise.
28482         [C99-based standards] (INT_FAST16_MIN): Likewise.
28483         [C99-based standards] (INT_FAST16_MAX): Likewise.
28484         [C99-based standards] (INT_FAST32_MIN): Likewise.
28485         [C99-based standards] (INT_FAST32_MAX): Likewise.
28486         [C99-based standards] (INT_FAST64_MIN): Likewise.
28487         [C99-based standards] (INT_FAST64_MAX): Likewise.
28488         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28489         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28490         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28491         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28492         [C99-based standards] (INTPTR_MIN): Likewise.
28493         [C99-based standards] (INTPTR_MAX): Likewise.
28494         [C99-based standards] (UINTPTR_MAX): Likewise.
28495         [C99-based standards] (INTMAX_MIN): Likewise.
28496         [C99-based standards] (INTMAX_MAX): Likewise.
28497         [C99-based standards] (UINTMAX_MAX): Likewise.
28498         [C99-based standards] (PTRDIFF_MIN): Likewise.
28499         [C99-based standards] (PTRDIFF_MAX): Likewise.
28500         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28501         [C99-based standards] (SIZE_MAX): Likewise.
28502         [C99-based standards] (WCHAR_MAX): Likewise.
28503         [C99-based standards] (WINT_MAX): Likewise.
28504         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28505         constraint on value.
28506         [C99-based standards] (WCHAR_MIN): Likewise.
28507         [C99-based standards] (WINT_MIN): Likewise.
28508         [C99-based standards] (*_t): Allow.
28509         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28510         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28511         Include math.h-data and complex.h-data.  Remove all expectations
28512         of math.h and complex.h contents.
28513         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28514         at end of line.
28515         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28516         (struct tm): Expect tag.
28517         [C99-based-standards] (wcstof): Expect function.
28518         [C99-based-standards] (wcstold): Likewise.
28519         [C99-based-standards] (wcstoll): Likewise.
28520         [C99-based-standards] (wcstoull): Likewise.
28521         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28522         macro-int-constant.  Specify type.
28523         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28524         constraint on value.
28525         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28526         Specify type.
28527         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28528         Specify value.
28529         [ISO C standards]: Do not allow headers.
28530         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28531         wcs[abcdefghijklmnopqrstuvwxyz]*.
28532         [ISO C standards] (*_t): Do not allow.
28533         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28534         Expect function.
28535         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28536         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28537         Specify type.
28538         [ISO C standards]: Do not allow headers.
28539         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28540         is[abcdefghijklmnopqrstuvwxyz]*.
28541         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28542         to[abcdefghijklmnopqrstuvwxyz]*.
28543         [ISO C standards] (*_t): Do not allow.
28544         * conform/data/stdalign.h-data: New file.
28545         * conform/data/stdbool.h-data: Likewise.
28546         * conform/data/stdnoreturn.h-data: Likewise.
28547
28548 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28549
28550         [BZ #14815]
28551         * manual/filesys.texi (Directory Entries): Typo fix.
28552         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28553
28554 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28555
28556         * elf/elf.h (EM_AARCH64): New macro.
28557         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28558         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28559         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28560         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28561         (R_AARCH64_TLSDESC): Likewise.
28562         (NT_ARM_TLS): Likewise.
28563         (NT_ARM_HW_BREAK): Likewise.
28564         (NT_ARM_HW_WATCH): Likewise.
28565
28566 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28567
28568         [BZ #14811]
28569         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28570         (__ieee754_powl): Saturate nonzero exponents with absolute value
28571         below 0x1p-79 to +/- 0x1p-79.
28572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28573         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28574         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28575         nonzero exponents with absolute value below 0x1p-32 to +/-
28576         0x1p-32.
28577         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28578         (__ieee754_powl): Saturate nonzero exponents with absolute value
28579         below 0x1p-79 to +/- 0x1p-79.
28580         * math/libm-test.inc (pow_test): Add more tests.
28581
28582 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28583
28584         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28585         _dl_s390_cap_flags with kernel. Increase string length.
28586         (_dl_s390_platforms): Add z196 and zEC12.
28587
28588 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28589
28590         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28591         Change XOPEN21K to XOPEN2K.
28592
28593 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28594
28595         * string/memmove.c: Use memcpy when possible.
28596
28597 2012-11-06  Andreas Jaeger  <aj@suse.de>
28598
28599         * po/eo.po: Update from translation team.
28600
28601 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28602
28603         [BZ #14793]
28604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28605         exponent and small x and y exponents, scale x or y up.  Increase
28606         by 2 the exponent used in scaling up.
28607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28609         * math/libm-test.inc (fma_test): Add more tests.
28610         (fma_test_towardzero): Likewise.
28611         (fma_test_downward): Likewise.
28612         (fma_test_upward): Likewise.
28613
28614 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28615
28616         [BZ #14805]
28617         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28618         fenv_t *.
28619
28620         [BZ #14801]
28621         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28622         namespace for names of struct fields.
28623         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28624         fenv_t fields.
28625         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28626         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28627
28628 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28629
28630         [BZ #3665]
28631         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28632
28633 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28634
28635         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28636         PTR_DEMANGLE.
28637
28638         [BZ #5246]
28639         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28640         PTR_DEMANGLE.
28641
28642 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28643
28644         [BZ #14797]
28645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28646         definitely overflow as x * y not x * y + z.
28647         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28648         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28649         * math/libm-test.inc (fma_test): Add more tests.
28650         (fma_test_towardzero): Likewise.
28651         (fma_test_downward): Likewise.
28652         (fma_test_upward): Likewise.
28653
28654 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28655
28656         [BZ #157]
28657
28658         * include/stub-tag.h: Remove file.
28659         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28660         '#include' of it.
28661         * manual/maint.texi (Porting): Don't reference it.
28662         * Makerules ($(objpfx)stubs): Likewise.
28663         * dirent/closedir.c: Don't include <stub-tag.h>.
28664         * dirent/dirfd.c: Likewise.
28665         * dirent/fdopendir.c: Likewise.
28666         * dirent/getdents.c: Likewise.
28667         * dirent/getdents64.c: Likewise.
28668         * dirent/opendir.c: Likewise.
28669         * dirent/readdir.c: Likewise.
28670         * dirent/readdir64.c: Likewise.
28671         * dirent/readdir64_r.c: Likewise.
28672         * dirent/readdir_r.c: Likewise.
28673         * dirent/rewinddir.c: Likewise.
28674         * dirent/seekdir.c: Likewise.
28675         * dirent/telldir.c: Likewise.
28676         * gmon/profil.c: Likewise.
28677         * grp/setgroups.c: Likewise.
28678         * inet/if_index.c: Likewise.
28679         * io/access.c: Likewise.
28680         * io/chdir.c: Likewise.
28681         * io/chmod.c: Likewise.
28682         * io/chown.c: Likewise.
28683         * io/close.c: Likewise.
28684         * io/dup.c: Likewise.
28685         * io/dup2.c: Likewise.
28686         * io/dup3.c: Likewise.
28687         * io/euidaccess.c: Likewise.
28688         * io/faccessat.c: Likewise.
28689         * io/fchdir.c: Likewise.
28690         * io/fchmod.c: Likewise.
28691         * io/fchmodat.c: Likewise.
28692         * io/fchown.c: Likewise.
28693         * io/fchownat.c: Likewise.
28694         * io/fcntl.c: Likewise.
28695         * io/flock.c: Likewise.
28696         * io/fstatfs.c: Likewise.
28697         * io/fstatfs64.c: Likewise.
28698         * io/fstatvfs.c: Likewise.
28699         * io/fstatvfs64.c: Likewise.
28700         * io/futimens.c: Likewise.
28701         * io/fxstat.c: Likewise.
28702         * io/fxstat64.c: Likewise.
28703         * io/fxstatat.c: Likewise.
28704         * io/fxstatat64.c: Likewise.
28705         * io/getcwd.c: Likewise.
28706         * io/isatty.c: Likewise.
28707         * io/lchmod.c: Likewise.
28708         * io/lchown.c: Likewise.
28709         * io/link.c: Likewise.
28710         * io/linkat.c: Likewise.
28711         * io/lseek.c: Likewise.
28712         * io/lseek64.c: Likewise.
28713         * io/lxstat64.c: Likewise.
28714         * io/mkdir.c: Likewise.
28715         * io/mkdirat.c: Likewise.
28716         * io/mkfifo.c: Likewise.
28717         * io/mkfifoat.c: Likewise.
28718         * io/open.c: Likewise.
28719         * io/open64.c: Likewise.
28720         * io/openat.c: Likewise.
28721         * io/openat64.c: Likewise.
28722         * io/pipe.c: Likewise.
28723         * io/pipe2.c: Likewise.
28724         * io/poll.c: Likewise.
28725         * io/posix_fadvise.c: Likewise.
28726         * io/posix_fadvise64.c: Likewise.
28727         * io/posix_fallocate.c: Likewise.
28728         * io/posix_fallocate64.c: Likewise.
28729         * io/read.c: Likewise.
28730         * io/readlink.c: Likewise.
28731         * io/readlinkat.c: Likewise.
28732         * io/rmdir.c: Likewise.
28733         * io/sendfile.c: Likewise.
28734         * io/sendfile64.c: Likewise.
28735         * io/statfs.c: Likewise.
28736         * io/statfs64.c: Likewise.
28737         * io/statvfs.c: Likewise.
28738         * io/statvfs64.c: Likewise.
28739         * io/symlink.c: Likewise.
28740         * io/symlinkat.c: Likewise.
28741         * io/ttyname.c: Likewise.
28742         * io/ttyname_r.c: Likewise.
28743         * io/umask.c: Likewise.
28744         * io/unlink.c: Likewise.
28745         * io/unlinkat.c: Likewise.
28746         * io/utime.c: Likewise.
28747         * io/utimensat.c: Likewise.
28748         * io/write.c: Likewise.
28749         * io/xmknod.c: Likewise.
28750         * io/xmknodat.c: Likewise.
28751         * io/xstat.c: Likewise.
28752         * io/xstat64.c: Likewise.
28753         * login/getpt.c: Likewise.
28754         * login/grantpt.c: Likewise.
28755         * login/unlockpt.c: Likewise.
28756         * math/e_acoshl.c: Likewise.
28757         * math/e_acosl.c: Likewise.
28758         * math/e_asinl.c: Likewise.
28759         * math/e_atan2l.c: Likewise.
28760         * math/e_atanhl.c: Likewise.
28761         * math/e_coshl.c: Likewise.
28762         * math/e_expl.c: Likewise.
28763         * math/e_fmodl.c: Likewise.
28764         * math/e_gammal_r.c: Likewise.
28765         * math/e_hypotl.c: Likewise.
28766         * math/e_j0l.c: Likewise.
28767         * math/e_j1l.c: Likewise.
28768         * math/e_jnl.c: Likewise.
28769         * math/e_lgammal_r.c: Likewise.
28770         * math/e_log10l.c: Likewise.
28771         * math/e_log2l.c: Likewise.
28772         * math/e_logl.c: Likewise.
28773         * math/e_powl.c: Likewise.
28774         * math/e_rem_pio2l.c: Likewise.
28775         * math/e_sinhl.c: Likewise.
28776         * math/e_sqrtl.c: Likewise.
28777         * math/fclrexcpt.c: Likewise.
28778         * math/fedisblxcpt.c: Likewise.
28779         * math/feenablxcpt.c: Likewise.
28780         * math/fegetenv.c: Likewise.
28781         * math/fegetexcept.c: Likewise.
28782         * math/fegetround.c: Likewise.
28783         * math/feholdexcpt.c: Likewise.
28784         * math/fesetenv.c: Likewise.
28785         * math/fesetround.c: Likewise.
28786         * math/feupdateenv.c: Likewise.
28787         * math/fgetexcptflg.c: Likewise.
28788         * math/fraiseexcpt.c: Likewise.
28789         * math/fsetexcptflg.c: Likewise.
28790         * math/ftestexcept.c: Likewise.
28791         * math/k_cosl.c: Likewise.
28792         * math/k_rem_pio2l.c: Likewise.
28793         * math/k_sinl.c: Likewise.
28794         * math/k_tanl.c: Likewise.
28795         * math/s_asinhl.c: Likewise.
28796         * math/s_atanl.c: Likewise.
28797         * math/s_cbrtl.c: Likewise.
28798         * math/s_erfl.c: Likewise.
28799         * math/s_expm1l.c: Likewise.
28800         * math/s_log1pl.c: Likewise.
28801         * math/s_tanhl.c: Likewise.
28802         * misc/acct.c: Likewise.
28803         * misc/brk.c: Likewise.
28804         * misc/chflags.c: Likewise.
28805         * misc/chroot.c: Likewise.
28806         * misc/fchflags.c: Likewise.
28807         * misc/fgetxattr.c: Likewise.
28808         * misc/flistxattr.c: Likewise.
28809         * misc/fremovexattr.c: Likewise.
28810         * misc/fsetxattr.c: Likewise.
28811         * misc/fsync.c: Likewise.
28812         * misc/ftruncate.c: Likewise.
28813         * misc/futimes.c: Likewise.
28814         * misc/futimesat.c: Likewise.
28815         * misc/getdomain.c: Likewise.
28816         * misc/getdtsz.c: Likewise.
28817         * misc/gethostid.c: Likewise.
28818         * misc/gethostname.c: Likewise.
28819         * misc/getloadavg.c: Likewise.
28820         * misc/getpagesize.c: Likewise.
28821         * misc/getsysstats.c: Likewise.
28822         * misc/getxattr.c: Likewise.
28823         * misc/gtty.c: Likewise.
28824         * misc/ioctl.c: Likewise.
28825         * misc/lgetxattr.c: Likewise.
28826         * misc/listxattr.c: Likewise.
28827         * misc/llistxattr.c: Likewise.
28828         * misc/lremovexattr.c: Likewise.
28829         * misc/lsetxattr.c: Likewise.
28830         * misc/lutimes.c: Likewise.
28831         * misc/madvise.c: Likewise.
28832         * misc/mincore.c: Likewise.
28833         * misc/mlock.c: Likewise.
28834         * misc/mlockall.c: Likewise.
28835         * misc/mmap.c: Likewise.
28836         * misc/mprotect.c: Likewise.
28837         * misc/msync.c: Likewise.
28838         * misc/munlock.c: Likewise.
28839         * misc/munlockall.c: Likewise.
28840         * misc/munmap.c: Likewise.
28841         * misc/preadv.c: Likewise.
28842         * misc/preadv64.c: Likewise.
28843         * misc/ptrace.c: Likewise.
28844         * misc/pwritev.c: Likewise.
28845         * misc/pwritev64.c: Likewise.
28846         * misc/readv.c: Likewise.
28847         * misc/reboot.c: Likewise.
28848         * misc/remap_file_pages.c: Likewise.
28849         * misc/removexattr.c: Likewise.
28850         * misc/revoke.c: Likewise.
28851         * misc/select.c: Likewise.
28852         * misc/setdomain.c: Likewise.
28853         * misc/setegid.c: Likewise.
28854         * misc/seteuid.c: Likewise.
28855         * misc/sethostid.c: Likewise.
28856         * misc/sethostname.c: Likewise.
28857         * misc/setregid.c: Likewise.
28858         * misc/setreuid.c: Likewise.
28859         * misc/setxattr.c: Likewise.
28860         * misc/sstk.c: Likewise.
28861         * misc/stty.c: Likewise.
28862         * misc/swapoff.c: Likewise.
28863         * misc/swapon.c: Likewise.
28864         * misc/sync.c: Likewise.
28865         * misc/syncfs.c: Likewise.
28866         * misc/syscall.c: Likewise.
28867         * misc/truncate.c: Likewise.
28868         * misc/ualarm.c: Likewise.
28869         * misc/usleep.c: Likewise.
28870         * misc/ustat.c: Likewise.
28871         * misc/utimes.c: Likewise.
28872         * misc/vhangup.c: Likewise.
28873         * misc/writev.c: Likewise.
28874         * posix/_exit.c: Likewise.
28875         * posix/alarm.c: Likewise.
28876         * posix/execve.c: Likewise.
28877         * posix/fexecve.c: Likewise.
28878         * posix/fork.c: Likewise.
28879         * posix/fpathconf.c: Likewise.
28880         * posix/getaddrinfo.c: Likewise.
28881         * posix/getegid.c: Likewise.
28882         * posix/geteuid.c: Likewise.
28883         * posix/getgid.c: Likewise.
28884         * posix/getgroups.c: Likewise.
28885         * posix/getlogin.c: Likewise.
28886         * posix/getlogin_r.c: Likewise.
28887         * posix/getpgid.c: Likewise.
28888         * posix/getpid.c: Likewise.
28889         * posix/getppid.c: Likewise.
28890         * posix/getresgid.c: Likewise.
28891         * posix/getresuid.c: Likewise.
28892         * posix/getsid.c: Likewise.
28893         * posix/getuid.c: Likewise.
28894         * posix/glob64.c: Likewise.
28895         * posix/nanosleep.c: Likewise.
28896         * posix/pathconf.c: Likewise.
28897         * posix/pause.c: Likewise.
28898         * posix/posix_madvise.c: Likewise.
28899         * posix/pread.c: Likewise.
28900         * posix/pread64.c: Likewise.
28901         * posix/pwrite.c: Likewise.
28902         * posix/pwrite64.c: Likewise.
28903         * posix/sched_getaffinity.c: Likewise.
28904         * posix/sched_getp.c: Likewise.
28905         * posix/sched_gets.c: Likewise.
28906         * posix/sched_primax.c: Likewise.
28907         * posix/sched_primin.c: Likewise.
28908         * posix/sched_rr_gi.c: Likewise.
28909         * posix/sched_setaffinity.c: Likewise.
28910         * posix/sched_setp.c: Likewise.
28911         * posix/sched_sets.c: Likewise.
28912         * posix/sched_yield.c: Likewise.
28913         * posix/setgid.c: Likewise.
28914         * posix/setlogin.c: Likewise.
28915         * posix/setpgid.c: Likewise.
28916         * posix/setresgid.c: Likewise.
28917         * posix/setresuid.c: Likewise.
28918         * posix/setsid.c: Likewise.
28919         * posix/setuid.c: Likewise.
28920         * posix/sleep.c: Likewise.
28921         * posix/spawni.c: Likewise.
28922         * posix/sysconf.c: Likewise.
28923         * posix/times.c: Likewise.
28924         * posix/wait.c: Likewise.
28925         * posix/wait3.c: Likewise.
28926         * posix/wait4.c: Likewise.
28927         * posix/waitpid.c: Likewise.
28928         * resolv/gai_sigqueue.c: Likewise.
28929         * resource/getpriority.c: Likewise.
28930         * resource/getrlimit.c: Likewise.
28931         * resource/getrusage.c: Likewise.
28932         * resource/nice.c: Likewise.
28933         * resource/setpriority.c: Likewise.
28934         * resource/setrlimit.c: Likewise.
28935         * resource/ulimit.c: Likewise.
28936         * rt/aio_cancel.c: Likewise.
28937         * rt/aio_fsync.c: Likewise.
28938         * rt/aio_read.c: Likewise.
28939         * rt/aio_sigqueue.c: Likewise.
28940         * rt/aio_suspend.c: Likewise.
28941         * rt/aio_write.c: Likewise.
28942         * rt/clock_getres.c: Likewise.
28943         * rt/clock_gettime.c: Likewise.
28944         * rt/clock_nanosleep.c: Likewise.
28945         * rt/clock_settime.c: Likewise.
28946         * rt/lio_listio.c: Likewise.
28947         * rt/mq_close.c: Likewise.
28948         * rt/mq_getattr.c: Likewise.
28949         * rt/mq_notify.c: Likewise.
28950         * rt/mq_open.c: Likewise.
28951         * rt/mq_receive.c: Likewise.
28952         * rt/mq_send.c: Likewise.
28953         * rt/mq_setattr.c: Likewise.
28954         * rt/mq_timedreceive.c: Likewise.
28955         * rt/mq_timedsend.c: Likewise.
28956         * rt/mq_unlink.c: Likewise.
28957         * rt/shm_open.c: Likewise.
28958         * rt/shm_unlink.c: Likewise.
28959         * rt/timer_create.c: Likewise.
28960         * rt/timer_delete.c: Likewise.
28961         * rt/timer_getoverr.c: Likewise.
28962         * rt/timer_gettime.c: Likewise.
28963         * rt/timer_settime.c: Likewise.
28964         * setjmp/__longjmp.c: Likewise.
28965         * setjmp/setjmp.c: Likewise.
28966         * signal/kill.c: Likewise.
28967         * signal/killpg.c: Likewise.
28968         * signal/raise.c: Likewise.
28969         * signal/sigaction.c: Likewise.
28970         * signal/sigaltstack.c: Likewise.
28971         * signal/sigblock.c: Likewise.
28972         * signal/sigignore.c: Likewise.
28973         * signal/sigintr.c: Likewise.
28974         * signal/signal.c: Likewise.
28975         * signal/sigpause.c: Likewise.
28976         * signal/sigpending.c: Likewise.
28977         * signal/sigqueue.c: Likewise.
28978         * signal/sigreturn.c: Likewise.
28979         * signal/sigset.c: Likewise.
28980         * signal/sigsetmask.c: Likewise.
28981         * signal/sigstack.c: Likewise.
28982         * signal/sigsuspend.c: Likewise.
28983         * signal/sigtimedwait.c: Likewise.
28984         * signal/sigvec.c: Likewise.
28985         * signal/sigwait.c: Likewise.
28986         * signal/sigwaitinfo.c: Likewise.
28987         * signal/sysv_signal.c: Likewise.
28988         * socket/accept.c: Likewise.
28989         * socket/accept4.c: Likewise.
28990         * socket/bind.c: Likewise.
28991         * socket/connect.c: Likewise.
28992         * socket/getpeername.c: Likewise.
28993         * socket/getsockname.c: Likewise.
28994         * socket/getsockopt.c: Likewise.
28995         * socket/isfdtype.c: Likewise.
28996         * socket/listen.c: Likewise.
28997         * socket/recv.c: Likewise.
28998         * socket/recvfrom.c: Likewise.
28999         * socket/recvmsg.c: Likewise.
29000         * socket/send.c: Likewise.
29001         * socket/sendmsg.c: Likewise.
29002         * socket/sendto.c: Likewise.
29003         * socket/setsockopt.c: Likewise.
29004         * socket/shutdown.c: Likewise.
29005         * socket/sockatmark.c: Likewise.
29006         * socket/socket.c: Likewise.
29007         * socket/socketpair.c: Likewise.
29008         * stdio-common/ctermid.c: Likewise.
29009         * stdio-common/cuserid.c: Likewise.
29010         * stdio-common/remove.c: Likewise.
29011         * stdio-common/rename.c: Likewise.
29012         * stdio-common/renameat.c: Likewise.
29013         * stdio-common/tempname.c: Likewise.
29014         * stdlib/getcontext.c: Likewise.
29015         * stdlib/makecontext.c: Likewise.
29016         * stdlib/setcontext.c: Likewise.
29017         * stdlib/swapcontext.c: Likewise.
29018         * stdlib/system.c: Likewise.
29019         * streams/fattach.c: Likewise.
29020         * streams/fdetach.c: Likewise.
29021         * streams/getmsg.c: Likewise.
29022         * streams/getpmsg.c: Likewise.
29023         * streams/putmsg.c: Likewise.
29024         * streams/putpmsg.c: Likewise.
29025         * sysdeps/unix/bsd/getpt.c: Likewise.
29026         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29027         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29028         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29030         Likewise.
29031         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29032         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29033         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29034         * sysvipc/msgctl.c: Likewise.
29035         * sysvipc/msgget.c: Likewise.
29036         * sysvipc/msgrcv.c: Likewise.
29037         * sysvipc/msgsnd.c: Likewise.
29038         * sysvipc/semctl.c: Likewise.
29039         * sysvipc/semget.c: Likewise.
29040         * sysvipc/semop.c: Likewise.
29041         * sysvipc/semtimedop.c: Likewise.
29042         * sysvipc/shmat.c: Likewise.
29043         * sysvipc/shmctl.c: Likewise.
29044         * sysvipc/shmdt.c: Likewise.
29045         * sysvipc/shmget.c: Likewise.
29046         * termios/tcdrain.c: Likewise.
29047         * termios/tcflow.c: Likewise.
29048         * termios/tcflush.c: Likewise.
29049         * termios/tcgetattr.c: Likewise.
29050         * termios/tcgetpgrp.c: Likewise.
29051         * termios/tcsendbrk.c: Likewise.
29052         * termios/tcsetattr.c: Likewise.
29053         * termios/tcsetpgrp.c: Likewise.
29054         * time/adjtime.c: Likewise.
29055         * time/clock.c: Likewise.
29056         * time/getitimer.c: Likewise.
29057         * time/gettimeofday.c: Likewise.
29058         * time/setitimer.c: Likewise.
29059         * time/settimeofday.c: Likewise.
29060         * time/stime.c: Likewise.
29061         * time/time.c: Likewise.
29062
29063 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29064
29065         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29066         /usr/old/bin.
29067
29068         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29069         instead of spaces.
29070         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29071
29072 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29073
29074         [BZ #14796]
29075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29076         FE_TONEAREST before applying Dekker multiplication and Knuth
29077         addition.  Clear inexact exceptions and check for exact zero
29078         results afterwards.
29079         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29080         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29082         * math/libm-test.inc (fma_test): Add more tests.
29083         (fma_test_towardzero): Likewise.
29084         (fma_test_downward): Likewise.
29085         (fma_test_upward): Likewise.
29086         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29087         function.
29088         (libc_fesetround): New macro.
29089         (libc_fesetroundf): Likewise.
29090         (libc_fesetroundl): Likewise.
29091         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29092         function.
29093         (libc_fesetround_387): Likewise.
29094         (libc_fesetroundf): New macro.
29095         (libc_fesetround): Likewise.
29096         (libc_fesetroundl): Likewise.
29097         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29098         function.
29099         (libc_fesetroundf): New macro.
29100         (libc_fesetround): Likewise.
29101         (libc_fesetroundl): Likewise.
29102         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29103         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29104         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29105         libm_hidden_ver.
29106         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29107         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29108         libm_hidden_def.
29109         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29110         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29111         libm_hidden_ver.
29112         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29113         libm_hidden_def.
29114
29115         [BZ #3439]
29116         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29117         integer constant usable in #if and use that to give value to enum
29118         constant.
29119         (FE_DIVBYZERO): Likewise.
29120         (FE_UNDERFLOW): Likewise.
29121         (FE_OVERFLOW): Likewise.
29122         (FE_INVALID): Likewise.
29123         (FE_INVALID_SNAN): Likewise.
29124         (FE_INVALID_ISI): Likewise.
29125         (FE_INVALID_IDI): Likewise.
29126         (FE_INVALID_ZDZ): Likewise.
29127         (FE_INVALID_IMZ): Likewise.
29128         (FE_INVALID_COMPARE): Likewise.
29129         (FE_INVALID_SOFTWARE): Likewise.
29130         (FE_INVALID_SQRT): Likewise.
29131         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29132         (FE_TONEAREST): Likewise.
29133         (FE_TOWARDZERO): Likewise.
29134         (FE_UPWARD): Likewise.
29135         (FE_DOWNWARD): Likewise.
29136         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29137         (FE_DIVBYZERO): Likewise.
29138         (FE_OVERFLOW): Likewise.
29139         (FE_UNDERFLOW): Likewise.
29140         (FE_INEXACT): Likewise.
29141         (FE_TONEAREST): Likewise.
29142         (FE_DOWNWARD): Likewise.
29143         (FE_UPWARD): Likewise.
29144         (FE_TOWARDZERO): Likewise.
29145         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29146         (FE_UNDERFLOW): Likewise.
29147         (FE_OVERFLOW): Likewise.
29148         (FE_DIVBYZERO): Likewise.
29149         (FE_INVALID): Likewise.
29150         (FE_TONEAREST): Likewise.
29151         (FE_TOWARDZERO): Likewise.
29152         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29153         (FE_OVERFLOW): Likewise.
29154         (FE_UNDERFLOW): Likewise.
29155         (FE_DIVBYZERO): Likewise.
29156         (FE_INEXACT): Likewise.
29157         (FE_TONEAREST): Likewise.
29158         (FE_TOWARDZERO): Likewise.
29159         (FE_UPWARD): Likewise.
29160         (FE_DOWNWARD): Likewise.
29161         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29162         (FE_DIVBYZERO): Likewise.
29163         (FE_OVERFLOW): Likewise.
29164         (FE_UNDERFLOW): Likewise.
29165         (FE_INEXACT): Likewise.
29166         (FE_TONEAREST): Likewise.
29167         (FE_DOWNWARD): Likewise.
29168         (FE_UPWARD): Likewise.
29169         (FE_TOWARDZERO): Likewise.
29170
29171 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29172
29173         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29174
29175 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29176
29177         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29178         commands.  Quote $PWD.
29179         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29180         -x" by "export".
29181         (remove_newlines): Remove.
29182
29183 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29184
29185         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29186         * stdlib/stdlib.h (atof): Moved to ...
29187         * include/bits/stdlib-float.h: Here.  New file.
29188         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29189         * stdlib/bits/stdlib-float.h: New file.
29190         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29191         -mno-sse -mno-mmx.
29192         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29193         <xmmintrin.h>.
29194
29195 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29196
29197         * conform/conformtest.pl (@headers): Add fenv.h.
29198         * conform/data/fenv.h-data: New file.
29199         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29200         include of <math/fenv.h>.
29201
29202         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29203         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29204         && !UNIX98].  Enables tests for XOPEN2K8.
29205         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29206         POSIX2008]: Likewise.
29207
29208         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29209         (struct rusage): Do not expect type or its members.
29210
29211         [BZ #3439]
29212         * math/math.h (FP_NAN): Define macro to integer constant usable in
29213         #if and use that to give value to enum constant.
29214         (FP_INFINITE): Likewise.
29215         (FP_ZERO): Likewise.
29216         (FP_SUBNORMAL): Likewise.
29217         (FP_NORMAL): Likewise.
29218
29219 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29220
29221         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29222         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29223         arguments.
29224
29225 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29226
29227         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29228         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29229         autoconf-time if not.
29230         * configure.in: Remove AC_PREREQ.
29231
29232 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29233
29234         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29235         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29236         of the internal implementation.
29237
29238 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29239
29240         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29241         except include of <misc/sys/syslog.h>.
29242
29243 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29244
29245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29246         function returns with a NULL context exit with zero.
29247
29248 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29249
29250         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29251
29252 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29253
29254         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29255         (run_program_cmd): This.
29256         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29257         (tst_langinfo): New variable.  Use it.
29258
29259 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29260
29261         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29262         floating point opcodes.
29263
29264 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29265
29266         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29267         variable.
29268
29269         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29270
29271         * sysdeps/mach/hurd/powerpc: Remove directory.
29272         * sysdeps/mach/powerpc: Likewise.
29273
29274 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29275
29276         * scripts/check-local-headers.sh: Ignore c++ headers.
29277
29278 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29279
29280         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29281         __libc_cleanup_region_start argument.
29282
29283 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29284
29285         [BZ #14784]
29286         [BZ #14785]
29287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29288         x * y using scaling, not as x * y + z.
29289         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29291         * math/libm-test.inc (fma_test): Add more tests.
29292         (fma_test_towardzero): Likewise.
29293         (fma_test_downward): Likewise.
29294         (fma_test_upward): Likewise.
29295
29296 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29297
29298         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29299
29300 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29301
29302         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29303         New variable.
29304
29305 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29306
29307         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29308
29309 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29310
29311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29312         Fix sort order.
29313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29314         Likewise.
29315
29316 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29317
29318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29319         Fix the order of the list for glibc 2.17.
29320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29321         Likewise.
29322
29323 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29324
29325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29326
29327 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29328
29329         [BZ #14610]
29330         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29331         for low part of x being zero before using __atanl (y).
29332         * math/libm-test.inc (atan2_test): Add another test.
29333
29334         * manual/install.texi (Configuring and compiling): Document
29335         general use of test-wrapper and test-wrapper-env.
29336         * INSTALL: Regenerated.
29337
29338         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29339         (__fma): Do not extract and scale down low bits on after-rounding
29340         systems when result rounded to normal precision would have normal
29341         exponent.
29342         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29343         (__fmal): Do not extract and scale down low bits on after-rounding
29344         systems when result rounded to normal precision would have normal
29345         exponent.
29346         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29347         (__fmal): Do not extract and scale down low bits on after-rounding
29348         systems when result rounded to normal precision would have normal
29349         exponent.
29350         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29351         macro.
29352         (fma_test): Add more tests.
29353         (fma_test_towardzero): Likewise.
29354         (fma_test_downward): Likewise.
29355         (fma_test_upward): Likewise.
29356
29357 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29358
29359         * sysdeps/i386/tininess.h: Renamed to ...
29360         * sysdeps/x86/tininess.h: This.
29361         * sysdeps/x86_64/tininess.h: Removed.
29362
29363 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29364
29365         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29366         input.  Use $(build-program-cmd).
29367         ($(objpfx)tst-array1-static.out): Likewise.
29368         ($(objpfx)tst-array2.out): Likewise.
29369         ($(objpfx)tst-array3.out): Likewise.
29370         ($(objpfx)tst-array4.out): Likewise.
29371         ($(objpfx)tst-array5.out): Likewise.
29372         ($(objpfx)tst-array5-static.out): Likewise.
29373
29374 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29375
29376         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29377         if defined.
29378
29379         * nss/nsswitch.h (nss_interface_function): Provide new
29380         macro for use with NSS functions.
29381         * grp/initgroups.c: Use new macro.
29382         * nss/getXXbyYY.c: Likewise.
29383         * nss/getXXbyYY_r.c: Likewise.
29384         * nss/getXXent.c: Likewise.
29385         * nss/getXXent_r.c: Likewise.
29386         * sysdeps/posix/getaddrinfo.c: Likewise.
29387
29388 2012-10-30  Andreas Jaeger  <aj@suse.de>
29389
29390         * po/ru.po: Update Russion translation from translation project.
29391
29392 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29393
29394         [BZ #14152]
29395         [BZ #14783]
29396         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29397         result and shift together with sticky bit instead of replicating
29398         round-to-nearest rounding.
29399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29400         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29401         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29402         missing underflow exceptions.
29403         (fma_test_towardzero): Add more tests.
29404         (fma_test_downward): Likewise.
29405         (fma_test_upward): Likewise.
29406
29407         [BZ #14047]
29408         * sysdeps/generic/tininess.h: New file.
29409         * sysdeps/i386/tininess.h: Likewise.
29410         * sysdeps/sh/tininess.h: Likewise.
29411         * sysdeps/x86_64/tininess.h: Likewise.
29412         * stdlib/tst-strtod-underflow.c: Likewise.
29413         * stdlib/tst-tininess.c: Likewise.
29414         * stdlib/strtod_l.c: Include <tininess.h>.
29415         (round_and_return): Do not set errno for exact underflow cases.
29416         Force an underflow exception when setting errno for underflow.
29417         Determine underflow based on rounding to normal precision if
29418         TININESS_AFTER_ROUNDING.
29419         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29420         ERANGE for exact underflow cases.
29421         * stdlib/Makefile (tests): Add tst-tininess and
29422         tst-strtod-underflow.
29423         ($(objpfx)tst-tininess): Use $(link-libm).
29424         ($(objpfx)tst-strtod-underflow): Likewise.
29425
29426 2012-10-30  Andreas Jaeger  <aj@suse.de>
29427
29428         [BZ#14767]
29429         * elf/Makefile (tests): Remove conditional for have-initfini-array
29430         since this is now always required and the variable does not exist
29431         anymore.
29432         (tests-static): Likewise.
29433         (modules-names): Likewise.
29434
29435         * po/eo.po: Add Esperanto translation from translation project.
29436
29437         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29438         merged with constructor/destructor.
29439         (init_array): Likewise.
29440         * elf/tst-array2dep.c (fini_array): Likewise.
29441         (init_array): Likewise.
29442
29443 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29444
29445         * manual/message.texi: Delete @cartouche tags.
29446
29447 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29448
29449         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29450         EOPNOTSUPP.
29451         * sysdeps/mach/hurd/fsync.c: Likewise.
29452
29453         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29454         [_POSIX_REALTIME_SIGNALS]: Change condition to
29455         [_POSIX_REALTIME_SIGNALS > 0].
29456
29457 2012-10-27  Andreas Jaeger  <aj@suse.de>
29458
29459         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29460         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29461         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29462         [__WORDSIZE != 64]: Likewise.
29463
29464 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29465
29466         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29467         *  iconvdata/tst-tables.sh: Likewise.
29468
29469 2012-10-25  David S. Miller  <davem@davemloft.net>
29470
29471         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29472         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29473         of strtoull.
29474
29475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29476         ifunc-impl-list.c
29477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29478         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29479         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29480         file.
29481
29482 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29483
29484         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29485         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29486         __getdirentries.
29487
29488 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29489             Jim Blandy  <jimb@codesourcery.com>
29490
29491         * scripts/cross-test-ssh.sh: New file.
29492         * manual/install.texi (Configuring and compiling): Document use of
29493         cross-test-ssh.sh.
29494         * INSTALL: Regenerated.
29495
29496 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29497
29498         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29499         EOPNOTSUPP.
29500
29501 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29502
29503         * Makeconfig (run-program-prefix): Fix comment.
29504
29505 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29506             Jim Blandy  <jimb@codesourcery.com>
29507
29508         * Makeconfig (test-wrapper): New variable,
29509         (test-wrapper-env): Likewise.
29510         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29511         (run-built-tests): Define to yes.
29512         (run-program-prefix): Use $(test-wrapper).
29513         (built-program-cmd): Likewise.
29514         * Rules (make-test-out): Use $(test-wrapper-env) and
29515         $(host-built-program-cmd).
29516         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29517         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29518         tst-pathopt.sh.
29519         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29520         $(test-wrapper-env) to tst-rtld-load-self.sh.
29521         ($(objpfx)order2.out): Use $(test-wrapper).
29522         ($(objpfx)tst-initorder.out): Likewise.
29523         ($(objpfx)tst-initorder2.out): Likewise.
29524         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29525         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29526         (test_wrapper_env): New variable.  Use it to run ld.so.
29527         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29528         Use it to run ld.so.
29529         (test_wrapper_env): Likewise.
29530         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29531         $(test-wrapper) to run-iconv-test.sh.
29532         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29533         (ICONV): Use $test_wrapper.
29534         * posix/Makefile ($(objpfx)globtest.out): Pass
29535         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29536         globtest.sh, not $(run-program-prefix).
29537         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29538         (test_wrapper): Likewise.
29539         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29540         set together with run_via_rtld_prefix.
29541         (run_program_prefix): Define in terms of test_wrapper and
29542         run_via_rtld_prefix.
29543
29544 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29545
29546         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29547         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29548         Targets removed.
29549
29550         [BZ #14743]
29551         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29552         Declare __clock_getres, __clock_gettime, __clock_settime,
29553         __clock_nanosleep, and __clock_getcpuclockid.
29554         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29555         Remove librt_hidden_def (clock_gettime).
29556         * sysdeps/unix/clock_gettime.c: Likewise.
29557         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29559         * rt/clock_getres.c: Define __clock_getres as an alias.
29560         * sysdeps/posix/clock_getres.c: Likewise.
29561         * rt/clock_settime.c: Define __clock_settime as an alias.
29562         * sysdeps/unix/clock_settime.c: Likewise.
29563         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29564         * sysdeps/unix/clock_nanosleep.c: Likewise.
29565         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29566         * rt/clock-compat.c: New file.
29567         * rt/Makefile (librt-routines): Add clock-compat and move
29568         $(clock-routines) to ...
29569         (routines): ... here, new variable.
29570         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29571         Don't add get_clockfreq here.
29572         * rt/Versions (libc: GLIBC_2.17): New version set.
29573         Add clock_* symbols here.
29574         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29575         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29576         (GLIBC_2.17): Add clock_* symbols.
29577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29581         Likewise.
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29583         Likewise.
29584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29588         * NEWS: Mention the move.
29589
29590         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29591         Use __open, __read, __close rather than their public counterparts.
29592         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29593         (__get_clockfreq_via_cpuinfo): Likewise.
29594         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29595         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29596
29597         * config.h.in (HAVE_IFUNC): New #undef.
29598         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29599         was successful.
29600         * configure: Regenerated.
29601
29602 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29603
29604         * configure.in: Move READELF check to start of file.
29605         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29606         libc_cv_asm_gnu_indirect_function in the process.
29607         * configure: Regenerated.
29608
29609 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29610
29611         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29612         send the output to /dev/null.
29613         (libc_cv_cc_with_libunwind): Likewise.
29614         (libc_cv_as_noexecstack): Likewise.
29615         * configure: Regenerate.
29616
29617 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29618
29619         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29620
29621         * posix/globtest.sh (TMPDIR): Do not set.
29622         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29623         (testout): Likewise.
29624
29625 2012-10-24  Andreas Jaeger  <aj@suse.de>
29626
29627         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29628         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29629         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29630         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29631         posix_fadvise64, posix_fallocate64.
29632
29633         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29634         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29635         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29636         Likewise.
29637         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29638         Likewise.
29639         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29640
29641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29642         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29643         <bits/fcntl-linux.h>.
29644         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29645
29646         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29647         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29648         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29649         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29650         [__WORDSIZE != 64]: Likewise.
29651
29652 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29653
29654         * Makeconfig (run-built-tests): New variable.
29655         * Rules [$(cross-compiling) = yes]: Change condition to
29656         [$(run-built-tests) = no].
29657         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29658         to [$(run-built-tests) = yes].
29659         * elf/Makefile [$(cross-compiling) = no]: Likewise
29660         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29661         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29662         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29663         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29664         * io/Makefile [$(cross-compiling) = no]: Likewise.
29665         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29666         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29667         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29668         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29669         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29670         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29671         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29672         * string/Makefile [$(cross-compiling) = no]: Likewise.
29673
29674         * posix/Makefile ($(objpfx)globtest.out): Pass
29675         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29676         $(rtld-installed-name).
29677         * posix/globtest.sh (elf_objpfx): Remove variable.
29678         (rtld_installed_name): Likewise.
29679         (library_path): Likewise.
29680         (run_program_prefix): New variable.  Use for running globtest
29681         binary.
29682
29683 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29684             Joseph Myers  <joseph@codesourcery.com>
29685
29686         * Makeconfig (host-built-program-cmd): New variable.
29687         * elf/Makefile (tst-stackguard1-ARGS): Use
29688         $(host-built-program-cmd).
29689         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29690         (tst-spawn-ARGS): Likewise.
29691         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29692
29693 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29694             Jim Blandy  <jimb@codesourcery.com>
29695
29696         * Makeconfig (run-via-rtld-prefix): New variable.
29697         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29698         (built-program-cmd): Likewise.
29699
29700 2012-10-22  Andreas Jaeger  <aj@suse.de>
29701
29702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29703         __O_RSYNC if it exists, otherwise to O_SYNC.
29704
29705 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29706             Joseph Myers  <joseph@codesourcery.com>
29707
29708         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29709         /dev/null.
29710         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29711         from /dev/null
29712         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29713         /dev/null.
29714
29715 2012-10-22  Andreas Jaeger  <aj@suse.de>
29716
29717         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29718         Define always.
29719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29720
29721         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29722         bits/fcntl-linux.h.
29723
29724         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29725         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29726
29727         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29728         to __O_LARGEFILE.
29729         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29730         to __O_LARGEFILE.
29731
29732 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29733             Joseph Myers  <joseph@codesourcery.com>
29734
29735         * config.make.in (NM): New variable.
29736
29737 2012-10-21  Andreas Jaeger  <aj@suse.de>
29738
29739         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29740         definitions and declarations that are provided by
29741         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29742
29743 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29744
29745         [BZ #14683]
29746         * elf/Makefile (tests-static): Add tst-leaks1-static.
29747         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29748         ($(objpfx)tst-leaks1-static): New rule.
29749         ($(objpfx)tst-leaks1-static-mem): Likewise.
29750         (tst-leaks1-static-ENV): New macro.
29751         * elf/dl-open.c (dl_open_worker): Check the main application
29752         only if SHARED is defined.
29753         * elf/tst-leaks1-static.c: New file.
29754
29755 2012-10-20  Andreas Jaeger  <aj@suse.de>
29756
29757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29758         generic values for Linux.
29759         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29760         and declarations that are provided by <bits/fcntl-linux.h> and
29761         include <bits/fcntl-linux.h>.
29762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29764
29765 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29766
29767         * io/fcntl.h: Move include of <bits/types.h> to the top and
29768         include it unconditionally.
29769
29770 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29771
29772         * wcsmbs/Makefile (tests-ifunc): New variable.
29773         (tests): Add $(tests-ifunc).
29774         * wcsmbs/test-wcschr-ifunc.c: New file.
29775         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29776         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29777         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29778         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29779         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29780
29781         * string/Makefile (tests-ifunc): New variable.
29782         (tests): Add $(tests-ifunc).
29783         * string/test-memccpy.c (TEST_NAME): New macro.
29784         * string/test-memchr.c (TEST_NAME): Likewise.
29785         * string/test-memcmp.c (TEST_NAME): Likewise.
29786         * string/test-memcpy.c (TEST_NAME): Likewise.
29787         * string/test-memmem.c (TEST_NAME): Likewise.
29788         * string/test-memmove.c (TEST_NAME): Likewise.
29789         * string/test-memset.c (TEST_NAME): Likewise.
29790         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29791         * string/test-stpcpy.c (TEST_NAME): Likewise.
29792         * string/test-stpncpy.c (TEST_NAME): Likewise.
29793         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29794         * string/test-strcasestr.c (TEST_NAME): Likewise.
29795         * string/test-strcat.c (TEST_NAME): Likewise.
29796         * string/test-strchr.c (TEST_NAME): Likewise.
29797         * string/test-strcmp.c(TEST_NAME): Likewise.
29798         * string/test-strcpy.c (TEST_NAME): Likewise.
29799         * string/test-strcspn.c (TEST_NAME): Likewise.
29800         * string/test-strlen.c (TEST_NAME): Likewise.
29801         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29802         * string/test-strncmp.c (TEST_NAME): Likewise.
29803         * string/test-strncpy.c (TEST_NAME): Likewise.
29804         * string/test-strnlen.c (TEST_NAME): Likewise.
29805         * string/test-strpbrk.c (TEST_NAME): Likewise.
29806         * string/test-strrchr.c (TEST_NAME): Likewise.
29807         * string/test-strspn.c (TEST_NAME): Likewise.
29808         * string/test-strstr.c (TEST_NAME): Likewise.
29809         * string/test-bcopy-ifunc.c: New file.
29810         * string/test-bzero-ifunc.c: Likewise.
29811         * string/test-memccpy-ifunc.c: Likewise.
29812         * string/test-memchr-ifunc.c: Likewise.
29813         * string/test-memcmp-ifunc.c: Likewise.
29814         * string/test-memcpy-ifunc.c: Likewise.
29815         * string/test-memmem-ifunc.c: Likewise.
29816         * string/test-memmove-ifunc.c: Likewise.
29817         * string/test-mempcpy-ifunc.c: Likewise.
29818         * string/test-memset-ifunc.c: Likewise.
29819         * string/test-rawmemchr-ifunc.c: Likewise.
29820         * string/test-stpcpy-ifunc.c: Likewise.
29821         * string/test-stpncpy-ifunc.c: Likewise.
29822         * string/test-strcasecmp-ifunc.c: Likewise.
29823         * string/test-strcasestr-ifunc.c: Likewise.
29824         * string/test-strcat-ifunc.c: Likewise.
29825         * string/test-strchr-ifunc.c: Likewise.
29826         * string/test-strchrnul-ifunc.c: Likewise.
29827         * string/test-strcmp-ifunc.c: Likewise.
29828         * string/test-strcpy-ifunc.c: Likewise.
29829         * string/test-strcspn-ifunc.c: Likewise.
29830         * string/test-strlen-ifunc.c: Likewise.
29831         * string/test-strncasecmp-ifunc.c: Likewise.
29832         * string/test-strncat-ifunc.c: Likewise.
29833         * string/test-strncmp-ifunc.c: Likewise.
29834         * string/test-strncpy-ifunc.c: Likewise.
29835         * string/test-strnlen-ifunc.c: Likewise.
29836         * string/test-strpbrk-ifunc.c: Likewise.
29837         * string/test-strrchr-ifunc.c: Likewise.
29838         * string/test-strspn-ifunc.c: Likewise.
29839         * string/test-strstr-ifunc.c: Likewise.
29840
29841         * debug/Makefile (tests-ifunc): New variable.
29842         (tests): Add $(tests-ifunc).
29843         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29844         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29845         * debug/test-stpcpy_chk-ifunc.c: New file.
29846         * debug/test-strcpy_chk-ifunc.c: Likewise.
29847
29848 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29849
29850         [BZ #13601]
29851         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29852         header is not read in.
29853
29854 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29855
29856         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29857         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29858         directly.  Pass built executable to script as
29859         $(built-program-cmd).
29860         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29861         $testprogram without using LD_LIBRARY_PATH and $ldso.
29862
29863         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29864         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29865         $(rtld-installed-name).
29866         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29867         (rtld_installed_name): Likewise.
29868         (library_path): Likewise.
29869         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29870         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29871         $(run-program-prefix) to tst-tables.sh.
29872         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29873         it to run tst-table-from and tst-table-to.
29874         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29875         Pass it to tst-table.sh.
29876         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29877         $(run-program-prefix) to tst-gettext.sh.
29878         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29879         tst-translit.sh.
29880         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29881         tst-gettext2.sh.
29882         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29883         to run tst-gettext.
29884         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29885         to run tst-gettext2.
29886         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29887         to run tst-translit.
29888         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29889         $(run-program-prefix) to tst-mtrace.sh.
29890         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29891         to run tst-mtrace.
29892         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29893         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29894         $(rtld-installed-name).
29895         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29896         (rtld_installed_name): Likewise.
29897         (run_program_prefix): New variable.  Use it to run wordexp-test.
29898
29899         * Makeconfig (ARCH): Remove all definitions.
29900         (machine): Likewise.
29901         [ARCH]: Remove conditional code.
29902         [!objdir]: Give error.
29903         [!objdir] (objpfx): Remove.
29904         [!objdir] (common-objpfx): Likewise.
29905         [!objdir] (common-objdir): Likewise.
29906         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29907         AC_CONFIG_FILES call.
29908         * configure: Regenerated.
29909
29910         [BZ #13888]
29911         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29912         or TMPDIR.
29913         (testout): Likewise.
29914
29915         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29916         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29917         $(rtld-installed-name).
29918         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29919         (rtld_installed_name): Likwise.
29920         (runit): Remove function.
29921         (run_getconf): New variable,  Use it for running getconf binary.
29922
29923 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29924
29925         [BZ #14716]
29926         * string/test-memmem.c (check_result): New function.
29927         (do_one_test): Use it.
29928         (check1): New function.
29929         (test_main): Use it.
29930
29931 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29932
29933         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29934
29935 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29936
29937         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29938         (_G_LSEEK64): Likewise.
29939         (_G_MMAP64): Likewise.
29940         (_G_FSTAT64): Likewise.
29941         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29942         (_G_LSEEK64): Likewise.
29943         (_G_MMAP64): Likewise.
29944         (_G_FSTAT64): Likewise.
29945         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29946         unconditional.  Call __mmap64 directly.
29947         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29948         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29949         __lseek64 directly.
29950         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29951         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29952         __mmap64 directly.
29953         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29954         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29955         __lseek64 directly.
29956         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29957         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29958         __lseek64 directly.
29959         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29960         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29961         __lseek64 directly.
29962         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29963         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29964         __fxstat64 directly.
29965         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29966         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29967         unconditional.
29968         (freopen64) [!_G_OPEN64]: Remove conditional code.
29969         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29970         unconditional.
29971         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29972         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29973         unconditional.
29974         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29975         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29976         unconditional.
29977         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29978         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29979         unconditional.
29980         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29981         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29982         unconditional.
29983         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29984         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29985         unconditional.
29986         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29987         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29988         unconditional.
29989         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29990
29991 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29992
29993         [BZ #12140]
29994         * manual/memory.texi (Malloc Tunable Parameters): Add note
29995         about free list pointers overwriting some perturb bytes.
29996         Wording suggested by Roland McGrath.
29997
29998 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29999
30000         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30001         (lgamma_test): Likewise.
30002         (tgamma_test): Likewise.
30003
30004 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30005
30006         [BZ #14700]
30007         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30008         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30009
30010 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30011
30012         * NEWS: Mention BZ #14716.
30013         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30014         when removing AVAILABLE1_USES_J macro.
30015
30016 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30017
30018         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30019         (__bswap_64): __uint64_t for unsigned 64-bit int.
30020
30021 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30022
30023         * include/string.h (memmem): Declare libc hidden alias.
30024         * string/memmem.c (memmem): Define libc hidden alias.
30025         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30026         __read, __close instead of open, read, close.
30027
30028 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30029
30030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30031         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30032         global and hidden.
30033         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30034         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30035         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30036         Likewise.
30037         (__rawmemchr_sse2): Likewise.
30038         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30039         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30040         (__strchr_sse2): Likewise.
30041         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30042         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30043         (__strcasecmp_sse2): Likewise.
30044         (__strncasecmp_sse2): Likewise.
30045         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30046         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30047         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30048         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30049         (__strrchr_sse2): Likewise.
30050         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30051         ifunc-impl-list.c.
30052         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30053         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30054         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30055         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30056         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30057         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30060         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30061         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30062         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30063         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30064         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30065         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30066         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30068         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30069         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30070         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30071         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30072         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30073         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30074         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30075         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30076         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30078         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30079         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30080         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30081         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30082
30083         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30084         global and hidden.
30085         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30086         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30087         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30088         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30089         Likewise.
30090         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30091         Likewise.
30092         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30093         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30094         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30095         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30096         ifunc-impl-list.c.
30097         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30098         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30099         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30100         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30101         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30102         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30103         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30104         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30105         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30106         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30107         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30108         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30109         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30110         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30111         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30112         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30113         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30114         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30115         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30116         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30117         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30118         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30119         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30120         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30122         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30123         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30124         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30125         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30126         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30127         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30128         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30129         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30130         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30131         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30132         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30133         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30134         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30135         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30136         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30137         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30138
30139         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30140         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30141         * include/ifunc-impl-list.h: New file.
30142         * misc/ifunc-impl-list.c: Likewise.
30143         * misc/Makefile (routines): Add ifunc-impl-list.
30144         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30145         * string/test-string.h: Include <ifunc-impl-list.h>.
30146         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30147         TEST_NAME]: New variables.
30148         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30149         are defined.
30150         (test_init): Call __libc_ifunc_impl_list to initialize
30151         func_list if TEST_IFUNC and TEST_NAME are defined.
30152
30153         * string/Makefile (strop-tests): Add bcopy and bzero.
30154         * string/test-bcopy.c: New file.
30155         * string/test-bzero.c: Likewise.
30156         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30157         defined.
30158         * string/test-memset.c: Support bzero test if TEST_BZERO is
30159         defined.
30160         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30161         __libc_memmove.
30162         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30163         __libc_memset.
30164         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30165         of memset.
30166
30167 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30168
30169         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30170         * configure: Regenerated.
30171
30172         * Makeconfig (+link-static-before-libc): Don't include
30173         $(link-static-libc).
30174
30175         * libio/libio.h (_IO_pos_t): Remove.
30176
30177 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30178
30179         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30180         McGrath.
30181
30182 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30183
30184         * crypt/crypt-entry.c: Include fips-private.h.
30185         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30186         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30187         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30188         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30189
30190 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30191
30192         * crypt/crypt-private.h: Include stdbool.h.
30193         (_ufc_setup_salt_r): Return bool.
30194         * crypt/crypt-entry.c: Include errno.h.
30195         (__crypt_r): Return NULL with EINVAL for bad salt.
30196         * crypt/crypt_util.c (bad_for_salt): New.
30197         (_ufc_setup_salt_r): Check that salt is long enough and within
30198         the specified alphabet.
30199         * crypt/badsalttest.c: New file.
30200         * crypt/Makefile (tests): Add it.
30201         ($(objpfx)badsalttest): New.
30202
30203 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30204
30205         * NEWS: Add entry for BZ #14602.
30206
30207 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30208
30209         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30210         type-generic.
30211         * math/libm-test.inc: Update comment listing what functions and
30212         macros are tested.
30213         (isgreater_test): New function.
30214         (isgreaterequal_test): Likewise.
30215         (isless_test): Likewise.
30216         (islessequal_test): Likewise.
30217         (islessgreater_test): Likewise.
30218         (isunordered_test): Likewise.
30219         (main): Call the new functions.
30220
30221 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30222
30223         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30224         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30225         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30226         * sysdeps/i386/configure: Regenerated.
30227         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30228         * sysdeps/mach/configure: Regenerated.
30229         * sysdeps/mach/hurd/configure: Regenerated.
30230         * sysdeps/powerpc/configure: Regenerated.
30231         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30232         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30233         * sysdeps/s390/s390-32/configure: Regenerated.
30234         * sysdeps/s390/s390-64/configure: Regenerated.
30235         * sysdeps/sh/configure: Regenerated.
30236         * sysdeps/sparc/configure: Regenerated.
30237         * sysdeps/unix/sysv/linux/configure: Regenerated.
30238         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30239         * sysdeps/x86_64/configure: Regenerated.
30240
30241         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30242         defined.  Don't check if MAP is NULL.
30243
30244 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30245
30246         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30247         (_G_stat64): Likewise.
30248         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30249         (_G_stat64): Likewise.
30250         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30251         instead of struct _G_stat64.
30252         * libio/fileops.c (mmap_remap_check): Likewise.
30253         (decide_maybe_mmap): Likewise.
30254         (_IO_new_file_seekoff): Likewise.
30255         (_IO_file_stat): Likewise.
30256         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30257         _G_off64_t.
30258         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30259         instead of struct _G_stat64.
30260         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30261
30262 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30263
30264         [BZ #14602]
30265         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30266         Replace with ...
30267         (CHECK_EOL): New macro.
30268         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30269         CHECK_EOL.
30270         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30271         Replace with CHECK_EOL.
30272         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30273         Replace with CHECK_EOL.
30274
30275 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30276
30277         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30278         type-generic.
30279         * math/libm-test.inc: Update comment listing what functions and
30280         macros are tested.
30281         (finite_test): New function.
30282         (isinf_test): Likewise.
30283         (isnan_test): Likewise.
30284         (fpclassify_test): Test subnormal input.
30285         (isfinite_test): Likewise.
30286         (isnormal_test): Likewise.
30287         (main): Call the new functions.
30288
30289 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30290
30291         [BZ #14660]
30292         * Makerules (%.dynsym): Force C locale when running
30293         $(OBJDUMP) --dynamic-syms.
30294
30295 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30296
30297         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30298         <stdint.h>.
30299
30300 2012-10-06  David S. Miller  <davem@davemloft.net>
30301
30302         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30303         upper 32-bits of the length value in %o2 since we use branch-on-register
30304         tests which consider the entire 64-bit register.
30305
30306 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30307
30308         * string/test-strstr.c (check2): Add a test for page boundary.
30309
30310 2012-10-05  David S. Miller  <davem@davemloft.net>
30311
30312         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30313         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30314         file.
30315         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30316         sysdep_routines.
30317         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30318         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30319         and bzero when HWCAP_SPARC_CRYPTO is present.
30320
30321 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30322
30323         [BZ #14602]
30324         * string/test-strstr.c (check2): New function.
30325         (test_main): Call check2.
30326
30327         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30328         and bug-strchr1.
30329         * string/bug-strcasestr1.c (do_test): Moved to ...
30330         * string/test-strcasestr.c (check1): Here.  New function.
30331         (do_one_test): Break out result checking code into ...
30332         (check_result): This.  New function.
30333         (do_one_test): Call check_result.
30334         (test_main): Call check1.
30335         * string/bug-strchr1.c (do_test): Moved to ...
30336         * string/test-strchr.c (check1): Here.  New function.
30337         (do_one_test): Break out result checking code into ...
30338         (check_result): This.  New function.
30339         (do_one_test): Call check_result.
30340         (test_main): Call check1.
30341         * string/bug-strstr1.c (main): Moved to ...
30342         * string/test-strstr.c (check1): Here.  New function.
30343         (do_one_test): Break out result checking code into ...
30344         (check_result): This.  New function.
30345         (do_one_test): Call check_result.
30346         (test_main): Call check1.
30347         * string/bug-strcasestr1.c: Removed.
30348         * string/bug-strchr1.c: Likewise.
30349         * string/bug-strstr1.c: Likewise.
30350
30351         * elf/Makefile (dl-routines): Add hwcaps.
30352         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30353         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30354         (_dl_important_hwcaps): Moved to ...
30355         * elf/dl-hwcaps.c: Here.  New file.
30356         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30357
30358         [BZ #14557]
30359         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30360         if IS_IN_rtld isn't defined.
30361
30362         * elf/dl-support.c (_dl_sysinfo_map): New.
30363         Include "get-dynamic-info.h" and "setup-vdso.h".
30364         (_dl_non_dynamic_init): Call setup_vdso.
30365         * elf/dynamic-link.h: Don't include <assert.h>.
30366         (elf_get_dynamic_info): Moved to ...
30367         * elf/get-dynamic-info.h: Here.  New file.
30368         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30369         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30370         * elf/setup-vdso.h: Here.  New file.
30371         * elf/rtld.c: Include "setup-vdso.h".
30372         (dl_main): Call setup_vdso.
30373
30374 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30375
30376         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30377         creal in comment listing functions tested.  List finite, isinf,
30378         isnan, isless, islessequal, isgreater, isgreaterequal,
30379         islessgreater, isunordered, lgamma_r and pow10 as functions and
30380         macros not tested.  Mention which functions not tested are aliases
30381         for other functions.  Fix typo.  Note that signs of NaNs are not
30382         tested.
30383
30384         * scripts/config.guess: Update from config.git.
30385         * scripts/config.sub: Likewise.
30386
30387 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30388
30389         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30390         * misc/madvise.c (madvise): Renamed to __madvise.
30391         Make madvise a weak alias.
30392         * include/sys/mman.h: Declare __madvise.
30393         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30394         * sysdeps/unix/syscalls.list
30395         (madvise): Make __madvise the strong name, and madvise a weak alias.
30396         * sysdeps/unix/sysv/linux/syscalls.list
30397         (madvise, mmap): Remove redundant entries.
30398         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30399         * malloc/malloc.c (mtrim): Likewise.
30400         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30401
30402 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30403
30404         * sysdeps/mach/hurd/dl-cache.c: File removed.
30405         * config.h.in (USE_LDCONFIG): New #undef.
30406         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30407         * configure: Regenerated.
30408         * elf/Makefile (dl-routines): Add dl-cache only under
30409         [$(use-ldconfig) = yes].
30410         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30411         cache on [USE_LDCONFIG].
30412         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30413         [USE_LDCONFIG].
30414         * elf/rtld.c (dl_main): Likewise.
30415
30416 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30417
30418         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30419         _SC_LEVEL4_CACHE_LINESIZE.
30420
30421 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30422
30423         * sysdeps/unix/bsd/confstr.h: File removed.
30424
30425 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30426
30427         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30428         sys/sdt-config.h.
30429
30430 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30431
30432         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30433         Make 'mapoff' field ElfW(Off) rather than off_t.
30434
30435 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30436
30437         * nscd/Makefile: Remove nscd-cflags and all its users.
30438         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30439         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30440
30441         [BZ #10631]
30442         * malloc.c (malloc_printerr): Clarify error message.
30443
30444 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30445
30446         [BZ #14648]
30447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30448         Set bit_FMA_Usable if FMA is supported.
30449         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30450         macro.
30451         (bit_FMA4_Usable): Updated.
30452         (index_FMA_Usable): New macro.
30453         (CPUID_FMA): Likewise
30454         (HAS_FMA): Defined with bit_FMA_Usable.
30455
30456 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30457
30458         * bits/types.h (__swblk_t): Type removed.
30459         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30460         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30462         (__SWBLK_T_TYPE): Likewise.
30463         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30464         (__SWBLK_T_TYPE): Likewise.
30465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30466         (__SWBLK_T_TYPE): Likewise.
30467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30468         (__SWBLK_T_TYPE): Likewise.
30469
30470 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30471             Honza Horak <hhorak@redhat.com>
30472
30473         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30474         (xdr_mapname): Use YPMAXMAP as maxsize.
30475         (xdr_peername): Use YPMAXPEER as maxsize.
30476         (xdr_keydat): Use YPAXRECORD as maxsize.
30477         (xdr_valdat): Use YPMAXRECORD as maxsize.
30478
30479 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30480
30481         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30482
30483         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30484         * csu/init-first.c: ... here.
30485         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30486         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30487         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30488         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30489         * sysdeps/i386/init-first.c: File removed.
30490         * sysdeps/sh/init-first.c: File removed.
30491
30492 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30493
30494         [BZ #14645]
30495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30496         if x * y might underflow to zero and z is zero.
30497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30498         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30499         * math/libm-test.inc (min_subnorm_value): New variable.
30500         (fma_test): Add more tests.
30501         (fma_test_towardzero): Likewise.
30502         (fma_test_downward): Likewise
30503         (fma_test_upward): Likewise.
30504         (initialize): Set min_subnorm_value.
30505
30506 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30507
30508         [BZ #14638]
30509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30510         0 + 0.
30511         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30512         mode for addition resulting in exact zero.
30513         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30515         exact 0 + 0.
30516         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30517         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30518         * math/libm-test.inc (fma_test): Add more tests.
30519         (fma_test_towardzero): New function.
30520         (fma_test_downward): Likewise.
30521         (fma_test_upward): Likewise.
30522         (main): Call the new functions.
30523
30524 2012-09-28  David S. Miller  <davem@davemloft.net>
30525
30526         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30527
30528 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30529
30530         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30531         instead of SIGALRM.
30532
30533         * sysdeps/gnu/_G_config.h: Moved to ...
30534         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30535         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30536         * sysdeps/generic/_G_config.h: ... here.
30537
30538         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30539
30540         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30541
30542         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30543         Conditionalize target on [libnss_test1.so-version].
30544
30545         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30546
30547         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30548         (elfobjdir): Move out of conditionals.
30549
30550         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30551         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30552         (__nss_lookup_function): Conditionalize label remove_from_tree on
30553         [!DO_STATIC_NSS || SHARED], matching its only use.
30554
30555 2012-09-28  David S. Miller  <davem@davemloft.net>
30556
30557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30558         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30559         file.
30560         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30561         sysdep_routines.
30562         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30563         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30564         when HWCAP_SPARC_CRYPTO is present.
30565
30566 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30567
30568         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30569
30570 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30571
30572         [BZ #6530]
30573         * stdio-common/vfprintf.c (process_string_arg): Revert
30574         2000-07-22 change.
30575
30576 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30577
30578         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30579         for testcase.
30580         * stdio-common/tst-sprintf.c: Include <locale.h>
30581         (main): Test sprintf's handling of incomplete multibyte
30582         characters.
30583
30584 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30585
30586         * elf/dl-runtime.c (VERSYMIDX): Removed.
30587         * elf/dl-version.c (VERSYMIDX): Likewise.
30588         * elf/do-rel.h (VERSYMIDX): Likewise.
30589         (VALIDX): Likewise.
30590         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30591         * elf/rtld.c (VALIDX): Likewise.
30592         (ADDRIDX): Likewise.
30593         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30594         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30595         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30596         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30597         (VALIDX): Likewise.
30598         (ADDRIDX): Likewise.
30599
30600 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30601
30602         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30603
30604 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30605
30606         [BZ #11438]
30607         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30608         to global scope.
30609         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30610         addresses are in the same scope as 192.0.2/24.
30611         * posix/gai.conf: Document new scope table defaults.
30612
30613 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30614
30615         [BZ #5298]
30616         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30617         for ftell.  Compute offsets from write pointers instead.
30618         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30619
30620 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30621
30622         [BZ #14543]
30623         * libio/Makefile (tests): New test case tst-fseek.
30624         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30625         combination works in wide mode.
30626         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30627         state when the external buffer state changes.
30628
30629 2012-09-27  David S. Miller  <davem@davemloft.net>
30630
30631         [BZ #14376]
30632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30633         pass reloc->r_addend in as the 'high' argument to
30634         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30635
30636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30637
30638 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30639
30640         * rt/tst-aio2.c: Include <pthread.h>.
30641         * rt/tst-aio3.c: Likewise.
30642
30643 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30644
30645         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30646
30647 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30648
30649         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30650         contents on [SHARED].
30651
30652 2012-09-26  Marek Polacek  <polacek@redhat.com>
30653
30654         [BZ #14530]
30655         [BZ #13741]
30656         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30657         for C++ and GCC <4.3 as well as for non GCC compilers.
30658
30659 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30660
30661         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30662
30663 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30664
30665         * Makefile.in (all, install): Declare with .PHONY.
30666         Reported by Michael Hope <michael.hope@linaro.org>.
30667
30668 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30669
30670         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30671         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30672         system header.
30673         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30674         Likewise.
30675         (sydep_routines): Add the new and the internal functions.
30676         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30677         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30679         (GLIBC_2.17): Add the new function.
30680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30681         (GLIBC_2.17): Likewise.
30682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30683         (GLIBC_2.17): Likewise.
30684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30685         (GLIBC_2.17): Likewise.
30686         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30687
30688 2012-09-25  Alan Modra  <amodra@gmail.com>
30689
30690         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30691         Add release barrier before setting once_control to say
30692         initialisation is done.  Add hints on lwarx.  Use macro in
30693         place of isync.
30694         (clear_once_control): Add release barrier.
30695
30696 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30697
30698         [BZ #13629]
30699         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30700         specially.
30701         * math/s_clog10.c (__clog10): Likewise.
30702         * math/s_clog10f.c (__clog10f): Likewise.
30703         * math/s_clog10l.c (__clog10l): Likewise.
30704         * math/s_clogf.c (__clogf): Likewise.
30705         * math/s_clogl.c (__clogl): Likewise.
30706         * math/Makefile (libm-calls): Add x2y2m1.
30707         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30708         (__x2y2m1): Likewise.
30709         (__x2y2m1l): Likewise.
30710         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30711         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30712         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30713         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30714         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30715         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30716         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30717         * sysdeps/i386/fpu/libm-test-ulps: Update.
30718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30719
30720         [BZ #14621]
30721         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30722         int as type of variable DEPTH.
30723         (glob): Use size_t instead of int as type of variables NEWCOUNT
30724         and OLD_PATHC.
30725
30726 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30727
30728         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30729         Add s_sincosf-sse2.
30730         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30731         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30732         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30733         macros for using routine as __sincosf_ia32.
30734         Use macro for function declaration and weak_alias.
30735         * sysdeps/i386/fpu/libm-test-ulps: Update.
30736
30737         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30739
30740         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30741         subnormal argument.
30742         * math/s_cexpf.c (__cexpf): Likewise.
30743         * math/s_csinf.c (__csinf): Likewise.
30744         * math/s_csinhf.c (__csinhf): Likewise.
30745         * math/s_ctanf.c (__ctanf): Likewise.
30746         * math/s_ctanhf.c (__ctanhf): Likewise.
30747         * math/s_ccosh.c (__ccoshf): Likewise.
30748         * math/s_cexp.c (__cexpl): Likewise.
30749         * math/s_csin.c (__csin): Likewise.
30750         * math/s_csinh.c (__csinh): Likewise.
30751         * math/s_ctan.c (__ctan): Likewise.
30752         * math/s_ctanh.c (ctanh): Likewise.
30753         * math/s_ccoshl.c (__ccoshl): Likewise.
30754         * math/s_cexpl.c (__cexpl): Likewise.
30755         * math/s_csinl.c (__csinl): Likewise.
30756         * math/s_csinhl.c (__csinhl): Likewise.
30757         * math/s_ctanl.c (__ctanl): Likewise.
30758         * math/s_ctanhl.c (__ctanhl): Likewise.
30759
30760 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30761
30762         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30763         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30764         (_IO_off_t): Define to __off_t, not _G_off_t.
30765         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30766         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30767         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30768         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30769         type of __dummy and __dummy2 fields.
30770         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30771         (_G_ssize_t): Likewise.
30772         (_G_off_t): Likewise.
30773         (_G_pid_t): Likewise.
30774         (_G_uid_t): Likewise.
30775         (_G_wchar_t): Likewise.
30776         (_G_wint_t): Likewise.
30777         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30778         (_G_ssize_t): Likewise.
30779         (_G_off_t): Likewise.
30780         (_G_pid_t): Likewise.
30781         (_G_uid_t): Likewise.
30782         (_G_wchar_t): Likewise.
30783         (_G_wint_t): Likewise.
30784         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30785         (_G_ssize_t): Likewise.
30786         (_G_off_t): Likewise.
30787         (_G_pid_t): Likewise.
30788         (_G_uid_t): Likewise.
30789         (_G_wchar_t): Likewise.
30790         (_G_wint_t): Likewise.
30791
30792 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30793
30794         * malloc/arena.c: Include malloc-sysdep.h.
30795         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30796         is sufficient to shrink the heap or an unmap is needed.
30797         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30798         new function check_may_shrink_heap.
30799         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30800         new function check_may_shrink_heap.
30801
30802 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803
30804         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30805         comments.
30806
30807 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30808
30809         * catgets/test-gencat.sh: Add "set -e".
30810         * elf/tst-pathopt.sh: Likewise.
30811         * grp/tst_fgetgrent.sh: Likewise.
30812         * iconvdata/run-iconv-test.sh: Likewise.
30813         * intl/tst-gettext.sh: Likewise.
30814         * intl/tst-gettext2.sh: Likewise.
30815         * intl/tst-gettext4.sh: Likewise.
30816         * intl/tst-gettext6.sh: Likewise.
30817         * intl/tst-translit.sh: Likewise.
30818         * io/ftwtest-sh: Likewise.
30819         * libio/test-freopen.sh: Likewise.
30820         * malloc/tst-mtrace.sh: Likewise.
30821         * posix/globtest.sh: Likewise.
30822         * posix/tst-getconf.sh: Likewise.
30823         * posix/wordexp-tst.sh: Likewise.
30824         * stdio-common/tst-printf.sh: Likewise.
30825         * stdio-common/tst-unbputc.sh: Likewise.
30826         * stdlib/tst-fmtmsg.sh: Likewise.
30827         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30828         * catgets/Makefile: Do not specify -e option when running
30829         testsuite shell scripts.
30830         * elf/Makefile: Likewise.
30831         * grp/Makefile: Likewise.
30832         * iconvdata/Makefile: Likewise.
30833         * intl/Makefile: Likewise.
30834         * io/Makefile: Likewise.
30835         * libio/Makefile: Likewise.
30836         * malloc/Makefile: Likewise.
30837         * posix/Makefile: Likewise.
30838         * stdio-common/Makefile: Likewise.
30839         * stdlib/Makefile: Likewise.
30840         * sysdeps/x86_64/Makefile: Likewise.
30841
30842         * io/ftwtest-sh: Add copyright header.
30843         * posix/globtest.sh: Likewise.
30844         * posix/tst-getconf.sh: Likewise.
30845         * posix/wordexp-tst.sh: Likewise.
30846         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30847
30848 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30849
30850         [BZ #13679]
30851         * Makeconfig (+link): Defined as $(+link-static) if
30852         $(build-shared) isn't yes.
30853         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30854         isn't yes.
30855         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30856
30857         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30858
30859         [BZ #14562]
30860         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30861         new chunk size with MALLOC_ALIGN_MASK.
30862
30863 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30864
30865         [BZ #5044]
30866         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30867         <rounding-mode.h>.
30868         (__printf_fphex): Determine rounding using get_rounding_mode and
30869         round_away.
30870         * stdio-common/tst-printf-round.c (struct hex_test): New
30871         structure.
30872         (hex_tests): New variable.
30873         (test_hex_in_one_mode): New function.
30874         (do_test): Also run tests for hex float output.
30875
30876 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30877
30878         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30879         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30880         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30881         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30882         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30883         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30884         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30885         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30886
30887 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30888
30889         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30890         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30891         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30892         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30893
30894 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30895
30896         [BZ #14579]
30897         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30898         mode only.
30899         * elf/tst-rtld-load-self.sh: New test.
30900         * elf/Makefile: Run it.
30901
30902 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30903
30904         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30905         (tst-writev-ENV): Remove.
30906         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30907
30908 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30909
30910         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30911
30912 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30913
30914         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30915         unconditional.
30916         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30917         Likewise.
30918         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30919         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30920         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30921         Likewise.
30922
30923 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30924
30925         [BZ #14587]
30926         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30927         * config.make.in (have-cpp-asm-debuginfo): Removed.
30928         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30929         * configure: Regenerated.
30930
30931 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30932
30933         [BZ #5044]
30934         * stdio-common/printf_fp.c: Include <stdbool.h> and
30935         <rounding-mode.h>.
30936         (___printf_fp): Determine rounding using get_rounding_mode and
30937         round_away.
30938         * stdio-common/tst-printf-round.c: New file.
30939         * stdio-common/Makefile (tests): Add tst-printf-round.
30940         (link-libm): New variable.
30941         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30942
30943 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30944
30945         [BZ #14576]
30946         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30947         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30948         Likewise.
30949         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30950         Likewise.
30951
30952 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30953
30954         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30955         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30956         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30957         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30958
30959 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30960
30961         [BZ #14518]
30962         * include/rounding-mode.h: New file.
30963         * sysdeps/generic/get-rounding-mode.h: Likewise.
30964         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30965         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30966         (MAX_VALUE): New macro.
30967         (MIN_VALUE): Likewise.
30968         (overflow_value): New function.
30969         (underflow_value): Likewise.
30970         (round_and_return): Use overflow_value and underflow_value to
30971         determine return values in overflow and underflow cases.  Use
30972         round_away to determine rounding depending on rounding mode.
30973         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30974         determine return values in overflow and underflow cases.
30975         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30976         (struct test_results): New structure.
30977         (struct test): Use struct test_results to store expected results
30978         for all rounding modes.
30979         (TEST): Include expected results for all rounding modes.
30980         (test_in_one_mode): New function.
30981         (do_test): Use test_in_one_mode to compute and check results.
30982         Check results for all rounding modes.
30983         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30984         $(link-libm).
30985
30986 2012-12-09  Allan McRae  <allan@archlinux.org>
30987
30988         * sysdeps/i386/fpu/libm-test-ulps: Update
30989
30990 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30991
30992         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30993         (_G_int32_t): Likewise.
30994         (_G_uint16_t): Likewise.
30995         (_G_uint32_t): Likewise.
30996         (_G_HAVE_BOOL): Likewise.
30997         (_G_HAVE_ATEXIT): Likewise.
30998         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30999         (_G_HAVE_IO_FILE_OPEN): Likewise.
31000         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31001         (_G_int32_t): Likewise.
31002         (_G_uint16_t): Likewise.
31003         (_G_uint32_t): Likewise.
31004         (_G_HAVE_BOOL): Likewise.
31005         (_G_HAVE_ATEXIT): Likewise.
31006         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31007         (_G_HAVE_IO_FILE_OPEN): Likewise.
31008         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31009         (_G_int32_t): Likewise.
31010         (_G_uint16_t): Likewise.
31011         (_G_uint32_t): Likewise.
31012         (_G_HAVE_BOOL): Likewise.
31013         (_G_HAVE_ATEXIT): Likewise.
31014         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31015         (_G_HAVE_IO_FILE_OPEN): Likewise.
31016
31017 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31018
31019         * csu/libc-tls.c: Update copyright years.
31020
31021 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31022
31023         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31024         [!_G_USING_THUNKS]: Remove conditional code.
31025         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31026         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31027
31028         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31029         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31030         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31031         (_G_VTABLE_LABEL_PREFIX): Likewise.
31032         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31033         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31034         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31035         (_G_VTABLE_LABEL_PREFIX): Likewise.
31036         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31037         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31038         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31039         (_G_VTABLE_LABEL_PREFIX): Likewise.
31040         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31041
31042 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31043
31044         * libio/Makefile: Include ../Makeconfig before tests.
31045         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31046         only if $(build-shared) is yes.
31047
31048         * iconv/gconv_db.c: Update copyright years.
31049
31050 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31051
31052         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31053         unwind info if defined PIC. Fix special cases description.
31054         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31055
31056         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31057         DP_HI_MASK entry.
31058         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31059
31060 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31061
31062         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31063
31064         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31065         is NULL.
31066
31067         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31068         (LDLIBS-tst-chk4): This.
31069         (LDFLAGS-tst-chk5): Renamed to ...
31070         (LDLIBS-tst-chk5): This.
31071         (LDFLAGS-tst-chk6): Renamed to ...
31072         (LDLIBS-tst-chk6): This.
31073         (LDFLAGS-tst-lfschk4): Renamed to ...
31074         (LDLIBS-tst-lfschk4): This.
31075         (LDFLAGS-tst-lfschk5): Renamed to ...
31076         (LDLIBS-tst-lfschk5): This.
31077         (LDFLAGS-tst-lfschk6): Renamed to ...
31078         (LDLIBS-tst-lfschk6): This.
31079
31080         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31081         on $(common-objpfx)soversions.mk.
31082
31083 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31084
31085         [BZ #10014]
31086         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31087         example host name.
31088
31089 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31090
31091         * malloc/arena.c (arena_get_retry): New function that gets
31092         another arena for the caller to try its request on.
31093         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31094         current arena cannot fulfill the request.
31095         (__libc_memalign): Likewise.
31096         (__libc_memalign): Likewise.
31097         (__libc_pvalloc): Likewise.
31098         (__libc_calloc): Likewise.
31099
31100 2012-09-05  John Tobey  <john.tobey@gmail.com>
31101
31102         [BZ #13542]
31103         * manual/arith.texi (Operations on Complex): Fix description
31104         of carg branch cut.
31105
31106 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31107
31108         [BZ #10014]
31109         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31110         host name.
31111
31112         [BZ #10038]
31113         * manual/memory.texi (Memory): Make order of menu items match
31114         order of sections.
31115
31116 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31117
31118         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31119         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31120         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31121
31122 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31123
31124         * csu/libc-tls.c (static_dtv): Renamed to ...
31125         (_dl_static_dtv): This.  Make it global.
31126         (_dl_initial_dtv): Removed.
31127         (__libc_setup_tls): Updated.
31128         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31129         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31130         DL_INITIAL_DTV.
31131
31132 2012-09-06  Petr Machata  <pmachata@redhat.com>
31133
31134         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31135         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31136         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31137         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31138
31139 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31140
31141         [BZ #14545]
31142         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31143         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31144         freeing dtv[-1].
31145
31146 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31147
31148         [BZ #14544]
31149         * Makeconfig (link-static-before-libc): Replace $(+prector)
31150         with $(+prectorT).
31151         (link-static-after-libc): Replace $(+postctor) with
31152         $(+postctorT).
31153         (link-bounded): Replace $(+prector)/$(+postctor) with
31154         $(+prectorT)/$(+postctorT).
31155         (+prectorT): New macro.
31156         (+postctorT): Likewise.
31157
31158 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31159
31160         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31161         (round_str): Handle values above the maximum for IBM long double
31162         as inexact.
31163         * stdlib/tst-strtod-round.c (tests): Regenerated.
31164
31165 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31166
31167         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31168         assembler flag.
31169         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31170         zarch_nohighgprs around the zarch optimized routines.
31171         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31172         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31173         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31174         for zarch.
31175
31176 2012-09-05  David S. Miller  <davem@davemloft.net>
31177
31178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31179
31180         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31181         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31182         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31183         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31184         entries.
31185
31186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31187
31188         * malloc/arena.c: Fold copyright years.
31189         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31190
31191 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31192
31193         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31194
31195 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31196
31197         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31198
31199 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31200
31201         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31202         change internal state upon failure.
31203
31204 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31205
31206         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31207         * malloc/memusage.c (mmap): Likewise.
31208         (mmap64, mremap): Likewise.  Adjust name in comment.
31209
31210 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31211
31212         * libio/fileops.c: Fix typos in comments.
31213         * libio/oldfileops.c: Likewise.
31214         * libio/wfileops.c: Likewise.
31215
31216 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31217
31218         [BZ #1349]
31219         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31220         (tst-malloc-usable-ENV): Set environment for test case.
31221         * malloc/hooks.c (malloc_check_get_size): New function to get
31222         requested size.
31223         * malloc/malloc.c (musable): Use malloc_check_get_size.
31224         * malloc/tst-malloc-usable.c: New test case.
31225
31226 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31227
31228         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31229
31230 2012-09-05  Allan McRae  <allan@archlinux.org>
31231
31232         [BZ #13966]
31233         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31234         determine header location.
31235         * configure: Regenerated.
31236
31237 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31238
31239         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31240         float format.
31241         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31242         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31243         format.
31244         (test): Regenerate.
31245
31246 2012-09-04  David S. Miller  <davem@davemloft.net>
31247
31248         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31249         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31250         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31251
31252 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31253
31254         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31255         failures.
31256
31257         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31258
31259 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31260
31261         [BZ #9914]
31262         * libio/iogetdelim.c: Include <limits.h>.
31263         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31264         + len + 1 would overflow.
31265
31266 2012-09-03  Andreas Jaeger  <aj@suse.de>
31267
31268         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31269         * sysdeps/i386/fpu/libm-test-ulps: Update.
31270
31271 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31272
31273         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31274         Add s_sinf-sse2, s_conf-sse2.
31275
31276         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31277         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31278         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31279         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31280
31281         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31282         for using routine as __sinf_ia32.
31283         Use macro for function declaration and weak_alias.
31284         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31285         for using routine as __cosf_ia32.
31286         Use macro for function declaration and weak_alias.
31287
31288         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31289         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31290
31291         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31292         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31294
31295         * math/libm-test.inc (cos_test): Add more test cases.
31296         (sin_test): Likewise.
31297         (sincos_test): Likewise.
31298
31299 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31300
31301         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31302         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31303         hidden.
31304         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31305
31306 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31307
31308         [BZ #14538]
31309         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31310         first element of the GOT.
31311         (elf_machine_load_address): Return the difference between
31312         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31313
31314 2012-09-01  Allan McRae  <allan@archlinux.org>
31315
31316         [BZ #13412]
31317         * configure.in (AWK): Require gawk version 3.0 or later.
31318         * configure: Regenerated.
31319
31320 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31321
31322         * sysdeps/unix/sysv/linux/kernel-features.h
31323         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31324         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31325         [__NR_clock_getres]: Make code unconditional.
31326         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31327         (clock_getcpuclockid): Remove code left unreachable by removal of
31328         conditionals.
31329         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31330         code unconditional.
31331         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31332         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31333         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31334         Make code unconditional.
31335         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31336         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31337         * sysdeps/unix/sysv/linux/clock_settime.c
31338         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31339         conditional code.
31340         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31341         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31342
31343 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31344
31345         [BZ #14476]
31346         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31347         scripts/test-installation.pl.
31348
31349         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31350         and $ld_so_version if it is set.
31351
31352 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31353
31354         [BZ #14516]
31355         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31356         failure if reading from procfs failed.
31357         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31358
31359 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31360
31361         * sysdeps/unix/sysv/linux/kernel-features.h
31362         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31363         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31364         Remove conditional code.
31365         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31366         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31367         Remove conditional code.
31368         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31369         * sysdeps/unix/sysv/linux/i386/fxstat.c
31370         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31371         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31372         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31373         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31374         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31375         * sysdeps/unix/sysv/linux/i386/lxstat.c
31376         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31377         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31378         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31379         Remove conditional code.
31380         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31381         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31382         Remove conditional code.
31383         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31384         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31385         <kernel-features.h>.
31386         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31387         Remove.
31388         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31389         Remove conditional code.
31390         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31391         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31392         Remove conditional.
31393
31394 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31395
31396         [BZ #5400]
31397         * NEWS: Add fixed bug number.
31398
31399 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31400
31401         [BZ #14519]
31402         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31403         underflowing exponent in case of negative sign.
31404         * stdlib/tst-strtod-round-data: Add more tests.
31405         * stdlib/tst-strtod-round.c (tests): Regenerated.
31406
31407         [BZ #3479]
31408         * stdlib/strtod_l.c (NDIG): Remove.
31409         (HEXNDIG): Likewise.
31410         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31411         smallest representable value.
31412         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31413         lie within an exact representation of 1/2 ulp of the result.
31414         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31415         unconditionally.
31416         (TENS_P9_IDX): Define unconditionally.
31417         (TENS_P9_SIZE): Likewise.
31418         (TENS_P10_IDX): Likewise.
31419         (TENS_P10_SIZE): Likewise.
31420         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31421         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31422         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31423         entries for 10^2^13 and 10^2^14.
31424         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31425         (TENS_P13_IDX): Define.
31426         (TENS_P13_SIZE): Likewise.
31427         (TENS_P14_IDX): Likewise.
31428         (TENS_P14_SIZE): Likewise.
31429         (_fpioconst_pow10): Change array size to
31430         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31431         unconditional.
31432         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31433         1024]: Add entries for 10^2^13 and 10^2^14.
31434         [LAST_POW10 > _LAST_POW10]: Remove #error.
31435         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31436         (_fpioconst_pow10): Change array size to
31437         FPIOCONST_POW10_ARRAY_SIZE.
31438         * stdlib/gen-fpioconst.c: New file.
31439         * stdlib/gen-tst-strtod-round.c: Likewise.
31440         * stdlib/tst-strtod-round-data: Likewise.
31441         * stdlib/tst-strtod-round.c: Likewise.
31442         * stdlib/Makefile (tests): Add tst-strtod-round.
31443
31444         [BZ #14459]
31445         * stdlib/strtod_l.c: Include <stdint.h>.
31446         (NDEBUG): Do not define.
31447         (round_and_return): Change EXPONENT parameter to type intmax_t.
31448         Rearrange calculations to avoid internal overflow possibilities.
31449         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31450         Rearrange calculations to avoid internal overflow possibilities.
31451         Assert that number fits inside MPNSIZE limbs.
31452         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31453         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31454         calculations and add assertions to avoid internal overflow
31455         possibilities.  Add casts to avoid signed/unsigned operations.
31456         * stdlib/tst-strtod-overflow.c: New file.
31457         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31458
31459 2012-08-25  Marek Polacek  <polacek@redhat.com>
31460
31461         * time/time.h: Fix some typos in comments.
31462
31463 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31464
31465         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31466         * posix/tst-rfc3484-2.c: Likewise.
31467         * posix/tst-rfc3484-3.c: Likewise.
31468
31469 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31470
31471         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31472         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31473
31474 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31475
31476         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31477         #include of fxstatat64.c.
31478
31479 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31480
31481         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31482         * shadow/getspent_r.c: Likewise.
31483         * shadow/getspnam.c: Likewise.
31484         * shadow/getspnam_r.c: Likewise.
31485         * gshadow/getsgent.c: Likewise.
31486         * gshadow/getsgent_r.c: Likewise.
31487         * gshadow/getsgnam.c: Likewise.
31488         * gshadow/getsgnam_r.c: Likewise.
31489         * inet/getnetbyad.c: Likewise.
31490         * inet/getnetbyad_r.c: Likewise.
31491         * inet/getnetbynm.c: Likewise.
31492         * inet/getnetbynm_r.c: Likewise.
31493         * inet/getnetent.c: Likewise.
31494         * inet/getnetent_r.c: Likewise.
31495         * inet/getproto.c: Likewise.
31496         * inet/getproto_r.c: Likewise.
31497         * inet/getprtent.c: Likewise.
31498         * inet/getprtent_r.c: Likewise.
31499         * inet/getprtname.c: Likewise.
31500         * inet/getprtname_r.c: Likewise.
31501         * inet/getrpcbyname.c: Likewise.
31502         * inet/getrpcbyname_r.c: Likewise.
31503         * inet/getrpcbynumber.c: Likewise.
31504         * inet/getrpcbynumber_r.c: Likewise.
31505         * inet/getrpcent.c: Likewise.
31506         * inet/getrpcent_r.c: Likewise.
31507         * inet/getaliasent.c: Likewise.
31508         * inet/getaliasent_r.c: Likewise.
31509         * inet/getaliasname.c: Likewise.
31510         * inet/getaliasname_r.c: Likewise.
31511         * nscd/getgrgid_r.c: Likewise.
31512         * nscd/getgrnam_r.c: Likewise.
31513         * nscd/gethstbyad_r.c: Likewise.
31514         * nscd/gethstbynm3_r.c: Likewise.
31515         * nscd/getpwnam_r.c: Likewise.
31516         * nscd/getpwuid_r.c: Likewise.
31517         * nscd/getsrvbynm_r.c: Likewise.
31518         * nscd/getsrvbypt_r.c: Likewise.
31519         * nscd/gai.c: Likewise.
31520
31521         * configure.in (build_nscd): New substituted variable, set
31522         by --disable-build-nscd and defaults to $use_nscd.
31523         * configure: Regenerated.
31524         * config.make.in (build-nscd): New substituted variable.
31525         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31526         Change conditional to require [$(build-nscd) = yes] as well.
31527         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31528
31529         [BZ# 13696]
31530         * configure.in (use_nscd): New substituted variable, set by
31531         --disable-nscd.  If enabled, define USE_NSCD.
31532         * configure: Regenerated.
31533         * config.h.in: Add USE_NSCD.
31534         * config.make.in (use-nscd): New substituted variable.
31535         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31536         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31537         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31538         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31539         (CFLAGS-getgrnam_r.c): Likewise.
31540         (CFLAGS-initgroups.c): Likewise.
31541         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31542         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31543         Variables removed.
31544         * inet/getnetgrent_r.c
31545         (nscd_setnetgrent): New function, broken out of ...
31546         (setnetgrent): ... here.  Call it.
31547         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31548         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31549         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31550         * nscd/Makefile (routines, aux): Move definitions after include of
31551         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31552         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31553         Conditionalize on [USE_NSCD].
31554         (is_nscd, nscd_init_cb): Likewise.
31555         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31556         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31557         * nss/nss_db/db-init.c: Likewise.
31558         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31559         [USE_NSCD].
31560         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31561         (make_request): Use it.
31562         (cache_valid_p): New function.
31563         (__check_pf): Use it.
31564         * NEWS: Add item for --disable-nscd.
31565
31566 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31567
31568         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31569         to support sed >= 4.2.1-20-ga9bf076.
31570         * configure: Regenerated.
31571
31572 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31573
31574         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31575         Conditionalize whole body on [IREL].
31576
31577 2012-08-22  Jeff Law <law@redhat.com>
31578
31579         [BZ #14505]
31580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31581         if the family is PF_UNSPEC.
31582
31583 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31584
31585         * Makerules (lib-version): Rename from V.
31586         (install-lib-nosubdir): Change V to lib-version.
31587
31588 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31589
31590         [BZ #14252]
31591         * powerpc32/power6/wcschr.c: New file.
31592         * powerpc32/power6/wcscpy.c: New file.
31593         * powerpc32/power6/wcsrchr.c: New file.
31594         * powerpc64/power6/wcschr.c: New file.
31595         * powerpc64/power6/wcscpy.c: New file.
31596         * powerpc64/power6/wcsrchr.c: New file.
31597
31598 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31599
31600         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31601         (two_way_short_needle): Use it.
31602         * string/strstr.c (AVAILABLE1_USES_J): Define.
31603         * string/strcasestr.c: Likewise.
31604
31605         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31606         array references.
31607         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31608
31609         [BZ #11607]
31610         * NEWS: Add an entry.
31611         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31612         define their defaults.
31613         (two_way_short_needle): Detect end-of-string on-the-fly.
31614         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31615         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31616         * string/bug-strcasestr1.c: New test.
31617         * string/Makefile: Run it.
31618
31619 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31620
31621         [BZ #11607]
31622         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31623         the first character.
31624
31625 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31626
31627         * csu/elf-init.c (__libc_csu_irel): Function removed.
31628         * csu/libc-start.c (apply_irel): New function.
31629         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31630
31631 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31632
31633         * sysdeps/unix/sysv/linux/kernel-features.h
31634         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31635         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31636         <kernel-features.h>.
31637         [__NR_fadvise64_64]: Make code unconditional.
31638         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31639         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31640         !__NR_fadvise64_64)]: Likewise.
31641         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31642         !__NR_fadvise64_64))]: Likewise.
31643         [__NR_fadvise64]: Make code unconditional.
31644         [!__NR_fadvise64]: Remove conditional code.
31645         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31646         <kernel-features.h>.
31647         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31648         unconditional.
31649         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31650         conditional code.
31651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31652         not include <kernel-features.h>.
31653         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31654         unconditional.
31655         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31656         conditional code.
31657         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31658         include <kernel-features.h>.
31659         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31660         unconditional.
31661         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31662         conditional code.
31663
31664 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31665
31666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31667         slight instruction rearrangements per scrollpipe analysis.
31668         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31669
31670 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31671
31672         * manual/syslog.texi (syslog; vsyslog, closelog):
31673         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31674         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31675
31676         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31677         DSOCAPS to match condition on defining it.
31678
31679 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31680
31681         * sysdeps/unix/sysv/linux/kernel-features.h
31682         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31684         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31685         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31687         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31688         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31690         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31691         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31692
31693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31694         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31695
31696         * sysdeps/unix/sysv/linux/kernel-features.h
31697         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31698         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31699         unconditional.
31700         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31701         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31702         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31703         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31704         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31705         Make code unconditional.
31706         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31707         (__mmap64) [!__NR_mmap2]: Likewise.
31708         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31709         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31710         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31711         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31712         [__NR_mmap2]: Make code unconditional.
31713         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31714         (__mmap64) [!__NR_mmap2]: Likewise.
31715
31716 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31717
31718         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31719
31720 2012-08-18  Andreas Jaeger  <aj@suse.de>
31721
31722         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31723
31724 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31725
31726         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31727         * include/unistd.h (__have_sock_cloexec): Likewise.
31728         (__have_pipe2): Likewise.
31729         (__have_dup3): Likewise.
31730
31731 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31732
31733         [BZ #9685]
31734         * include/unistd.h (__have_pipe2): Change define into an extern int.
31735         (__have_dup3): Likewise.
31736         * socket/have_sock_cloexec.c: Include fcntl.h.
31737         (__have_pipe2): New variable.
31738         (__have_dup3): Likewise.
31739
31740 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31741
31742         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31743
31744 2012-08-17  Marek Polacek  <polacek@redhat.com>
31745
31746         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31747         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31748
31749 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31750
31751         * configure.in: Add AC_SUBST for sysheaders.
31752         * configure: Regenerated.
31753         * config.make.in (sysheaders): New substituted variable.
31754
31755         * sysdeps/unix/mkfifo.c: Moved ...
31756         * sysdeps/posix/mkfifo.c: ... here.
31757         * sysdeps/unix/mkfifoat.c: Moved ...
31758         * sysdeps/posix/mkfifoat.c: ... here.
31759
31760         * sysdeps/unix/utime.c: Moved ...
31761         * sysdeps/posix/utime.c: ... here.
31762
31763         * sysdeps/unix/time.c: Moved ...
31764         * sysdeps/posix/time.c: ... here.
31765         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31766         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31767
31768         * sysdeps/unix/nice.c: Moved ...
31769         * sysdeps/posix/nice.c: ... here.
31770
31771         * sysdeps/unix/alarm.c: Moved ...
31772         * sysdeps/posix/alarm.c: ... here.
31773
31774         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31775
31776 2012-08-17  Jeff Law <law@redhat.com>
31777
31778         * intl/Makefile (codeset_mo): New variable.
31779         ($(codeset_mo)): New target.
31780         (tst-codeset.out): Depend on that.  Remove explicit rule.
31781         (tst-gettext3.out, tst-gettext5.out): Likewise.
31782         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31783         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31784         * intl/tst-codeset.sh: Remove.
31785         * intl/tst-gettext3.sh: Likewise.
31786         * intl/tst-gettext5.sh: Likewise.
31787
31788 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31789
31790         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31791         * sysdeps/unix/syscalls.list: ... here.
31792
31793         * sysdeps/posix/getaddrinfo.c
31794         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31795         (gaiconf_init, gaiconf_reload): Use them.
31796         [!_STATBUF_ST_NSEC]
31797         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31798         Define using time_t rather than struct timespec.
31799
31800         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31801         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31802         Macros removed.
31803         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31804         [!NO_THREADS].
31805         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31806         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31807         Likewise.
31808
31809         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31810         __libc_cleanup_push argument.
31811
31812         * bits/param.h: New file.
31813         * misc/sys/param.h: New file.
31814         * include/sys/param.h: New file.
31815         * misc/Makefile (headers): Add bits/param.h.
31816         * sysdeps/generic/sys/param.h: File removed.
31817         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31818         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31819         * sysdeps/mach/hurd/bits/param.h: New file.
31820         * sysdeps/mach/hurd/sys/param.h: File removed.
31821
31822         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31823         last change.
31824
31825         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31826         [_IO_MTSAFE_IO].
31827         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31828         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31829         New macros.
31830
31831         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31832         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31833         rather than -D_IO_MTSAFE_IO conditionally.
31834         * stdio-common/Makefile (CPPFLAGS): Likewise.
31835         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31836         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31837         Use $(libio-mtsafe).
31838         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31839         of -D_IO_MTSAFE_IO.
31840         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31841         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31842         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31843         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31844         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31845         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31846         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31847         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31848         (CFLAGS-fread_u_chk.c): Likewise.
31849         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31850         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31851         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31852         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31853         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31854         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31855         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31856         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31857         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31858
31859         * libio/Makefile: Test [$(libc-reentrant) = yes]
31860         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31861
31862         * Makeconfig
31863         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31864         * sysdeps/pthread/configure: File removed.
31865         * sysdeps/pthread/Makeconfig: New file.
31866         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31867         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31868
31869 2012-08-16  Gary Benson  <gbenson@redhat.com>
31870
31871         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31872         unmapping the first object in a namespace.
31873
31874 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31875
31876         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31877         (__internal_setnetgrent): ... this.  Add internal_function to
31878         definition.  Add libc_hidden_def.
31879         (setnetgrent): Update caller.
31880         (internal_endnetgrent): Renamed to ...
31881         (__internal_endnetgrent): ... this.  Add internal_function to
31882         definition.  Add libc_hidden_def.
31883         (endnetgrent): Update caller.
31884         (internal_getnetgrent_r): Renamed to ...
31885         (__internal_getnetgrent_r): ... this.  Add internal_function to
31886         definition.  Add libc_hidden_def.
31887         (__getnetgrent_r): Update caller.
31888         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31889
31890 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31891
31892         * stdlib/longlong.h: Update from GCC.
31893
31894 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31895
31896         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31897         on _QL, which is set by umul_ppmm but never used.
31898         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31899         variables, which are set by GMP macros but never used.
31900         * stdio-common/_itowa.c (_itowa): Likewise.
31901         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31902         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31903
31904 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31905
31906         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31907         struct La_sh_regs is not constant.
31908         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31909         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31910         and struct La_sparc64_regs are not constant.
31911
31912 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31913
31914         * sysdeps/unix/sysv/linux/kernel-features.h
31915         (__ASSUME_POSIX_TIMERS): Remove.
31916         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31917         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31918         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31919         Make code unconditional.
31920         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31921         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31922         Make code unconditional.
31923         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31924         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31925         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31926         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31927         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31928         Make code unconditional.
31929         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31930         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31931         (__libc_missing_posix_timers): Remove.
31932
31933 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31934
31935         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31936         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31937
31938         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31939
31940         * elf/dl-sym.c: Include <stdlib.h>.
31941
31942         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31943         constants, which avoids warnings in 32-bit builds.
31944
31945         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31946         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31947
31948         * misc/lseek.c: File moved to ...
31949         * io/lseek.c: ... here.
31950
31951         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31952
31953         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31954         shifting LEN more than 31 bits at once.
31955
31956 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31957
31958         [BZ #14195]
31959         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31960         segmentation fault for a case of two empty input strings.
31961         * string/test-strncasecmp.c (check1): Renamed to...
31962         (bz12205): ...this.
31963         (bz14195): Add new testcase for two empty input strings and N > 0.
31964         (test_main): Call new testcase, adapt for renamed function.
31965
31966 2012-08-15  Andreas Jaeger  <aj@suse.de>
31967
31968         [BZ #14090]
31969         * crypt/md5test2.c: New test, based on test supplied by Serge
31970         Belyshev <belyshev@depni.sinp.msu.ru>.
31971         * crypt/Makefile (xtests): Add md5test-giant..
31972         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31973
31974 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31975
31976         [BZ #14090]
31977         * crypt/md5.c (md5_process_block): Don't assume the buffer
31978         length is less than 2**32.
31979         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31980         length is less than 2**64.
31981
31982 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31983
31984         * string/str-two-way.h: Include <sys/param.h>.
31985         (MAX): Macro removed.
31986
31987         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31988         Move #define and #undef of memmove to just before and after
31989         including <string.h>.
31990
31991         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31992         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31993         and after including <string.h>.  Move declarations of
31994         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31995         to before #include "string/memmove.c".
31996
31997         * include/dirent.h: Declare __getdirentries.
31998
31999         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32000         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32001
32002 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32003
32004         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32005         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32006         * sysdeps/i386/configure: Regenerated.
32007         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32008         STABS_CURRENT_FILE, and STABS_FUN.
32009         (END): Remove call to STABS_FUN_END.
32010         (STABS_CURRENT_FILE1): Delete.
32011         (STABS_CURRENT_FILE): Likewise.
32012         (STABS_FUN): Likewise.
32013         (STABS_FUN_END): Likewise.
32014         (STABS_FUN2): Likewise.
32015         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32016         * sysdeps/x86_64/configure: Regenerated.
32017
32018 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32019
32020         * elf/dl-open.c: Include <atomic.h>.
32021         * elf/dl-lookup.c: Likewise.
32022
32023 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32024
32025         * sysdeps/unix/sysv/linux/kernel-features.h
32026         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32027         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32028         unconditionally.
32029         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32030         unconditionally.
32031         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32032         condition on __ASSUME_CLONE_THREAD_FLAGS.
32033
32034 2012-08-14  Andreas Jaeger  <aj@suse.de>
32035
32036         * sysdeps/i386/fpu/libm-test-ulps: Update.
32037
32038 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32039
32040         * include/atomic.h (atomic_exchange_and_add): Split into ...
32041         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32042         New atomic macros.
32043
32044 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32045
32046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32047
32048 2012-08-13  Jeff Law <law@redhat.com>
32049
32050         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32051         null byte in the output string.
32052
32053 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32054
32055         * sysdeps/unix/sysv/linux/kernel-features.h
32056         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32057         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32058         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32059         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32060         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32061         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32062         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32063
32064 2012-08-09  Jeff Law <law@redhat.com>
32065
32066         [BZ #13939]
32067         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32068         When avoid_arena is set, don't retry in the that arena.  Pick the
32069         next one, whatever it might be.
32070         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32071         (arena_lock): Pass in new parameter to arena_get2.
32072         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32073         arena_get2.
32074         (__libc_malloc): Unify retrying after main arena failure with
32075         __libc_memalign version.
32076         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32077
32078 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32079
32080         [BZ #14166]
32081         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32082         to __redirect_strstr.
32083         (__strstr_sse42): Use typeof __redirect_strstr.
32084         (__strstr_ia32): Likewise.
32085         (__libc_strstr): New prototype.
32086         (strstr): Renamed to ...
32087         (__libc_strstr): This.
32088         (strstr): New strong alias of __libc_strstr.
32089         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32090         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32091         __redirect_time.
32092         Include <time.h>.
32093         (__libc_time): New prototype.
32094         (time_ifunc): Replace time with __libc_time.
32095         (time): New strong alias and hidden definition of __libc_time.
32096         (__GI_time): Remove strong alias.
32097         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32098         Include <stddef.h>.
32099         (memmove): Redefined to __redirect_memmove.
32100         (__memmove_sse2): Use typeof __redirect_memmove.
32101         (__memmove_ssse3): Likewise.
32102         (__memmove_ssse3_back): Likewise.
32103         (__libc_memmove): New prototype.
32104         (memmove): Renamed to ...
32105         (__libc_memmove): This.
32106         (memmove): New strong alias of __libc_memmove.
32107
32108 2012-08-08  Mark Salter  <msalter@redhat.com>
32109
32110         * elf/elf.h
32111         (R_MN10300_TLS_GD): Define.
32112         (R_MN10300_TLS_LD): Likewise.
32113         (R_MN10300_TLS_LDO): Likewise.
32114         (R_MN10300_TLS_GOTIE): Likewise.
32115         (R_MN10300_TLS_IE): Likewise.
32116         (R_MN10300_TLS_LE): Likewise.
32117         (R_MN10300_TLS_DTPMOD): Likewise.
32118         (R_MN10300_TLS_DTPOFF): Likewise.
32119         (R_MN10300_TLS_TPOFF): Likewise.
32120         (R_MN10300_SYM_DIFF): Likewise.
32121         (R_MN10300_ALIGN): Likewise.
32122         (R_MN10300_NUM): Update.
32123
32124 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32125
32126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32127         Remove.
32128
32129 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32130
32131         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32132
32133         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32134         sysdeps/unix -> sysdeps/posix move.
32135         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32136
32137 2012-08-07      Allan McRae     <allan@archlinux.org>
32138
32139         [BZ #14303]
32140         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32141         (SUNOS_CPP): Likewise.
32142         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32143         not found.
32144         (open_input): Call CPP using execvp.
32145
32146 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32147
32148         * sysdeps/unix/sysv/linux/kernel-features.h
32149         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32150         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32151         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32152         (__ASSUME_WAITID_SYSCALL): Likewise.
32153         * sysdeps/unix/sysv/linux/dl-execstack.c
32154         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32155         code unconditional.
32156         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32157         conditional code.
32158         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32159         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32160         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32161         code.
32162         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32163         unconditional.
32164         [__ASSUME_WAITID_SYSCALL]: Likewise.
32165         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32166
32167 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32168
32169         * sysdeps/unix/closedir.c: Renamed to ...
32170         * sysdeps/posix/closedir.c: ... here.
32171         * sysdeps/unix/dirfd.c: Renamed to ...
32172         * sysdeps/posix/dirfd.c: ... here.
32173         * sysdeps/unix/dirstream.h: Renamed to ...
32174         * sysdeps/posix/dirstream.h: ... here.
32175         * sysdeps/unix/fdopendir.c: Renamed to ...
32176         * sysdeps/posix/fdopendir.c: ... here.
32177         * sysdeps/unix/opendir.c: Renamed to ...
32178         * sysdeps/posix/opendir.c: ... here.
32179         * sysdeps/unix/readdir.c: Renamed to ...
32180         * sysdeps/posix/readdir.c: ... here.
32181         * sysdeps/unix/readdir_r.c: Renamed to ...
32182         * sysdeps/posix/readdir_r.c: ... here.
32183         * sysdeps/unix/rewinddir.c: Renamed to ...
32184         * sysdeps/posix/rewinddir.c: ... here.
32185         * sysdeps/unix/seekdir.c: Renamed to ...
32186         * sysdeps/posix/seekdir.c: ... here.
32187         * sysdeps/unix/telldir.c: Renamed to ...
32188         * sysdeps/posix/telldir.c: ... here.
32189         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32190         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32191         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32192         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32193
32194         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32195         * bits/fcntl.h: ... here.
32196
32197         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32198         not 0.
32199         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32200         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32201         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32202         (struct flock): Move l_start, l_len to the beginning.
32203         Use __pid_t for l_pid.
32204         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32205         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32206         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32207         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32208         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32209         [__USE_LARGEFILE64] (struct flock64): New type.
32210         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32211
32212         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32213         * bits/dirent.h: ... here.
32214
32215         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32216         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32217
32218 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32219
32220         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32221         Change from 2.6.0 to 2.6.16.
32222         * sysdeps/unix/sysv/linux/configure: Regenerated.
32223         * sysdeps/unix/sysv/linux/kernel-features.h
32224         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32225         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32226         version.
32227         (__ASSUME_UTIMES): Likewise.
32228         (__ASSUME_CLONE_STOPPED): Remove.
32229         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32230         architectures, not kernel version.
32231         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32232         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32233         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32234         (__ASSUME_WAITID_SYSCALL): Likewise.
32235         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32236         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32237         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32238         refer to older versions.
32239
32240 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32241
32242         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32243         Define alphasort64 as an alias.
32244         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32245         Define versionsort64 as an alias.
32246         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32247         Define scandir64 as an alias.
32248         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32249         Define scandirat64 as an alias.
32250         * dirent/alphasort64.c (alphasort64):
32251         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32252         * dirent/versionsort64.c: Likewise.
32253         * dirent/scandir64.c: Likewise.
32254         * dirent/scandirat64.c: Likewise.
32255         * sysdeps/wordsize-64/alphasort.c: File removed.
32256         * sysdeps/wordsize-64/alphasort64.c: File removed.
32257         * sysdeps/wordsize-64/scandir.c: File removed.
32258         * sysdeps/wordsize-64/scandir64.c: File removed.
32259         * sysdeps/wordsize-64/scandirat.c: File removed.
32260         * sysdeps/wordsize-64/scandirat64.c: File removed.
32261         * sysdeps/wordsize-64/versionsort.c: File removed.
32262         * sysdeps/wordsize-64/versionsort64.c: File removed.
32263         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32264         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32266         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32268         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32270         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32271
32272         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32274         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32276         [defined __arch64__ || defined __sparcv9]
32277         (__INO_T_MATCHES_INO64_T): New macro.
32278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32279         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32280         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32281         * sysdeps/unix/sysv/linux/bits/dirent.h
32282         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32283         (_DIRENT_MATCHES_DIRENT64): New macro.
32284
32285         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32286         Define lockf64 as an alias.
32287         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32288         Define fseeko64 as an alias.
32289         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32290         Define ftello64 as an alias.
32291         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32292         Define _IO_fgetpos64 and fgetpos64 as aliases.
32293         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32294         Define _IO_fsetpos64 and fsetpos64 as aliases.
32295         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32296         Conditionalize body on this.
32297         * libio/fseeko64.c: Likewise.
32298         * libio/ftello64.c: Likewise.
32299         * libio/iofgetpos64.c: Likewise.
32300         * libio/iofsetpos64.c: Likewise.
32301         * sysdeps/wordsize-64/lockf.c: File removed.
32302         * sysdeps/wordsize-64/lockf64.c: File removed.
32303         * sysdeps/wordsize-64/fseeko.c: File removed.
32304         * sysdeps/wordsize-64/fseeko64.c: File removed.
32305         * sysdeps/wordsize-64/ftello.c: File removed.
32306         * sysdeps/wordsize-64/ftello64.c: File removed.
32307         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32308         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32309         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32310         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32311         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32312         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32313         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32314         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32315         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32316         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32317         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32318         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32320         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32321
32322         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32323         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32324         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32325         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32326         [defined __arch64__ || defined __sparcv9]
32327         (__OFF_T_MATCHES_OFF64_T): New macro.
32328         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32329         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32330         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32331         (__OFF_T_MATCHES_OFF64_T): New macro.
32332
32333 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32334
32335         * stdlib/secure-getenv.c (__secure_getenv): Replace
32336         GLIBC_2_16 with GLIBC_2_17.
32337
32338 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32339
32340         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32341         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32342
32343 2012-08-03  David S. Miller  <davem@davemloft.net>
32344
32345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32346
32347 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32348
32349         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32350         Remove.
32351         (__ASSUME_CORRECT_SI_PID): Likewise.
32352         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32353         (__ASSUME_TMPFS_NAME): Likewise.
32354         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32355         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32356         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32357         (HAVE_AUX_SECURE): Make definition unconditional.
32358         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32359         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32360
32361 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32362
32363         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32364         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32365         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32366         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32367         __eloop_threshold instead of SYMLOOP_MAX.
32368
32369         * sysdeps/generic/eloop-threshold.h: New file.
32370         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32371         of MAXSYMLINKS.
32372         * elf/chroot_canon.c (chroot_canon): Likewise.
32373
32374 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32375
32376         [BZ #13717]
32377         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32378         Change to 2.6.0 everywhere.
32379         * sysdeps/unix/sysv/linux/configure: Regenerated.
32380         * sysdeps/unix/sysv/linux/kernel-features.h
32381         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32382         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32383         kernel versions.
32384         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32385         (__ASSUME_FUTEX_REQUEUE): Remove.
32386         (__ASSUME_STATFS64): Define unconditionally.
32387         (__ASSUME_AT_SECURE): Likewise.
32388         (__ASSUME_CORRECT_SI_PID): Likewise.
32389         (__ASSUME_TGKILL): Define without depending on kernel version for
32390         i386.
32391         (__ASSUME_UTIMES): Likewise.
32392         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32393         kernel version.
32394         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32395         (__ASSUME_TMPFS_NAME): Likewise.
32396         * README: Update reference to Linux kernel versions.
32397
32398 2012-08-02  Marek Polacek  <polacek@redhat.com>
32399
32400         [BZ# 14150]
32401         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32402         libc_cv_asm_type_prefix with %.
32403         * configure: Regenerated.
32404         * include/libc-symbols.h: Remove comment about
32405         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32406         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32407         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32408         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32409         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32410         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32411         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32412         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32413         * elf/tst-unique2mod1.c: Likewise.
32414         * elf/tst-unique1mod2.c: Likewise.
32415         * elf/tst-unique1mod1.c: Likewise.
32416         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32417         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32418         Replace ASM_TYPE_DIRECTIVE with .type.
32419         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32420         * sysdeps/i386/sysdep.h: Likewise.
32421         * sysdeps/x86_64/sysdep.h: Likewise.
32422         * sysdeps/sh/sysdep.h: Likewise.
32423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32424         Do not define ASM_TYPE_DIRECTIVE.
32425         * sysdeps/powerpc/sysdep.h: Likewise.
32426         * sysdeps/powerpc/powerpc32/sysdep.h:
32427         Replace ASM_TYPE_DIRECTIVE with .type.
32428         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32429         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32430         * sysdeps/i386/fpu/e_powf.S: Likewise.
32431         * sysdeps/i386/fpu/e_expl.S: Likewise.
32432         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32433         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32434         * sysdeps/i386/fpu/e_pow.S: Likewise.
32435         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32437         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32438         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32439         * sysdeps/i386/fpu/e_log2.S: Likewise.
32440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32441         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32442         * sysdeps/i386/fpu/e_powl.S: Likewise.
32443         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32444         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32445         * sysdeps/i386/fpu/e_logl.S: Likewise.
32446         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32447         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32448         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32449         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32450         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32451         * sysdeps/i386/fpu/e_log.S: Likewise.
32452         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32453         * sysdeps/i386/fpu/e_logf.S: Likewise.
32454         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32455         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32456         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32457         * sysdeps/i386/fpu/e_log10.S: Likewise.
32458         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32459         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32460         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32461         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32462         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32463         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32464         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32465         * sysdeps/i386/i686/strtok.S: Likewise.
32466         * sysdeps/i386/i386-mcount.S: Likewise.
32467         * sysdeps/i386/strtok.S: Likewise.
32468         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32469         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32470         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32471         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32472         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32473         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32474         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32475         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32476         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32477         * sysdeps/x86_64/_mcount.S: Likewise.
32478         * sysdeps/x86_64/strtok.S: Likewise.
32479         * sysdeps/sh/_mcount.S: Likewise.
32480
32481 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32482
32483         * libio/iofopen.c: Include <fcntl.h>.
32484         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32485         (_IO_fopen64, fopen64): Define as aliases.
32486         * libio/iofopen64.c: Include <fcntl.h>.
32487         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32488         Conditionalize body on this.
32489         * sysdeps/wordsize-64/iofopen.c: File removed.
32490         * sysdeps/wordsize-64/iofopen64.c: File removed.
32491
32492 2012-08-01  Marek Polacek  <polacek@redhat.com>
32493
32494         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32495         Use dlfcn directly instead of a variable.
32496         (binfmt-subdir): Do not define.
32497         (dlfcn): Likewise.
32498
32499 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32500
32501         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32502         Remove all definitions.
32503         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32504         <kernel-features.h>.
32505         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32506         (miss_F_GETOWN_EX): Remove all definitions.
32507         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32508         macro definition.
32509         [!__ASSUME_FCNTL64]: Remove conditional code.
32510         [__ASSUME_FCNTL64]: Make code unconditional.
32511         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32512         <kernel-features.h>.
32513         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32514         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32515         (lockf64) [__NR_fcntl64]: Make code unconditional.
32516         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32517
32518         * sysdeps/unix/sysv/linux/kernel-features.h
32519         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32520         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32521         Make code unconditional.
32522         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32523         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32525         [__NR_vfork]: Make code unconditional.
32526         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32527         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32529         [__NR_vfork]: Make code unconditional.
32530         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32531         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32532
32533 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32534
32535         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32536         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32537
32538         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32539         Define mkstemp64 as an alias.
32540         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32541         Define mkstemps64 as an alias.
32542         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32543         Define mkostemp64 as an alias.
32544         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32545         Define mkostemps64 as an alias.
32546         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32547         Conditionalize body on this.
32548         * misc/mkostemp64.c: Likewise.
32549         * misc/mkostemps64.c: Likewise.
32550         * misc/mkstemps64.c: Likewise.
32551         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32552         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32553         * sysdeps/wordsize-64/mkostemp.c: File removed.
32554         * sysdeps/wordsize-64/mkstemp.c: File removed.
32555         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32556         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32557         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32558         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32559
32560         [BZ #14138]
32561         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32562         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32563         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32564         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32565
32566         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32567         compat_symbol macros from <shlib-compat.h> rather than the underlying
32568         default_symbol_version and symbol_version macros, so that DEFAULT
32569         lines in shlib-versions are respected.
32570         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32571
32572 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32573
32574         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32575         Declare with warn_unused_result.
32576         (setgid, setregid, setegid, setresgid): Likewise.
32577         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32578         Likewise.
32579         * WUR-REPORT: Remove set*id functions.
32580
32581 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32582
32583         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32584
32585 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32586
32587         [BZ #10191]
32588         * include/sys/socket.h (__libc_accept, __libc_accept4):
32589         Add attribute_hidden.
32590         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32591
32592         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32593         use of PTR_MANGLE.
32594         * inet/getnetgrent_r.c (setup): Likewise.
32595
32596         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32597
32598 2012-07-31  David S. Miller  <davem@davemloft.net>
32599
32600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32601
32602 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32603
32604         [BZ #13629]
32605         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32606         value between 1.0 and 2.0 and smaller part has absolute value less
32607         than 1.0.
32608         * math/s_clog10.c (__clog10): Likewise.
32609         * math/s_clog10f.c (__clog10f): Likewise.
32610         * math/s_clog10l.c (__clog10l): Likewise.
32611         * math/s_clogf.c (__clogf): Likewise.
32612         * math/s_clogl.c (__clogl): Likewise.
32613         * math/libm-test.inc (clog_test): Add more tests.
32614         (clog10_test): Likewise.
32615         * sysdeps/i386/fpu/libm-test-ulps: Update.
32616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32617
32618 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32619
32620         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32621         Exit with zero in case no suitable GID is found, and write a
32622         message to standard error.
32623
32624 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32625
32626         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32627         rather than to 1.
32628         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32629         (MAXPATHLEN): Removed.
32630         (NOGROUP, NODEV): New macros.
32631         (setbit, clrbit, isset, isclr): New macros.
32632         (howmany, roundup, powerof2): New macros.
32633         (DEV_BSIZE): New macro.
32634
32635         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32636         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32637
32638         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32639         definition on [!__NO_LONG_DOUBLE_MATH].
32640
32641         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32642         PTR_MANGLE and PTR_DEMANGLE.
32643
32644         * socket/accept4.c (accept4): Rename to __libc_accept4.
32645         Define accept4 as a weak alias.
32646
32647         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32648         on [_DIRENT_HAVE_D_TYPE].
32649         * io/ftw.c (ftw_dir): Likewise.
32650
32651         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32652
32653         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32654
32655         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32656         Use the BSD numbers rather than the arbitrary ones we had.
32657         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32658         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32659         (SIGXCPU, SIGXFSZ): New macros.
32660         (_NSIG): Now 32.
32661
32662         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32663         initializer on [_LIBC_REENTRANT].
32664
32665         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32666         definitions inside [_POSIX_MAPPED_FILES].
32667
32668         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32669
32670         * dirent/opendir.c: Include <fcntl.h>.
32671
32672         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32673         (__libc_getspecific): Likewise.
32674         (__libc_key_create): Likewise.
32675
32676         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32677         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32678         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32679         (tmpfile64): Define as alias.
32680         * sysdeps/wordsize-64/tmpfile.c: File removed.
32681         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32683         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32684
32685         * stdio-common/vfscanf.c: Include <stdbool.h>.
32686         * nss/makedb.c: Likewise.
32687         * stdio-common/_i18n_number.h: Likewise.
32688         * argp/argp-help.c: Likewise.
32689         * posix/wordexp.c: Likewise.
32690         * sysdeps/posix/spawni.c: Likewise.
32691         * nss/nss_files/files-initgroups.c: Likewise.
32692         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32693         * nss/nss_files/files-initgroups.c: Likewise.
32694         * nss/nss_db/db-netgrp.c: Likewise.
32695         * nss/nss_db/db-initgroups.c: Likewise.
32696         * io/fchmodat.c: Include <sys/stat.h>.
32697
32698         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32699         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32700
32701         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32702         [HAVE_MMAP].
32703
32704         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32705         Add multiple inclusion protection.
32706
32707 2012-07-27  David S. Miller  <davem@davemloft.net>
32708
32709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32710
32711 2012-07-27  Gary Benson  <gbenson@redhat.com>
32712
32713         [BZ #14298]
32714         * elf/rtld.c: Include <stap-probe.h>.
32715         (dl_main): Added static probes "init_start" and "init_complete".
32716         * elf/dl-load.c: Include <stap-probe.h>.
32717         (lose): Take new parameter "nsid".
32718         Added static probe "map_failed".
32719         (_dl_map_object_from_fd): Pass namespace id to lose.
32720         Added static probe "map_start".
32721         (open_verify): Pass namespace id to lose.
32722         * elf/dl-open.c: Include <stap-probe.h>.
32723         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32724         and "reloc_complete".
32725         * elf/dl-close.c: Include <stap-probe.h>.
32726         (_dl_close_worker): Added static probes "unmap_start" and
32727         "unmap_complete".
32728         * elf/rtld-debugger-interface.txt: New file documenting the above.
32729
32730 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32731
32732         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32733         rather than a string variable.
32734         * sunrpc/rpc_main.c (h_output): Likewise.
32735         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32736
32737 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32738
32739         * inet/check_native.c: New file.
32740
32741 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32742
32743         [BZ #13629]
32744         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32745         if larger part has absolute value 1.0.
32746         * math/s_clog10.c (__clog10): Likewise.
32747         * math/s_clog10f.c (__clog10f): Likewise.
32748         * math/s_clog10l.c (__clog10l): Likewise.
32749         * math/s_clogf.c (__clogf): Likewise.
32750         * math/s_clogl.c (__clogl): Likewise.
32751         * math/libm-test.inc (clog_test): Add more tests.
32752         (clog10_test): Likewise.
32753         * sysdeps/i386/fpu/libm-test-ulps: Update.
32754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32755
32756         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32757         (pltexit): Likewise.
32758         (La_regs): Likewise.
32759         (La_retval): Likewise.
32760         (int_retval): Likewise.
32761         Update #error for removed macros to refer only to definitions in
32762         tst-audit.h.
32763         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32764         macro.
32765         (pltexit): Likewise.
32766         (La_regs): Likewise.
32767         (La_retval): Likewise.
32768         (int_retval): Likewise.
32769         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32770         macro.
32771         (pltexit): Likewise.
32772         (La_regs): Likewise.
32773         (La_retval): Likewise.
32774         (int_retval): Likewise.
32775         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32776         macro.
32777         (pltexit): Likewise.
32778         (La_regs): Likewise.
32779         (La_retval): Likewise.
32780         (int_retval): Likewise.
32781         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32782         macro.
32783         (pltexit): Likewise.
32784         (La_regs): Likewise.
32785         (La_retval): Likewise.
32786         (int_retval): Likewise.
32787         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32788         macro.
32789         (pltexit): Likewise.
32790         (La_regs): Likewise.
32791         (La_retval): Likewise.
32792         (int_retval): Likewise.
32793         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32794         macro.
32795         (pltexit): Likewise.
32796         (La_regs): Likewise.
32797         (La_retval): Likewise.
32798         (int_retval): Likewise.
32799         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32800         macro definitions in tst-audit.h.
32801         * sysdeps/i386/tst-audit.h: New file.
32802         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32803         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32804         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32805         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32806         * sysdeps/sh/tst-audit.h: Likewise.
32807         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32808         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32809         * sysdeps/x86_64/tst-audit.h: Likewise.
32810
32811 2012-07-26  Andreas Jaeger  <aj@suse.de>
32812
32813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32814         ptrace.
32815
32816         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32817         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32818         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32819         PTRACE_O_MASK.
32820         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32821         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32822         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32823
32824         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32825         value.
32826
32827         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32828         _sigsys.
32829         (si_call_addr, si_syscall, si_arch): Define new macro.
32830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32831         _sigsys.
32832         (si_call_addr, si_syscall, si_arch): Define new marcro.
32833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32834         _sigsys.
32835         (si_call_addr, si_syscall, si_arch): Define new macro.
32836         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32837         _sigsys.
32838         (si_call_addr, si_syscall, si_arch): Define new macro.
32839
32840 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32841
32842         [BZ #13717]
32843         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32844         Change to 2.4.21 where previously 2.4.1.
32845         * sysdeps/unix/sysv/linux/configure: Regenerated.
32846         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32847         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32848         Linux kernel version.
32849         (__ASSUME_STD_AUXV): Remove.
32850         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32851         kernel version.
32852         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32853         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32854         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32855         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32856         (__ASSUME_NETLINK_SUPPORT): Likewise.
32857         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32858         (__no_netlink_support): Remove conditional definition.
32859         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32860         Remove.
32861         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32862         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32863         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32864         (if_nameindex_ioctl): Remove.
32865         (if_nameindex_netlink): Do not handle __no_netlink_support.
32866         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32867         code.
32868         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32869         Remove conditional code.
32870         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32871         code.
32872         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32873         unconditional.
32874         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32875         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32876         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32877         Remove.
32878         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32879         [!__ASSUME_STD_AUXV]: Remove conditional code.
32880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32881         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32882         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32884         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32885         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32886         code.
32887         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32889         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32890         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32891         conditional code.
32892         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32894         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32895         code.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32897         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32898         conditional code.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32900         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32901         code unconditional.
32902         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32903         conditional code.
32904         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32905         unconditional.
32906         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32907         conditional code.
32908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32909         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32910         unconditional.
32911         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32912         conditional code.
32913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32914         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32915         code unconditional.
32916         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32917         conditional code.
32918         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32919         unconditional.
32920         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32921         conditional code.
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32923         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32924         code unconditional.
32925         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32926         conditional code.
32927         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32928         unconditional.
32929         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32930         conditional code.
32931
32932 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32933
32934         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32935         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32936         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32937         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32938         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32939         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32940         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32941         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32942         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32943         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32944         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32945         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32946         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32947         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32948         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32949         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32950         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32951         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32952         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32954         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32955         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32956         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32957
32958 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32959
32960         * Versions.def: Add GLIBC_2.17.
32961         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32962         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32963         Introduce __libc_secure_getenv.
32964         * stdlib/Versions (2.17): Add secure_getenv
32965         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32966         * stdlib/secure-getenv.c: Rename __secure_getenv to
32967         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32968         symbol __secure_getenv for GLIBC_2.0.
32969         * stdlib/tst-secure-getenv.c: New.
32970         * stdlib/Makefile (tests): Add testcase.
32971         * manual/startup.texi (Environment Access): Document
32972         secure_getenv.
32973         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32974         __libc_secure_getenv.
32975         * inet/ruserpass.c (ruserpass): Likewise.
32976         * malloc/mtrace.c (mtrace): Likewise.
32977         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32978         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32979         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32980         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32981         HAVE_SECURE_GETENV.
32982         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32983         __secure_getenv to __libc_secure_getenv.
32984         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32986         Likewise.
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32988         Likewise.
32989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32996
32997 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32998
32999         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33000         (struct La_i86_retval): Likewise.
33001         (struct La_x86_64_regs): Likewise.
33002         (struct La_x86_64_retval): Likewise.
33003         (struct La_x32_regs): Likewise.
33004         (struct La_x32_retval): Likewise.
33005         (struct La_ppc32_regs): Likewise.
33006         (struct La_ppc32_retval): Likewise.
33007         (struct La_ppc64_regs): Likewise.
33008         (struct La_ppc64_retval): Likewise.
33009         (struct La_sh_regs): Likewise.
33010         (struct La_sh_retval): Likewise.
33011         (struct La_s390_32_regs): Likewise.
33012         (struct La_s390_32_retval): Likewise.
33013         (struct La_s390_64_regs): Likewise.
33014         (struct La_s390_64_retval): Likewise.
33015         (struct La_sparc32_regs): Likewise.
33016         (struct La_sparc32_retval): Likewise.
33017         (struct La_sparc64_regs): Likewise.
33018         (struct La_sparc64_retval): Likewise.
33019         (struct audit_ifaces): Remove architecture-specific pltenter and
33020         pltexit members.
33021         * sysdeps/i386/ldsodefs.h: New file.
33022         * sysdeps/powerpc/ldsodefs.h: Likewise.
33023         * sysdeps/s390/ldsodefs.h: Likewise.
33024         * sysdeps/sh/ldsodefs.h: Likewise.
33025         * sysdeps/sparc/ldsodefs.h: Likewise.
33026         * sysdeps/x86_64/ldsodefs.h: Likewise.
33027
33028 2012-07-25  Marek Polacek  <polacek@redhat.com>
33029
33030         [BZ #6808]
33031         * math/libm-test.inc (yn_test): Add another test.
33032         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33033         to ERANGE when the result is +-Inf.
33034         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33035         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33036         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33037         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33038
33039 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33040
33041         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33042         equal to 0.
33043         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33044         clock_t.
33045         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33046
33047 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33048
33049         * configure.in <sysdeps resolving>: Correct printing
33050         Implies_before.
33051         * configure: Regenerate.
33052
33053 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33054
33055         * math/w_ilogb.c: Include <limits.h>.
33056         * math/w_ilogbl.c: Likewise.
33057
33058 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33059
33060         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33061         va_copy.  Document allowing for unavailable va_copy only as
33062         pre-C99 compatibility.
33063         * manual/string.texi (Copying and Concatenation): Use va_copy
33064         instead of __va_copy in concat example.
33065
33066 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33067
33068         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33069         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33070         it if not null.
33071
33072         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33073         with O_NOLINK passed to __file_name_lookup.
33074
33075         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33076         with O_NOLINK passed to __file_name_lookup.
33077
33078         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33079         negative N or less than NGIDS.
33080
33081         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33082         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33083         enough.  Use memcpy instead of strncpy.
33084
33085 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33086
33087         * elf/Makefile (check-data): Remove.
33088         (localplt.data): New vpath directive.
33089         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33090         instead of $(check-data).
33091         * scripts/data/localplt-generic.data: Move to ...
33092         * sysdeps/generic/localplt.data: ... here.
33093         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33094         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33095         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33097         ... here.
33098         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33100         ... here.
33101         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33103         ... here.
33104         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33106         ... here.
33107         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33109         ... here.
33110         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33112         ... here.
33113
33114 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33115
33116         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33117         PPC32 and PPC64 files.
33118         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33119         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33120
33121 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33122
33123         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33124         __makecontext_ret to ...
33125         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33126         ... here and call exit if uc_link is NULL.  New file.
33127         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33128         __makecontext_ret.S.
33129         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33130         __makecontext_ret to ...
33131         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33132         ... here and call exit if uc_link is NULL.  New file.
33133         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33134         __makecontext_ret.S.
33135
33136 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33137
33138         * elf/elf.h (R_390_IRELATIVE): New definition.
33139         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33140         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33141         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33143         (elf_machine_lazy_rel): Likewise.
33144         * sysdeps/s390/dl-irel.h: New file.
33145         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33146         * sysdeps/s390/s390-64/memset.S: New asm code.
33147         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33148         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33149         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33150         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33151         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33152         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33154         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33155         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33156         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33157         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33158         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33159         * sysdeps/s390/s390-32/memset.S: New asm code.
33160         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33161
33162 2012-07-17  Marek Polacek  <polacek@redhat.com>
33163
33164         [BZ #14349]
33165         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33166         * sysdeps/s390/s390-64/configure.in: Likewise.
33167         * sysdeps/sparc/configure.in: Likewise.
33168         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33169         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33170         * sysdeps/i386/configure.in: Likewise.
33171         * sysdeps/x86_64/configure.in: Likewise.
33172         * sysdeps/sh/configure.in: Likewise.
33173         * sysdeps/s390/s390-32/configure: Regenerated.
33174         * sysdeps/s390/s390-64/configure: Likewise.
33175         * sysdeps/x86_64/configure: Likewise.
33176         * sysdeps/sh/configure: Likewise.
33177         * sysdeps/powerpc/powerpc64/configure: Likewise.
33178         * sysdeps/powerpc/powerpc32/configure: Likewise.
33179         * sysdeps/sparc/configure: Likwise.
33180         * sysdeps/i386/configure: Likewise.
33181
33182         * elf/dl-open.c: Comment fixes.
33183
33184 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33185
33186         * Makefile [CXX] (check-data): Remove.
33187         [CXX] (c++-types.data): New vpath directive.
33188         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33189         vpath.  Do not allow for C++ type data being missing.
33190         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33191         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33192         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33193         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33194         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33195         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33196         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33198         ... here.
33199         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33201         ... here.
33202         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33204         ... here.
33205         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33207         ... here.
33208         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33210         ... here.
33211         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33213         ... here.
33214         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33215         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33216         ... here.
33217         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33219
33220         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33221         definitions to architecture-specific files.
33222         (TLS_IE): Likewise.
33223         (TLS_LD): Likewise.
33224         (TLS_GD): Likewise.
33225         * sysdeps/i386/tls-macros.h: New file.
33226         * sysdeps/powerpc/tls-macros.h: Likewise.
33227         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33228         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33229         * sysdeps/sh/tls-macros.h: Likewise.
33230         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33231         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33232         * sysdeps/x86_64/tls-macros.h: Likewise.
33233
33234 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33235
33236         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33237         zero value for regular exit case.
33238
33239         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33240         (__start_context): Preserve zero value for regular exit case.
33241
33242 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33243             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33244
33245         * manual/setjmp.texi (setcontext): Clarify normal process
33246         termination when uc_link is the null pointer.
33247         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33248         exit call.
33249
33250 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33251
33252         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33253         preprocessor.  Test for each exception mask separately.
33254
33255 2012-07-16  Andreas Jaeger  <aj@suse.de>
33256
33257         * po/ru.po: Update from translation team.
33258
33259 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33260
33261         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33262         equal to 0.
33263         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33264         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33265         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33266         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33267         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33268
33269 2012-07-13  Andreas Jaeger  <aj@suse.de>
33270
33271         * po/fr.po: Update from translation team.
33272
33273 2012-07-12  Marek Polacek  <polacek@redhat.com>
33274
33275         [BZ #14173]
33276         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33277         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33278         loop condition.
33279
33280 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33281
33282         [BZ #13717]
33283         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33284         Change to 2.4.1 where previously 2.4.0.
33285         * sysdeps/unix/sysv/linux/configure: Regenerated.
33286         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33287         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33288         version.
33289         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33290         (__ASSUME_AT_CLKTCK): Remove.
33291         (__ASSUME_AT_PAGESIZE): Likewise.
33292         (__ASSUME_AT_XID): Likewise.
33293         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33294         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33295         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33296         unconditionally.
33297         (HAVE_AUX_PAGESIZE): Likewise.
33298         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33299         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33300         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33301
33302 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33303
33304         [BZ #14307]
33305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33306         the temporary buffer used to invoke __gethostbyname2_r,
33307         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33308         host_data / struct gaih_addrtuple.
33309         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33310         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33311         header file nss/nsswitch.h.
33312         * nss/nsswitch.h (global scope): Add definition of implementation
33313         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33314         resolv/nss_dns/dns-host.c).
33315
33316 2012-07-11  Andreas Jaeger  <aj@suse.de>
33317
33318         * po/fr.po: Update from translation team.
33319
33320         * po/sv.po: Update from translation team
33321         * po/fr.po: Another update from translation team.
33322
33323 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33324
33325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33326         for subnormals or multiply small sinh result by itself.
33327         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33329
33330 2012-07-11  David S. Miller  <davem@davemloft.net>
33331
33332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33333
33334 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33335
33336         [BZ #14347]
33337         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33338         (INTERNAL_MARK): Shift it here.
33339
33340 2012-07-10  Marek Polacek  <polacek@redhat.com>
33341
33342         [BZ #14151]
33343         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33344         libc_cv_asm_global_directive with .globl.
33345         * configure: Regenerated.
33346         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33347         with .globl.
33348         * sysdeps/i386/configure: Regenerated.
33349         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33350         with .globl.
33351         * sysdeps/x86_64/configure: Regenerated.
33352         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33353         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33354         * elf/tst-unique2mod2.c: Likewise.
33355         * elf/tst-unique2mod1.c: Likewise.
33356         * elf/tst-unique1mod2.c: Likewise.
33357         * elf/tst-unique1mod1.c: Likewise.
33358         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33359         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33361         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33362         * sysdeps/mach/sysdep.h: Likewise.
33363         * sysdeps/i386/sysdep.h: Likewise.
33364         * sysdeps/i386/i386-mcount.S: Likewise.
33365         * sysdeps/x86_64/_mcount.S: Likewise.
33366         * sysdeps/x86_64/sysdep.h: Likewise.
33367         * sysdeps/sh/_mcount.S: Likewise.
33368         * sysdeps/sh/sysdep.h: Likewise.
33369         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33370         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33371         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33372         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33373         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33374         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33375         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33376         * locale/localeinfo.h: Likewise.
33377         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33378         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33379
33380 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33381
33382         [BZ #14336]
33383         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33384         system".
33385         * manual/message.texi (The Uniforum approach): Likewise.
33386         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33387         (glibc iconv Implementation): Likewise.
33388
33389 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33390
33391         [BZ #14337]
33392         * math/s_clog.c (__clog): Avoid scaling a value down where that
33393         could result in underflow.
33394         * math/s_clog10.c (__clog10): Likewise.
33395         * math/s_clog10f.c (__clog10f): Likewise.
33396         * math/s_clog10l.c (__clog10l): Likewise.
33397         * math/s_clogf.c (__clogf): Likewise.
33398         * math/s_clogl.c (__clogl): Likewise.
33399         * math/libm-test.inc (clog_test): Add more tests.
33400         (clog10_test): Likewise.
33401         * sysdeps/i386/fpu/libm-test-ulps: Update.
33402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33403
33404 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33405
33406         [BZ #14283]
33407         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33408         by 7 not 8 to examine high bit of fractional part.
33409
33410         [BZ #14042]
33411         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33412         for call to __mcount_internal.
33413         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33414         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33415         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33416
33417 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33418
33419         [BZ #14154]
33420         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33421         approximation for values within 0x1p-13f of an odd multiple of
33422         pi/4.
33423         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33424         exception.  Add more tests.
33425         * sysdeps/i386/fpu/libm-test-ulps: Update.
33426
33427         [BZ #6778]
33428         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33429         inputs and return -1 for them.  Do not check for +Inf in case not
33430         reachable for +Inf.
33431         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33432         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33433         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33434         and return -1 for them.  Do not check for +Inf in case not
33435         reachable for +Inf.
33436         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33437         define.
33438         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33439         and return -1 for them.  Do not check for +Inf in case not
33440         reachable for +Inf.
33441         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33442         spurious underflow.
33443         * sysdeps/i386/fpu/libm-test-ulps: Update.
33444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33445
33446 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33447
33448         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33449
33450 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33451
33452         [BZ #14157]
33453         [BZ #14331]
33454         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33455         could result in spurious underflow.  Scale down values above
33456         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33457         * math/s_csqrtf.c (__csqrtf): Likewise.
33458         * math/s_csqrtl.c (__csqrtl): Likewise.
33459         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33460         spurious underflow.
33461         * sysdeps/i386/fpu/libm-test-ulps: Update.
33462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33463
33464 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33465
33466         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33467         xopen-msg.sed.
33468         * catgets/xopen-msg.awk: New file.
33469         * catgets/xopen-msg.sed: Removed.
33470
33471         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33472         po2text.sed.
33473         * intl/po2test.awk: New file.
33474         * intl/po2test.sed: Removed.
33475
33476 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33477
33478         [BZ #14328]
33479         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33480         or multiply small sinh result by itself.
33481         * math/s_ctanf.c (__ctanf): Likewise.
33482         * math/s_ctanh.c (__ctanh): Likewise.
33483         * math/s_ctanhf.c (__ctanhf): Likewise.
33484         * math/s_ctanhl.c (__ctanhl): Likewise.
33485         * math/s_ctanl.c (__ctanl): Likewise.
33486         * math/libm-test.inc (ctan_test_tonearest): New function.
33487         (ctan_test_towardzero): Likewise.
33488         (ctan_test_downward): Likewise.
33489         (ctan_test_upward): Likewise.
33490         (ctanh_test_tonearest): Likewise.
33491         (ctanh_test_towardzero): Likewise.
33492         (ctanh_test_downward): Likewise.
33493         (ctanh_test_upward): Likewise.
33494         (main): Call these new functions.
33495         * sysdeps/i386/fpu/libm-test-ulps: Update.
33496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33497
33498 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33499
33500         * .gitignore: Delete /ports entry.
33501
33502 2012-07-03  Andreas Jaeger  <aj@suse.de>
33503
33504         * po/bg.po: Update from translation team.
33505         * po/cs.po: Likewise.
33506         * po/de.po: Likewise.
33507         * po/hr.po: Likewise.
33508         * po/nl.pl: Likewise.
33509         * po/pl.po: Likewise.
33510         * po/vi.po: Likewise.
33511
33512 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33513
33514         * Makeconfig [!+link] (+link-before-libc): New variable.
33515         [!+link] (+link-after-libc): Likewise.
33516         [!+link] (+link-tests): Likewise.
33517         [!+link] (+link): Define in terms of $(+link-before-libc) and
33518         $(+link-after-libc).
33519         [!+link-static] (+link-static-before-libc): New variable.
33520         [!+link-static] (+link-static-after-libc): Likewise.
33521         [!+link-static] (+link-static-tests): Likewise.
33522         [!+link-static] (+link-static): Define in terms of
33523         $(+link-static-before-libc) and $(+link-static-after-libc).
33524         [build-shared] (link-libc-before-gnulib): New variable.
33525         [build-shared] (link-libc-tests): Likewise.
33526         [build-shared] (link-libc): Define in terms of
33527         $(link-libc-before-gnulib).
33528         [!build-shared] (link-libc-tests): New variable.
33529         (link-libc-static-tests): New variable.
33530         [!gnulib] (gnulib-arch): New variable.
33531         [!gnulib] (gnulib-tests): Likewise.
33532         [!gnulib] (static-gnulib-arch): Likewise.
33533         [!gnulib] (static-gnulib-tests): Likewise.
33534         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33535         Define with "=" instead of ":=".
33536         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33537         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33538         * Rules (binaries-all-notests): New variable.
33539         (binaries-all-tests): Likewise.
33540         (binaries-static-notests): Likewise.
33541         (binaries-static-tests): Likewise.
33542         (binaries-all): Define using $(binaries-all-notests) and
33543         $(binaries-all-tests).
33544         (binaries-static): Define using $(binaries-static-notests) and
33545         $(binaries-static-tests).
33546         (binaries-shared-tests): New variable.
33547         (binaries-shared-notests): Likewise.
33548         (binaries-shared): Remove variable.
33549         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33550         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33551         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33552         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33553         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33554         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33555         * elf/Makefile (sln-modules): New variable.
33556         (extra-objs): Add $(sln-modules:=.o).
33557         (ldconfig-modules): Add static-stubs.
33558         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33559         * elf/static-stubs.c: New file.
33560
33561         [BZ #14283]
33562         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33563         by 7 not 8 to examine high bit of fractional part.  Use volatile
33564         variables when splitting into final array of floats if
33565         __FLT_EVAL_METHOD__ != 0.
33566         * math/libm-test.inc (cos_test): Add another test.
33567         (sin_test): Likewise.
33568         * sysdeps/i386/fpu/libm-test-ulps: Update.
33569
33570         [BZ #14273]
33571         * math/libm-test.inc (cosh_test): Add more tests.
33572
33573         * version.h (RELEASE): Set to "development".
33574         (VERSION): Set to "2.16.90".
33575
33576 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33577
33578         * NEWS: Update copyright. Remove last-updated date.
33579         Mention math library bug fixes and timezone data changes.
33580         * README: Mention GNU/Hurd, x32, and HPPA support status.
33581
33582 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33583
33584         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33585
33586 2012-06-27  Andreas Jaeger  <aj@suse.de>
33587
33588         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33589
33590 2012-06-25  Andreas Jaeger  <aj@suse.de>
33591
33592         * sysdeps/s390/fpu/libm-test-ulps: Update.
33593
33594 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33595             Thomas Schwinge  <thomas@codesourcery.com>
33596
33597         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33598         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33599         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33600         fanotify_mark.
33601
33602 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33603
33604         * sysdeps/mach/start.c: Remove file.
33605         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33606         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33607         * sysdeps/sh/init-first.c: Likewise.
33608
33609         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33610         registers for frame unwinding purposes, add CFI directives.
33611         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33612         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33613         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33614         Likewise.
33615
33616         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33617         __fortify_fail returning.
33618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33619
33620         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33621         sysdeps/sh/____longjmp_chk.S.
33622         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33623         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33624         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33625         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33626
33627         * sysdeps/sh/abort-instr.h: New file.
33628         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33629         process in case exit returns.
33630
33631         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33632         initialize the GOT register before use.
33633
33634         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33635         calculation of ARGC > 4.
33636
33637         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33638         meaningful names to some local labels.
33639
33640 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33641             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33642
33643         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33644         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33645         (__arch_compare_and_exchange_val_16_acq): Likewise.
33646         (__arch_compare_and_exchange_val_32_acq): Likewise.
33647         (atomic_exchange_and_add): Fix gUSA sequence.
33648         (atomic_add): Likewise.
33649         (atomic_add_negative): Likewise.
33650         (atomic_add_zero): Likewise.
33651         (atomic_bit_test_set): Likewise.
33652
33653 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33654
33655         [BZ #13579]
33656         * include/link.h (struct link_map): Add l_free_initfini.
33657         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33658         l_initfini.
33659         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33660         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33661         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33662         set.
33663
33664 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33665
33666         * configure.in: Use AC_LANG_SOURCE.
33667         * configure: Regenerate.
33668
33669 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33670
33671         * configure.in (libc_cv_localstatedir): New substituted variable.
33672         * configure: Regenerated.
33673         * config.make.in (localstatedir): New variable, substituted from
33674         libc_cv_localstatedir.
33675         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33676         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33677         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33678         * sysdeps/gnu/configure: Regenerated.
33679
33680 2012-06-21  Jeff Law  <law@redhat.com>
33681
33682         [BZ #14277]
33683         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33684         free.  Simplify list management for _LIBC case.
33685
33686 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33687
33688         [BZ #14273]
33689         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33690         Clear sign bit of 64-bit integer value before comparing against
33691         overflow value.
33692
33693         * sysdeps/mach/configure: Regenerated.
33694
33695 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33696
33697         [BZ #14278]
33698         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33699
33700 2012-06-21  Jeff Law  <law@redhat.com>
33701
33702         [BZ #13882]
33703         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33704         uint16_t for elements in the "seen" array to avoid char overflows.
33705         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33706         * elf/dl-open.c (dl_open_worker): Likewise.
33707
33708 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33709
33710         * scripts/list-sources.sh: Scan PORTS for translations.
33711         * po/libc.pot: Regenerated.
33712
33713 2012-06-21  Andreas Jaeger  <aj@suse.de>
33714
33715         [BZ #12194]
33716         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33717         warning.
33718         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33719         * bits/byteswap-16.h (__bswap_16): Likewise.
33720         * bits/byteswap.h (__bswap_constant_16): Likewise.
33721
33722 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33723
33724         [BZ #14117]
33725         * sysdeps/i386/fpu_control.h: Removed.
33726         * sysdeps/x86_64/fpu_control.h: Moved to ...
33727         * sysdeps/x86/fpu_control.h: Here.
33728
33729         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33730         (_FPU_SETCW): Likewise.
33731
33732 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33733
33734         [BZ #14117]
33735         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33736         * sysdeps/x86/fpu/bits/mathinline.h: This.
33737         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33738
33739         [BZ #14050]
33740         [BZ #14117]
33741         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33742         functions if __x86_64__ is defined.
33743
33744 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33745
33746         * string/endian.h: Add !__ASSEMBLER__ condition for including
33747         conversion interfaces.
33748
33749 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33750
33751         [BZ #14241]
33752         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33753         of ABS(x) in calculating zero to negative powers other than odd
33754         integers.
33755         * math/libm-test.inc (pow_test): Add more tests.
33756
33757 2012-06-15  Andreas Jaeger  <aj@suse.de>
33758
33759         * manual/contrib.texi (Contributors): Update entry of Liubov
33760         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33761         Machado Filho.
33762
33763 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33764
33765         * string/string.h: Add __wur to GNU version of strerror_r.
33766
33767 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33768
33769         [BZ #14229]
33770         * string/Makefile (tests): Add tst-strtok_r.
33771         * string/tst-strtok_r.c: New file.
33772         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33773         RAX_LP/RDX_LP on SAVE_PTR.
33774
33775 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33776
33777         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33778
33779 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33780
33781         * libm_test.inc (csqrt_test): Allow more spurious underflow
33782         exceptions.
33783         (j0_test): Likewise.
33784         (j1_test): Likewise.
33785         (y0_test): Likewise.
33786         (y1_test): Likewise.
33787
33788 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33789
33790         * po/Makefile (libc.pot): Use UTF-8 charset.
33791
33792 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33793
33794         [BZ #14210]
33795         Suppress sign-conversion warning from FD_SET.
33796         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33797         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33798         not unsigned long int.
33799         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33800
33801 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33802
33803         [BZ #14050]
33804         [BZ #14117]
33805         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33806         __extern_always_inline instead of __extern_inline.
33807         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33808         (__signbit): Likewise.
33809         (__signbitl): Support C++ namespace.
33810         (lrintf): New inline function.
33811         (lrint): Likewise.
33812         (llrintf): Likewise.
33813         (llrint): Likewise.
33814         (fmaxf): Likewise.
33815         (fmax): Likewise.
33816         (fminf): Likewise.
33817         (fmin): Likewise.
33818         (rint): Likewise.
33819         (rintf): Likewise.
33820         (ceil): Likewise.
33821         (ceilf): Likewise.
33822         (floor): Likewise.
33823         (floorf): Likewise.
33824         (nearbyint): Likewise.
33825         (nearbyintf): Likewise.
33826
33827 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33828
33829         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33830         non-default versions.
33831
33832 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33833
33834         [BZ #14218]
33835         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33836
33837 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33838
33839         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33840         (FE_UPWARD, FE_DOWNWARD): Don't define.
33841         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33842         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33843
33844         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33845         reading it.
33846         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33847         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33848
33849 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33850
33851         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33853         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33854         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33855
33856 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33857
33858         [BZ #14117]
33859         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33860         * sysdeps/i386/fpu/Implies: New file.
33861         * sysdeps/x86_64/fpu/Implies: Likewise.
33862         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33863         * sysdeps/x86/fpu/bits/fenv.h: This.
33864
33865         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33866         __SSE_MATH__.
33867
33868 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33869
33870         [BZ #14134]
33871         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33872         character 0xffff that matches the last element of the
33873         conversion table.
33874
33875 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33876
33877         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33878         fmodl commit.
33879
33880 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33881
33882         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33883         values higher than 25.6283.
33884
33885 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33886
33887         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33888         subnormal exponent extraction and add some __builtin_expect.
33889         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33890         Fix for subnormal mantissa calculation.
33891
33892 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33893
33894         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33895         cpu2 is -1 and errno is not ENOSYS.
33896
33897 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33898
33899         [BZ #14117]
33900         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33901         * sysdeps/x86/bits/string.h: This.
33902         * sysdeps/x86_64/bits/string.h: Removed.
33903
33904         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33905         if not compiling for x86-64, but compiling for >= i486.
33906
33907         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33908         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33909
33910         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33911         New macro from Linux kernel 3.4.0.
33912         (FP_XSTATE_MAGIC2): Likewise.
33913         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33914         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33915         (struct _fpx_sw_bytes): New struct.
33916         (struct _xsave_hdr): Likewise.
33917         (struct _ymmh_state): Likewise.
33918         (struct _xstate): Likewise.
33919
33920         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33921         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33922         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33923         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33924         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33925         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33926
33927         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33929         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33930         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33931         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33932         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33933
33934 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33935
33936         [BZ #13743]
33937         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33938         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33939         (sysdep_headers): Include sys/platform/ppc.h.
33940         * sysdeps/powerpc/test-gettimebase.c: Test for
33941         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33942         * manual/Makefile (appendices): Include platform.texi.
33943         * manual/contrib.texi (Contributors): Update @node pointers.
33944         * manual/maint.texi (Maintenance): Likewise.
33945         (Platform): New node.
33946         * manual/platform.texi: New file.  Document the new features.
33947
33948 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33949             Jakub Jelinek  <jakub@redhat.com>
33950
33951         [BZ #14188]
33952         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33953         where __builtin_expect is unavailable.
33954
33955 2012-06-03  David S. Miller  <davem@davemloft.net>
33956
33957         * stdlib/longlong.h: Updated from GCC.
33958
33959 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33960
33961         [BZ #14042]
33962         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33963         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33964         __mcount_internal.
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33966         (GLIBC_2.16): Likewise.
33967
33968 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33969
33970         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33971
33972 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33973
33974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33975         (default-abi): New variable.
33976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33977         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33978         variable.
33979         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33980         Likewise.
33981         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33982         Likewise.
33983         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33984         Likewise.
33985
33986         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33987         definition.  Document in comment.
33988
33989 2012-06-01  David S. Miller  <davem@davemloft.net>
33990
33991         * stdlib/longlong.h: Updated from GCC.
33992
33993 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33994
33995         [BZ #14117]
33996         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33997         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33998         sys/debugreg.h sys/io.h here.
33999         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34000         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34001         sys/io.h.
34002         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34003         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34004         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34005         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34006         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34007         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34008
34009         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34010         Define only if __x86_64__ is defined.
34011
34012 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34013
34014         [BZ #14048]
34015         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34016         Use int64_t for variable i.
34017         * math/libm-test.inc (fmod_test): Add more tests.
34018
34019         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34020         z computation is not scheduled after fetestexcept.
34021         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34022         Use math_force_eval instead of asm to ensure calculation scheduled
34023         before exception test.
34024         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34025         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34026
34027 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34028
34029         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34030         computation is not scheduled after fetestexcept.
34031
34032 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34033
34034         [BZ #14117]
34035         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34036         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34037
34038 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34039
34040         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34041         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34042
34043 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34044
34045         [BZ #14117]
34046         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34047         <bits/wordsize.h>.
34048         (__WCHAR_MIN): Support __WORDSIZE == 64.
34049         (__WCHAR_MAX): Likewise.
34050
34051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34052         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34053
34054         [BZ #14183]
34055         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34056         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34057
34058         [BZ #14117]
34059         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34060         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34061
34062         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34063         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34064
34065         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34066         Defined to 1 if __x86_64__ isn't defined.
34067         (_STAT_VER_LINUX_OLD): New.
34068         (st_atime): Remove duplicate.
34069         (st_mtime): Likewise.
34070         (st_ctime): Likewise.
34071
34072 2012-05-31  David S. Miller  <davem@davemloft.net>
34073
34074         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34075         entries.
34076
34077 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34078
34079         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34080         gen-libm-test.pl.
34081
34082         [BZ #14132]
34083         * elf/dl-reloc.c: Include <_itoa.h>.
34084         (_dl_reloc_bad_type): Remove use of INTUSE.
34085         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34086         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34087         * stdio-common/psiginfo.c (psiginfo): Likewise.
34088         * stdio-common/psignal.c (psignal): Likewise.
34089         * string/strsignal.c (strsignal): Likewise.
34090         * include/signal.h (_sys_siglist): Declare hidden proto.
34091         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34092         INTVARDEF with libc_hidden_data_def.
34093         * stdio-common/itoa-udigits.c: Likewise.
34094         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34095         (_itoa_lower_digits_internal): Remove declaration.
34096         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34097         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34098         (_sys_sigabbrev_internal): Remove aliases.
34099         (_sys_siglist): Define hidden alias.
34100
34101 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34102
34103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34104         bits/sysctl.h.
34105
34106 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34107
34108         [BZ #14117]
34109         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34110         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34111
34112         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34113         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34114         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34115         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34116         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34117         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34118
34119         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34120         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34121         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34122
34123         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34124         with __addr.
34125         (insw): Likewise.
34126         (insl): Likewise.
34127         (outsb): Likewise.
34128         (outsw): Likewise.
34129         (outsl): Likewise.
34130
34131         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34132         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34133         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34134
34135         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34136         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34137         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34138         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34139         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34140         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34141
34142         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34143         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34144
34145         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34146         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34147
34148         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34150         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34151
34152         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34153         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34154         to ...
34155         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34156
34157         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34158         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34159         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34160
34161         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34162         for x86-64.
34163         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34164
34165 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34166
34167         * math/math.h (M_El): Use two more decimal places.
34168         (M_LOG2El): Likewise.
34169         (M_LOG10El): Likewise.
34170         (M_LN2l): Likewise.
34171         (M_LN10l): Likewise.
34172         (M_PIl): Likewise.
34173         (M_PI_2l): Likewise.
34174         (M_PI_4l): Likewise.
34175         (M_1_PIl): Likewise.
34176         (M_2_PIl): Likewise.
34177         (M_2_SQRTPIl): Likewise.
34178         (M_SQRT2l): Likewise.
34179         (M_SQRT1_2l): Likewise.
34180
34181 2012-05-31  David S. Miller  <davem@davemloft.net>
34182
34183         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34184         values between float registers.
34185         * sysdeps/sparc/sparc64/memset.S: Likewise.
34186         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34187
34188 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34189
34190         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34191         -D_FORTIFY_SOURCE=1.
34192         (CPPFLAGS-tst-longjmp_chk.c): Define.
34193         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34194         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34195         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34196         CFLAGS-tst-wchar-h.c.
34197
34198 2012-05-31  Marek Polacek  <polacek@redhat.com>
34199
34200         [BZ #14132]
34201         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34202         __endmntent_internal): Remove declaration.
34203         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34204         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34205         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34206
34207 2012-05-30  David S. Miller  <davem@davemloft.net>
34208
34209         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34210         (___Q_simulate_exceptions): Use real FP ops rather than writing
34211         into the %fsr.
34212         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34213         Likewise.
34214
34215 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34216
34217         [BZ #14117]
34218         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34219         * sysdeps/x86/bits/xtitypes.h: This.
34220
34221         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34222         * sysdeps/x86/bits/wordsize.h: This.
34223
34224         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34225         * sysdeps/x86/bits/huge_vall.h: This.
34226
34227         * sysdeps/i386/bits/select.h: Removed.
34228         * sysdeps/x86_64/bits/select.h: Renamed to ...
34229         * sysdeps/x86/bits/select.h: This.
34230
34231         * sysdeps/i386/bits/setjmp.h: Removed.
34232         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34233         * sysdeps/x86/bits/setjmp.h: This.
34234
34235         * sysdeps/i386/bits/mathdef.h: Removed.
34236         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34237         * sysdeps/x86/bits/mathdef.h: This.
34238
34239 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34240
34241         [BZ #14132]
34242         * include/sys/socket.h (__connect_internal)
34243         (__libc_sa_len_internal): Remove declaration.
34244         (__connect, __libc_sa_len): Declare hidden_proto.
34245         (SA_LEN): Remove use of INTUSE.
34246         * socket/connect.c: Add libc_hidden_def.
34247         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34248         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34249         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34250         alias.
34251         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34252         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34253         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34254         of adding _internal alias.
34255
34256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34257
34258         [BZ #14117]
34259         * sysdeps/i386/bits/link.h: Removed.
34260         * sysdeps/i386/bits/linkmap.h: Likewise.
34261         * sysdeps/x86_64/bits/link.h: Renamed to ...
34262         * sysdeps/x86/bits/link.h: This.
34263         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34264         * sysdeps/x86/bits/linkmap.h: This.
34265
34266         * sysdeps/i386/bits/endian.h: Removed.
34267         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34268         * sysdeps/x86/bits/endian.h: This.
34269
34270         * sysdeps/i386/bits/byteswap.h: Removed.
34271         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34272         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34273         * sysdeps/x86/bits/byteswap.h: This.
34274         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34275         * sysdeps/x86/bits/byteswap-16.h: This.
34276         * sysdeps/i386/Implies: Add x86.
34277         * sysdeps/x86_64/Implies: Likewise.
34278
34279 2012-05-30  David S. Miller  <davem@davemloft.net>
34280
34281         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34282         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34283         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34284         (FP_TRAPPING_EXCEPTIONS): Define.
34285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34286         (FP_TRAPPING_EXCEPTIONS): Define.
34287         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34288         subnormals only when inexact has been signalled or underflow
34289         exceptions are enabled.
34290         (_FP_PACK_CANONICAL): Likewise.
34291
34292 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34293
34294         [BZ #14183]
34295         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34296         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34297
34298 2012-05-30  Richard Henderson  <rth@twiddle.net>
34299
34300         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34301         with #ifndef NOT_IN_libc.
34302
34303         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34304         marked to avoid plt entry.
34305
34306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34307
34308         [BZ #14112]
34309         * Makeconfig (default-abi): New macro.
34310         (abi-includes): Likewise.
34311         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34312         $(abi-$(default-abi)-lib-soname) for soname if defined.
34313         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34314         abi-variants.
34315         * Makefile (installed-stubs): Likewise.
34316         * include/stubs-biarch.h: Removed.
34317         * scripts/lib-names.awk: Only handle one library at a time.
34318         * scripts/soversions.awk: Remove WORDSIZE support.
34319         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34320         entries.
34321         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34322         Removed.
34323         (syscall-list-default-condition): Likewise.
34324         (syscall-list-default-condition): Likewise.
34325         (syscall-list-includes): Likewise.
34326         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34327         syscall-list-* with abi-*.  Handle undefined abi-variants.
34328         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34329         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34330         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34331         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34332         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34333         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34334         Removed.
34335         (syscall-list-32-options): Likewise.
34336         (syscall-list-32-condition): Likewise.
34337         (syscall-list-64-options): Likewise.
34338         (syscall-list-64-condition): Likewise.
34339         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34340         macro.
34341         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34342         Renamed to ...
34343         (abi-*): This.
34344         (abi-64-ld-soname): New macro.
34345         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34346         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34347         Renamed to ...
34348         (abi-*): This.
34349         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34350         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34351
34352 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34353
34354         * sysdeps/unix/sysv/linux/kernel-features.h
34355         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34356         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34357         include <kernel-features.h>.
34358         [!__NR_ftruncate64]: Remove conditional code.
34359         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34360         [__NR_ftruncate64]: Make code unconditional.
34361         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34362         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34363         include <kernel-features.h>.
34364         [!__NR_ftruncate64]: Remove conditional code.
34365         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34366         [__NR_ftruncate64]: Make code unconditional.
34367         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34369         include <kernel-features.h>.
34370         [!__NR_ftruncate64]: Remove conditional code.
34371         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34372         [__NR_ftruncate64]: Make code unconditional.
34373         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34375         include <kernel-features.h>.
34376         [!__NR_ftruncate64]: Remove conditional code.
34377         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34378         [__NR_ftruncate64]: Make code unconditional.
34379         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34380
34381         * configure.in (libc_cv_fpie): Weaken to a compile test using
34382         LIBC_TRY_CC_OPTION.
34383         * configure: Regenerated.
34384
34385 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34386
34387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34391         Refreshed.
34392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34398         Refreshed.
34399
34400 2012-05-27  David S. Miller  <davem@davemloft.net>
34401
34402         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34403         (___Q_zero): New.
34404         (__Q_simulate_exceptions): Return void.  Change to simulate
34405         exceptions by writing into the %fsr.
34406         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34407         (__Qp_handle_exceptions): Likewise.
34408         (numbers): Delete.
34409         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34410         __Qp_handle_exceptions.
34411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34412         __Qp_handle_exceptions.
34413         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34414         as unused and give dummy FP_RND_NEAREST initializer.
34415         (FP_INHIBIT_RESULTS): Define.
34416         (___Q_simulate_exceptions): Update declaration.
34417         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34418         formatting.
34419         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34420         as unused and give dummy FP_RND_NEAREST initializer.
34421         (__Qp_handle_exceptions): Update declaration.
34422         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34423         formatting.
34424
34425 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34426
34427         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34428         the temporary FPU control word.
34429         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34430         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34431         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34432         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34433         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34434         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34435         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34436         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34438         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34439         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34440
34441 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34442
34443         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34444         fields.
34445
34446 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34447
34448         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34449         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34450         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34451         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34452         Likewise.
34453         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34454         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34455         Likewise.
34456
34457 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34458
34459         * po/h.po: Update from translation team.
34460
34461 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34462
34463         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34464
34465         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34466         handling of denormals.
34467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34468         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34469         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34470         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34471         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34474         Likewise.
34475
34476 2012-05-26  Marek Polacek  <polacek@redhat.com>
34477
34478         [BZ #14152]
34479         * math/libm-test.inc (fma_test): Don't always expect underflow
34480         exception.
34481
34482 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34483
34484         [BZ #12416]
34485         * elf/tst-execstack.c: Include stackinfo.h.
34486         (do_test): Adjust test case to ensure that pthread_getattr_np
34487         behaviour remains the same after marking stack executable.
34488
34489 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34490
34491         * sysdeps/unix/sysv/linux/kernel-features.h
34492         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34493         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34494         kernel-features.h.
34495         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34496         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34497         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34498         kernel-features.h.
34499         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34500         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34501
34502 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34503
34504         * configure.in: Define the default includes to being none.
34505         * configure: Regenerated.
34506
34507 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34508
34509         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34510         * sysdeps/x86_64/setjmp.S: Likewise.
34511         * sysdeps/i386/bsd-setjmp.S: Likewise.
34512         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34513         * sysdeps/i386/setjmp.S: Likewise.
34514         * sysdeps/i386/__longjmp.S: Likewise.
34515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34516         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34517
34518         * include/stap-probe.h: New file.
34519         * configure.in: Handle --enable-systemtap.
34520         * configure: Regenerated.
34521         * config.h.in (USE_STAP_PROBE): New #undef.
34522         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34523         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34524         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34525
34526 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34527
34528         [BZ #13717]
34529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34530         to 2.4.0 where earlier.
34531         * sysdeps/unix/sysv/linux/configure: Regenerated.
34532         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34533         <kernel-features.h>.
34534         [__ASSUME_32BITUIDS]: Make code unconditional.
34535         [!__ASSUME_32BITUIDS]: Remove conditional code.
34536         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34537         <kernel-features.h>.
34538         [__ASSUME_32BITUIDS]: Make code unconditional.
34539         [!__ASSUME_32BITUIDS]: Remove conditional code.
34540         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34541         [__ASSUME_32BITUIDS]: Make code unconditional.
34542         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34543         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34544         <kernel-features.h>.
34545         [__ASSUME_32BITUIDS]: Make code unconditional.
34546         [!__ASSUME_32BITUIDS]: Remove conditional code.
34547         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34548         <kernel-features.h>.
34549         [__ASSUME_32BITUIDS]: Make code unconditional.
34550         [!__ASSUME_32BITUIDS]: Remove conditional code.
34551         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34552         <kernel-features.h>.
34553         [__ASSUME_32BITUIDS]: Make code unconditional.
34554         [!__ASSUME_32BITUIDS]: Remove conditional code.
34555         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34556         <kernel-features.h>.
34557         [__ASSUME_32BITUIDS]: Make code unconditional.
34558         [!__ASSUME_32BITUIDS]: Remove conditional code.
34559         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34560         <kernel-features.h>.
34561         [__ASSUME_32BITUIDS]: Make code unconditional.
34562         [!__ASSUME_32BITUIDS]: Remove conditional code.
34563         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34564         <kernel-features.h>.
34565         [__ASSUME_32BITUIDS]: Make code unconditional.
34566         [!__ASSUME_32BITUIDS]: Remove conditional code.
34567         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34568         <kernel-features.h>.
34569         [__ASSUME_32BITUIDS]: Make code unconditional.
34570         [!__ASSUME_32BITUIDS]: Remove conditional code.
34571         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34572         <kernel-features.h>.
34573         [__ASSUME_32BITUIDS]: Make code unconditional.
34574         [!__ASSUME_32BITUIDS]: Remove conditional code.
34575         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34576         <kernel-features.h>.
34577         [__ASSUME_32BITUIDS]: Make code unconditional.
34578         [!__ASSUME_32BITUIDS]: Remove conditional code.
34579         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34580         <kernel-features.h>.
34581         [__ASSUME_32BITUIDS]: Make code unconditional.
34582         [!__ASSUME_32BITUIDS]: Remove conditional code.
34583         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34584         <kernel-features.h>.
34585         [__NR_setresgid] (__setresgid): Do not declare.
34586         [__ASSUME_32BITUIDS]: Make code unconditional.
34587         [!__ASSUME_32BITUIDS]: Remove conditional code.
34588         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34589         <kernel-features.h>.
34590         [__NR_setresuid] (__setresuid): Do not declare.
34591         [__ASSUME_32BITUIDS]: Make code unconditional.
34592         [!__ASSUME_32BITUIDS]: Remove conditional code.
34593         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34594         <kernel-features.h>.
34595         [__ASSUME_32BITUIDS]: Make code unconditional.
34596         [!__ASSUME_32BITUIDS]: Remove conditional code.
34597         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34598         <kernel-features.h>.
34599         [__ASSUME_32BITUIDS]: Make code unconditional.
34600         [!__ASSUME_32BITUIDS]: Remove conditional code.
34601         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34602         <kernel-features.h>.
34603         [__ASSUME_32BITUIDS]: Make code unconditional.
34604         [!__ASSUME_32BITUIDS]: Remove conditional code.
34605         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34606         <kernel-features.h>.
34607         [__ASSUME_32BITUIDS]: Make code unconditional.
34608         [!__ASSUME_32BITUIDS]: Remove conditional code.
34609         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34610         <kernel-features.h>.
34611         [__ASSUME_32BITUIDS]: Make code unconditional.
34612         [!__ASSUME_32BITUIDS]: Remove conditional code.
34613         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34614         <kernel-features.h>.
34615         [__ASSUME_32BITUIDS]: Make code unconditional.
34616         [!__ASSUME_32BITUIDS]: Remove conditional code.
34617         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34618         <kernel-features.h>.
34619         [__ASSUME_32BITUIDS]: Make code unconditional.
34620         [!__ASSUME_32BITUIDS]: Remove conditional code.
34621         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34622         <kernel-features.h>.
34623         [__ASSUME_32BITUIDS]: Make code unconditional.
34624         [!__ASSUME_32BITUIDS]: Remove conditional code.
34625         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34626         <kernel-features.h>.
34627         [__ASSUME_32BITUIDS]: Make code unconditional.
34628         [!__ASSUME_32BITUIDS]: Remove conditional code.
34629         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34630         <kernel-features.h>.
34631         [__ASSUME_32BITUIDS]: Make code unconditional.
34632         [!__ASSUME_32BITUIDS]: Remove conditional code.
34633         * sysdeps/unix/sysv/linux/kernel-features.h
34634         (__ASSUME_SETRESUID_SYSCALL): Remove.
34635         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34636         (__ASSUME_32BITUIDS): Likewise.
34637         (__ASSUME_LDT_WORKS): Likewise.
34638         (__ASSUME_O_DIRECTORY): Likewise.
34639         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34640         architecture but not kernel version.
34641         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34642         (__ASSUME_MMAP2_SYSCALL): Likewise.
34643         (__ASSUME_STAT64_SYSCALL): Likewise.
34644         (__ASSUME_IPC64): Likewise.
34645         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34646         <kernel-features.h>.
34647         [__ASSUME_32BITUIDS]: Make code unconditional.
34648         [!__ASSUME_32BITUIDS]: Remove conditional code.
34649         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34650         <kernel-features.h>.
34651         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34652         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34653         132096]: Remove conditional code.
34654         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34655         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34656         <kernel-features.h>.
34657         [__ASSUME_32BITUIDS]: Make code unconditional.
34658         [!__ASSUME_32BITUIDS]: Remove conditional code.
34659         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34660         <kernel-features.h>.
34661         [__ASSUME_32BITUIDS]: Make code unconditional.
34662         [!__ASSUME_32BITUIDS]: Remove conditional code.
34663         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34664         <kernel-features.h>.
34665         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34666         unconditional.
34667         (__setresgid): Do not declare.
34668         [__ASSUME_32BITUIDS]: Make code unconditional.
34669         [!__ASSUME_32BITUIDS]: Remove conditional code.
34670         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34671         <kernel-features.h>.
34672         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34673         unconditional.
34674         (__setresuid): Do not declare.
34675         [__ASSUME_32BITUIDS]: Make code unconditional.
34676         [!__ASSUME_32BITUIDS]: Remove conditional code.
34677         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34678         <kernel-features.h>.
34679         [__ASSUME_32BITUIDS]: Make code unconditional.
34680         [!__ASSUME_32BITUIDS]: Remove conditional code.
34681         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34682         <kernel-features.h>.
34683         [__ASSUME_32BITUIDS]: Make code unconditional.
34684         [!__ASSUME_32BITUIDS]: Remove conditional code.
34685
34686 2012-05-25  Richard Henderson  <rth@twiddle.net>
34687
34688         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34689         dl_hwcap to ifunc resolver.
34690         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34691         elf_ifunc_invoke.
34692         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34693         dl_hwcap to ifunc resolver.
34694         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34695
34696 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34697
34698         [BZ #14153]
34699         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34700         for |x| <= 2**-26, not 2**-57.
34701         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34702         exception.
34703
34704 2012-05-24  Jeff Law  <law@redhat.com>
34705
34706         * stdio-common/Makefile (tests): Add bug25.
34707         * stdio-common/bug25.c: New test.
34708
34709 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34710
34711         [BZ #13576]
34712         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34713         multiple of MALLOC_ALIGNMENT in size.
34714         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34715
34716 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34717
34718         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34719         Require >= 256.
34720         (FILENAME_MAX): Use macro-int-constant.
34721         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34722         (_IOFBF): Use macro-int-constant.
34723         (_IOLBF): Likewise.
34724         (_IONBF): Likewise.
34725         (SEEK_CUR): Likewise.
34726         (SEEK_END): Likewise.
34727         (SEEK_SET): Likewise.
34728         (TMP_MAX): Likewise.
34729         (EOF): Use macro-int-constant.  Require < 0.
34730         (NULL): Use macro-constant.  Require == 0.
34731         (stdin): Require type to be FILE *.
34732         (stdout): Likewise.
34733         (stderr): Likewise.
34734         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34735         macro-int-constant.
34736         (EXIT_SUCCESS): Likewise.
34737         (NULL): Use macro-constant.  Require == 0.
34738         (RAND_MAX): Use macro-int-constant.
34739         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34740         [C99-based standards] (strtof): Require function.
34741         [C99-based standards] (strtold): Likewise.
34742         [C99-based standards] (strtoll): Likewise.
34743         [C99-based standards] (strtoull): Likewise.
34744         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34745         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34746         [ISO || ISO99 || ISO11] (math.h): Likewise.
34747         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34748         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34749         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34750
34751 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34752
34753         [BZ #14132]
34754         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34755         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34756         * intl/dgettext.c (DCGETTEXT): Likewise.
34757         * intl/gettext.c (DCGETTEXT): Likewise.
34758         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34759         * posix/regex_internal.h (gettext): Likewise.
34760         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34761         Remove declaration.
34762         * include/argz.h (__argz_count_internal)
34763         (__argz_stringify_internal): Remove declaration.
34764         (__argz_count, __argz_stringify): Declare hidden proto.
34765         * intl/dcgettext.c: Remove use of INTDEF.
34766         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34767         * string/argz-stringify.c: Likewise.
34768         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34769         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34770         Declare hidden proto.
34771         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34772         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34773         Declare hidden proto.
34774         * include/stdio.h (__asprintf_internal): Don't declare.
34775         (__asprintf): Don't define as macro.  Declare hidden proto.
34776         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34777         (__fsetlocking): Declare hidden proto.
34778         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34779         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34780         hidden proto.
34781         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34782         (_IO_setlinebuf): Remove use of INTUSE.
34783         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34784         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34785         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34786         Remove declaration.
34787         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34788         (_IO_do_flush): Remove use of INTUSE.
34789         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34790         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34791         (_IO_adjust_column, _IO_least_wmarker)
34792         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34793         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34794         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34795         (_IO_default_doallocate, _IO_wdefault_doallocate)
34796         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34797         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34798         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34799         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34800         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34801         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34802         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34803         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34804         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34805         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34806         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34807         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34808         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34809         proto.
34810         (_IO_flush_all_internal, _IO_adjust_column_internal)
34811         (_IO_default_uflow_internal, _IO_default_finish_internal)
34812         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34813         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34814         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34815         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34816         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34817         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34818         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34819         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34820         (_IO_file_close_internal, _IO_file_close_it_internal)
34821         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34822         (_IO_file_init_internal, _IO_file_attach_internal)
34823         (_IO_file_fopen_internal, _IO_file_read_internal)
34824         (_IO_file_sync_internal, _IO_file_seek_internal)
34825         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34826         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34827         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34828         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34829         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34830         (_IO_list_all_internal, _IO_link_in_internal)
34831         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34832         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34833         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34834         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34835         (_IO_do_write_internal, _IO_padn_internal)
34836         (_IO_getline_info_internal, _IO_getline_internal)
34837         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34838         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34839         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34840         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34841         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34842         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34843         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34844         with libc_hidden_ver, remove use of INTUSE.
34845         * libio/genops.c: Likewise.
34846         * libio/freopen.c: Likewise.
34847         * libio/freopen64.c: Likewise.
34848         * libio/iofclose.c: Likewise.
34849         * libio/iofdopen.c: Likewise.
34850         * libio/iofflush.c: Likewise.
34851         * libio/iofflush_u.c: Likewise.
34852         * libio/iofgets.c: Likewise.
34853         * libio/iofgets_u.c: Likewise.
34854         * libio/iofopen.c: Likewise.
34855         * libio/iofopncook.c: Likewise.
34856         * libio/iofread.c: Likewise.
34857         * libio/iofread_u.c: Likewise.
34858         * libio/ioftell.c: Likewise.
34859         * libio/iofwrite.c: Likewise.
34860         * libio/iogetline.c: Likewise.
34861         * libio/iogets.c: Likewise.
34862         * libio/iogetwline.c: Likewise.
34863         * libio/iopadn.c: Likewise.
34864         * libio/iopopen.c: Likewise.
34865         * libio/ioseekoff.c: Likewise.
34866         * libio/ioseekpos.c: Likewise.
34867         * libio/iosetbuffer.c: Likewise.
34868         * libio/iosetvbuf.c: Likewise.
34869         * libio/ioungetc.c: Likewise.
34870         * libio/ioungetwc.c: Likewise.
34871         * libio/iovdprintf.c: Likewise.
34872         * libio/iovsprintf.c: Likewise.
34873         * libio/iovsscanf.c: Likewise.
34874         * libio/memstream.c: Likewise.
34875         * libio/obprintf.c: Likewise.
34876         * libio/oldfileops.c: Likewise.
34877         * libio/oldiofclose.c: Likewise.
34878         * libio/oldiofdopen.c: Likewise.
34879         * libio/oldiofopen.c: Likewise.
34880         * libio/oldiopopen.c: Likewise.
34881         * libio/oldstdfiles.c: Likewise.
34882         * libio/putc.c: Likewise.
34883         * libio/setbuf.c: Likewise.
34884         * libio/setlinebuf.c: Likewise.
34885         * libio/stdfiles.c: Likewise.
34886         * libio/strops.c: Likewise.
34887         * libio/vasprintf.c: Likewise.
34888         * libio/vscanf.c: Likewise.
34889         * libio/vsnprintf.c: Likewise.
34890         * libio/vswprintf.c: Likewise.
34891         * libio/wfiledoalloc.c: Likewise.
34892         * libio/wfileops.c: Likewise.
34893         * libio/wgenops.c: Likewise.
34894         * libio/wmemstream.c: Likewise.
34895         * libio/wstrops.c: Likewise.
34896         * libio/__fpurge.c: Likewise.
34897         * libio/__fsetlocking.c: Likewise.
34898         * assert/assert.c: Likewise.
34899         * debug/fgets_chk.c: Likewise.
34900         * debug/fgets_u_chk.c: Likewise.
34901         * debug/fread_chk.c: Likewise.
34902         * debug/fread_u_chk.c: Likewise.
34903         * debug/gets_chk.c: Likewise.
34904         * debug/obprintf_chk.c: Likewise.
34905         * debug/vasprintf_chk.c: Likewise.
34906         * debug/vdprintf_chk.c: Likewise.
34907         * debug/vsnprintf_chk.c: Likewise.
34908         * debug/vsprintf_chk.c: Likewise.
34909         * malloc/mtrace.c: Likewise.
34910         * misc/error.c: Likewise.
34911         * misc/syslog.c: Likewise.
34912         * stdio-common/asprintf.c: Likewise.
34913         * stdio-common/fxprintf.c: Likewise.
34914         * stdio-common/getw.c: Likewise.
34915         * stdio-common/isoc99_fscanf.c: Likewise.
34916         * stdio-common/isoc99_scanf.c: Likewise.
34917         * stdio-common/isoc99_vfscanf.c: Likewise.
34918         * stdio-common/isoc99_vscanf.c: Likewise.
34919         * stdio-common/isoc99_vsscanf.c: Likewise.
34920         * stdio-common/printf-prs.c: Likewise.
34921         * stdio-common/printf_fp.c: Likewise.
34922         * stdio-common/printf_fphex.c: Likewise.
34923         * stdio-common/printf_size.c: Likewise.
34924         * stdio-common/putw.c: Likewise.
34925         * stdio-common/scanf.c: Likewise.
34926         * stdio-common/sprintf.c: Likewise.
34927         * stdio-common/tmpfile.c: Likewise.
34928         * stdio-common/vfprintf.c: Likewise.
34929         * stdio-common/vfscanf.c: Likewise.
34930         * stdlib/strfmon_l.c: Likewise.
34931         * sunrpc/openchild.c: Likewise.
34932         * sunrpc/xdr_stdio.c: Likewise.
34933         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34934         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34935
34936 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34937
34938         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34939
34940         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34941         in the third column, to generate for the shared library an IFUNC
34942         that uses _dl_vdso_vsym.
34943         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34944         * Makeconfig (object-suffixes-noshared): New variable.
34945
34946         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34947         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34948         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34949         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34950
34951         [BZ #14132]
34952         * include/sys/time.h (__gettimeofday): Remove macro.
34953         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34954         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34955         Remove INTDEF.
34956         (__gettimeofday): Add libc_hidden_def.
34957         (gettimeofday): Add libc_hidden_weak.
34958         * sysdeps/mach/gettimeofday.c: Likewise.
34959         * sysdeps/posix/gettimeofday.c: Likewise.
34960         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34961         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34962         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34963         (__gettimeofday_internal): Remove strong_alias.
34964         (__gettimeofday): Add libc_hidden_def.
34965         (gettimeofday): Add libc_hidden_weak.
34966         * sysdeps/unix/syscalls.list (gettimeofday):
34967         Remove __gettimeofday_internal alias.
34968
34969 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34970             H.J. Lu  <hongjiu.lu@intel.com>
34971
34972         [BZ #12495]
34973         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34974         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34975         (largebin_index_32_big): New.
34976         (largebin_index): Use it for 16-byte alignment.
34977         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34978         correction with front_misalign.
34979
34980 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34981
34982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34984         Likewise.
34985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34986         Likewise.
34987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34988         Likewise.
34989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34990         Likewise.
34991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34992         Likewise.
34993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34994         Likewise.
34995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34996         Likewise.
34997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34998         Likewise.
34999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35000         Likewise.
35001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35002         Likewise.
35003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35004         Likewise.
35005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35006         Likewise.
35007
35008         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35009         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35010
35011 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35012
35013         [BZ #10846]
35014         [BZ #14036]
35015         * math/libm-test.inc (exp_test): Add test from bug 14036.
35016         (pow_test): Add test from bug 10846.
35017
35018         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35019         and other flags.
35020         (special_function): Do not include flags in test name.
35021         (parse_args): Likewise.
35022         * sysdeps/i386/fpu/libm-test-ulps: Update.
35023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35024         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35025         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35027
35028         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35029         exceptions.
35030         * math/libm-test.inc ("Philosophy"): Update comment about
35031         exception testing.
35032         (UNDERFLOW_EXCEPTION): New macro.
35033         (UNDERFLOW_EXCEPTION_OK): Likewise.
35034         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35035         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35036         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35037         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35038         (INVALID_EXCEPTION_OK): Update value.
35039         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35040         (OVERFLOW_EXCEPTION_OK): Likewise.
35041         (IGNORE_ZERO_INF_SIGN): Likewise.
35042         (test_exceptions): Handle underflow exceptions.
35043         (acos_test): Update for underflow exception expectations.
35044         (cexp_test): Likewise.
35045         (clog_test): Likewise.
35046         (clog10_test): Likewise.
35047         (csqrt_test): Likewise.
35048         (ctan_test): Likewise.
35049         (ctanh_test): Likewise.
35050         (exp_test): Likewise.
35051         (exp10_test): Likewise.
35052         (exp2_test): Likewise.
35053         (expm1_test): Likewise.
35054         (fma_test): Likewise.
35055         (j0_test): Likewise.
35056         (jn_test): Likewise.
35057         (nexttoward_test): Likewise.
35058         (pow_test): Likewise.
35059         (scalbn_test): Likewise.
35060         (scalbln_test): Likewise.
35061         (tan_test): Likewise.
35062         (y1_test): Likewise.
35063         * sysdeps/i386/fpu/libm-test-ulps: Update.
35064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35065
35066 2012-05-23  David S. Miller  <davem@davemloft.net>
35067
35068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35069         (__libc_sigaction): Remove unused local variables.
35070
35071 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35072
35073         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35074
35075 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35076
35077         mktime: avoid signed integer overflow
35078         * time/mktime.c (__mktime_internal): Do not mishandle the case
35079         where diff == INT_MIN.
35080
35081         mktime: simplify computation of average
35082         * time/mktime.c (ranged_convert): Use new time_t_avg function
35083         instead of rolling our own (probably-slower) code.
35084
35085         mktime: do not assume signed right shift propagates sign bit
35086         * time/mktime.c (isdst_differ): New static function.
35087         (__mktime_internal): No need to normalize tm_isdst now.
35088         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35089         tm_isdst values.
35090
35091         mktime: merge another wrapv change from gnulib
35092         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35093         from some compilers.
35094
35095         mktime: remove incorrect attempt at unusual arithmetics
35096         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35097         The code didn't really work on such machines anyway.
35098         (TYPE_MINIMUM): Assume two's complement.
35099         (twos_complement_arithmetic): Verify that long_int and time_t
35100         are two's complement (or unsigned, in the latter case).
35101
35102         mktime: check signed shifts on long_int and time_t, too
35103         * time/mktime.c (SHR): Check that shifts work as desired
35104         on the types long_int and time_t too, as SHR is used on
35105         such types.
35106
35107         mktime: do not assume 'long' is wide enough
35108         * time/mktime.c (verify): Move decl up.
35109         (long_int): New type.
35110         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35111         to remove assumption in the code that 'long' is wide enough to
35112         store year values.  This assumption is not true on x32 and on
35113         some non-glibc platforms.
35114
35115         mktime: merge wrapv change from gnulib
35116         * time/mktime.c (WRAPV): New macro.
35117         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35118         (guess_time_tm, __mktime_internal): Do not assume that signed
35119         integer overflow wraps around; modern compilers generate code
35120         where this assumption is no longer valid.
35121
35122 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35123
35124         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35125         Replace "jmp L(pseudo_end)" with "ret".
35126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35127         Likewise.
35128
35129 2012-05-23  Andreas Jaeger  <aj@suse.de>
35130
35131         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35132         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35133
35134 2012-05-23  Andreas Jaeger  <aj@suse.de>
35135             Maximilian Attems  <max@stro.at>
35136
35137         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35138         New macros.
35139
35140 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35141
35142         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35143         code so that pseudo_end is just ret and the stack pointer is
35144         correct also for static library in error case.
35145
35146 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35147
35148         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35149         move to syscalls.list.
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35154
35155         * manual/install.texi (Running make install): Do not mention Linux
35156         kernel version for which pt_chown is not needed.
35157         (Linux): Do not mention problems with nscd with 2.0 kernels.
35158         * INSTALL: Regenerated.
35159
35160 2012-05-23  Andreas Jaeger  <aj@suse.de>
35161
35162         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35163         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35164         macro.
35165         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35167         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35168         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35169         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35171         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35173         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35174         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35175         * sysdeps/unix/sysv/linux/bits/in.h
35176         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35177
35178 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35179
35180         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35181         (PREPARE_VERSION): Just use assert instead, it will be elided
35182         under [NDEBUG] anyway.
35183
35184 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35185
35186         * sysdeps/unix/sysv/linux/Makefile: Include
35187         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35188         (sysdep_routines): Remove sysctl.
35189         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35190         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35191         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35192         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35193         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35194
35195 2012-05-22  Andreas Jaeger  <aj@suse.de>
35196
35197         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35198         that pseudo_end is just ret and the stack pointer is correct also
35199         for static library in error case.
35200
35201 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35202
35203         [BZ #14122]
35204         * nss/nsswitch.c (defconfig_entries): New variable.
35205         (__nss_database_lookup): Don't leak defconfig entries.
35206         (nss_parse_service_list): Don't leak on error paths.
35207         (free_database_entries): New function.
35208         (free_defconfig): New function.
35209         (free_mem): Move common code to free_database_entries.
35210
35211 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35212
35213         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35214         Add arch_prctl.
35215         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35216
35217         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35218         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35220         New macro.
35221         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35222         (INTERNAL_SYSCALL_TYPES): Likewise.
35223         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35224         (LOAD_REGS_TYPES_[1-6]): Likewise.
35225         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35226         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35227
35228 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35229
35230         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35231         copysignl for GLIBC_2_0.
35232         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35233         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35235         logbl for GLIBC_2_0.
35236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35237         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35238
35239 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35242         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35243
35244         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35245         Use "neg %eax".
35246
35247         * time/mktime.c: Update copyright years.
35248
35249 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35250
35251         mktime: merge comment-quoting-style change from gnulib
35252         * time/mktime.c: Quote 'like this' in comments.
35253         The GNU coding standards suggest that we no longer quote `like this',
35254         as "`" and "'" are typically rendered asymmetrically nowadays.
35255         The typical gnulib style is to quote 'like this' when quoting
35256         code, and "like this" when quoting English.
35257
35258         * time/mktime.c (compile-command): Add "-I.".
35259
35260         mktime: merge mktime-internal.h change from gnulib
35261         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35262
35263         mktime: merge time_r change from gnulib
35264         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35265
35266         mktime: merge DEBUG change from gnulib
35267         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35268         case system <time.h> has a #define.
35269
35270         mktime: merge <sys/types.h> change from gnulib
35271         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35272         since <time.t> is now guaranteed to define time_t.
35273
35274         mktime: merge HAVE_CONFIG_H change from gnulib
35275         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35276
35277 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35278
35279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35280         Use "neg %eax".
35281
35282         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35283         __rlim_t cast.
35284         (struct rusage): Use anonymous union to pad each field to
35285         __syscall_slong_t.
35286
35287 2012-05-21  David S. Miller  <davem@davemloft.net>
35288
35289         * Makefules (o-iterator): Remove .s cases.
35290         (compile-command.s): Delete.
35291         (COMPILE.s): Delete.
35292         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35293
35294 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35295
35296         * configure.in (libc_cv_predef_stack_protector): Only consider
35297         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35298         * configure: Regenerated.
35299
35300 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35301
35302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35303         New macro.  Use R*LP on int and pointer.
35304         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35306         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35307         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35308
35309         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35310         [__WORDSIZE_TIME64_COMPAT32] instead of
35311         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35312         (struct utmp): Likewise.
35313         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35314         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35315         Renamed to ...
35316         (__WORDSIZE_TIME64_COMPAT32): This.
35317         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35318         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35319         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35320         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35321         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35322         (__WORDSIZE_TIME64_COMPAT32): New macro.
35323
35324 2012-05-21  Andreas Jaeger  <aj@suse.de>
35325
35326         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35327         only if [SHARED]. Add prototype for __wcschr_ia32.
35328
35329 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35330
35331         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35332         of %rbp unmolested in the jmp_buf while mangling the low bits.
35333         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35334         unmolested high bits of %rbp while demangling the low bits.
35335         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35336
35337 2012-05-21  Andreas Jaeger  <aj@suse.de>
35338
35339         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35340         * sunrpc/svc_simple.c: Use it for registerrpc.
35341         * sunrpc/xcrypt.c: Use it for passwd2des.
35342
35343         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35344
35345 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35346
35347         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35348         Don't define if [__SYSCALL_WORDSIZE != 32].
35349         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35350         New macro.
35351
35352 2012-05-21  Bruno Haible  <bruno@clisp.org>
35353             Andreas Jaeger  <aj@suse.de>
35354
35355         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35356         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35357         inptr and inend for must_buffer_ch.
35358         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35359         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35360         * stdio-common/Makefile (tests): Remove bug15.
35361         (bug15-ENV): Remove macro.
35362         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35363         anymore.
35364
35365 2012-05-19  Andreas Jaeger  <aj@suse.de>
35366             Roland McGrath  <roland@hack.frob.com>
35367
35368         * manual/contrib.texi: Completely rewritten. It contains now an
35369         alphabetical list of contributors and their contributions.
35370
35371 2012-05-21  Richard Henderson  <rth@twiddle.net>
35372
35373         * misc/getauxval.c (__getauxval): Use unsigned long int.
35374         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35375         (getauxval): Use unsigned long int.
35376
35377 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35378
35379         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35380
35381 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35382
35383         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35384         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35385         __alignof__ (long double).
35386
35387 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35388
35389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35390
35391 2012-05-20  Richard Henderson  <rth@twiddle.net>
35392
35393         * misc/getauxval.c: New file.
35394         * misc/sys/auxv.h: New file.
35395         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35396         (routines): Add getauxval.
35397         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35399         * elf/dl-sysdep.c (_dl_auxv): Remove.
35400         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35401         * elf/dl-support.c (_dl_auxv): New variable.
35402         (_dl_aux_init): Initialize it.
35403         * manual/startup.texi (Auxiliary Vector): New node.
35404         * sysdeps/generic/bits/hwcap.h: New file.
35405         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35406         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35407         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35408         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35409         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35410         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35412         Update.
35413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35416         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35418         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35421
35422 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35423
35424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35425
35426 2012-05-19  David S. Miller  <davem@davemloft.net>
35427
35428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35429
35430 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35431
35432         [BZ #14123]
35433         * math/s_ccosh.c: Include <float.h>
35434         (__ccosh): Avoid internal overflow calculating sinh and cosh
35435         values before multiplying by sin and cos values.
35436         * math/s_ccoshf.c: Likewise.
35437         * math/s_ccoshl.c: Likewise.
35438         * math/s_csin.c: Likewise.
35439         * math/s_csinf.c: Likewise.
35440         * math/s_csinl.c: Likewise.
35441         * math/s_csinh.c: Likewise.
35442         * math/s_csinhf.c: Likewise.
35443         * math/s_csinhl.c: Likewise.
35444         * math/libm-test.inc (ccos_test): Add more tests.
35445         (ccosh_test): Likewise.
35446         (csin_test): Likewise.
35447         (csinh_test): Likewise.
35448         * sysdeps/i386/fpu/libm-test-ulps: Update.
35449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35450
35451 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35452
35453         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35454         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35455
35456         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35457
35458 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35459
35460         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35461         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35462         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35463         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35464         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35465         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35466         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35467         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35468         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35469         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35470         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35471         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35472         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35473         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35474         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35475         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35476         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35477         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35478         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35479         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35480         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35481         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35482         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35483         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35484         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35485         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35486         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35487         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35488         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35489         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35490         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35491
35492 2012-05-18  Andreas Jaeger  <aj@suse.de>
35493
35494         * csu/.gitignore: Delete.
35495
35496 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35497
35498         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35499         (timex): Use __syscall_slong_t.
35500
35501 2012-05-18  Andreas Jaeger  <aj@suse.de>
35502             Carlos O'Donell  <carlos_odonell@mentor.com>
35503
35504         * manual/install.texi (Configuring and compiling): Update
35505         description about files modified in the source directory.
35506         * INSTALL: Regenerated.
35507
35508 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35509
35510         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35511         value.  Use "or" to set return value to -1.
35512         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35513         negate return value.
35514
35515 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35516
35517         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35518         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35519         failure if the compiler has Graphite support disabled.
35520         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35521         Likewise.
35522         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35523         (CFLAGS-memmove.c): Likewise.
35524         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35525         Likewise.
35526
35527 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35528
35529         * sysdeps/x86_64/x32/_itoa.h: New file.
35530
35531         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35532         getdents system call only if kernel and user dirents have the
35533         same d_ino and d_off.
35534
35535         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35536         LLONG_MAX != LONG_MAX.
35537         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35538         (_fitoa_word): Likewise.
35539
35540         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35541         years.
35542         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35543         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35544         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35545
35546         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35547         include <bits/wordsize.h>.  Check __x86_64__ instead of
35548         __WORDSIZE.
35549         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35550         if __x86_64__ is defined.  Use anonymous union on fpstate.
35551
35552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35553         anonymous union.
35554
35555 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35556
35557         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35558         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35559         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35560         Refer to _rtld_local_ro instead of _rtld_global_ro.
35561         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35562         Likewise.
35563         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35564         Likewise.
35565         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35566         Likewise.
35567         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35568         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35569         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35570
35571         * sysdeps/powerpc/powerpc32/dl-machine.c
35572         (__elf_machine_runtime_setup) [PROF]: Don't reference
35573         _dl_prof_resolve.
35574
35575 2012-05-18  Andreas Jaeger  <aj@suse.de>
35576
35577         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35578         function only available for GCCs before 3.4 since GCC 3.4
35579         introduced a builtin.
35580         (lrint): Likewise.
35581         (llrintf): Likewise.
35582         (llrint): Likewise.
35583         (fmaxf): Likewise.
35584         (fmax): Likewise.
35585         (fminf): Likewise.
35586         (fmin): Likewise.
35587         (rint): Likewise.
35588         (rintf): Likewise.
35589         (nearbyint): Likewise.
35590         (nearbyintf): Likewise.
35591         (ceil): Likewise.
35592         (ceilf): Likewise.
35593         (floor): Likewise.
35594         (floorf): Likewise.
35595
35596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35597
35598         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35599         on both fields and cast pointer to __syscall_ulong_t.
35600
35601         * bits/types.h (__fsword_t): New type.
35602         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35603         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35605         (__FSWORD_T_TYPE): Likewise.
35606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35607         (__FSWORD_T_TYPE): Likewise.
35608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35609         (__FSWORD_T_TYPE): Likewise.
35610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35611         (__FSWORD_T_TYPE): Likewise.
35612         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35613         __SWORD_TYPE with __fsword_t.
35614         (statfs64): Likewise.
35615
35616 2012-05-17  David S. Miller  <davem@davemloft.net>
35617
35618         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35619
35620 2012-05-17  Andreas Jaeger  <aj@suse.de>
35621
35622         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35623         warning.
35624
35625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35626
35627         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35628
35629 2012-05-17  Andreas Jaeger  <aj@suse.de>
35630
35631         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35632         when it is used.
35633
35634 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35635
35636         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35637
35638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35639
35640         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35641         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35642
35643 2012-05-17  Andreas Jaeger  <aj@suse.de>
35644             Carlos O'Donell  <carlos_odonell@mentor.com>
35645
35646         [BZ #14059]
35647         * sysdeps/x86_64/multiarch/init-arch.h
35648         (bit_YMM_Usable): Rename to...
35649         (bit_AVX_Usable): ... this.
35650         (bit_FMA4_Usable): New macro.
35651         (bit_XMM_state): New macro.
35652         (bit_YMM_state): New macro.
35653         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35654         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35655         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35656         (CPUID_OSXSAVE): New macro.
35657         (CPUID_AVX): New macro.
35658         (CPUID_FMA4): New macro.
35659         (index_YMM_Usable): Rename to...
35660         (index_AVX_Usable): ... this.
35661         (HAS_AVX): Use HAS_ARCH_FEATURE.
35662         (HAS_FMA4): Likewise.
35663         (HAS_YMM_USABLE): Remove.
35664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35665         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35666         are present.
35667         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35668         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35669         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35670         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35671         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35672
35673 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35674
35675         * math/libm-test.c: Support platforms without multiple rounding modes.
35676         * math/bug-nextafter.c: Support platforms without FP exceptions.
35677         * math/bug-nexttoward.c: Likewise.
35678         * math/test-fenv.c: Likewise.
35679         * math/test-misc.c: Likewise.
35680         * stdlib/bug-getcontext.c: Likewise.
35681
35682 2012-05-17  Andreas Jaeger  <aj@suse.de>
35683
35684         * manual/examples/search.c (critter_cmp): Change signature to
35685         avoid warnings.
35686         * manual/string.texi (Collation Functions): Likewise.
35687
35688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35689
35690         * bits/types.h: Fold copyright years.
35691         * bits/typesizes.h: Likewise.
35692         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35696         * time/time.h: Likewise.
35697
35698 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35699
35700         [BZ #208]
35701         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35702         in instead of returning them.  Return void.
35703         (__libc_mallinfo): Accumulate over all arenas.
35704         (__malloc_stats): Adjust for change in int_mallinfo interface.
35705
35706 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35707
35708         [BZ #10375]
35709         * configure.in (NM): Add AC_CHECK_TOOL for it.
35710         (libc_extra_cflags): New substituted variable.
35711         Check for -fstack-protector being used implicitly.
35712         * configure: Regenerated.
35713         * config.make.in (config-extra-cflags): New variable,
35714         gets @libc_extra_cflags@.
35715         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35716
35717         [BZ #10375]
35718         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35719         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35720         * configure: Regenerated.
35721         * config.make.in (CPPUNDEFS): New substituted variable.
35722         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35723         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35724         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35725
35726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35727
35728         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35729         (mq_attr): Use __syscall_slong_t.
35730
35731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35732
35733         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35734         Check __x86_64__ instead of __WORDSIZE.
35735         (_STAT_VER_LINUX): Likewise.
35736         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35737         __syscall_ulong_t and __syscall_slong_t.
35738         (stat64): Likewise.
35739
35740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35741
35742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35743
35744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35745
35746         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35747
35748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35749
35750         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35751         __syscall_ulong_t.
35752
35753         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35754         include <bits/wordsize.h>.  Check __x86_64__ instead of
35755         __WORDSIZE.
35756         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35757         defined.
35758         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35759
35760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35761         include <bits/wordsize.h>.  Check __x86_64__ instead of
35762         __WORDSIZE.
35763         (user_regs_struct): Use "__extension__ unsigned long long"
35764         instead of "unsigned long" if __x86_64__ is defined.
35765         (user): Likewise.  Pad after pointer field if __ILP32__ is
35766         defined.
35767
35768 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35769
35770         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35771         versions 5 to 9.
35772         * configure: Regenerated.
35773         * manual/install.texi (texinfo): Increase version requirement to
35774         4.5 or later.
35775         * INSTALL: Regenerated.
35776
35777         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35778
35779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35780
35781         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35782
35783         * sysdeps/x86_64/x32/ffs.c: New file.
35784
35785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35786         __syscall_ulong_t.
35787         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35788         defined.  Use __syscall_ulong_t.
35789         (shminfo): Use __syscall_ulong_t.
35790         (shm_info): Likewise.
35791
35792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35793         __syscall_ulong_t.
35794
35795         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35796         <bits/wordsize.h>.
35797         (msgqnum_t): Use __syscall_ulong_t.
35798         (msglen_t): Likewise.
35799         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35800         __syscall_ulong_t.
35801
35802         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35803         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35804
35805         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35806
35807         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35808         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35809
35810         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35811         __syscall_slong_t.
35812
35813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35814         include <bits/wordsize.h>.  Check __x86_64__ instead of
35815         __WORDSIZE.
35816
35817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35818         "unsigned long long int" if __x86_64__ is defined.
35819         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35820
35821         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35823         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35824
35825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35826         <stdint.h>.
35827         (GET_PC): Cast to uintptr_t first.
35828         (GET_FRAME): Likewise.
35829         (GET_STACK): Likewise.
35830
35831         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35832         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35833         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35834         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35835         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35836         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35837         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35838         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35839         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35840         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35846         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35848         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35852         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35854         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35859         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35860
35861 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35862
35863         * Makerules (+depfiles): Also collect depfiles from .oS in
35864         $(extra-objs).
35865         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35866         .oS, $(libnldbl-routines)).
35867
35868         * Makerules (native-compile-mkdep-flags): Define.
35869         * sunrpc/Makefile (extra-objs): Add $(addprefix
35870         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35871         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35872         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35873         calling $(make-target-directory).
35874
35875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35876
35877         * bits/types.h (__snseconds_t): Removed.
35878         * time/time.h (struct timespec): Replace __snseconds_t with
35879         __syscall_slong_t.
35880         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35881         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35882         Likewise.
35883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35884         (__SNSECONDS_T_TYPE): Likewise.
35885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35886         (__SNSECONDS_T_TYPE): Likewise.
35887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35888         (__SNSECONDS_T_TYPE): Likewise.
35889
35890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35891
35892         * sysdeps/mach/hurd/bits/typesizes.h
35893         (__SYSCALL_SLONG_TYPE): New macro.
35894         (__SYSCALL_ULONG_TYPE): Likewise.
35895
35896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35897
35898         * bits/types.h (__syscall_slong_t): New type.
35899         (__syscall_ulong_t): Likewise.
35900
35901         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35902         (__SYSCALL_ULONG_TYPE): Likewise.
35903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35904         (__SYSCALL_SLONG_TYPE): Likewise.
35905         (__SYSCALL_ULONG_TYPE): Likewise.
35906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35907         (__SYSCALL_SLONG_TYPE): Likewise.
35908         (__SYSCALL_ULONG_TYPE): Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35910         (__SYSCALL_SLONG_TYPE): Likewise.
35911         (__SYSCALL_ULONG_TYPE): Likewise.
35912
35913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35914
35915         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35916         Add sigaltstack-offsets.sym.
35917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35918         <sigaltstack-offsets.h>.
35919         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35920         longjmp_msg pointer.
35921         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35922         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35923         signal stack.
35924         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35925
35926 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35927
35928         * elf/stackguard-macros.h: Remove file.
35929         * sysdeps/generic/stackguard-macros.h: New file.
35930         * sysdeps/i386/stackguard-macros.h: Likewise.
35931         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35932         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35933         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35934         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35935         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35936         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35937         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35938         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35939         <elf/stackguard-macros.h>.
35940
35941         [BZ #14109]
35942         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35943         __aligned__ in attribute.
35944         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35945         (gregset_t): Likewise.
35946
35947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35948
35949         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35950         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35951         * sysdeps/x86_64/x32/Implies-after: New file.
35952
35953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35954
35955         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35956         and access return value for _dl_profile_fixup.  Use R10_LP to
35957         load frame size.
35958
35959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35960
35961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35962
35963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35964
35965         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35966         * sysdeps/x86_64/x32/sysdep.h: New file.
35967
35968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35969
35970         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35971         * sysdeps/x86_64/setjmp.S: Likewise.
35972
35973 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35974
35975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35976         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35977         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35979         remove unused global constant.
35980
35981 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35982
35983         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35984         include of <not-cancel.h>.
35985
35986 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35987
35988         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35989
35990 2012-05-15  Jeff Law  <law@redhat.com>
35991             Andreas Jaeger  <aj@suse.de>
35992
35993         [BZ #13594]
35994         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35995         out from...
35996         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35997         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35999         code changing __hst_map_handle.map.
36000
36001 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36002
36003         * configure.in (sysnames): Look for Implies-before and Implies-after
36004         files.
36005         * configure: Regenerated.
36006
36007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36008
36009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36010         8-byte data alignment with LP_SIZE alignment.
36011
36012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36013
36014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36015         into R10_LP.
36016
36017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36018
36019         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36020
36021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36022
36023         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36024         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36026         Likewise.
36027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36028
36029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36030
36031         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36032         (stackinfo_sub_sp): Likewise.
36033
36034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36035
36036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36037         RAX_LP.
36038
36039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36040
36041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36042         into R*_LP.
36043
36044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36045
36046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36047         sizes into R*_LP.
36048
36049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36050
36051         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36052
36053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36054
36055         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36056         into R11_LP and load __x86_64_shared_cache_size_half into
36057         R8_LP.
36058
36059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36060
36061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36062         R8_LP.
36063
36064 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36065
36066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36067         logb for POWER7.
36068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36069         logbf for POWER7.
36070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36071         logbl for POWER7.
36072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36073         powerpc32/power7/fpu/s_logb.c via #include.
36074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36075         powerpc32/power7/fpu/s_logbf.c via #include.
36076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36077         powerpc32/power7/fpu/s_logbl.c via #include.
36078
36079 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36080
36081         * README.libm: Remove file.
36082
36083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36084
36085         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36086         count for x32.  Use R*_LP and omit operand-size suffix.
36087
36088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36089
36090         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36091         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36092         * sysdeps/x86_64/x32/shlib-versions: New file.
36093
36094 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36095
36096         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36097         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36098         Use _dl_fatal_printf instead.
36099
36100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36101
36102         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36103         set if not set by the user.  Do not allow for being unset.
36104         * sysdeps/unix/sysv/linux/configure: Regenerated.
36105
36106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36107
36108         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36109         the `q' suffix from lea and replace .quad with ASM_ADDR.
36110
36111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36112
36113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36114         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36115         instead of $17.
36116         (PTR_DEMANGLE): Likewise.
36117
36118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36119
36120         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36121         (LP_OP): Likewise.
36122         (ASM_ADDR): Likewise.
36123         (RAX_LP): Likewise.
36124         (RBP_LP): Likewise.
36125         (RBX_LP): Likewise.
36126         (RCX_LP): Likewise.
36127         (RDI_LP): Likewise.
36128         (RSI_LP): Likewise.
36129         (RSP_LP): Likewise.
36130         (R8_LP): Likewise.
36131         (R9_LP): Likewise.
36132         (R10_LP): Likewise.
36133         (R10_LP): Likewise.
36134         (R11_LP): Likewise.
36135         (R12_LP): Likewise.
36136         (R13_LP): Likewise.
36137         (R14_LP): Likewise.
36138         (R15_LP): Likewise.
36139
36140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36141
36142         * sysdeps/x86_64/x32/dl-machine.h: New file.
36143
36144 2012-05-14  Andreas Jaeger  <aj@suse.de>
36145
36146         * manual/Makefile (subdir): Remove export of subdir.
36147         (all): Remove target.
36148         (.PHONY): Remove all from list.
36149         (mkinstalldirs): Remove.
36150         (.PHONY): Remove installdirs from list.
36151         ($(inst_infodir)/libc.info): Use make-target-directory.
36152         (installdirs): Remove.
36153         (subdir_%): Remove.
36154         (glibc-targets): Remove.
36155         (lib): Remove.
36156         (stubs): Remove.
36157         ($(objpfx)stubs ../po/manual.pot): Remove.
36158         ($(objpfx)stamp%): Remove.
36159         (make-target-directory): Remove.
36160         (subdir_install): Remove.
36161         (routines): Remove.
36162         (aux): Remove.
36163         (sources): Remove.
36164         (objects): Remove.
36165         (headers): Remove.
36166
36167         [BZ #13750]
36168         * manual/.gitignore: Remove, it's not needed anymore.
36169         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36170         all files in it.
36171         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36172         directory.
36173         (texis): Renamed to $(objpfx)texis.
36174         (texis-path): New, contains path to generated files.
36175         (chapters.%): Use texis-path for complete path, add extra argument
36176         libc-texinfo.sh.
36177         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36178         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36179         (summary,texi, stamp-summary): Use complete path of
36180         files. Generate files in build dir.
36181         (dir-add.texi): Build in build dir.
36182         (libm-err.texi,stamp-libm-err): Likewise.
36183         (version.texi, stamp-version): Likewise.
36184         (.%c.texi): Likewise.
36185         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36186         (mostlyclean): Remove target.
36187         (realclean): Remove target.
36188         (generated): Add new variable with contents from mostlyclean and
36189         realclean, remove entries duplicated in common-mostlyclean, add
36190         stamp-libm-err and stamp-version.
36191         (generated-dirs): Add libc directory.
36192         ($(inst_infodir)/libc.info): Install files from build dir.
36193
36194         * manual/install.texi (Configuring and compiling): Adjust since
36195         the info files are not part of the tar ball anymore.
36196
36197 2012-05-14  Andreas Jaeger  <aj@suse.de>
36198
36199         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36200         variable.
36201
36202 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36203
36204         [BZ #13717]
36205         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36206         to 2.2.0 where earlier.
36207         * sysdeps/unix/sysv/linux/configure: Regenerated.
36208         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36209         Remove conditional code.
36210         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36211         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36212         Remove conditional code.
36213         [!__NR_lchown]: Likewise.
36214         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36215         [__NR_lchown]: Likewise.
36216         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36217         comment referencing __ASSUME_LCHOWN_SYSCALL.
36218         * sysdeps/unix/sysv/linux/i386/sigaction.c
36219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36221         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36222         Remove conditional code.
36223         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36224         (__protocol_available): Remove #if 0 code.
36225         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36226         conditional code.
36227         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36228         * sysdeps/unix/sysv/linux/kernel-features.h
36229         (__ASSUME_GETCWD_SYSCALL): Don't define.
36230         (__ASSUME_REALTIME_SIGNALS): Likewise.
36231         (__ASSUME_PREAD_SYSCALL): Likewise.
36232         (__ASSUME_PWRITE_SYSCALL): Likewise.
36233         (__ASSUME_POLL_SYSCALL): Likewise.
36234         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36235         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36236         non-SPARC.
36237         (__ASSUME_SIOCGIFNAME): Don't define.
36238         (__ASSUME_MSG_NOSIGNAL): Likewise.
36239         (__ASSUME_SENDFILE): Define unconditionally.
36240         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36241         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36242         conditional code.
36243         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36244         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36245         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36246         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36247         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36248         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36249         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36263         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36269         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36274         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36275         Remove conditional code.
36276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36277         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36278         Remove conditional code.
36279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36280         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36281         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36282         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36283         Remove conditional code.
36284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36285         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36286         Remove conditional code.
36287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36288         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36289         Remove conditional code.
36290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36291         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36292         Remove conditional code.
36293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36294         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36295         Remove conditional code.
36296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36297         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36300         * sysdeps/unix/sysv/linux/sigaction.c
36301         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36302         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36303         * sysdeps/unix/sysv/linux/sigpending.c
36304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36306         * sysdeps/unix/sysv/linux/sigprocmask.c
36307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36309         * sysdeps/unix/sysv/linux/sigsuspend.c
36310         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36311         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36312         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36313         (__libc_missing_rt_sigs): Remove.
36314         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36315         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36316         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36317         Remove conditional code.
36318         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36319         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36320         return 1.
36321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36323         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36324         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36325
36326 2012-05-14  Andreas Jaeger  <aj@suse.de>
36327
36328         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36329         it's not used in glibc.
36330         (__coshm1): Likewise.
36331         (__acosh1p): Likewise.
36332         (__sgn): Likewise.
36333
36334         * manual/string.texi (Copying and Concatenation): Add missing
36335         variable in concat example.
36336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36337
36338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36339
36340         [BZ #14103]
36341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36342         __builtin_clzl with __builtin_clzll.
36343
36344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36345
36346         [BZ #14104]
36347         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36348         libc_freeres_ptr.
36349
36350 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36351
36352         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36353         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36354         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36355         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36356
36357 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36358
36359         * NEWS: Update ia64 info.
36360
36361 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36362
36363         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36364         used as bcopy.
36365
36366 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36367
36368         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36369         * sysdeps/unix/syscalls.list (dup3): Likewise.
36370         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36371         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36372
36373 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36374
36375         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36376         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36377
36378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36379
36380         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36381         thread pointer.
36382         (TLS_IE): Use mov/add instead of movq/addq to load thread
36383         pointer.
36384         (TLS_GD_PREFIX): New.
36385         (TLS_GD): Use it.
36386
36387 2012-05-11  David S. Miller  <davem@davemloft.net>
36388
36389         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36390         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36391         (_FPU_SETCW): Likewise.
36392
36393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36394
36395         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36396         is 32-byte aligned.
36397
36398 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36399
36400         [BZ #11837]
36401         * iconvdata/gb18030.c: Update tables.
36402         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36403         characters specially.
36404         (BODY for TO_LOOP): Add encoding of missing ranges.
36405
36406 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36407
36408         [BZ #13673]
36409         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36410         * sysdeps/mach/hurd/dup3.c: Likewise.
36411         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36412         * sysdeps/powerpc/memmove.c:: Likewise.
36413
36414 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36415
36416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36417         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36418
36419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36420
36421         * elf/elf.h (R_X86_64_RELATIVE64): New.
36422         (R_X86_64_NUM): Updated.
36423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36424         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36425         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36426         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36427         tst-quad1pie tst-quad2pie
36428         (modules-names): Add tst-quadmod1 tst-quadmod2.
36429         ($(objpfx)tst-quad1): New dependency.
36430         ($(objpfx)tst-quad2): Likewise.
36431         ($(objpfx)tst-quad1pie): Likewise.
36432         ($(objpfx)tst-quad2pie): Likewise.
36433         * sysdeps/x86_64/tst-quad1.c: New file.
36434         * sysdeps/x86_64/tst-quad1pie.c: New file.
36435         * sysdeps/x86_64/tst-quad2.c: Likewise.
36436         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36437         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36438         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36439         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36440         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36441
36442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36443
36444         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36445         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36446         * streams/stropts.h (t_scalar_t): Define type.
36447
36448         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36449         (_PATH_PRESERVE): Set to "/var/lib".
36450         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36451
36452         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36453         instead of int.
36454
36455         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36456         if __dir_mkfile succeeded.
36457
36458         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36459         checking for _hurd_dtablesize.  Unlock it right after having
36460         finished _hurd_dtable allocation.
36461
36462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36463
36464         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36465         * sysdeps/mach/hurd/configure: Regenerated.
36466         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36467         special-casing to...
36468         * sysdeps/gnu/configure.in: ... this new file.
36469         * sysdeps/unix/sysv/linux/configure: Regenerated.
36470         * sysdeps/gnu/configure: New generated file.
36471
36472         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36473         for Linux: use nsec instead of usec, as well as:
36474         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36475         members of type struct timespec.
36476         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36477         New macros.
36478         (struct stat64): Likewise.
36479         (_STATBUF_ST_NSEC): New macro.
36480         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36481
36482         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36483         __strtoul_internal rather than strtoul.
36484
36485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36486
36487         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36488         and reject them.
36489
36490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36491
36492         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36493         which preserves existing values.
36494         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36495
36496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36497
36498         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36499         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36500         greater than FD_SETSIZE.
36501
36502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36503
36504         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36505         allocated, call __vm_protect to finish enabling the existing space, and
36506         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36507         allocate the remainder.
36508
36509 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36510
36511         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36512         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36513
36514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36515
36516         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36517         sysdeps/mach/hurd/readlink.c.
36518
36519         * posix/tst-sysconf.c (posix_options): Only use
36520         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36521         _POSIX_SYNCHRONIZED_IO when they are defined
36522         * sysdeps/mach/hurd/bits/posix_opt.h:
36523         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36524         (_XOPEN_REALTIME): Undefine macro.
36525         (_XOPEN_REALTIME_THREADS): Undefine macro.
36526         (_XOPEN_SHM): Undefine macro.
36527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36528         macro to -1.
36529         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36530         macro to -1.
36531         (_POSIX_ASYNC_IO): Undefine macro.
36532         (_POSIX_PRIORITIZED_IO): Undefine macro.
36533         (_POSIX_SPIN_LOCKS): Define macro to -1.
36534
36535         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36536         SA_NODEFER, SA_RESETHAND.
36537         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36538         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36539         F_DUPFD_CLOEXEC.
36540
36541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36542
36543         * elf/Makefile (pldd-modules): Define unconditionally.
36544
36545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36546
36547         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36548
36549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36550
36551         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36552         Return ENOENT when name is empty.
36553         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36554
36555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36556
36557         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36558
36559         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36560
36561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36562
36563         Fix mlock in all cases except non-readable pages.
36564         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36565         instead of VM_PROT_ALL as parameter to __vm_wire function.
36566
36567         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36568         (__mkdir): When path is `/', just fail with EEXIST.
36569         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36570
36571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36572
36573         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36574         <sys/uio.h> (for writev).
36575         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36576         and <sys/param.h> (for MIN).
36577
36578 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36579
36580         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36581         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36582         if interrupted.
36583
36584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36585
36586         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36587         Depend on against $(link-rpcuserlibs).
36588
36589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36590
36591         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36592         (__libc_stack_end): Do not use attribute_relro.
36593         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36594         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36595         to libthread-provided value.
36596         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36597         attribute_relro.
36598
36599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36600
36601         [BZ #3748]
36602         * bits/libc-lock.h (__libc_once_get): New macro.
36603         * sysdeps/mach/bits/libc-lock.h: Likewise.
36604         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36606         instead of using implementation details.
36607
36608         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36609         * libio/freopen.c: Likewise.
36610         * libio/freopen64.c: Likewise.
36611         * misc/syslog.c: Likewise.
36612         * nscd/connections.c: Likewise.
36613         * nscd/netgroupcache.c: Likewise.
36614         * sysdeps/posix/getcwd.c: Likewise.
36615
36616 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36617
36618         * math/w_ilogbf.c: Add #include <limits.h>.
36619
36620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36621
36622         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36623         path instead of returning without unlocking.
36624
36625         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36626         immediate-write ioctls.
36627         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36628
36629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36630
36631         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36632         __builtin_frame_address instead of making assumptions about the
36633         location of the return address relative to DATA.  Force early load of
36634         the return address.
36635         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36636         __builtin_frame_address.
36637
36638         dup3 for GNU Hurd.
36639         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36640         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36641         implement dup3 and do some further code clean-ups.
36642         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36644
36645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36646
36647         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36648
36649         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36650         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36651         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36652         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36653         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36654         d->port.lock.
36655
36656         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36657         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36658         when handler == SIG_ERR, not when handler != SIG_ERR.
36659
36660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36661
36662         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36663         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36664         definitions.
36665
36666         accept4 for GNU Hurd.
36667         * include/sys/socket.h (__libc_accept4): New prototype.
36668         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36669         to implement __libc_accept4.
36670         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36671         __libc_accept4.
36672         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36673
36674         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36675         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36676         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36677         signal-defines.sym.
36678
36679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36680
36681         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36682
36683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36684
36685         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36686         assertion on O_CLOEXEC flag.
36687         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36688         * hurd/intern-fd.c: Likewise.
36689         * hurd/port2fd.c: Likewise.
36690
36691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36692
36693         [BZ #3906]
36694         * bits/in.h (IPV6_PKTINFO): Define new macro.
36695         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36696
36697 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36698
36699         [BZ #13954]
36700         [BZ #13955]
36701         [BZ #13956]
36702         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36704         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36705         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36707         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36708         * math/libm-test.inc (logb_test) : Additional logb tests.
36709
36710 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36711             Andreas Jaeger  <aj@suse.de>
36712
36713         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36714         * configure: Regenerated.
36715         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36716         * config.make.in (link-obsolete-rpc): New substituted variable.
36717         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36718         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36719         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36720         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36721         so that libc.a contains the symbols.
36722         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36723         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36724         * sunrpc/auth_none.c: Likewise.
36725         * sunrpc/auth_unix.c: Likewise.
36726         * sunrpc/authdes_prot.c: Likewise.
36727         * sunrpc/authuxprot.c: Likewise.
36728         * sunrpc/clnt_gen.c: Likewise.
36729         * sunrpc/clnt_perr.c: Likewise.
36730         * sunrpc/clnt_raw.c: Likewise.
36731         * sunrpc/clnt_simp.c: Likewise.
36732         * sunrpc/clnt_tcp.c: Likewise.
36733         * sunrpc/clnt_udp.c: Likewise.
36734         * sunrpc/clnt_unix.c: Likewise.
36735         * sunrpc/des_crypt.c: Likewise.
36736         * sunrpc/des_soft.c: Likewise.
36737         * sunrpc/get_myaddr.c: Likewise.
36738         * sunrpc/key_call.c: Likewise.
36739         * sunrpc/key_prot.c: Likewise.
36740         * sunrpc/netname.c: Likewise.
36741         * sunrpc/pm_getmaps.c: Likewise.
36742         * sunrpc/pm_getport.c: Likewise.
36743         * sunrpc/pmap_clnt.c: Likewise.
36744         * sunrpc/pmap_prot.c: Likewise.
36745         * sunrpc/pmap_prot2.c: Likewise.
36746         * sunrpc/pmap_rmt.c: Likewise.
36747         * sunrpc/publickey.c: Likewise.
36748         * sunrpc/rpc_cmsg.c: Likewise.
36749         * sunrpc/rpc_common.c: Likewise.
36750         * sunrpc/rpc_dtable.c: Likewise.
36751         * sunrpc/rpc_prot.c: Likewise.
36752         * sunrpc/rpc_thread.c: Likewise.
36753         * sunrpc/rtime.c: Likewise.
36754         * sunrpc/svc.c: Likewise.
36755         * sunrpc/svc_auth.c: Likewise.
36756         * sunrpc/svc_raw.c: Likewise.
36757         * sunrpc/svc_run.c: Likewise.
36758         * sunrpc/svc_tcp.c: Likewise.
36759         * sunrpc/svc_udp.c: Likewise.
36760         * sunrpc/svc_unix.c: Likewise.
36761         * sunrpc/svcauth_des.c: Likewise.
36762         * sunrpc/xcrypt.c: Likewise.
36763         * sunrpc/xdr.c: Likewise.
36764         * sunrpc/xdr_array.c: Likewise.
36765         * sunrpc/xdr_float.c: Likewise.
36766         * sunrpc/xdr_intXX_t.c: Likewise.
36767         * sunrpc/xdr_mem.c: Likewise.
36768         * sunrpc/xdr_rec.c: Likewise.
36769         * sunrpc/xdr_ref.c: Likewise.
36770         * sunrpc/xdr_sizeof.c: Likewise.
36771         * sunrpc/xdr_stdio.c: Likewise.
36772
36773 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36774
36775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36776         change.  Update copyright years.
36777
36778 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36779
36780         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36781
36782 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36783             Joseph Myers  <joseph@codesourcery.com>
36784             Paul Pluzhnikov  <ppluzhnikov@google.com>
36785
36786         [BZ #14012]
36787         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36788         requiring rpcgen.
36789         [cross-compiling] (extra-libs): Likewise.
36790         [cross-compiling] (extra-libs-others): Likewise.
36791         [cross-compiling] (librpcsvc-routines): Likewise.
36792         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36793         [cross-compiling] (omit-deps): Likewise.
36794         (sunrpc-CPPFLAGS): New variable.
36795         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36796         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36797         (cross-rpcgen-objs): New variable.
36798         (extra-objs): Append $(cross-rpcgen-objs).
36799         ($(cross-rpcgen-objs)): New rule.
36800         ($(objpfx)cross-rpcgen): Likewise.
36801         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36802         comment.
36803         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36804         ($(objpfx)x%.stmp): Likewise.
36805         * sunrpc/proto.h [IS_IN_build] (_): Define.
36806         [IS_IN_build] (_libc_intl_domainname): Likewise.
36807
36808 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36809
36810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36811         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36812         and R_X86_64_TPOFF64.
36813
36814 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36815
36816         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36817         sysdeps/unix/sysv/syscalls.list.
36818         (stime): Likewise.
36819         (utime): Likewise.
36820         * sysdeps/unix/sysv/syscalls.list: Remove file.
36821
36822 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36823
36824         [BZ #3440]
36825         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36826         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36827         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36828         (__LC_IDENTIFICATION): Make these macros useful in #if
36829         expressions, as required by C99.
36830
36831 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36832
36833         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36834         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36835         after this.
36836
36837 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36838
36839         * stdlib/longlong.h: Updated from GCC.
36840
36841 2012-05-09  Andreas Jaeger  <aj@suse.de>
36842
36843         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36844         default is first entry.
36845         (run_mode): Set type.
36846         (main): Remove informal message about syslog.
36847         (options): Fix typo.
36848
36849         [BZ #14053]
36850         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36851         to asm.
36852         (lrint): Likewise.
36853         (llrintf): Likewise.
36854         (llrint): Likewise.
36855         (rint): Likewise.
36856         (rintf): Likewise.
36857         (nearbyint): Likewise.
36858         (nearbyintf): Likewise.
36859
36860 2012-05-09  Andreas Jaeger  <aj@suse.de>
36861             Pedro Alves  <palves@redhat.com>
36862
36863         * nscd/nscd.c (run_mode): Use enum.
36864         (main): Cleanup coding style issue.
36865
36866 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36867             Andreas Jaeger  <aj@suse.de>
36868
36869         * nscd/nscd.c (go_background): Replaced with...
36870         (run_mode): ... this.
36871         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36872         (options): Add -F --foreground.
36873         (main): Implement it.
36874         (parse_opt): Parse it.
36875
36876 2012-05-09  Andreas Jaeger  <aj@suse.de>
36877
36878         [BZ #14083]
36879         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36880         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36881         -Wconversion warning.
36882         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36883         Likewise.
36884
36885 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36886
36887         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36888         == 0.
36889         (LC_ALL): Use macro-int-constant.
36890         (LC_COLLATE): Likewise.
36891         (LC_CTYPE): Likewise.
36892         (LC_MESSAGES): Likewise.
36893         (LC_MONETARY): Likewise.
36894         (LC_NUMERIC): Likewise.
36895         (LC_TIME): Likewise.
36896         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36897         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36899         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36900         Specify type.
36901         [C99-based standards] (float_t): Expect type.
36902         [C99-based standards] (double_t): Expect type.
36903         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36904         type.
36905         [C99-based standards] (HUGE_VALL): Likewise.
36906         [C99-based standards] (INFINITY): Likewise.
36907         [C99-based standards] (NAN): Likewise.
36908         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36909         [C99-based standards] (FP_NAN): Likewise.
36910         [C99-based standards] (FP_NORMAL): Likewise.
36911         [C99-based standards] (FP_SUBNORMAL): Likewise.
36912         [C99-based standards] (FP_ZERO): Likewise.
36913         [C99-based standards] (FP_FAST_FMA): Use
36914         optional-macro-int-constant.  Specify type.  Require == 1.
36915         [C99-based standards] (FP_FAST_FMAF): Likewise.
36916         [C99-based standards] (FP_FAST_FMAL): Likewise.
36917         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36918         [C99-based standards] (FP_ILOGBNAN): Likewise.
36919         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36920         Specify type.
36921         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36922         [C99-based standards] (math_errhandling): Specify type.
36923         [ISO99 || ISO11] (signgam): Do not allow.
36924         [non-C99-based standards] (copysignf): Do not allow.
36925         [non-C99-based standards] (exp2f): Likewise.
36926         [non-C99-based standards] (log2f): Likewise.
36927         [non-C99-based standards] (modff): Allow.
36928         [non-C99-based standards] (erff): Do not allow.
36929         [non-C99-based standards] (erfcf): Likewise.
36930         [non-C99-based standards] (gammaf): Likewise.
36931         [non-C99-based standards] (hypotf): Likewise.
36932         [non-C99-based standards] (j0f): Likewise.
36933         [non-C99-based standards] (j1f): Likewise.
36934         [non-C99-based standards] (jnf): Likewise.
36935         [non-C99-based standards] (lgammaf): Likewise.
36936         [non-C99-based standards] (tgammaf): Likewise.
36937         [non-C99-based standards] (y0f): Likewise.
36938         [non-C99-based standards] (y1f): Likewise.
36939         [non-C99-based standards] (ynf): Likewise.
36940         [non-C99-based standards] (isnanf): Likewise.
36941         [non-C99-based standards] (acoshf): Likewise.
36942         [non-C99-based standards] (asinhf): Likewise.
36943         [non-C99-based standards] (atanhf): Likewise.
36944         [non-C99-based standards] (cbrtf): Likewise.
36945         [non-C99-based standards] (expm1f): Likewise.
36946         [non-C99-based standards] (ilogbf): Likewise.
36947         [non-C99-based standards] (log1pf): Likewise.
36948         [non-C99-based standards] (logbf): Likewise.
36949         [non-C99-based standards] (nextafterf): Likewise.
36950         [non-C99-based standards] (remainderf): Likewise.
36951         [non-C99-based standards] (rintf): Likewise.
36952         [non-C99-based standards] (scalbf): Likewise.
36953         [non-C99-based standards] (copysignl): Likewise.
36954         [non-C99-based standards] (exp2l): Likewise.
36955         [non-C99-based standards] (log2l): Likewise.
36956         [non-C99-based standards] (modfl): Allow.
36957         [non-C99-based standards] (erfl): Do not allow.
36958         [non-C99-based standards] (erfcl): Likewise.
36959         [non-C99-based standards] (gammal): Likewise.
36960         [non-C99-based standards] (hypotl): Likewise.
36961         [non-C99-based standards] (j0l): Likewise.
36962         [non-C99-based standards] (j1l): Likewise.
36963         [non-C99-based standards] (jnl): Likewise.
36964         [non-C99-based standards] (lgammal): Likewise.
36965         [non-C99-based standards] (tgammal): Likewise.
36966         [non-C99-based standards] (y0l): Likewise.
36967         [non-C99-based standards] (y1l): Likewise.
36968         [non-C99-based standards] (ynl): Likewise.
36969         [non-C99-based standards] (isnanl): Likewise.
36970         [non-C99-based standards] (acoshl): Likewise.
36971         [non-C99-based standards] (asinhl): Likewise.
36972         [non-C99-based standards] (atanhl): Likewise.
36973         [non-C99-based standards] (cbrtl): Likewise.
36974         [non-C99-based standards] (expm1l): Likewise.
36975         [non-C99-based standards] (ilogbl): Likewise.
36976         [non-C99-based standards] (log1pl): Likewise.
36977         [non-C99-based standards] (logbl): Likewise.
36978         [non-C99-based standards] (nextafterl): Likewise.
36979         [non-C99-based standards] (remainderl): Likewise.
36980         [non-C99-based standards] (rintl): Likewise.
36981         [non-C99-based standards] (scalbl): Likewise.
36982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36983         [non-C99-based standards] (FP_*): Do not allow.
36984         [C99-based standards] (FP_*): Change to
36985         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36986         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36987         allow.
36988         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36989         (SIG_ERR): Likewise.
36990         [X/Open-based standards] (SIG_HOLD): Likewise.
36991         (SIG_IGN): Likewise.
36992         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36993         positive value.
36994         (SIGFPE): Likewise.
36995         (SIGILL): Likewise.
36996         (SIGINT): Likewise.
36997         (SIGSEGV): Likewise.
36998         (SIGTER): Likewise.
36999         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37000         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37002         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37004         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37005         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37011         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37012         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37013         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37014         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37015         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37016         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37017         [X/Open-based standards] (SIGTRAP): Likewise.
37018         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37019         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37020         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37021         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37022         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37023         allow.
37024
37025 2012-05-08  Ian Wienand  <ianw@vmware.com>
37026
37027         [BZ #14080]
37028         * time/tzset.c (__tzset_parse_tz): Update default rules for
37029         daylight time changes in the Energy Policy Act of 2005.
37030
37031 2012-05-09  Andreas Jaeger  <aj@suse.de>
37032
37033         [BZ #13983]
37034         * elf/ldconfig.c (parse_conf): Change string to make clear that
37035         ldconfig only issued a warning if ld.so.conf does not exist.
37036
37037 2012-05-08  David S. Miller  <davem@davemloft.net>
37038
37039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37040         movxtod instead of popping the value on the stack.
37041
37042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37043
37044 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37045
37046         * config.h.in: Add HAVE_ARM_PCS_VFP.
37047
37048 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37049
37050         [BZ #13979]
37051         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37052         checking but the checks are disabled for any reason.
37053
37054 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37055
37056         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37057         and ELF64_R_TYPE with ELFW(R_TYPE).
37058
37059 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37060
37061         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37062         (ulimit): Likewise.
37063
37064         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37065         (settimeofday): Likewise.
37066
37067 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37068
37069         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37070         a struct th_u2 inside the union, and move tu_block/tu_code into
37071         a new th_u3 union of tu_block/tu_code inside of that.  Move
37072         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37073         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37074         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37075         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37076         (th_stuff): Change to th_u1.tu_stuff.
37077         (th_data): Define.
37078         (th_msg): Change to th_u1.th_u2.tu_data.
37079
37080 2012-05-07  David S. Miller  <davem@davemloft.net>
37081
37082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37083
37084         [BZ #14074]
37085         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37086         (SETUP_PIC_REG): Use it.
37087         (SETUP_PIC_REG_LEAF): Use it.
37088
37089 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37090
37091         [BZ #13885]
37092         [BZ #13923]
37093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37094         USE_AS_EXPM1L.
37095         (EXPL_FINITE): Likewise.
37096         (FLDLOG): Likewise.
37097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37098         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37099         e_expl.S.
37100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37101         USE_AS_EXPM1L.
37102         (EXPL_FINITE): Likewise.
37103         (FLDLOG): Likewise.
37104         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37105         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37106         e_expl.S.
37107         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37108         test of -max_value argument for long double.
37109         * sysdeps/i386/fpu/libm-test-ulps: Update.
37110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37111
37112 2012-05-06  David S. Miller  <davem@davemloft.net>
37113
37114         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37115         quad soft-float symbols whose references which are compiler
37116         generated.
37117         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37118
37119 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37120
37121         [BZ #13884]
37122         [BZ #13914]
37123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37124         USE_AS_EXP10L.
37125         (EXPL_FINITE): Likewise.
37126         (FLDLOG): Likewise.
37127         (c0): Likewise.
37128         (c1): Likewise.
37129         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37130         Adjust comments for base varying.
37131         (__expl_finite): Change alias to EXPL_FINITE.
37132         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37133         e_expl.S.
37134         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37135         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37136         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37137         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37139         USE_AS_EXP10L.
37140         (EXPL_FINITE): Likewise.
37141         (FLDLOG): Likewise.
37142         (c0): Likewise.
37143         (c1): Likewise.
37144         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37145         Adjust comments for base varying.
37146         (__expl_finite): Change alias to EXPL_FINITE.
37147         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37148         tests for bugs.
37149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37150
37151         [BZ #14064]
37152         * math/libm-test.inc (check_float_internal): Correct ulp
37153         calculation for subnormal expected results.
37154
37155 2012-05-06  Andreas Jaeger  <aj@suse.de>
37156
37157         * Makeconfig (+math-flags): New, set to -frounding-math.
37158         (+cflags): Add +math-flags so that all of glibc gets compiled with
37159         it.
37160
37161         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37162
37163 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37164
37165         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37166         Disable one test.
37167
37168         [BZ #13787]
37169         [BZ #13922]
37170         [BZ #14036]
37171         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37172         (__ieee754_expl): Allow for and saturate large arguments.
37173         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37174         (u_threshold): Likewise.
37175         (__exp): Call __ieee754_exp before checking for overflow and
37176         underflow.
37177         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37178         (u_threshold): Likewise.
37179         (__expf): Call __ieee754_expf before checking for overflow and
37180         underflow.
37181         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37182         (u_threshold): Likewise.
37183         (__expl): Call __ieee754_expl before checking for overflow and
37184         underflow.
37185         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37186         (__ieee754_expl): Allow for and saturate large arguments.
37187         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37188         missing overflow exception on overflow.
37189         (expm1_test): Do not allow missing overflow exception on overflow.
37190
37191         * sysdeps/i386/fpu/e_expl.c: Move to ...
37192         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37193         rather than using inline asm.
37194         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37195         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37196         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37197
37198         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37199         (nice): Likewise.
37200         (poll): Likewise.
37201         (signal): Likewise.
37202         (time): Likewise.
37203         (times): Likewise.
37204
37205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37206
37207         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37208         sysdeps/unix/common/syscalls.list.
37209         (fchmod): Likewise.
37210         (fchown): Likewise.
37211         (ftruncate): Likewise.
37212         (getrusage): Likewise.
37213         (gettimeofday): Likewise.
37214         (setpgid): Likewise.
37215         (setregid): Likewise.
37216         (setreuid): Likewise.
37217         (sigaction): Likewise.
37218         (truncate): Likewise.
37219         (vhangup): Likewise.
37220         * sysdeps/unix/common/syscalls.list: Remove file.
37221         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37222         * sysdeps/unix/sysv/linux/Implies: Likewise.
37223
37224 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37225
37226         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37228         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37229         Moved to ...
37230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37231         Here.
37232         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37233         to ...
37234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37235         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37236         to ...
37237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37238         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37239         to ...
37240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37242         to ...
37243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37245         to ...
37246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37248         to ...
37249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37250         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37251         to ...
37252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37253         Here.
37254         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37255         to ...
37256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37257         Here.
37258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37259         to ...
37260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37262         Moved to ...
37263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37264         Here.
37265         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37266         to ...
37267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37268
37269 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37270
37271         * sysdeps/unix/common/bits/dirent.h: Remove file.
37272         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37273
37274         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37275         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37276         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37277         * sysdeps/unix/bsd/isatty.c: Likewise.
37278         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37279         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37280         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37281
37282 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37283
37284         [BZ #13563]
37285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37286         long double comparison inaccuracies.
37287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37289
37290 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37291
37292         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37294
37295 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37296
37297         [BZ #14049]
37298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37299         nonzero digits before rounding a hex value.
37300         * stdlib/tst-strtod.c (tests): Add another test.
37301
37302 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37303
37304         * sysdeps/s390/fpu/libm-test-ulps: Update.
37305
37306 2012-05-03  Andreas Jaeger  <aj@suse.de>
37307
37308         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37309         does not get optimized out.
37310         (malloc_opt_barrier): New.
37311
37312 2012-05-03  Andreas Jaeger  <aj@suse.de>
37313             Roland McGrath  <roland@hack.frob.com>
37314
37315         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37316         intermediate file deletion.
37317         (generated): Add .symlist files.
37318
37319 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37320
37321         [BZ #13775]
37322         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37323         Redirect under this condition.
37324         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37325         [__USE_GNU] (__dprintf_chk): Not under this condition.
37326         [__USE_GNU] (__vdprintf_chk): Likewise.
37327         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37328         under this condition.
37329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37330         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37331         [__USE_XOPEN2K8] (vdprintf): Likewise.
37332         [__USE_GNU] (__dprintf_chk): Not under this condition.
37333         [__USE_GNU] (__vdprintf_chk): Likewise.
37334         [__USE_GNU] (dprintf): Likewise.
37335         [__USE_GNU] (vdprintf): Likewise.
37336
37337 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37338
37339         * elf/Makefile (common-generated): Set this instead of generated for
37340         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37341         $(all-built-dso)-derived lists.
37342
37343 2012-05-03  Andreas Jaeger  <aj@suse.de>
37344
37345         * sysdeps/i386/fpu/libm-test-ulps: Update.
37346
37347         * FAQ: Removed.
37348         * FAQ.in: Likewise.
37349         * scripts/gen-FAQ.pl: Likewise.
37350         * manual/install.texi (Installation): Point to online location of
37351         FAQ.
37352         * Makefile (files-for-dist): Remove FAQ.
37353         (FAQ): Remove.
37354
37355 2012-05-02  Allan McRae  <allan@archlinux.org>
37356
37357         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37358         (LDFLAGS-reldepmod5.so): Likewise.
37359         (LDFLAGS-reldep6mod1.so): Likewise.
37360         (LDFLAGS-reldep6mod4.so): Likewise.
37361         (LDFLAGS-reldep8mod3.so): Likewise.
37362         (LDFLAGS-unload4mod1.so): Likewise.
37363         (LDFLAGS-unload4mod2.so): Likewise.
37364         (LDFLAGS-tst-initorder): Likewise.
37365         (LDFLAGS-tst-initordera2.so): Likewise.
37366         (LDFLAGS-tst-initordera3.so): Likewise.
37367         (LDFLAGS-tst-initordera4.so): Likewise.
37368         (LDFLAGS-tst-initorderb2.so): Likewise.
37369         (LDFLAGS-noload): Likewise.
37370         (LDFLAGS-next): Likewise.
37371         (LDFLAGS-order2mod1.so): Likewise.
37372         (LDFLAGS-order2mod2.so): Likewise.
37373         (LDFLAGS-tst-initorder2): Likewise.
37374         (LDFLAGS-tst-initorder2a.so): Likewise.
37375         (LDFLAGS-tst-initorder2b.so): Likewise.
37376         (LDFLAGS-tst-initorder2c.so): Likewise.
37377         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37378
37379 2012-05-02  David S. Miller  <davem@davemloft.net>
37380
37381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37382
37383 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37384
37385         [BZ #14055]
37386         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37387
37388 2012-05-02  Andreas Jaeger  <aj@suse.de>
37389
37390         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37391         since we manipulate rounding mode.
37392         (CPPFLAGS-test-idouble.c): Likewise.
37393         (CPPFLAGS-test-ifloat.c): Likewise.
37394         (CFLAGS-test-ldouble.c): Likewise.
37395         (CFLAGS-test-double.c): Likewise.
37396         (CFLAGS-test-float.c): Likewise.
37397         (CFLAGS-test-misc.c): Likewise.
37398         (CFLAGS-test-test-fenv.c): Likewise.
37399
37400 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37401
37402         [BZ #2550]
37403         [BZ #2570]
37404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37405         comparisons to determine direction to adjust input.
37406
37407 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37408
37409         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37410         output to the target.
37411
37412         * scripts/localplt.awk: New file.
37413         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37414         (check-localplt-CFLAGS): Variable removed.
37415         ($(all-built-dso:=.jmprel)): New static pattern rule.
37416         (generated): Add those targets.
37417         (localplt-built-dso): New variable.
37418         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37419
37420         * elf/check-localplt.c: File removed.
37421
37422         * scripts/check-execstack.awk: New file.
37423         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37424         (check-execstack-CFLAGS): Variable removed.
37425         ($(objpfx)check-execstack.h): Target removed.
37426         ($(objpfx)execstack-default): New target.
37427         (generated): Add that instead of check-execstack.h.
37428         ($(all-built-dso:=.phdr)): New static pattern rule.
37429         (generated): Add those targets.
37430         * elf/check-execstack.c: File removed.
37431
37432         * scripts/check-textrel.awk: New file.
37433         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37434         (check-textrel-CFLAGS): Variable removed.
37435         (all-built-dso): Use := to define.o
37436         ($(all-built-dso:=.dyn)): New static pattern rule.
37437         (generated): Add those targets.
37438         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37439         * config.make.in (READELF): New substituted variable.
37440         * elf/check-textrel.c: File removed.
37441
37442 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37443
37444         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37445         allow.
37446         * conform/data/ctype.h-data [C99-based standards] (isblank):
37447         Expect function.
37448         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37449         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37451         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37452         Specify type.  Require positive value.
37453         (EILSEQ): Likewise.
37454         (ERANGE): Likewise.
37455         [ISO || POSIX] (EILSEQ): Do not expect.
37456         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37457         Specify type.  Require positive value.
37458         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37459         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37460         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37461         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37462         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37463         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37464         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37465         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37466         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37467         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37468         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37469         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37470         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37471         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37472         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37473         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37474         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37475         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37476         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37477         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37478         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37479         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37480         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37481         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37482         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37483         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37484         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37485         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37486         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37487         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37488         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37489         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37490         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37491         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37492         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37493         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37494         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37495         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37496         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37497         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37498         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37499         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37500         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37501         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37502         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37503         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37504         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37505         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37506         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37507         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37508         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37509         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37510         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37511         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37512         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37513         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37514         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37515         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37516         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37517         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37518         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37519         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37520         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37521         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37522         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37523         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37524         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37525         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37526         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37527         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37528         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37529         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37530         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37531         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37532         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37533         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37534         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37535         Require >= 2.
37536         (FLT_ROUNDS): Expect as macro, not constant.
37537         (FLT_MANT_DIG): Use macro-int-constant.
37538         (DBL_MANT_DIG): Likewise.
37539         (LDBL_MANT_DIG): Likewise.
37540         (FLT_DIG): Likewise.
37541         (DBL_DIG): Likewise.
37542         (LDBL_DIG): Likewise.
37543         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37544         (DBL_MIN_EXP): Likewise.
37545         (LDBL_MIN_EXP): Likewise.
37546         (FLT_MAX_EXP): Use macro-int-constant.
37547         (DBL_MAX_EXP): Likewise.
37548         (LDBL_MAX_EXP): Likewise.
37549         (FLT_MAX_10_EXP): Likewise.
37550         (DBL_MAX_10_EXP): Likewise.
37551         (LDBL_MAX_10_EXP): Likewise.
37552         (FLT_MAX): Use macro-constant.
37553         (DBL_MAX): Likewise.
37554         (LDBL_MAX): Likewise.
37555         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37556         (DBL_EPSILON): Likewise.
37557         (LDBL_EPSILON): Likewise.
37558         (FLT_MIN): Likewise.
37559         (DBL_MIN): Likewise.
37560         (LDBL_MIN): Likewise.
37561         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37562         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37563         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37564         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37565         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37566         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37567         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37568         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37569         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37570         [ISO11] (FLT_TRUE_MIN): Likewise.
37571         [ISO11] (LDBL_TRUE_MIN): Likewise.
37572         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37573         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37574         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37575         (SCHAR_MAX): Likewise.
37576         (UCHAR_MAX): Likewise.
37577         (CHAR_MIN): Likewise.
37578         (CHAR_MAX): Likewise.
37579         (MB_LEN_MAX): Use macro-int-constant.
37580         (SHRT_MIN): Use macro-int-constant.  Specify type.
37581         (SHRT_MAX): Likewise.
37582         (USHRT_MAX): Likewise.
37583         (INT_MAX): Likewise.
37584         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37585         bound negative.
37586         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37587         bound with "U".
37588         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37589         bound with "L".
37590         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37591         bound negative.  Suffix upper bound with "L".
37592         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37593         bound with "UL".
37594         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37595         Specify type.
37596         [C99-based standards] (LLONG_MAX): Likewise.
37597         [C99-based standards] (ULLONG_MAX): Likewise.
37598         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37599         == 0.
37600         [ISO11] (max_align_t): Require type.
37601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37602
37603         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37604         from $CFLAGS, without defining away __attribute__ calls.
37605         (checknamespace): Use $CFLAGS_namespace.
37606
37607         * conform/conformtest.pl (@keywords): Only include C99 keywords
37608         for standards based on C99 or C11.
37609
37610         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37611         Disable tests.
37612         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37613         UNIX98]: Likewise.
37614
37615         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37616         usability of symbols in #if.
37617
37618         * conform/conformtest.pl: If macro or constant types start
37619         "promoted:", expect the symbol to be of the following type
37620         promoted by the integer promotions.
37621
37622         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37623         in one place.  Also handle "macro-constant".
37624
37625         * conform/conformtest.pl: Only accept expected macro values with
37626         "==".  Parse all "macro" lines in one place.
37627         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37628
37629         * conform/conformtest.pl: Handle braced types on "constant" lines
37630         instead of handling "typed-constant".
37631         * conform/data/signal.h-data: Use "constant" instead of
37632         "typed-constant".
37633
37634         * conform/conformtest.pl: Handle "optional-" at start of lines in
37635         one place rather than duplicating several cases.  Handle each
37636         format of "macro" line with initial "optional-".
37637
37638         * conform/conformtest.pl: Only accept expected constant or
37639         optional-constant values with "==".  Parse all "constant" lines in
37640         one place.  Parse all "optional-constant" lines in one place.
37641         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37642         * conform/data/fmtmsg.h-data: Likewise.
37643         * conform/data/netinet/in.h-data: Likewise.
37644         * conform/data/tar.h-data: Likewise.
37645         * conform/data/limits.h-data: Use "==" form on "constant" and
37646         "optional-constant" lines.
37647
37648         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37649         Use -std=c99 for XOPEN2K.
37650         (@knownproblems): Remove.
37651         (newtoken): Don't check %isknown.
37652
37653         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37654         Do not expect macro.
37655         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37667         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37668         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37685         [XPG3] (acosh): Likewise.
37686         [XPG3] (asinh): Likewise.
37687         [XPG3] (atanh): Likewise.
37688         [XPG3] (cbrt): Likewise.
37689         [XPG3] (expm1): Likewise.
37690         [XPG3] (ilogb): Likewise.
37691         [XPG3] (log1p): Likewise.
37692         [XPG3] (logb): Likewise.
37693         [XPG3] (nextafter): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37696         [XPG3] (remainder): Likewise.
37697         [XPG3] (rint): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37705         [UNIX98 || XOPEN2K] (scalb): Expect.
37706         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37707         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37722         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37723         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37740         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37741         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37742         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37743         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37744         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37745         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37746         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37747         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37748         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37749         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37750         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37751         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37752         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37753         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37754         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37755         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37756         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37757         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37758         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37759         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37760         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37761         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37762         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37763         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37764         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37765         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37766         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37767         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37768         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37769         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37770         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37771         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37772         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37773         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37774         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37775         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37776         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37777         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37778         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37779         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37780         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37781         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37782         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37783         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37784         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37785         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37786         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37787         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37788         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37789         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37790         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37791         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37792         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37793         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37794         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37795         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37796         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37797         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37798         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37799         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37800         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37801         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37802         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37803         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37804         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37805         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37806         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37807         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37808         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37809         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37810         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37811         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37812         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37813         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37814         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37815         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37816         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37817         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37818         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37819         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37820         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37821         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37822         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37823         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37824         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37825         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37826         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37827         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37828         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37829         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37830         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37831         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37832         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37833         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37834         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37835         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37836         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37837         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37838         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37839         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37840         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37841         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37842         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37843
37844         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37845         _XOPEN_SOURCE_EXTENDED for XPG4.
37846
37847         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37848
37849         * Makeconfig (localtime): Remove variable.
37850         (inst_localtime-file): Likewise.
37851
37852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37853
37854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37855         Update.
37856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37857         Update.
37858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37859         Update.
37860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37861         Update.
37862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37863         Update.
37864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37865         Update.
37866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37867         Update.
37868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37869         Update.
37870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37871         Update.
37872
37873 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37874
37875         [BZ #2550]
37876         [BZ #2570]
37877         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37878         comparisons to determine direction to adjust input.
37879         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37880         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37882         Likewise.
37883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37884         Likewise.
37885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37886         Likewise.
37887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37888         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37889         Likewise.
37890         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37891         Likewise.
37892         * math/libm-test.inc (nexttoward_test): Add more tests.
37893
37894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37895
37896         [BZ #14040]
37897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37898         in version GLIBC_2.1, not GLIBC_2.0.
37899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37900         Likewise.
37901
37902 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37903
37904         [BZ #13942]
37905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37906         (1 - x) * (1 + x).
37907         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37908         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37909         * math/libm-test.inc (acos_test): Add more tests.
37910         (asin_test): Likewise.
37911         * sysdeps/i386/fpu/libm-test-ulps: Update.
37912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913
37914         [BZ #14034]
37915         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37916         of square root.
37917         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37918         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37919         * math/libm-test.inc (acos_test_tonearest): New function.
37920         (acos_test_towardzero): Likewise.
37921         (acos_test_downward): Likewise.
37922         (acos_test_upward): Likewise.
37923         (asin_test_tonearest): Likewise.
37924         (asin_test_towardzero): Likewise.
37925         (asin_test_downward): Likewise.
37926         (asin_test_upward): Likewise.
37927         (main): Call the new functions.
37928         * sysdeps/i386/fpu/libm-test-ulps: Update.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37930
37931         [BZ #13884]
37932         [BZ #13924]
37933         * math/e_exp10.c: Include <float.h>.
37934         (__ieee754_exp10): Handle underflow here rather than multiplying
37935         large negative argument by M_LN10.
37936         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37937         of __ieee754_expf.
37938         * math/e_exp10l.c: Include <float.h>.
37939         (__ieee754_exp10l): Handle underflow here rather than multiplying
37940         large negative argument by M_LN10l.
37941         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37942         spurious overflow exception on underflow.
37943
37944 2012-04-29  Marek Polacek  <polacek@redhat.com>
37945
37946         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37947         (__fortify_function): New macro.
37948         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37949         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37950         __extern_always_inline.
37951         * libio/bits/stdio2.h: Likewise.
37952         * libio/bits/stdio.h: Likewise.
37953         * string/string.h: Likewise.
37954         * string/bits/string3.h: Likewise.
37955         * include/stdio.h: Likewise.
37956         * stdlib/bits/stdlib.h: Likewise.
37957         * stdlib/stdlib.h: Likewise.
37958         * rt/bits/mqueue2.h: Likewise.
37959         * rt/mqueue.h: Likewise.
37960         * posix/bits/unistd.h: Likewise.
37961         * posix/unistd.h: Likewise.
37962         * io/bits/poll2.h: Likewise.
37963         * io/bits/fcntl2.h: Likewise.
37964         * io/fcntl.h: Likewise.
37965         * io/sys/poll.h: Likewise.
37966         * misc/bits/syslog.h: Likewise.
37967         * misc/bits/syslog-ldbl.h: Likewise.
37968         * misc/sys/syslog.h: Likewise.
37969         * socket/bits/socket2.h: Likewise.
37970         * socket/sys/socket.h: Likewise.
37971         * debug/tst-chk1.c: Likewise.
37972         * wcsmbs/bits/wchar2.h: Likewise.
37973         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37974         * wcsmbs/wchar.h: Likewise.
37975
37976 2012-04-29  Andreas Jaeger  <aj@suse.de>
37977
37978         * Makerules (tests): Remove enable-check-abi protection.
37979         (check-abi-warn): Remove.
37980         (check-abi-%): Remove check-abi-warn usage.
37981
37982         * configure.in: Remove check-abi configure option.
37983         * configure: Regenerated.
37984         * config.make.in (enable-check-abi): Remove.
37985
37986 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37987
37988         [BZ #14033]
37989         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37990         double functions to double *_finite functions.
37991
37992         [BZ #13941]
37993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37994         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37995         LDBL_MIN_EXP.
37996         * stdio-common/Makefile (tests): Add tst-sprintf3.
37997         * stdio-common/tst-sprintf3.c: New file.
37998
37999         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38000         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38001
38002 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38003
38004         * conform/conformtest.pl: Remove duplicate typed-constant
38005         handling.
38006
38007 2012-04-28  David S. Miller  <davem@davemloft.net>
38008
38009         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38010         (check-abi-%): Remove AWK script prerequisite and explicit
38011         abilist directory.
38012         (check-abi): Rewrite to just diff the symlist with the abilist.
38013         (config-tls, config-abi-config): Delete, no longer used.
38014         (update-abi-%): Remove AWK script and explicit abilist directory.
38015         (update-abi): Rewrite to simply compare and conditionally copy the
38016         symlist and the sysdep abilist file.  Remove update-abi-config
38017         checks.
38018         * abilist/ld.abilist: Remove.
38019         * abilist/libBrokenLocale.abilist: Remove.
38020         * abilist/libanl.abilist: Remove.
38021         * abilist/libcrypt.abilist: Remove.
38022         * abilist/libdl.abilist: Remove.
38023         * abilist/librt.abilist: Remove.
38024         * abilist/libthread_db.abilist: Remove.
38025         * abilist/libutil.abilist: Remove.
38026         * scripts/extract-abilist.awk: Remove.
38027         * scripts/merge-abilist.awk: Remove.
38028         * sysdeps/generic/libcidn.abilist: New file.
38029         * sysdeps/generic/libnss_compat.abilist: New file.
38030         * sysdeps/generic/libnss_db.abilist: New file.
38031         * sysdeps/generic/libnss_dns.abilist: New file.
38032         * sysdeps/generic/libnss_files.abilist: New file.
38033         * sysdeps/generic/libnss_hesiod.abilist: New file.
38034         * sysdeps/generic/libnss_nis.abilist: New file.
38035         * sysdeps/generic/libnss_nisplus.abilist: New file.
38036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38037         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38039         file.
38040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38041         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38043         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38044         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38045         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38046         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38047         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38048         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38049         file.
38050         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38052         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38054         file.
38055         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38056         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38057         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38058         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38059         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38060         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38061         file.
38062         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38063         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38065         file.
38066         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38068         New file.
38069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38070         New file.
38071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38072         New file.
38073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38074         New file.
38075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38076         New file.
38077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38078         New file.
38079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38080         New file.
38081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38082         New file.
38083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38084         New file.
38085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38086         New file.
38087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38088         New file.
38089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38090         New file.
38091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38092         New file.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38094         file.
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38096         New file.
38097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38098         New file.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38100         file.
38101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38102         New file.
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38104         New file.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38106         file.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38108         New file.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38110         New file.
38111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38112         New file.
38113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38114         New file.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38116         New file.
38117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38118         New file.
38119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38121         file.
38122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38123         New file.
38124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38125         file.
38126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38127         file.
38128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38129         file.
38130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38131         file.
38132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38133         file.
38134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38135         New file.
38136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38137         file.
38138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38139         file.
38140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38141         New file.
38142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38143         file.
38144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38146         file.
38147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38148         New file.
38149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38150         file.
38151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38152         file.
38153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38154         file.
38155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38156         file.
38157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38158         file.
38159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38160         New file.
38161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38162         file.
38163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38164         file.
38165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38166         New file.
38167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38168         file.
38169         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38170         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38171         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38172         file.
38173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38174         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38175         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38177         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38179         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38180         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38181         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38182         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38185         file.
38186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38187         New file.
38188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38189         file.
38190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38191         file.
38192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38193         file.
38194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38195         file.
38196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38197         file.
38198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38199         New file.
38200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38201         New file.
38202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38203         file.
38204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38205         New file.
38206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38207         file.
38208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38210         file.
38211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38212         New file.
38213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38214         file.
38215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38216         file.
38217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38218         file.
38219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38220         file.
38221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38222         file.
38223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38224         New file.
38225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38226         New file.
38227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38228         file.
38229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38230         New file.
38231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38232         file.
38233
38234 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38235
38236         * conform/conformtest.pl: Fix typo in handling typed-constant from
38237         allow-header.
38238
38239 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38240
38241         * README: Cut down references to pre-2.6 Linux kernels and
38242         Linuxthreads.  Update lists of configurations in libc and ports
38243         and sort alphabetically.  Say "or newer" with Linux kernel version
38244         requirements.
38245
38246         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38247
38248 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38249
38250         [BZ #887]
38251         * math/libm-test.inc (logb_test_downward): New test to expose
38252         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38253         rounding mode.
38254
38255 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38256
38257         [BZ #14027]
38258         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38259         to be done.
38260         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38261         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38262
38263 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38264
38265         * sysdeps/unix/i386/brk.S: Remove file.
38266         * sysdeps/unix/i386/dl-brk.S: Likewise.
38267         * sysdeps/unix/i386/pipe.S: Likewise.
38268         * sysdeps/unix/i386/sigreturn.S: Likewise.
38269         * sysdeps/unix/i386/syscall.S: Likewise.
38270         * sysdeps/unix/i386/vfork.S: Likewise.
38271         * sysdeps/unix/i386/wait.S: Likewise.
38272
38273         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38274         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38275
38276         * configure.in (arm*-none*): Do not allow without
38277         --enable-hacker-mode.
38278         (netbsd*): Remove case setting base_os.
38279         (386bsd*): Likewise.
38280         (freebsd*): Likewise.
38281         (bsdi*): Likewise.
38282         (osf*): Likewise.
38283         (sunos*): Likewise.
38284         (ultrix*): Likewise.
38285         (newsos*): Likewise.
38286         (dynix*): Likewise.
38287         (*bsd*): Likewise.
38288         (sysv*): Likewise.
38289         (isc*): Likewise.
38290         (esix*): Likewise.
38291         (sco*): Likewise.
38292         (minix*): Likewise.
38293         (irix4*): Likewise.
38294         (irix6*): Likewise.
38295         (solaris[2-9]*): Likewise.
38296         (none): Likewise.
38297         * configure: Regenerated.
38298
38299 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38300
38301         [BZ #11521]
38302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38303         overflow or cancellation in calculating denominator.
38304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38306         down expression to avoid unexpected rounding in newer GCCs.
38307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38308
38309 2012-04-26  David S. Miller  <davem@davemloft.net>
38310
38311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38312         long-double compat symbols.
38313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38326
38327 2012-04-25  David S. Miller  <davem@davemloft.net>
38328
38329         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38330         HWCAP_* values only after the memory barriers have been defined.
38331         (atomic_full_barrier): Define.
38332         (atomic_read_barrier): Define.
38333         (atomic_write_barrier): Define.
38334
38335 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38336
38337         * shlib-versions: Add libgcc_s version information.
38338         * sysdeps/generic/libgcc_s.h: Remove.
38339         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38340         libgcc_s.h.
38341         * sysdeps/gnu/unwind-resume.c: Likewise.
38342         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38343
38344 2012-04-25  David S. Miller  <davem@davemloft.net>
38345
38346         * sysdeps/unix/sparc/brk.S: Delete.
38347         * sysdeps/unix/sparc/dl-brk.S: Delete.
38348         * sysdeps/unix/sparc/pipe.S: Delete.
38349         * sysdeps/unix/sparc/sysdep.S: Delete.
38350         * sysdeps/unix/sparc/sysdep.h: Delete.
38351         * sysdeps/unix/sparc/vfork.S: Delete.
38352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38353         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38355         (ret_ERRVAL, r0, r1, MOVE): Define.
38356         (JUMPTARGET): Remove.
38357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38358         sysdeps/unix/sparc/sysdep.h
38359         (ENTRY, END): Remove.
38360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38361
38362 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38363
38364         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38365         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38366         -DIS_IN_build.
38367
38368         * timezone/README: Update upstream location and email address for
38369         tzcode and tzdata.
38370         * timezone/zdump.c: Update from tzcode 2012b.
38371         * timezone/zic.c: Likewise.
38372
38373         * configure.in (libc_cv_as_needed): Remove test.
38374         * configure: Regenerated.
38375         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38376         conditional definition.
38377         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38378         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38379         * config.make.in (have-as-needed): Remove variable.
38380
38381 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38382             Paul Pluzhnikov  <ppluzhnikov@google.com>
38383
38384         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38385         strings correctly.
38386
38387 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38388
38389         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38390         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38391         * sysdeps/sh/strlen.S: Likewise.
38392
38393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38394
38395         * sysdeps/unix/fork.S: Remove file.
38396         * sysdeps/unix/i386/fork.S: Likewise.
38397         * sysdeps/unix/sparc/fork.S: Likewise.
38398
38399         * sysdeps/unix/system.c: Remove file.
38400         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38401
38402         * sysdeps/unix/getegid.S: Remove file.
38403         * sysdeps/unix/geteuid.S: Likewise.
38404
38405 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38406
38407         * scripts/check-localplt.awk: New file.
38408         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38409         of diff.
38410         * scripts/data/localplt-generic.data: Add a comment.
38411
38412         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38413         NODE when __dir_mkfile failed.
38414         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38415         Reported by Ludovic Courtès <ludo@gnu.org>.
38416
38417 2012-04-24  Andreas Jaeger  <aj@suse.de>
38418
38419         * Makerules (common-clean): Also remove gen-as-const-headers
38420         files.
38421
38422 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38423
38424         * Makerules (native-compile): Do not change working directory for
38425         build.  Use $(OUTPUT_OPTION) in command.
38426         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38427
38428 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38429
38430         [BZ #13886]
38431         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38432         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38433         * math/libm-test.inc (floor_test): Add more tests.
38434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38435
38436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38437
38438         * sysdeps/unix/getdents.c: Remove file.
38439         * sysdeps/unix/sysv/getdents.c: Likewise.
38440         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38441
38442         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38443         sysdeps/unix/mman/syscalls.list.
38444         (mmap): Likewise.
38445         (mprotect): Likewise.
38446         (msync): Likewise.
38447         (munmap): Likewise.
38448         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38449         * sysdeps/unix/mman/syscalls.list: Remove.
38450         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38451
38452         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38453         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38454         * configure: Regenerated.
38455         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38456         $(libgcc_s_suffix).
38457         * config.make.in (libgcc_s_suffix): Remove variable.
38458
38459 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38460
38461         * sysdeps/unix/sysv/gethostname.c: Move to ...
38462         * sysdeps/posix/gethostname.c: ... here.
38463
38464         * sysdeps/unix/execve.S: Remove file.
38465
38466         * sysdeps/unix/_exit.S: Remove file.
38467
38468 2012-04-23  Andreas Jaeger  <aj@suse.de>
38469
38470         [BZ #13739]
38471         * manual/Makefile: Remove make dist support, there's no
38472         need for a stand-alone documentation tar ball.
38473         (TEXI2DVI): Define always, it's not in Makeconfig.
38474         (dist): Removed.
38475         (tar-it): Removed.
38476         (edition): Removed.
38477         (glibc-doc-$(edition).tar): Removed
38478         (%.Z): Removed.
38479         (%.gz): Removed.
38480         (%.uu): Removed.
38481         (ETAGS): Remove, it's in Makeconfig.
38482         (move-if-change): Remove, it's in Makeconfig.
38483
38484 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38485
38486         [BZ #13970]
38487         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38488         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38489         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38490         (strtod_l, strtof_l, strtold_l): Remove __wur.
38491         It is not necessarily an error to ignore strtol's return value.
38492         One can reliably look at the stored endptr to decide whether
38493         the number had valid syntax.
38494
38495 2012-04-21  Andreas Jaeger  <aj@suse.de>
38496
38497         [BZ #13739]
38498         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38499
38500 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38501
38502         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38503         * sysdeps/unix/sysv/Versions: Remove file.
38504
38505 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38506
38507         [BZ #13927]
38508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38509
38510 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38511
38512         [BZ #7064]
38513         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38514         version from __vm86.
38515
38516 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38517
38518         * sysdeps/unix/common/lxstat.c: Remove file.
38519         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38520
38521         * sysdeps/unix/sysv/Makefile: Remove file.
38522
38523         * sysdeps/unix/sysv/direct.h: Remove file.
38524
38525         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38526         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38527         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38528         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38529         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38530         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38531         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38532
38533         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38534
38535         * sysdeps/unix/xmknod.c: Remove file.
38536         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38537
38538         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38539
38540         * sysdeps/unix/sysv/i386/time.S: Remove file.
38541
38542         * sysdeps/unix/fxstat.c: Remove file.
38543         * sysdeps/unix/xstat.c: Likewise.
38544         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38545
38546         * sysdeps/unix/sysv/sigaction.c: Remove file.
38547
38548         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38549         (sysdep_headers): Remove variable.
38550         [termio.h not in sysdep_headers] (generated): Likewise.
38551         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38552         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38553         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38554         * sysdeps/unix/sysv/tcflow.c: Likewise.
38555         * sysdeps/unix/sysv/tcflush.c: Likewise.
38556         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38557         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38558         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38559         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38560         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38561
38562         * sysdeps/unix/siglist.c: Remove file.
38563
38564         * sysdeps/unix/getppid.S: Remove file.
38565
38566         * sysdeps/unix/mkdir.c: Remove file.
38567         * sysdeps/unix/rmdir.c: Likewise.
38568
38569 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38570
38571         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38572         ERR_MAX value.
38573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38574         errlist-compat value.
38575
38576 2012-04-18  David S. Miller  <davem@davemloft.net>
38577
38578         * sysdeps/generic/memcopy.h (reg_char): Delete.
38579         * debug/strcat_chk.c: Use char, not reg_char.
38580         * debug/strcpy_chk.c: Likewise.
38581         * debug/strncat_chk.c: Likewise.
38582         * debug/strncpy_chk.c: Likewise.
38583         * string/memchr.c: Likewise.
38584         * string/memrchr.c: Likewise.
38585         * string/rawmemchr.c: Likewise.
38586         * string/strcat.c: Likewise.
38587         * string/strchr.c: Likewise.
38588         * string/strchrnul.c: Likewise.
38589         * string/strcmp.c: Likewise.
38590         * string/strcpy.c: Likewise.
38591         * string/strncat.c: Likewise.
38592         * string/strncmp.c: Likewise.
38593         * string/strncpy.c: Likewise.
38594
38595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38596
38597         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38598         __builtin_memcopy is called when src and dest ranges are known to not
38599         overlap.
38600
38601 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38602
38603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38604         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38605         fwd_align_merge macro call.
38606         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38607         bwd_align_merge macro call.
38608         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38609
38610 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38611
38612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38613         bwd_align_merge macros.
38614         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38615         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38617
38618 2012-04-18  David S. Miller  <davem@davemloft.net>
38619
38620         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38621
38622 2012-04-18  Andreas Jaeger  <aj@suse.de>
38623
38624         [BZ# 6794]
38625         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38626         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38627         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38628
38629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38630         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38631         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38632
38633         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38634         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38635         Adjust for changed ldbl-128 files.
38636
38637         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38638         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38640
38641 2012-04-17  David S. Miller  <davem@davemloft.net>
38642
38643         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38644
38645 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38646
38647         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38648         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38649         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38650         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38652         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38653
38654 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38655
38656         [BZ #6794]
38657         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38658         * math/libm-test.inc: Add ilogb errno and exception tests.
38659         * math/w_ilogb.c: New file: ilogb wrapper.
38660         * math/w_ilogbf.c: New file: ilogbf wrapper.
38661         * math/w_ilogbl.c: New file: ilogbl wrapper.
38662         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38663         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38664         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38665         exception being thrown with 0.0 as argument.
38666         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38667         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38668         exception being thrown with 0.0 as argument.
38669         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38670         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38671         exception being thrown with 0.0 as argument.
38672         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38673         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38674         exception being thrown with 0.0 as argument.
38675         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38676         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38678         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38680         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38681         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38682         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38683         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38684
38685 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38686
38687         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38688         with altivec.
38689
38690 2012-04-16  Marek Polacek  <polacek@redhat.com>
38691
38692         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38693
38694 2012-04-16  Marek Polacek  <polacek@redhat.com>
38695
38696         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38697         operands of fdivp instruction.
38698
38699 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38700
38701         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38702         * elf/tst-auditmod3b.c: Likewise.
38703         * elf/tst-auditmod4b.c: Likewise.
38704         * elf/tst-auditmod5b.c: Likewise.
38705         * elf/tst-auditmod6b.c: Likewise.
38706         * elf/tst-auditmod6c.c: Likewise.
38707         * elf/tst-auditmod7b.c: Likewise.
38708         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38709         * sysdeps/x86_64/preconfigure.in: Likewise.
38710         * sysdeps/x86_64/preconfigure: Regenerated.
38711
38712 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38713
38714         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38715         __ILP32__.
38716
38717 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38718
38719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38720         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38721
38722 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38723
38724         [BZ #13973]
38725         * locale/iso-639.def: Fix gl language name. Spotted by
38726         Yaron Shahrabani.
38727
38728 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38729
38730         [BZ #2074]
38731         * libio/libio.h (__io_write_fn): Update comment.
38732
38733 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38734
38735         [BZ #2074]
38736         * stdio.texi (Hook Functions): The user provided writer function
38737         is not allowed to return -1.
38738
38739 2012-04-11  David S. Miller  <davem@davemloft.net>
38740
38741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38742
38743 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38744
38745         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38746         Add a leading slash to rtkaio.
38747
38748 2012-04-11  Jim Meyering  <meyering@redhat.com>
38749
38750         [BZ #11959]
38751         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38752         It is not necessarily an error to ignore fwrite's return
38753         value.  One can reliably use ferror to test for errors after
38754         the fact.
38755
38756 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38757
38758         * bits/types.h (__snseconds_t): New type.
38759         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38760
38761         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38763         (__SNSECONDS_T_TYPE): Likewise.
38764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38765         (__SNSECONDS_T_TYPE): Likewise.
38766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38767         (__SNSECONDS_T_TYPE): Likewise.
38768
38769 2012-04-10  Andreas Jaeger  <aj@suse.de>
38770
38771         [BZ #2636]
38772         * manual/time.texi (Processor Time): Return type of times is
38773         elapsed real time since an arbitrary point in the past.
38774         (CPU Time): Move CLK_TCK from here...
38775         (Processor Time): ...to here.  Correct description.
38776         * manual/conf.texi (Constants for Sysconf): Correct description of
38777         _SC_CLK_TCK.
38778
38779 2012-04-10  David S. Miller  <davem@davemloft.net>
38780
38781         [BZ #13967]
38782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38783         where the is a gap between DT_REL(A) and DT_JMPREL.
38784
38785 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38786
38787         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38790
38791 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38792
38793         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38794         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38795         (dl_main): Handle --inhibit-cache.
38796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38797         _dl_inhibit_cache.
38798         * elf/dl-load.c (_dl_map_object): Use it.
38799         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38800
38801 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38802
38803         [BZ #13872]
38804         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38805         (__ieee754_powl): Saturate large exponents rather than testing for
38806         overflow of y*log2(x).
38807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38808         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38809         exceptions.
38810
38811         [BZ #11521]
38812         * math/s_ctan.c: Include <float.h>.
38813         (__ctan): Avoid internal overflow or cancellation in calculating
38814         denominator.
38815         * math/s_ctanf.c: Likewise.
38816         * math/s_ctanl.c: Likewise.
38817         * math/s_ctanh.c: Likewise.
38818         * math/s_ctanhf.c: Likewise.
38819         * math/s_ctanhl.c: Likewise.
38820         * math/libm-test.inc (ctan_test): Add more tests.
38821         (ctanh_test): Likewise.
38822         * sysdeps/i386/fpu/libm-test-ulps: Update.
38823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38824
38825 2012-04-09  Andreas Jaeger  <aj@suse.de>
38826
38827         [BZ #6894]
38828         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38829         is an optional BSD extension.
38830
38831         [BZ #10254]
38832         * manual/stdio.texi (Opening Streams): Document additional fopen
38833         parameters.
38834
38835 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38836
38837         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38838         %eax without telling the compiler.
38839
38840 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38841
38842         [BZ # 13963]
38843         * manual/install.texi: Use sourceware.org.
38844
38845 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38846
38847         [BZ #13873]
38848         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38849         (__ieee754_pow): Generate overflow and underflow using huge*huge
38850         and tiny*tiny rather than just returning constant infinity or zero
38851         for large exponents.
38852         * math/libm-test.inc (pow_test): Require overflow exceptions for
38853         applicable cases of large exponents.
38854
38855         [BZ #706]
38856         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38857         (__ieee754_pow): Use iterative multiplication algorithm only for
38858         integer exponents with absolute value below 1024.  Check for odd
38859         integer exponents when using algorithm for real exponents.
38860         * math/libm-test.inc (pow_test): Add more tests.
38861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38862
38863 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38864
38865         [BZ #13705]
38866         * math/libm-test.inc (exp_test): Do not allow overflow exception
38867         on underflow test.
38868
38869 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38870
38871         [BZ #13705]
38872         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38873         instead of __kernel_standard_f.
38874
38875 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38876
38877         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38878         * sysdeps/x86_64/memset_chk.S: Likewise.
38879
38880 2012-04-08  Andreas Jaeger  <aj@suse.de>
38881
38882         [BZ #10153]
38883         * manual/startup.texi (Environment Access): Describe return value
38884         for putenv and setenv.
38885
38886         [BZ #6895]
38887         * manual/filesys.texi (Directory Entries): Add description for
38888         DT_LNK.
38889
38890         [BZ #6890]
38891         * manual/filesys.texi (Directory Entries): Clarify that it's file
38892         system not operating system in the description of DT_UNKNOWN.
38893
38894         [BZ #6578]
38895         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38896
38897 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38898
38899         [BZ #6649]
38900         * manual/llio.texi (Opening and Closing Files): Add cross
38901         reference to explain mode argument.
38902
38903 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38904
38905         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38906         * sysdeps/x86_64/memset_chk.S: Likewise.
38907
38908 2012-04-07  David S. Miller  <davem@davemloft.net>
38909
38910         * elf/elf.h (R_SPARC_WDISP10): Define.
38911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38912         R_SPARC_SIZE32.
38913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38914         R_SPARC_SIZE64 and R_SPARC_H34.
38915
38916 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38917
38918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38919         conditions and remove no longer applicable assertion.
38920
38921 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38922
38923         * bits/byteswap.h: Include <features.h>.
38924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38926
38927 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38928
38929         * bits/byteswap.h (__bswap_16): Removed.
38930         Include <bits/byteswap-16.h> to get __bswap_16.
38931         * sysdeps/i386/bits/byteswap.h: Likewise.
38932         * sysdeps/s390/bits/byteswap.h: Likewise.
38933         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38934         * bits/byteswap-16.h: New file.
38935         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38936         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38937         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38938         * string/Makefile (headers): Add bits/byteswap-16.h.
38939
38940 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38941
38942         [BZ #13895]
38943         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38944         extra indirection.
38945         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38946         * nss/tst-nss-static.c: New.
38947
38948 2012-04-06  Robert Millan  <rmh@gnu.org>
38949
38950         [BZ #6486]
38951         * manual/llio.texi (File Position Primitive): lseek
38952         refers to WHENCE when it really means OFFSET.
38953
38954 2012-04-06  Andreas Jaeger  <aj@suse.de>
38955
38956         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38957         strncmp declarations.
38958
38959         * abilist/libc.abilist: Add __poll and __ppoll.
38960
38961 2012-04-05  David S. Miller  <davem@davemloft.net>
38962
38963         * scripts/check-local-headers.sh: Accept a host triplet in the
38964         path matched by the exclude regexp.
38965
38966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38967         definition.
38968         * sysdeps/powerpc/powerpc32/dl-machine.h
38969         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38970         * sysdeps/s390/s390-32/dl-machine.h
38971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38972         * sysdeps/sparc/sparc32/dl-machine.h
38973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38974         * sysdeps/sparc/sparc64/dl-machine.h
38975         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38976
38977         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38978         lazy binding.
38979         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38980         undefined symbol errors.
38981
38982         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38983         DT_NEEDED entries.
38984
38985 2012-04-05  Michael Matz  <matz@suse.de>
38986
38987         [BZ #13592]
38988         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38989
38990 2012-04-05  Andreas Jaeger  <aj@suse.de>
38991
38992         [BZ #13908]
38993         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38994         comment.
38995
38996 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38997
38998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38999         which ROUND is no valid rounding mode.
39000
39001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39002
39003         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39004         read again.
39005         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39006
39007 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39008
39009         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39010         an exception using FPU order intentionally.
39011
39012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39013
39014         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39015         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39016         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39017         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39018
39019 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39020
39021         [BZ #12340]
39022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39023         EINVAL when BUFLEN is too smal.
39024
39025 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39026
39027         [BZ #13553]
39028         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39029         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39030
39031 2012-04-03  Andreas Jaeger  <aj@suse.de>
39032
39033         [BZ #13938]
39034         * manual/setjmp.texi (System V contexts): Fix sentence.
39035
39036         [BZ #13926]
39037         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39038         New macro for this case.
39039         [!__GNUC__] (__bswap_64): New inline function for this case.
39040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39041         * bits/byteswap.h: Likewise.
39042         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39043         ull, guard with __GLIBC_HAVE_LONG_LONG.
39044
39045         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39046         __GLIBC_HAVE_LONG_LONG.
39047
39048         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39049         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39050
39051 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39052
39053         [BZ #13691]
39054         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39055         inptr and inend, rather than using last_ch.
39056
39057 2012-04-02  David S. Miller  <davem@davemloft.net>
39058
39059         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39060         * stdio-common/printf-parse.h (read_int): Change return type to
39061         'int', return -1 on INT_MAX overflow.
39062         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39063         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39064         overflows INT_MAX.  Check for overflow of in-format-string precision
39065         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39066         SIZE_MAX not INT_MAX for integer overflow test.
39067         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39068         skip the construct in the format string but do not record anything.
39069         * stdio-common/bug22.c: Adjust to test both width/prevision
39070         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39071         explicitly for proper errno values.
39072
39073 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39074
39075         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39076         CHAR_MAX.
39077         * string/test-strcmp.c [! WIDE]: Likewise.
39078         * time/tst-mktime2.c: Likewise for INT_MAX.
39079         * string/test-string.h: #include <sys/param.h> for MIN.
39080
39081         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39082         * sysdeps/i386/init-first.c (init): Likewise.
39083         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39084         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39085         * sysdeps/sh/init-first.c (init): Likewise.
39086
39087 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39088
39089         * po/ru.po: Update from translation team.
39090         * po/vi.po: Likewise.
39091
39092 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39093
39094         * resolv/nss_dns/dns-host.c: Merge copyright years.
39095
39096 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39097
39098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39099         Optimize memcpy with prefetch if
39100         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39101         src, dst pointers have unequal 16 byte alignments.
39102
39103 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39104
39105         [BZ #13928]
39106         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39107         from a CNAME entry and return the minimum ttl for the query.
39108         (gaih_getanswer_slice): Likewise.
39109
39110 2012-03-30  Jeff Law  <law@redhat.com>
39111
39112         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39113         due to long keys.
39114         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39115         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39116
39117         * resolv/nss_dns/dns-host.c: Update copyright year.
39118
39119 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39120
39121         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39122         requests to save a system call.  Fix check that all bytes are sent.
39123
39124         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39125         comments for sendmmsg.
39126
39127 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39128
39129         [BZ #13691]
39130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39131         with only 1 character between 0x0041 and 0x01b0.
39132         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39133         * wcsmbs/tst-mbsnrtowcs.c: New file.
39134
39135 2012-03-29  David S. Miller  <davem@davemloft.net>
39136
39137         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39138         small copies by hand.
39139
39140 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39141
39142         [BZ #13761]
39143         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39144         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39145         group memberships.
39146
39147 2012-03-28  David S. Miller  <davem@davemloft.net>
39148
39149         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39150         that branches into memcpy.
39151         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39154         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39156         bits.
39157         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39158         implementation too.
39159         * sysdeps/sparc/mempcpy.S: New file.
39160
39161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39162         the IFUNC routine in the libc case.
39163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39164
39165         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39166         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39167         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39168         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39169         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39170         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39171         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39172         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39173
39174         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39175         loop to 256 bytes instead of 64 bytes and fix test signedness.
39176
39177         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39178         * sysdeps/sparc/sparc32/Makefile: rather than here...
39179         * sysdeps/sparc/sparc64/Makefile: and here.
39180
39181 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39182
39183         * malloc/mallocbug.c: Avoid warnings about unused variables.
39184
39185 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39186
39187         [BZ #13760]
39188         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39189         in the right place. Discard and retry query if response is
39190         larger than input buffer size.
39191
39192 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39193
39194         [BZ #369]
39195         [BZ #2678]
39196         [BZ #3866]
39197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39198         x for large integer exponent.
39199         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39200         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39201         sign of result as needed afterwards.
39202         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39204         result for underflowing pow the same as for overflow.
39205         (__kernel_standard_l): Handle powl overflow and underflow here
39206         rather than calling __kernel_standard.
39207         * math/libm-test.inc (pow_test): Add more tests.
39208
39209         [BZ #3868]
39210         [BZ #13879]
39211         [BZ #13910]
39212         [BZ #13911]
39213         [BZ #13912]
39214         [BZ #13913]
39215         [BZ #13915]
39216         [BZ #13916]
39217         [BZ #13917]
39218         [BZ #13918]
39219         [BZ #13919]
39220         [BZ #13920]
39221         [BZ #13921]
39222         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39223         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39224         (__kernel_standard_l): New function.
39225         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39226         __kernel_standard.
39227         * math/w_acosl.c (__acosl): Likewise.
39228         * math/w_asinl.c (__asinl): Likewise.
39229         * math/w_atan2l.c (__atan2l): Likewise.
39230         * math/w_atanhl.c (__atanhl): Likewise.
39231         * math/w_coshl.c (__coshl): Likewise.
39232         * math/w_exp10l.c (__exp10l): Likewise.
39233         * math/w_exp2l.c (__exp2l): Likewise.
39234         * math/w_fmodl.c (__fmodl): Likewise.
39235         * math/w_hypotl.c (__hypotl): Likewise.
39236         * math/w_j0l.c (__j0l, __y0l): Likewise.
39237         * math/w_j1l.c (__j1l, __y1l): Likewise.
39238         * math/w_jnl.c (__jnl, __ynl): Likewise.
39239         * math/w_lgammal.c (__lgammal): Likewise.
39240         * math/w_log10l.c (__log10l): Likewise.
39241         * math/w_log2l.c (__log2l): Likewise.
39242         * math/w_logl.c (__logl): Likewise.
39243         * math/w_powl.c (__powl): Likewise.
39244         * math/w_remainderl.c (__remainderl): Likewise.
39245         * math/w_scalbl.c (sysv_scalbl): Likewise.
39246         * math/w_sinhl.c (__sinhl): Likewise.
39247         * math/w_sqrtl.c (__sqrtl): Likewise.
39248         * math/w_tgammal.c (__tgammal): Likewise.
39249         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39250         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39251         * math/libm-test.inc (acos_test): Add more tests.
39252         (acosh_test): Likewise.
39253         (asin_test): Likewise.
39254         (atanh_test): Likewise.
39255         (exp_test): Likewise.
39256         (exp10_test): Likewise.
39257         (exp2_test): Likewise.
39258         (expm1_test): Likewise.
39259         (lgamma_test): Likewise.
39260         (log_test): Likewise.
39261         (log10_test): Likewise.
39262         (log1p_test): Likewise.
39263         (log2_test): Likewise.
39264         (pow_test): Do not allow some spurious overflow exceptions.
39265         (sqrt_test): Add more tests.
39266         (tgamma_test): Likewise.
39267         (y0_test): Likewise.
39268         (y1_test): Likewise.
39269         (yn_test): Likewise.
39270
39271 2012-03-27  Anton Blanchard  <anton@samba.org>
39272
39273         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39274         MAP_HUGETLB.
39275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39276         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39278
39279 2012-03-27  David S. Miller  <davem@davemloft.net>
39280
39281         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39282
39283         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39284         have-as-vis3 check.
39285
39286 2012-03-27  Andreas Jaeger  <aj@suse.de>
39287
39288         * sysdeps/x86_64/elf/configure.in: Moved to ...
39289         * sysdeps/x86_64/configure.in: ... here.
39290         * sysdeps/x86_64/elf/start.S: Moved to ...
39291         * sysdeps/x86_64/start.S: ... here.
39292         * sysdeps/x86_64/elf/configure: Delete.
39293
39294         * sysdeps/x86_64/configure.in: Merge contents from
39295         sysdeps/i386/configure.in (without i686 check).
39296
39297         * sysdeps/i386/elf/Versions: Merge into ...
39298         * sysdeps/i386/Versions: ... this.
39299         * sysdeps/i386/elf/Versions: Delete file.
39300         * sysdeps/i386/elf/start.S: Moved to ...
39301         * sysdeps/i386/start.S: ...here.
39302         * sysdeps/i386/elf/configure.in: Merge into...
39303         * sysdeps/i386/configure.in: ...here.
39304         * sysdeps/i386/elf/configure.in: Delete file.
39305         * sysdeps/i386/elf/configure: Delete file.
39306
39307         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39308         * debug/backtracesyms.c: ... here.
39309         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39310         * debug/backtracesymsfd.c: ... here.
39311         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39312         * sysdeps/generic/ifunc-sel.h: ... here.
39313
39314         * sysdeps/unix/i386/start.c: Delete file.
39315         * sysdeps/unix/sparc/start.c: Delete file.
39316         * sysdeps/unix/start.c: Delete file.
39317
39318         * sysdeps/sh/elf/configure.in: Moved to ...
39319         * sysdeps/sh/configure.in: ... here.
39320         * sysdeps/sh/elf/start.S: Moved to ...
39321         * sysdeps/sh/start.S: ... here.
39322         * sysdeps/sh/elf/configure: Delete file.
39323
39324         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39325         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39326         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39327         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39328         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39329         * sysdeps/powerpc/powerpc64/start.S: here.
39330         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39331         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39332         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39333         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39334         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39335
39336         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39337         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39338         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39339         * sysdeps/powerpc/powerpc32/start.S: ... here.
39340         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39341         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39342         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39343
39344         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39345         * sysdeps/powerpc/ifunc-sel.h: ... here.
39346         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39347         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39348
39349         * sysdeps/sparc/elf/configure.in: Moved to ...
39350         * sysdeps/sparc/configure.in: ... here.
39351         * sysdeps/sparc/elf/configure: Delete file.
39352         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39353         * sysdeps/sparc/sparc32/start.S: ... here.
39354         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39355         * sysdeps/sparc/sparc64/start.S: ... here.
39356         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39357         * sysdeps/sparc/sparc32/Makefile: ... this.
39358         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39359         * sysdeps/sparc/sparc64/Makefile: ... this.
39360
39361         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39362         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39363         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39364         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39365         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39366         * sysdeps/s390/s390-32/setjmp.S: ... here.
39367         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39368         * sysdeps/s390/s390-32/configure.in: ... here.
39369         * sysdeps/s390/s390-32/elf/configure: Delete file.
39370         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39371         * sysdeps/s390/s390-32/start.S: ... here.
39372
39373         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39374         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39375         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39376         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39377         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39378         * sysdeps/s390/s390-64/setjmp.S: ... here.
39379         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39380         * sysdeps/s390/s390-64/configure.in: ... here
39381         * sysdeps/s390/s390-64/elf/configure: Delete file.
39382         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39383         * sysdeps/s390/s390-64/start.S: ... here.
39384         * sysdeps/s390/s390-64/elf/configure: Delete.
39385
39386         * configure.in: Remove support for elf directories in sysdeps.
39387
39388         * configure: Regenerated.
39389         * sysdeps/i386/configure: Regenerated.
39390         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39391         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39392         * sysdeps/s390/s390-32/configure: Regenerated.
39393         * sysdeps/s390/s390-64/configure: Regenerated.
39394         * sysdeps/sh/configure: Regenerated.
39395         * sysdeps/sparc/configure: Regenerated.
39396         * sysdeps/x86_64/configure: Regenerated.
39397
39398 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39399
39400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39401
39402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39403         denormal result into account.
39404
39405 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39406
39407         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39408         Reported by Allan McRae <allan@archlinux.org>.
39409
39410 2012-03-23  Jeff Law  <law@redhat.com>
39411
39412         * nss/getnssent.c (__nss_getent): Fix typo.
39413
39414 2012-03-23  David S. Miller  <davem@davemloft.net>
39415
39416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39417
39418 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39419
39420         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39421         to pad to uint64_t for each field.
39422         (dl_tls_index): Replace unsigned long with uint64_t.
39423
39424 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39425         Paul Pluzhnikov  <ppluzhnikov@google.com>
39426
39427         [BZ #6528]
39428         * grp/Makefile (otherlibs): Don't set it.
39429         * inet/Makefile (otherlibs): Likewise.
39430         * login/Makefile (otherlibs): Likewise.
39431         * nscd/Makefile (otherlibs): Likewise.
39432         * posix/Makefile (otherlibs): Likewise.
39433         * pwd/Makefile (otherlibs): Likewise.
39434         * rt/Makefile (otherlibs): Likewise.
39435         * sunrpc/Makefile (otherlibs): Likewise.
39436         * nss/Makefile (otherlibs): Likewise.
39437         Add libnss_files to routines and static-only-routines.
39438         ($(objpfx)getent): Remove rule.
39439         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39440         static-only-routines.
39441
39442 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39443
39444         [BZ #13892]
39445         * math/s_cexp.c: Include <float.h>.
39446         (__cexp): Handle exp result overflowing not necessarily
39447         overflowing both real and imaginary parts of result.
39448         * math/s_cexpf.c: Likewise.
39449         * math/s_cexpl.c: Likewise.
39450         * math/libm-test.inc (cexp_test): Add more tests.
39451         * sysdeps/i386/fpu/libm-test-ulps: Update.
39452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39453
39454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39455
39456         * include/link.h (ELFW): New macro.
39457         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39458         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39459
39460 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39461
39462         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39463         with uint64_t.
39464
39465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39466
39467         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39468         declaration.
39469         (struct La_x32_retval): Likewise.
39470
39471 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39472
39473         * sysdeps/x86_64/preconfigure.in: New file.
39474         * sysdeps/x86_64/preconfigure: New generated file.
39475
39476 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39477
39478         [BZ #13824]
39479         * math/e_exp2l.c: Include <float.h>.
39480         (__ieee754_exp2l): Handle overflow and underflow cases
39481         separately.  Only pass fractional part of argument to
39482         __ieee754_expl.
39483         * math/libm-test.inc (exp2_test): Add more tests.
39484
39485         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39486         negating x to take absolute value.
39487         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39488         Likewise.
39489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39491         Likewise.
39492         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39493         computing low part if x was negated.
39494         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39495
39496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39497
39498         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39499         la_x32_gnu_pltexit.
39500         (pltexit): Cast int_retval to ptrdiff_t.
39501         * elf/tst-auditmod3b.c: Likewise.
39502         * elf/tst-auditmod4b.c: Likewise.
39503         * elf/tst-auditmod5b.c: Likewise.
39504         * elf/tst-auditmod6b.c: Likewise.
39505         * elf/tst-auditmod6c.c: Likewise.
39506         * elf/tst-auditmod7b.c: Likewise.
39507
39508         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39509         and x32_gnu_pltexit.
39510
39511         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39512         __ELF_NATIVE_CLASS.
39513         (La_x32_regs): New macro.
39514         (La_x32_retval): Likewise.
39515         (la_x32_gnu_pltenter): New function prototype.
39516         (la_x32_gnu_pltexit): Likewise.
39517
39518 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39519
39520         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39521         exponent.
39522
39523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39524
39525         * configure.in (libc_cv_cc_nofma): Check for option to disable
39526         generation of FMA instructions.
39527         * configure: Regenerate.
39528         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39529         * sysdeps/ieee754/dbl-64/Makefile: New file.
39530         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39531         Remove brandred-fma4.
39532         (CFLAGS-brandred-fma4.c): Remove.
39533         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39535         define.
39536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39537         define.
39538
39539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39540
39541         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39542         LLONG_MAX != LONG_MAX.
39543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39544         (_fitoa_word): Likewise.
39545         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39546         LLONG_MAX != LONG_MAX.
39547         * stdio-common/_itowa.h: Include <_itoa.h>.
39548         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39549         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39550         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39551         only if not defined.
39552         (_ITOA_WORD_TYPE): Likewise.
39553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39554         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39555
39556 2012-03-21  David S. Miller  <davem@davemloft.net>
39557
39558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39559
39560 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39561
39562         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39563         of x86_64 when setting libc_cv_slibdir, libdir and
39564         libc_cv_localedir.
39565         * sysdeps/unix/sysv/linux/configure: Regenerated.
39566
39567 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39568
39569         * manual/lang.texi (Old Varargs): Remove section.
39570         (How Variadic): Update menu.
39571         (va_start): Do not mention varargs.h.
39572
39573 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39574             Joseph Myers  <joseph@codesourcery.com>
39575
39576         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39577         link test.
39578         * configure: Regenerated.
39579
39580 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39581
39582         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39583         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39584         conformtest.pl
39585
39586 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39587
39588         * NOTES: Remove.
39589         * Makefile (files-for-dist): Remove NOTES.
39590         (NOTES): Remove rule.
39591         * README: Don't refer to NOTES.
39592         * manual/creature.texi: Don't include macros.texi.
39593         * manual/intro.texi (creature.texi): Remove comment referring to
39594         NOTES.
39595
39596         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39597         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39598         * configure: Regenerated.
39599         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39600         LIBC_TRY_CC_OPTION.
39601         (libc_cv_as_i686): Likewise.
39602         (libc_cv_cc_avx): Likewise.
39603         (libc_cv_cc_sse2avx): Likewise.
39604         (libc_cv_cc_fma4): Likewise.
39605         (libc_cv_cc_novzeroupper): Likewise.
39606         * sysdeps/i386/configure: Regenerated.
39607
39608         [BZ #13883]
39609         * sysdeps/i386/fpu/s_cexp.S: Remove.
39610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39611         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39612         * math/libm-test.inc (cexp_test): Add more tests.
39613         * sysdeps/i386/fpu/libm-test-ulps: Update.
39614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39615
39616 2012-03-21  Allan McRae  <allan@archlinux.org>
39617
39618         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39619
39620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39621
39622         [BZ #13871]
39623         * math/w_exp2.c: Do not include <float.h>.
39624         (o_threshold, u_threshold): Remove.
39625         (__exp2): Calculate result before checking finiteness and calling
39626         __kernel_standard.
39627         * math/w_exp2f.c: Likewise.
39628         * math/w_exp2l.c: Likewise.
39629         * math/libm-test.inc (exp2_test): Require overflow exception for
39630         1e6 input.
39631
39632         [BZ #3866]
39633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39634         range of signed 64-bit integers before using fistpll.  Remove
39635         checks for whether integers fit in mantissa bits.
39636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39637         the range of signed 32-bit integers before using fistpl.  Remove
39638         checks for whether integers fit in mantissa bits.
39639         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39640         (__ieee754_powl): Test for y outside the range of signed 64-bit
39641         integers before using fistpll.  Reduce 64-bit values to 63-bit
39642         ones as needed.
39643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39644         divide-by-zero is raised for zero to large negative powers.
39645         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39646         (__ieee754_powl): Test for y outside the range of signed 64-bit
39647         integers before using fistpll.  Reduce 64-bit values to 63-bit
39648         ones as needed.
39649         * math/libm-test.inc (pow_test): Add more tests.
39650
39651 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39652
39653         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39654         <stdio-common/_itoa.h>.
39655         * debug/segfault.c: Likewise.
39656         * elf/dl-cache.c: Likewise.
39657         * elf/dl-minimal.c: Likewise.
39658         * elf/dl-misc.c: Likewise.
39659         * elf/dl-sysdep.c: Likewise.
39660         * elf/dl-version.c: Likewise.
39661         * elf/rtld.c: Likewise.
39662         * hurd/hurdsock.c: Likewise.
39663         * hurd/lookup-retry.c: Likewise.
39664         * malloc/malloc.c: Likewise.
39665         * malloc/mtrace.c: Likewise.
39666         * nscd/nscd_getgr_r.c: Likewise.
39667         * nscd/nscd_getpw_r.c: Likewise.
39668         * nscd/nscd_getserv_r.c: Likewise.
39669         * posix/getopt_init.c: Likewise.
39670         * posix/wordexp.c: Likewise.
39671         * stdio-common/_itoa.c: Likewise.
39672         * stdio-common/printf_fphex.c: Likewise.
39673         * stdio-common/vfprintf.c: Likewise.
39674         * string/_strerror.c: Likewise.
39675         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39676         * sysdeps/i386/i686/hp-timing.h: Likewise.
39677         * sysdeps/mach/_strerror.c: Likewise.
39678         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39679         * sysdeps/mach/hurd/sethostid.c: Likewise.
39680         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39681         * sysdeps/mach/xpg-strerror.c: Likewise.
39682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39683         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39684         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39685         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39686         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39687         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39689         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39690         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39691         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39692         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39693         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39694         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39695         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39696         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39698         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39699         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39700         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39701         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39702         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39703
39704         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39705
39706         * stdio-common/_itoa.h: Moved to ...
39707         * sysdeps/generic/_itoa.h: Here.
39708
39709         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39710
39711         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39712         instead of "_itoa.h" and "_itowa.h".
39713         * stdio-common/vfprintf.: Likewise.
39714
39715 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39716
39717         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39718         <bits/wordsize.h>.
39719         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39720         (__signbit): Likwise.
39721         (llrintf): Likwise.
39722         (llrint): Likwise.
39723
39724 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39725
39726         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39727         __WORDSIZE != 64.
39728
39729 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39730
39731         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39732         OVERFLOW_EXCEPTION_OK.
39733         * math/libm-test.inc ("Philosophy"): Update comment about
39734         exception testing.
39735         (OVERFLOW_EXCEPTION): Define.
39736         (OVERFLOW_EXCEPTION_OK): Likewise.
39737         (INVALID_EXCEPTION_OK): Renumber.
39738         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39739         (IGNORE_ZERO_INF_SIGN): Likewise.
39740         (test_exceptions): Handle FE_OVERFLOW.
39741         (exp10_test): Expect overflow exceptions.
39742         (exp2_test): Likewise.
39743         (expm1_test): Likewise.
39744         (nextafter_test): Likewise.
39745         (pow_test): Likewise.
39746         (scalbn_test): Likewise.
39747         (scalbln_test): Likewise.
39748
39749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39750
39751         * sysdeps/x86_64/bits/atomic.h
39752         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39753         64bit integer.
39754         (atomic_exchange_acq): Likewise.
39755         (__arch_exchange_and_add_body): Likewise.
39756         (__arch_add_body): Likewise.
39757         (atomic_add_negative): Likewise.
39758         (atomic_add_zero): Likewise.
39759
39760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39761
39762         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39763         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39764
39765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39766
39767         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39768         Check __x86_64__ instead of __WORDSIZE.
39769
39770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39771
39772         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39773
39774 2012-03-19  David S. Miller  <davem@davemloft.net>
39775
39776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39777
39778         * sysdeps/sparc/fpu/fenv_private.h: New file.
39779         * sysdeps/sparc/fpu/math_private.h: Use it.
39780         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39781         Remove.
39782         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39783         (libc_feholdexcept_setroundl): Remove.
39784         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39785         Remove.
39786         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39787         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39788
39789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39790
39791         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39792         int64_t instead of long int.
39793         (INSERT_WORDS64): Likwise.
39794
39795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39796
39797         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39798         _Unwind_GetCFA return to _Unwind_Ptr first.
39799
39800 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39801
39802         [BZ #13629]
39803         * math/s_clog.c: Include <float.h>.
39804         (__clog): Scale large or subnormal inputs.
39805         * math/s_clogf.c: Likewise.
39806         * math/s_clogl.c: Likewise.
39807         * math/s_clog10.c: Include <float.h>.
39808         (M_LOG10_2): Define.
39809         (__clog10): Scale large or subnormal inputs.
39810         * math/s_clog10f.c: Likewise.
39811         * math/s_clog10l.c: Likewise.
39812         * math/libm-test.inc (clog_test): Add more tests.
39813         (clog10_test): Likewise.
39814         * sysdeps/i386/fpu/libm-test-ulps: Update.
39815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39816
39817         [BZ #11451]
39818         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39819         x and y.
39820         * math/libm-test.inc (atan2_test): Add another test.
39821
39822         * Makerules (common-objdir-compile): Remove.
39823         * sysdeps/unix/Makefile (config-generated): Do not add
39824         $(unix-generated) to variable.
39825         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39826         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39827         Remove rule.
39828         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39829         Likewise.
39830         [generic bits/local_lim.h] (before-compile): Do not append to
39831         variable.
39832         [generic bits/local_lim.h] (common-generated): Likewise.
39833         [generic sys/param.h] (before-compile): Do not append to variable.
39834         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39835         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39836         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39837         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39838         include.
39839         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39840         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39841         [generic sys/param.h] ($(addprefix
39842         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39843         [generic sys/param.h] (common-generated): Do not append to
39844         variable.
39845         [generic sys/param.h] (sysdep_headers): Likewise.
39846         [generic bits/errno.h] (before-compile): Do not append to
39847         variable.
39848         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39849         rule.
39850         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39851         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39852         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39853         [generic bits/errno.h] (common-generated): Do not append to
39854         variable.
39855         [generic bits/ioctls.h] (before-compile): Do not append to
39856         variable.
39857         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39858         rule.
39859         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39860         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39862         rule.
39863         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39864         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39865         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39866         [generic bits/ioctls.h] (common-generated): Do not append to
39867         variable.
39868         [generic sys/syscall.h] (syscall.h): Remove variable.
39869         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39870         rule.
39871         [generic sys/syscall.h] (before-compile): Do not append to
39872         variable.
39873         [generic sys/syscall.h] (common-generated): Likewise.
39874         * sysdeps/unix/errnos-tmpl.c: Remove file.
39875         * sysdeps/unix/errnos.awk: Likewise.
39876         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39877         * sysdeps/unix/ioctls.awk: Likewise.
39878         * sysdeps/unix/mk-local_lim.c: Likewise.
39879         * sysdeps/unix/snarf-ioctls: Likewise.
39880
39881 2012-03-19  Richard Henderson  <rth@twiddle.net>
39882
39883         * sysdeps/i386/fpu/fenv_private.h: New file.
39884         * sysdeps/i386/fpu/math_private.h: Use it.
39885         (math_opt_barrier, math_force_eval): Remove.
39886         (libc_feholdexcept_setround_53bit): Remove.
39887         (libc_feupdateenv_53bit): Remove.
39888         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39889         (math_opt_barrier, math_force_eval): Remove.
39890         (libc_feholdexcept): Remove.
39891         (libc_feholdexcept_setround): Remove.
39892         (libc_fetestexcept, libc_fesetenv): Remove.
39893         (libc_feupdateenv_test): Remove.
39894         (libc_feupdateenv, libc_feholdsetround): Remove.
39895         (libc_feresetround): Remove.
39896
39897         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39898         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39899
39900         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39901         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39902         (libc_feupdateenv_testl): New.
39903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39904         (libc_feupdateenv_testf): New.
39905         (libc_feupdateenv): Use libc_feupdateenv_test.
39906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39907         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39908
39909         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39910         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39911         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39912         (libc_feresetround_noex): New.
39913         (libc_feresetround_noexf): New.
39914         (libc_feresetround_noexl): New.
39915         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39916         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39917         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39919         SET_RESTORE_ROUND.
39920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39922         (__cos): Likewise.
39923         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39925         SET_RESTORE_ROUND_NOEX.
39926         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39927         SET_RESTORE_ROUND_NOEXF.
39928         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39929         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39930         (libc_feholdsetroundf): New.
39931         (libc_feresetround, libc_feresetroundf): New.
39932
39933         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39934         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39935         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39936
39937         * sysdeps/generic/math_private.h: Include <fenv.h>.
39938         (default_libc_feholdexcept): New.
39939         (default_libc_feholdexcept_setround): New.
39940         (default_libc_fesetenv, default_libc_feupdateenv): New.
39941         (libc_feholdexcept): Only define if undefined.
39942         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39943         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39944         (libc_feholdexcept_setroundl): Likewise.
39945         (libc_feholdexcept_setround_53bit): Likewise.
39946         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39947         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39948         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39949         (libc_feupdateenv_53bit): Likewise.
39950         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39951         (libc_feholdexcept): Convert from macro to inline function.
39952         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39953         (libc_fesetenv, libc_feupdateenv): Likewise.
39954
39955         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39956         not previously defined.
39957         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39958         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39959         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39960         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39961         * sysdeps/ieee754/flt-32/math_private.h: New file.
39962         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39963         math_private.h below SET_FLOAT_WORD.
39964         (__isnan, __isinf_ns, __finite): Remove.
39965         (__isnanf, __isinf_nsf, __finitef): Remove.
39966
39967 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39968
39969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39970
39971 2012-03-17  David S. Miller  <davem@davemloft.net>
39972
39973         [BZ #6471]
39974         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39975         for 2.16.
39976
39977 2012-03-16  David S. Miller  <davem@davemloft.net>
39978
39979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39980         warnings.
39981
39982         [BZ #6471]
39983         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39984         properly.
39985         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39986         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39987         sysdep_routines when subdir is sysvipc.
39988         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39989         __getshmlba helper.
39990
39991         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39992
39993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39994
39995         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39996         [__LP64__].
39997
39998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39999
40000         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40001         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40002         (__lround): Renamed to ...
40003         (__llround): This.  Replace long int with long long int.
40004         Define lround functions as aliases of llround functions.
40005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40006
40007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40008
40009         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40010         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40011         adresses to uintptr_t.  Replace "long int" and "unsigned long
40012         int" with "greg_t" on va_arg.
40013
40014 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40015
40016         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40017         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40018
40019         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40020         Move e_machine check before EI_CLASS check.  Handle x32
40021         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40022         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40023         SKIP_EM_IA_64 and include
40024         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40025
40026         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40027         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40028         (add_system_dir): New macro.
40029
40030         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40031         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40032
40033 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40034
40035         [BZ #2551]
40036         [BZ #2552]
40037         [BZ #2553]
40038         [BZ #2554]
40039         [BZ #2562]
40040         [BZ #2563]
40041         [BZ #2565]
40042         [BZ #2566]
40043         [BZ #2576]
40044         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40045         (y0): Likewise.
40046         * math/w_j0f.c (j0f): Likewise.
40047         (y0f): Likewise.
40048         * math/w_j0l.c (__j0l): Likewise.
40049         (__y0l): Likewise.
40050         * math/w_j1.c (j1): Likewise.
40051         (y1): Likewise.
40052         * math/w_j1f.c (j1f): Likewise.
40053         (y1f): Likewise.
40054         * math/w_j1l.c (__j1l): Likewise.
40055         (__y1l): Likewise.
40056         * math/w_jn.c (jn): Likewise.
40057         (yn): Likewise.
40058         * math/w_jnf.c (jnf): Likewise.
40059         (ynf): Likewise.
40060         * math/w_jnl.c (__jnl): Likewise.
40061         (__ynl): Likewise.
40062         * math/libm-test.inc (j0_test): Add more tests.
40063         (j1_test): Likewise.
40064         (jn_test): Likewise.  Add trailing semicolon to existing test.
40065         (y0_test): Likewise.
40066         (y1_test): Likewise.
40067         * sysdeps/i386/fpu/libm-test-ulps: Update.
40068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40069
40070         [BZ #13851]
40071         [BZ #13854]
40072         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40073         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40074         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40075         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40076         (__tanl): Set errno for infinite argument.
40077         * sysdeps/i386/fpu/mptan.c: Remove.
40078         * sysdeps/i386/fpu/s_tan.S: Likewise.
40079         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40080         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40081         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40082         * math/libm-test.inc (tan_test): Add more tests and enable more
40083         tests for double and long double.
40084         * sysdeps/i386/fpu/libm-test-ulps: Update.
40085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40086
40087 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40088
40089         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40090         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40091
40092 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40093
40094         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40095         * configure.in: Use it for both main tree and add-ons.
40096         * configure: Regenerated.
40097
40098 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40099
40100         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40101
40102 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40103
40104         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40105         in comment.
40106
40107         [BZ #13851]
40108         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40109         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40110         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40111         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40112         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40113         infinite argument.
40114         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40116         != 0 for prec == 2.
40117         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40118         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40119         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40120         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40121         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40122         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40123         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40124         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40125         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40126         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40127         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40128         * math/libm-test.inc (cos_test): Add more tests and enable more
40129         tests for long double.
40130         (sin_test): Likewise.
40131         (sincos_test): Likewise.
40132         * sysdeps/i386/fpu/libm-test-ulps: Update.
40133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40134
40135 2012-03-16  David S. Miller  <davem@davemloft.net>
40136
40137         * sysdeps/sparc/fpu/math_private.h: New file.
40138
40139 2012-03-15  David S. Miller  <davem@davemloft.net>
40140
40141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40142         file.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40145         file.
40146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40152         sysdep routines.
40153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40154
40155         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40156         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40157
40158         * sysdeps/sparc/sparc-ifunc.h: New file.
40159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40160         sparc-ifunc.h
40161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40163         Likewise.
40164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40165         Likewise.
40166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40170         Likewise.
40171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40176         Likewise.
40177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40178         Likewise.
40179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40203
40204 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40205
40206         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40207         scaling.
40208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40209
40210 2012-03-15  Andreas Jaeger  <aj@suse.de>
40211
40212         [BZ #13852]
40213         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40214         ieee754/flt-32 implementation for sin, cos and sincos.
40215         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40216         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40217         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40218         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40219         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40220         ieee754/flt-32 implementation for tan.
40221
40222         * math/libm-test.inc (cos_test): Enable some large input tests for
40223         float as well
40224         (sin_test): Likewise.
40225         (sincos_test): Likewise.
40226         (tan_test): Add tests for large input.
40227
40228         * sysdeps/i386/fpu/libm-test-ulps: Update.
40229
40230 2012-03-15  Andreas Jaeger  <aj@suse.de>
40231
40232         [BZ #13658]
40233         * math/libm-test.inc (cos_test): Add more test cases.
40234         (sin_test): Likewise.
40235         (sincos_test): Likewise.
40236
40237 2012-03-15  Andreas Jaeger  <aj@suse.de>
40238
40239         [BZ #13837]
40240         * math/libm-test.inc (cos_test): Add a test case for large input
40241         value.
40242         (sin_test): Likewise.
40243         (sincos_test): Likewise.
40244
40245 2012-03-15  Andreas Jaeger  <aj@suse.de>
40246             Joseph Myers  <joseph@codesourcery.com>
40247
40248         [BZ #13658]
40249         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40250         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40251         * sysdeps/i386/fpu/branred.c: Likewise.
40252         * sysdeps/i386/fpu/dosincos.c: Likewise.
40253         * sysdeps/i386/fpu/mpa.c: Likewise.
40254         * sysdeps/i386/fpu/s_cos.S: Likewise.
40255         * sysdeps/i386/fpu/s_sin.S: Likewise.
40256         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40257         * sysdeps/i386/fpu/sincos32.c: Likewise.
40258
40259         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40260         Define.
40261         (libc_feupdateenv_53bit): Define.
40262         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40263         Define.
40264         (libc_feupdateenv_53bit): Define.
40265
40266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40267         53 bit (without extend i386 double precision).
40268
40269         * math/libm-test.inc (sincos_test): Add tests for large input.
40270         (sin): Likewise.
40271         (cos): Likewise.
40272
40273         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40274
40275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40276
40277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40278
40279 2012-03-15  David S. Miller  <davem@davemloft.net>
40280
40281         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40282         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40283         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40284         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40297         file.
40298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40300         file.
40301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40303         file.
40304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40306         file.
40307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40309         fmin/fmax sysdep routines.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40311
40312 2012-03-14  David S. Miller  <davem@davemloft.net>
40313
40314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40343         routines.
40344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40345         file.
40346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40348         file.
40349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40351         file.
40352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40354         file.
40355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40357         file.
40358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40360         file.
40361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40362         file.
40363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40364         file.
40365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40366         file.
40367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40368         New file.
40369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40370         file.
40371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40372         file.
40373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40375         file.
40376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40378         file.
40379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40381         file.
40382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40384         VIS3 routines.
40385
40386         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40387         New file.
40388
40389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40390
40391         * sysdeps/sparc/configure.in: New file.
40392         * sysdeps/sparc/configure: Generate.
40393         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40394         * configure: Regenerate.
40395         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40396         * config.make.in (have-as-vis3): New.
40397         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40398         available use -Av9d instead of -Av9a.
40399         * sysdeps/sparc/sparc64/Makefile: Likewise.
40400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40402         New file.
40403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40404         file.
40405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40406         New file.
40407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40408         file.
40409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40414
40415         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40416         fzeros/fnegs to load 0x80000000 into a float register instead of
40417         using the stack.
40418         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40419
40420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40421
40422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40423         bits/syscall.h.
40424         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40425         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40426         ($(inst_includedir)/bits/syscall.h): Remove rule.
40427         ($(objpfx)bits/syscall.d): Include instead of
40428         $(objpfx)syscall-list.d.
40429         (generated): Change syscall-list.h and syscall-list.d to
40430         bits/syscall.h and bits/syscall.d.
40431
40432 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40433
40434         [BZ #13846]
40435         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40436
40437 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40438
40439         [BZ #13841]
40440         * math/s_csqrt.c: Include <float.h>.
40441         (__csqrt): Scale large or subnormal inputs.
40442         * math/s_csqrtf.c: Likewise.
40443         * math/s_csqrtl.c: Likewise.
40444         * math/libm-test.inc (csqrt_test): Add more tests.
40445         * sysdeps/i386/fpu/libm-test-ulps: Update.
40446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40447
40448         [BZ #13840]
40449         * math/libm-test.inc (hypot_test): Add more tests.
40450
40451 2012-03-13  David S. Miller  <davem@davemloft.net>
40452
40453         [BZ #13840]
40454         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40455         double-precision for the calculation instead of scaling.
40456
40457 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40458
40459         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40460         manipulate bits before adding and subtracting TWO52[sx].
40461         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40462         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40463         Likewise.
40464         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40465
40466 2012-03-13  David S. Miller  <davem@davemloft.net>
40467
40468         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40469         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40471         rtld-global-offsets.h
40472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40473
40474         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40475         large parameters.
40476
40477         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40478
40479         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40480         'err' in the ifdef scope in which it is actually used.
40481
40482         * nss/nss_db/db-init.c: Include string.h
40483
40484 2012-03-12  David S. Miller  <davem@davemloft.net>
40485
40486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40487         masking out of the most significant byte of random value used.
40488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40489         Fix coding style in previous change.
40490
40491         * sysdeps/unix/sysv/linux/kernel-features.h
40492         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40493         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40494         expression.
40495         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40496         later.
40497
40498 2012-03-11  David S. Miller  <davem@davemloft.net>
40499
40500         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40501         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40502         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40503         for 'resultvar' otherwise things get truncated on 64-bit.
40504
40505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40506         Fix masking out of the most significant byte of random value used.
40507
40508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40509
40510 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40511
40512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40513
40514 2012-03-09  David S. Miller  <davem@davemloft.net>
40515
40516         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40517         variables with appropriate CPP guards.
40518         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40519         from the frame pointer, not the stack pointer.  Correct layout
40520         comments.  Fix test on resulting framesize and the management of
40521         the outregs buffer for pltexit.  Preserve floating point return
40522         values across _dl_call_pltexit call.
40523         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40524         framesize and the management of the outregs buffer for pltexit.
40525         Preserve floating point return values across _dl_call_pltexit
40526         call.
40527         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40528         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40529         (la_sparc64_gnu_pltexit): New functions.
40530         (print_exit): Fix format string for return register value.
40531
40532 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40533
40534         * sunrpc/Makefile (others): Add rpcgen.
40535         ($(objpfx)rpcgen): Remove special build rule and dependency on
40536         libc.
40537         * sunrpc/rpcgen.c: New file.
40538
40539 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40540
40541         [BZ #13673]
40542         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40543         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40544         * sysdeps/i386/crti.S: Likewise.
40545         * sysdeps/i386/crtn.S: Likewise.
40546         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40547         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40548         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40549         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40550         * sysdeps/sh/crti.S: Likewise.
40551         * sysdeps/sh/crtn.S: Likewise.
40552         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40553
40554         [BZ #13673]
40555         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40556         with URL.
40557         * locale/programs/locfile-kw.gperf: Likewise.
40558         * locale/programs/charmap-kw.h: Regenerated.
40559         * locale/programs/locfile-kw.h: Likewise.
40560
40561         [BZ #13673]
40562         * intl/plural.y: Replace FSF snail mail address with URL.
40563         * intl/plural.c: Regenerated.
40564
40565 2012-03-09  Richard Henderson  <rth@twiddle.net>
40566
40567         * include/math_private.h: Remove file.
40568         * math/math_private.h: Move file ...
40569         * sysdeps/generic/math_private.h: ... here.
40570
40571         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40572         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40573         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40574
40575         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40576         and <math_private.h>.
40577         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40578         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40579         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40580         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40581         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40601         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40602         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40607         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40609         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40611         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40613         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40614         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40615         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40617         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40618         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40623         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40628         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40633         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40635         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40636         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40638         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40639         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40640         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40641         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40645         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40647         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40648         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40649         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40651         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40653         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40656         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40670         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40672         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40674         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40675         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40677         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40678         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40679         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40680         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40689         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40691         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40693         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40694         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40696         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40697         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40698         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40699         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40700         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40701         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40704         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40705         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40706         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40707         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40708         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40709         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40710         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40711         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40712         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40713         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40715         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40716         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40718         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40719         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40720         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40721         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40722         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40723         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40724         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40725         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40726         * sysdeps/ieee754/k_standard.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40744         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40747         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40757         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40763         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40764         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40766         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40771         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40778         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40779         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40780         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40793         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40800         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40804         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40805         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40818         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40820         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40823         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40824         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40825         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40826         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40834         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40835         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40836         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40844         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40848         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40849         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40852         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40853         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40854         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40855         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40856         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40857         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40859         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40860         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40864         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40865         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40866         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40867         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40868         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40869         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40870         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40871         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40876         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40877         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40878         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40880         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40881         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40883         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40884         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40886         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40887         * sysdeps/ieee754/s_lib_version.c: Likewise.
40888         * sysdeps/ieee754/s_matherr.c: Likewise.
40889         * sysdeps/ieee754/s_signgam.c: Likewise.
40890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40892         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40893         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40894         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40895         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40896         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40897         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40898         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40899         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40900         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40901         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40902         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40903         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40904         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40905         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40906         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40907         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40908         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40911
40912 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40913
40914         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40915         * sunrpc/rpc_main.c: Likewise.
40916         * sunrpc/rpc_svcout.c: Likewise.
40917
40918 2012-03-09  David S. Miller  <davem@davemloft.net>
40919
40920         * include/math_private.h: New file.
40921
40922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40923
40924         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40925         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40926         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40927         from <bits/socket_type.h>.
40928         (enum __socket_type): Don't define here.
40929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40931         bits/socket_type.h.
40932
40933         [BZ #13566]
40934         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40935         checking __USE_GNU.
40936
40937         * Makerules ($(inst_includedir)/%.h): New rule.
40938         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40939         (install-others): Remove variable setting.
40940         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40941
40942 2012-03-08  Richard Henderson  <rth@twiddle.net>
40943
40944         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40945         from macro to inline function; merge with the
40946         !__LIBC_INTERNAL_MATH_INLINES version.
40947         (__ieee754_sqrtf): Likewise.
40948
40949         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40950         to inline function.
40951         (__rintf, __floor, __floorf): Likewise.
40952
40953         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40954         macro to inline function.
40955         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40956
40957         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40958         not <math/math_private.h>.
40959
40960 2012-03-08  David S. Miller  <davem@davemloft.net>
40961
40962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40963         copyright year.
40964         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40965
40966 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40967
40968         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40969         normalization.
40970         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40971         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40972
40973 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40974
40975         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40976         be defined individually, they must be defined as a block.  Define
40977         S for printing a string instead of hidint the different by using a
40978         macro for adding the 'l'.
40979         * stdio-common/tst-fphex-wide.c: Adjust.
40980
40981 2012-03-07  Marek Polacek  <polacek@redhat.com>
40982
40983         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40984
40985 2012-03-08  Marek Polacek  <polacek@redhat.com>
40986
40987         [BZ #13806]
40988         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40989         * stdio-common/tst-fphex.c: Define a few macros to make the
40990         test reusable.  Use them.
40991         * stdio-common/tst-fphex-wide.c: New file.
40992
40993 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40994
40995         [BZ #6911]
40996         * manual/macros.texi (gnusystems): New macro.
40997         (nongnusystems): Likewise.
40998         (gnulinuxhurdsystems): Likewise.
40999         (gnuhurdsystems): Likewise..
41000         (gnulinuxsystems): Likewise.
41001         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41002         variants of the GNU system, not "GNU system".
41003         * manual/conf.texi: Likewise.
41004         * manual/errno.texi: Likewise.  Update example of errno macro
41005         expansion.
41006         * manual/filesys.texi: Likewise.
41007         (getumask): Document as specific to GNU/Hurd.
41008         * manual/install.texi: Likewise.  Reword some references to
41009         GNU/Linux.
41010         * manual/intro.texi: Likewise.
41011         * manual/io.texi: Likewise.
41012         (File Name Portability): Detail which constraints are inapplicable
41013         to all GNU systems and which are only inapplicable to GNU/Hurd.
41014         * manual/job.texi: Likewise.
41015         * manual/llio.texi: Likewise.
41016         (O_NOCTTY): Document as present on GNU/Linux.
41017         * manual/maint.texi: Likewise.
41018         * manual/memory.texi: Likewise.
41019         * manual/pattern.texi: Likewise.
41020         * manual/pipe.texi: Likewise.
41021         * manual/process.texi: Likewise.
41022         * manual/resource.texi: Likewise.
41023         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41024         child on GNU/Hurd.
41025         * manual/setjmp.texi: Likewise.
41026         * manual/signal.texi: Likewise.
41027         * manual/startup.texi: Likewise.
41028         * manual/stdio.texi: Likewise.
41029         * manual/terminal.texi: Likewise.
41030         (ONLCR): Document as POSIX.
41031         (OXTABS): Document availability on GNU/Linux as XTABS.
41032         (ONOEOT): Document availability separately from other bits.
41033         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41034         * manual/time.texi: Likewise.
41035         * manual/users.texi: Likewise.
41036         * INSTALL: Regenerated.
41037         * sysdeps/gnu/errlist.c: Regenerated.
41038
41039         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41040         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41041         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41042         puts.
41043         * configure: Regenerated.
41044
41045 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41046
41047         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41048         default includes instead of AC_HEADER_CHECK.
41049         * sysdeps/i386/configure: Regenerated.
41050
41051         [BZ #10716]
41052         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41053         * math/s_cacoshf.c (__cacoshf): Likewise.
41054         * math/s_cacoshl.c (__cacoshl): Likewise.
41055         * math/s_casinh.c (__casinh): Set signs of result from argument.
41056         * math/s_casinhf.c (__casinhf): Likewise.
41057         * math/s_casinhl.c (__casinhl): Likewise.
41058         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41059         (casinh_test): Add more tests.
41060         * sysdeps/i386/fpu/libm-test-ulps: Update.
41061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41062
41063 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41064
41065         * po/zh_TW.po: Update from translation team.
41066
41067         * login/Makefile (distribute): Remove variable.
41068         * catgets/Makefile: Likewise.
41069         * mach/Makefile: Likewise.
41070         * malloc/Makefile: Likewise.
41071         * misc/Makefile: Likewise.
41072         * iconv/Makefile: Likewise.
41073         * nscd/Makefile: Likewise.
41074         * hurd/Makefile: Likewise.
41075         * manual/Makefile: Likewise.
41076         * locale/Makefile: Likewise.
41077         * intl/Makefile: Likewise.
41078         * conform/Makefile: Likewise.
41079         * nss/Makefile: Likewise.
41080         * time/Makefile: Likewise.
41081         * soft-fp/Makefile: Likewise.
41082         * dirent/Makefile: Likewise.
41083         * gmon/Makefile: Likewise.
41084         * po/Makefile: Likewise.
41085         * rt/Makefile: Likewise.
41086         * socket/Makefile: Likewise.
41087         * math/Makefile: Likewise.
41088         * signal/Makefile: Likewise.
41089         * debug/Makefile: Likewise.
41090         * elf/Makefile: Likewise.
41091         * timezone/Makefile: Likewise.
41092         * stdlib/Makefile: Likewise.
41093         * iconvdata/Makefile: Likewise.
41094         * sunrpc/Makefile: Likewise.
41095         * io/Makefile: Likewise.
41096         * argp/Makefile: Likewise.
41097         * inet/Makefile: Likewise.
41098         * hesiod/Makefile: Likewise.
41099         * grp/Makefile: Likewise.
41100         * csu/Makefile: Likewise.
41101         * wctype/Makefile: Likewise.
41102         * crypt/Makefile: Likewise.
41103         * libio/Makefile: Likewise.
41104         * string/Makefile: Likewise.
41105         * nis/Makefile: Likewise.
41106         * resolv/Makefile: Likewise.
41107         * stdio-common/Makefile: Likewise.
41108         * wcsmbs/Makefile: Likewise.
41109         * dlfcn/Makefile: Likewise.
41110         * posix/Makefile: Likewise.
41111
41112         [BZ #6959]
41113         * timezone/Makefile: Don't install timezone files, just the programs
41114         and scripts.
41115
41116 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41117
41118         * nss/databases.def: Add missing gshadow entry.
41119
41120         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41121
41122 2012-03-06  Marek Polacek  <polacek@redhat.com>
41123
41124         [BZ #13726]
41125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41127         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41128         * stdio-common/tst-long-dbl-fphex.c: New file.
41129
41130 2012-03-06  David S. Miller  <davem@davemloft.net>
41131
41132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41133         (set_obp_int): New function.
41134         (get_obp_int): New function.
41135         (__get_clockfreq_via_dev_openprom): Likewise.
41136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41137         Avoid unused variable warnings on 'val' and use builtin_expect.
41138         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41139         __builtin_expect.
41140         (INLINE_CLONE_SYSCALL): Likewise.
41141
41142 2012-03-05  David S. Miller  <davem@davemloft.net>
41143
41144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41145
41146 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41147
41148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41149
41150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41151         only for |x| >= 40.
41152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41153
41154 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41155
41156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41157         Replace gettimeofday with __vdso_gettimeofday.
41158
41159         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41160         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41161         __vdso_clock_gettime and __vdso_getcpu.
41162
41163         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41164         time with __vdso_time.
41165
41166 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41167
41168         * manual/lang.texi (size_t): Note types to which size_t may be
41169         equivalent with the GNU C Library, but do not describe when
41170         differences between them are significant.
41171
41172 2012-03-05  Andreas Jaeger  <aj@suse.de>
41173
41174         * sysdeps/i386/fpu/libm-test-ulps: Update.
41175
41176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41177
41178         [BZ #3976]
41179         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41180         (__ieee754_pow): Save and restore rounding mode and use
41181         round-to-nearest for main computations.
41182         * math/libm-test.inc (pow_test_tonearest): New function.
41183         (pow_test_towardzero): Likewise.
41184         (pow_test_downward): Likewise.
41185         (pow_test_upward): Likewise.
41186         (main): Call the new functions.
41187         * sysdeps/i386/fpu/libm-test-ulps: Update.
41188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41189
41190         [BZ #3976]
41191         * math/libm-test.inc (cosh_test_tonearest): New function.
41192         (cosh_test_towardzero): Likewise.
41193         (cosh_test_downward): Likewise.
41194         (cosh_test_upward): Likewise.
41195         (sinh_test_tonearest): Likewise.
41196         (sinh_test_towardzero): Likewise.
41197         (sinh_test_downward): Likewise.
41198         (sinh_test_upward): Likewise.
41199         (main): Call the new functions.
41200         * sysdeps/i386/fpu/libm-test-ulps: Update.
41201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41202
41203 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41204
41205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41206         default stack guard is set in last bytes.
41207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41208
41209 2012-03-05  Kees Cook  <keescook@chromium.org>
41210
41211         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41212
41213         [BZ #13656]
41214         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41215         possibly allocate from heap instead of stack.
41216         * stdio-common/bug-vfprintf-nargs.c: New file.
41217         * stdio-common/Makefile (tests): Add nargs overflow test.
41218
41219 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41220
41221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41222
41223 2012-03-03  Marek Polacek  <polacek@redhat.com>
41224
41225         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41226         * math/math_private.h: Likewise.
41227         * stdlib/tst-strtod.c: Likewise.
41228         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41229         * sysdeps/x86_64/bits/atomic.h: Likewise.
41230
41231 2012-03-02  David S. Miller  <davem@davemloft.net>
41232
41233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41237         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41238         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41239         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41240         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41241
41242 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41243
41244         [BZ #13792]
41245         * manual/examples/README: New file, says the example source files
41246         can be used under GPL>=2.
41247         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41248         line containing just "*/".
41249         * manual/examples/add.c: Add copyright header (GPL>=2).
41250         * manual/examples/argp-ex1.c: Likewise.
41251         * manual/examples/argp-ex2.c: Likewise.
41252         * manual/examples/argp-ex3.c: Likewise.
41253         * manual/examples/argp-ex4.c: Likewise.
41254         * manual/examples/atexit.c: Likewise.
41255         * manual/examples/db.c: Likewise.
41256         * manual/examples/dir.c: Likewise.
41257         * manual/examples/dir2.c: Likewise.
41258         * manual/examples/execinfo.c: Likewise.
41259         * manual/examples/filecli.c: Likewise.
41260         * manual/examples/filesrv.c: Likewise.
41261         * manual/examples/fmtmsgexpl.c: Likewise.
41262         * manual/examples/genpass.c: Likewise.
41263         * manual/examples/inetcli.c: Likewise.
41264         * manual/examples/inetsrv.c: Likewise.
41265         * manual/examples/isockad.c: Likewise.
41266         * manual/examples/longopt.c: Likewise.
41267         * manual/examples/memopen.c: Likewise.
41268         * manual/examples/memstrm.c: Likewise.
41269         * manual/examples/mkfsock.c: Likewise.
41270         * manual/examples/mkisock.c: Likewise.
41271         * manual/examples/mygetpass.c: Likewise.
41272         * manual/examples/pipe.c: Likewise.
41273         * manual/examples/popen.c: Likewise.
41274         * manual/examples/rprintf.c: Likewise.
41275         * manual/examples/search.c: Likewise.
41276         * manual/examples/select.c: Likewise.
41277         * manual/examples/setjmp.c: Likewise.
41278         * manual/examples/sigh1.c: Likewise.
41279         * manual/examples/sigusr.c: Likewise.
41280         * manual/examples/stpcpy.c: Likewise.
41281         * manual/examples/strdupa.c: Likewise.
41282         * manual/examples/strftim.c: Likewise.
41283         * manual/examples/strncat.c: Likewise.
41284         * manual/examples/subopt.c: Likewise.
41285         * manual/examples/swapcontext.c: Likewise.
41286         * manual/examples/termios.c: Likewise.
41287         * manual/examples/testopt.c: Likewise.
41288         * manual/examples/testpass.c: Likewise.
41289         * manual/examples/timeval_subtract.c: Likewise.
41290
41291         [BZ #13792]
41292         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41293         function to ...
41294         * manual/timeval_subtract.c.texi: ... here, new file.
41295
41296 2012-03-02  David S. Miller  <davem@davemloft.net>
41297
41298         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41299
41300 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41301
41302         [BZ #3976]
41303         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41304         (__sin): Save and restore rounding mode and use round-to-nearest
41305         for all computations.
41306         (__cos): Save and restore rounding mode and use round-to-nearest
41307         for all computations.
41308         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41309         <fenv.h>.
41310         (tan): Save and restore rounding mode and use round-to-nearest for
41311         all computations.
41312         * math/libm-test.inc (cos_test_tonearest): New function.
41313         (cos_test_towardzero): Likewise.
41314         (cos_test_downward): Likewise.
41315         (cos_test_upward): Likewise.
41316         (sin_test_tonearest): Likewise.
41317         (sin_test_towardzero): Likewise.
41318         (sin_test_downward): Likewise.
41319         (sin_test_upward): Likewise.
41320         (tan_test_tonearest): Likewise.
41321         (tan_test_towardzero): Likewise.
41322         (tan_test_downward): Likewise.
41323         (tan_test_upward): Likewise.
41324         (main): Call the new functions.
41325         * sysdeps/i386/fpu/libm-test-ulps: Update.
41326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41327
41328         [BZ #10135]
41329         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41330         small n, then large n, before computing and testing k+n.
41331         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41333         Likewise.
41334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41335         Likewise.
41336         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41337         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41343         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41344         * math/libm-test.inc (scalbn_test): Add more tests.
41345         (scalbln_test): Likewise.
41346
41347         * manual/filesys.texi (mode_t): Describe constraints on size and
41348         signedness, not exact equivalence to a particular type.
41349         (ino_t): Likewise.
41350         (ino64_t): Likewise.
41351         (dev_t): Likewise.
41352         (nlink_t): Likewise.
41353         (blkcnt_t): Likewise.
41354         (blkcnt64_t): Likewise.
41355         * manual/llio.texi (off_t): Likewise.
41356
41357         [BZ #3976]
41358         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41359         (__ieee754_exp): Save and restore rounding mode and use
41360         round-to-nearest for all computations.
41361         * math/libm-test.inc (exp_test_tonearest): New function.
41362         (exp_test_towardzero): Likewise.
41363         (exp_test_downward): Likewise.
41364         (exp_test_upward): Likewise.
41365         (main): Call the new functions.
41366         * sysdeps/i386/fpu/libm-test-ulps: Update.
41367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41368
41369 2012-03-01  Chris Demetriou  <cgd@google.com>
41370
41371         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41372         have predictable order.
41373
41374 2012-03-01  David S. Miller  <davem@davemloft.net>
41375
41376         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41377
41378         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41379         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41380         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41381         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41382
41383         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41384         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41385         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41387         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41388         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41389         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41390         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41391         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41392
41393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41394
41395         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41396         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41398
41399         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41400         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41402         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41403         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41404         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41406         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41407         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41408         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41409         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41410         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41412         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41415         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41416         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41417         * sysdeps/sparc/elf/configure: Regenerated.
41418
41419 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41420
41421         * configure.in (AS, LD): Require binutils 2.20 or later.
41422         * configure: Regenerated.
41423         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41424         as required minimum version.
41425         * INSTALL: Regenerated.
41426
41427         [BZ #2541]
41428         [BZ #4108]
41429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41430         before squaring exponent.
41431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41432         bottom long double and 27 bits of top long double before squaring
41433         exponent.
41434         * math/libm-test.inc (erfc_test): Add more tests.
41435         * sysdeps/i386/fpu/libm-test-ulps: Update.
41436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41438
41439 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41440
41441         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41442         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41443         containing bit-fields.
41444         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41445         * soft-fp/single.h (_FP_UNION_S): Likewise.
41446         * soft-fp/double.h (_FP_UNION_D): Likewise.
41447
41448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41449
41450         [BZ #13786]
41451         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41452         not include ../strcmp.S.
41453         [USE_AS_STRNCASECMP_L]: Likewise.
41454         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41455         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41456         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41457         (__strncasecmp_l_ia32): Define as alias to
41458         __strncasecmp_l_nonascii.
41459
41460         [BZ #5794]
41461         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41462         * sysdeps/i386/fpu/libm-test-ulps: Update.
41463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41464
41465         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41467
41468 2012-02-29  Jeff Law  <law@redhat.com>
41469
41470         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41471         out of bounds read.
41472
41473 2012-02-29  Marek Polacek  <polacek@redhat.com>
41474
41475         [BZ #13706]
41476         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41477         * elf/Makefile: Add rules to run tst-unused-dep.out.
41478
41479 2012-02-28  David S. Miller  <davem@davemloft.net>
41480
41481         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41482         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41483         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41485         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41486         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41487
41488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41489
41490         * math/libm-test.inc (llround_test): Move one test from
41491         lround_test.  Use TEST_f_L in moved test.
41492         (lround_test): Move misplaced test to llround_test.  Add testcase
41493         from bug 2561.
41494
41495 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41496
41497         * sysdeps/x86_64/fpu/e_expf.S: New file.
41498         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41499
41500 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41501
41502         [BZ #13637]
41503         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41504         of remain_len that may cause incomplete multi-byte character and
41505         false match.
41506         * posix/bug-regex33.c: New file.
41507         * posix/Makefile (tests): Add bug-regex33.
41508
41509 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41510
41511         * manual/macros.texi: New file.
41512         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41513         * manual/libc.texinfo: Include macros.texi.
41514         * manual/creatute.texi: Likewise.
41515         * manual/install.texi: Likewise.
41516         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41517         @glibcadj{} in references to the GNU C Library.
41518         * manual/charset.texi: Likewise.
41519         * manual/conf.texi: Likewise.
41520         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41521         when not using those macros.
41522         * manual/creature.texi: Likewise.
41523         * manual/crypt.texi: Likewise.
41524         * manual/errno.texi: Likewise.
41525         * manual/filesys.texi: Likewise.
41526         * manual/header.texi: Likewise.
41527         * manual/install.texi: Likewise.
41528         * manual/intro.texi: Likewise.
41529         * manual/io.texi: Likewise.
41530         * manual/job.texi: Likewise.
41531         * manual/lang.texi: Likewise.
41532         * manual/libc.texiinfo: Likewise.
41533         * manual/llio.texi: Likewise.
41534         * manual/locale.texi: Likewise.
41535         * manual/maint.texi: Likewise.
41536         * manual/math.texi: Likewise.
41537         * manual/memory.texi: Likewise.
41538         * manual/message.texi: Likewise.
41539         * manual/nss.texi: Likewise.
41540         * manual/pattern.texi: Likewise.
41541         * manual/process.texi: Likewise.
41542         * manual/resource.texi: Likewise.
41543         * manual/search.texi: Likewise.
41544         * manual/setjmp.texi: Likewise.
41545         * manual/signal.texi: Likewise.
41546         * manual/socket.texi: Likewise.
41547         * manual/startup.texi: Likewise.
41548         * manual/stdio.texi: Likewise.
41549         * manual/string.texi: Likewise.
41550         * manual/sysinfo.texi: Likewise.
41551         * manual/syslog.texi: Likewise.
41552         * manual/terminal.texi: Likewise.
41553         * manual/time.texi: Likewise.
41554         * manual/users.texi: Likewise.
41555         * INSTALL: Regenerated.
41556         * NOTES: Regenerated.
41557         * sysdeps/gnu/errlist.c: Regenerated.
41558
41559 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41560
41561         * include/dirent.h: Include <dirstream.h> before
41562         <dirent/dirent.h>.
41563
41564 2012-02-28  David S. Miller  <davem@davemloft.net>
41565
41566         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41567         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41568         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41569         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41570
41571 2012-02-27  David S. Miller  <davem@davemloft.net>
41572
41573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41575         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41576         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41577
41578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41579         frame pointer instead of stack pointer relative arg slot.
41580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41583
41584 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41585
41586         [BZ #3992]
41587         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41588
41589 2012-02-27  David S. Miller  <davem@davemloft.net>
41590
41591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41597         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41599
41600 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41601
41602         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41603         later.  Allow versions 5-9.
41604         * configure: Regenerated.
41605         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41606         required minimum version and 4.6 as recommended version.  Do not
41607         mention bugs in GCC 2.7 and 2.8.
41608         * INSTALL: Regenerated.
41609
41610 2012-02-27  David S. Miller  <davem@davemloft.net>
41611
41612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41618         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41620
41621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41622         manipulate bits before adding and subtracting TWO112[sx].
41623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41624
41625 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41626
41627         [BZ #13775]
41628         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41629         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41630         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41631         being in POSIX, because they are in 1003.1-2008.
41632
41633         * rt/tst-aio.c: Include <fcntl.h>.
41634         * rt/tst-aio7.c: Likewise.
41635         * rt/tst-aio64.c: Likewise.
41636
41637         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41638
41639 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41640
41641         * manual/install.texi (--with-headers): Describe headers as
41642         interface headers, not private headers.
41643         (Specific advice for GNU/Linux systems): Describe use of headers
41644         from "make headers_install", not private headers from older
41645         kernels.
41646         * INSTALL: Regenerated.
41647         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41648         Change to 2.6.19.
41649         * sysdeps/unix/sysv/linux/configure: Regenerated.
41650
41651         * manual/llio.texi (fclean): Remove documentation.
41652
41653         * manual/Makefile (libc-texi-generated): New variable.  Include
41654         version.texi.
41655         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41656         $(libc-texi-generated), not duplicated list of files.
41657         (version.texi, stamp-version): New rules.
41658         (realclean): Remove $(libc-texi-generated), not individual files
41659         from that list.  Do not remove dir-add.texinfo.
41660         * manual/libc.texinfo: Comment out uses of edition numbers and
41661         references to printed manual.  Remove last-updated dates.
41662         (EDITION): Comment out.
41663         (ISBN): Likewise.
41664         (VERSION, UPDATED): Remove.
41665         (version.texi): Include.
41666
41667 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41668
41669         * sysdeps/posix/spawni.c: Include <signal.h>.
41670         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41671         * sysdeps/pthread/aio_fsync.c: Likewise.
41672
41673 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41674
41675         * conform/Makefile (tests): Run only when not cross-compiling and
41676         when fast-check is not defined.
41677
41678         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41679         * conform/data/limits.h-data: Fixes for POSIX2008.
41680         * conform/run-conformtest.sh: Run all tests.
41681         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41682         headers.
41683         * include/bits/dlfcn.h: Likewise.
41684         * include/langinfo.h: Likewise.
41685         * include/monetary.h: Likewise.
41686         * include/sys/poll.h: Likewise.
41687
41688         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41689         for __USE_GNU.
41690         * posix/spawn.h: Define __need_sigset_t.
41691         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41692         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41693         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41694         to get sigevent_t only.
41695         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41696         only for __USE_GNU.
41697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41698         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41699         process_vm_writev only for __USE_GNU.
41700         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41701
41702         * conform/Makefile: For now ignore errors from run-conformtest.
41703         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41704         POSIX to avoid namespace pollution.  Don't prepend headers.
41705         * conform/data/aio.h-data: Fixes for POSIX testing.
41706         * conform/data/fcntl.h-data: Likewise.
41707         * conform/data/glob.h-data: Likewise.
41708         * conform/data/grp.h-data: Likewise.
41709         * conform/data/pthread.h-data: Likewise.
41710         * conform/data/pwd.h-data: Likewise.
41711         * conform/data/signal.h-data: Likewise.
41712         * conform/data/spawn.h-data: Likewise.
41713         * conform/data/stdio.h-data: Likewise.
41714         * conform/data/stdlib.h-data: Likewise.
41715         * conform/data/stropts.h-data: Likewise.
41716         * conform/data/sys/mman.h-data: Likewise.
41717         * conform/data/sys/stat.h-data: Likewise.
41718         * conform/data/sys/types.h-data: Likewise.
41719         * conform/data/sys/wait.h-data: Likewise.
41720         * conform/data/time.h-data: Likewise.
41721         * conform/data/unistd.h-data: Likewise.
41722         * conform/data/utime.h-data: Likewise.
41723
41724         * io/sys/stat.h: fchmod was always in POSIX.
41725         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41726         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41727         * rt/aio.h: Define __need_timespec before including <time.h>.
41728         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41729         struct.  Add forward declaration of pthread_attr_t and use it in
41730         sigevent.
41731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41733         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41734         always remove CLK_TCK definition.
41735
41736 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41737
41738         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41739
41740 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41741
41742         * conform/run-conformtest.sh: New file.
41743         * conform/Makefile: Run run-conformtest for tests.
41744         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41745         support.
41746
41747         * conform/data/uchar.h-data: New file.
41748         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41749         * conform/data/arpa/inet.h-data: Likewise.
41750         * conform/data/assert.h-data: Likewise.
41751         * conform/data/complex.h-data: Likewise.
41752         * conform/data/cpio.h-data: Likewise.
41753         * conform/data/ctype.h-data: Likewise.
41754         * conform/data/dirent.h-data: Likewise.
41755         * conform/data/dlfcn.h-data: Likewise.
41756         * conform/data/errno.h-data: Likewise.
41757         * conform/data/fcntl.h-data: Likewise.
41758         * conform/data/float.h-data: Likewise.
41759         * conform/data/fmtmsg.h-data: Likewise.
41760         * conform/data/fnmatch.h-data: Likewise.
41761         * conform/data/ftw.h-data: Likewise.
41762         * conform/data/glob.h-data: Likewise.
41763         * conform/data/grp.h-data: Likewise.
41764         * conform/data/iconv.h-data: Likewise.
41765         * conform/data/inttypes.h-data: Likewise.
41766         * conform/data/langinfo.h-data: Likewise.
41767         * conform/data/libgen.h-data: Likewise.
41768         * conform/data/limits.h-data: Likewise.
41769         * conform/data/locale.h-data: Likewise.
41770         * conform/data/math.h-data: Likewise.
41771         * conform/data/monetary.h-data: Likewise.
41772         * conform/data/mqueue.h-data: Likewise.
41773         * conform/data/ndbm.h-data: Likewise.
41774         * conform/data/net/if.h-data: Likewise.
41775         * conform/data/netdb.h-data: Likewise.
41776         * conform/data/netinet/in.h-data: Likewise.
41777         * conform/data/nl_types.h-data: Likewise.
41778         * conform/data/poll.h-data: Likewise.
41779         * conform/data/pthread.h-data: Likewise.
41780         * conform/data/pwd.h-data: Likewise.
41781         * conform/data/regex.h-data: Likewise.
41782         * conform/data/sched.h-data: Likewise.
41783         * conform/data/search.h-data: Likewise.
41784         * conform/data/semaphore.h-data: Likewise.
41785         * conform/data/setjmp.h-data: Likewise.
41786         * conform/data/signal.h-data: Likewise.
41787         * conform/data/spawn.h-data: Likewise.
41788         * conform/data/stdarg.h-data: Likewise.
41789         * conform/data/stdio.h-data: Likewise.
41790         * conform/data/stdlib.h-data: Likewise.
41791         * conform/data/string.h-data: Likewise.
41792         * conform/data/strings.h-data: Likewise.
41793         * conform/data/stropts.h-data: Likewise.
41794         * conform/data/sys/ipc.h-data: Likewise.
41795         * conform/data/sys/mman.h-data: Likewise.
41796         * conform/data/sys/msg.h-data: Likewise.
41797         * conform/data/sys/resource.h-data: Likewise.
41798         * conform/data/sys/select.h-data: Likewise.
41799         * conform/data/sys/sem.h-data: Likewise.
41800         * conform/data/sys/shm.h-data: Likewise.
41801         * conform/data/sys/socket.h-data: Likewise.
41802         * conform/data/sys/stat.h-data: Likewise.
41803         * conform/data/sys/statvfs.h-data: Likewise.
41804         * conform/data/sys/time.h-data: Likewise.
41805         * conform/data/sys/timeb.h-data: Likewise.
41806         * conform/data/sys/times.h-data: Likewise.
41807         * conform/data/sys/types.h-data: Likewise.
41808         * conform/data/sys/uio.h-data: Likewise.
41809         * conform/data/sys/un.h-data: Likewise.
41810         * conform/data/sys/utsname.h-data: Likewise.
41811         * conform/data/sys/wait.h-data: Likewise.
41812         * conform/data/syslog.h-data: Likewise.
41813         * conform/data/tar.h-data: Likewise.
41814         * conform/data/termios.h-data: Likewise.
41815         * conform/data/utime.h-data: Likewise.
41816         * conform/data/utmpx.h-data: Likewise.
41817         * conform/data/varargs.h-data: Likewise.
41818         * conform/data/wchar.h-data: Likewise.
41819         * conform/data/wctype.h-data: Likewise.
41820         * conform/data/wordexp.h-data: Likewise.
41821
41822         * include/stropts.h: New file.
41823         * include/uchar.h: New file.
41824         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41825         * include/assert.h: Likewise.
41826         * include/ctype.h: Likewise.
41827         * include/dirent.h: Likewise.
41828         * include/dlfcn.h: Likewise.
41829         * include/fcntl.h: Likewise.
41830         * include/fnmatch.h: Likewise.
41831         * include/glob.h: Likewise.
41832         * include/grp.h: Likewise.
41833         * include/libio.h: Likewise.
41834         * include/locale.h: Likewise.
41835         * include/math.h: Likewise.
41836         * include/net/if.h: Likewise.
41837         * include/netdb.h: Likewise.
41838         * include/netinet/in.h: Likewise.
41839         * include/pthread.h: Likewise.
41840         * include/pwd.h: Likewise.
41841         * include/regex.h: Likewise.
41842         * include/sched.h: Likewise.
41843         * include/search.h: Likewise.
41844         * include/setjmp.h: Likewise.
41845         * include/signal.h: Likewise.
41846         * include/stdio.h: Likewise.
41847         * include/stdlib.h: Likewise.
41848         * include/string.h: Likewise.
41849         * include/sys/cdefs.h: Likewise.
41850         * include/sys/mman.h: Likewise.
41851         * include/sys/msg.h: Likewise.
41852         * include/sys/resource.h: Likewise.
41853         * include/sys/select.h: Likewise.
41854         * include/sys/socket.h: Likewise.
41855         * include/sys/stat.h: Likewise.
41856         * include/sys/statvfs.h: Likewise.
41857         * include/sys/time.h: Likewise.
41858         * include/sys/times.h: Likewise.
41859         * include/sys/uio.h: Likewise.
41860         * include/sys/utsname.h: Likewise.
41861         * include/sys/wait.h: Likewise.
41862         * include/termios.h: Likewise.
41863         * include/time.h: Likewise.
41864         * include/ulimit.h: Likewise.
41865         * include/unistd.h: Likewise.
41866         * include/utime.h: Likewise.
41867         * include/wchar.h: Likewise.
41868         * include/wctype.h: Likewise.
41869         * include/wordexp.h: Likewise.
41870
41871         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41872
41873         * time/time.h: TIME_UTC must be a macro.
41874         Make timespec_get available for ISO C11 only as well.
41875
41876 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41877
41878         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41879         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41880
41881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41882
41883         * configure.in: Use -o not -a in test for unsupported multi-arch.
41884
41885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41886
41887         * manual/texinfo.tex: Update to version 2012-01-19.16.
41888
41889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41890
41891         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41892
41893 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41894
41895         [BZ #13738]
41896         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41897         * manual/fdl-1.3.texi: New file.
41898         * manual/fdl-1.1.texi: File removed.
41899
41900         [BZ #13738]
41901         * manual/libc.texinfo (FDL_VERSION): New @set.
41902         Use it for mention of FDL in cover text.
41903         (Documentation License): Use it in @include file name.
41904
41905 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41906             Roland McGrath  <roland@hack.frob.com>
41907
41908         [BZ #5461]
41909         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41910         (not LONG_LONG_MAX and LONG_LONG_MIN.
41911         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41912         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41913         name.
41914         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41915
41916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41917
41918         [BZ #2547]
41919         [BZ #11365]
41920         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41921         manipulate bits before adding and subtracting TWO23[sx].
41922         * math/libm-test.inc (nearbyint_test): Add more tests.
41923
41924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41925
41926         [BZ #2548]
41927         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41928         bits before adding and subtracting TWO23[sx].
41929         * math/libm-test.inc (rint_test): Add more tests.
41930         (rint_test_tonearest): Likewise.
41931         (rint_test_towardzero): Likewise.
41932         (rint_test_downward): Likewise.
41933         (rint_test_upward: Likewise.
41934
41935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41936
41937         [BZ #10110]
41938         * include/stdc-predef.h: New file.  Extracted from features.h.
41939         * include/features.h: Include stdc-predef.h.
41940         * Makefile (headers): Add stdc-predef.h.
41941         * CONFORMANCE (Compiler limitations): Update.
41942
41943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41944
41945         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41946
41947 2012-02-21  David S. Miller  <davem@davemloft.net>
41948
41949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41951
41952 2012-02-20  David S. Miller  <davem@davemloft.net>
41953
41954         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41955         using a normal save/restore sequence, rather than allocating a
41956         dummy stack frame just to store a frame pointer and restore.
41957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41958
41959 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41960
41961         * manual/install.texi: Fix stray word in line-wrapped comment.
41962
41963 2012-02-20  David S. Miller  <davem@davemloft.net>
41964
41965         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41966         both binutils and gcc support GOTDATA.
41967
41968         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41969         "rd %pc" in the PIC register setup sequences.
41970
41971         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41972         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41973         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41974         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41975         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41980         (SYSCALL_ERROR_HANDLER): Likewise.
41981         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41984         (SYSCALL_ERROR_HANDLER): Likewise.
41985
41986         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41987         (HAVE_GCC_GOTDATA): New.
41988         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41989         relocation support in both binutils and gcc.
41990         * sysdeps/sparc/elf/configure: Regenerate.
41991
41992         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41993         * sysdeps/sparc/sparc32/elf/configure: Delete.
41994         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41995         * sysdeps/sparc/sparc64/elf/configure: Delete.
41996         * sysdeps/sparc/elf/configure.in: New file.
41997         * sysdeps/sparc/elf/configure: Generate.
41998
41999         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42000         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42001         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42002         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42003         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42004
42005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42006
42007         * manual/install.texi: Do not mention specific glibc version
42008         numbers.
42009         * manual/libc.texinfo (VERSION, UPDATED): Update.
42010         (@copying): Use @copyright{} and range of years.
42011
42012 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42013
42014         [BZ #13695]
42015         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42016         [crti.S not in sysdirs] (generated): Do not append.
42017         [crti.S not in sysdirs] (omit-deps): Likewise.
42018         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42019         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42020         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42021         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42022         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42023         Likewise.
42024         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42025         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42026         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42027         * csu/defs.awk: Remove file.
42028         * sysdeps/generic/initfini.c: Likewise.
42029         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42030         variable.
42031         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42032         Likewise.
42033
42034 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42035
42036         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42037         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42038         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42039         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42040         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42041         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42042         <bits/epoll.h>.
42043         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42044         (__EPOLL_PACKED): Define to empty if not defined by
42045         <bits/epoll.h>.
42046         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42048         bits/epoll.h.
42049
42050 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42051
42052         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42053         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42054         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42055         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42056         <bits/timerfd.h>.
42057         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42059         bits/timerfd.h.
42060
42061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42062
42063         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42064         in C locale.
42065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42069
42070 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42071
42072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42074
42075 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42076
42077         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42078         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42079         defined.
42080         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42081         Likewise.
42082         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42083         entry for 2.16.
42084
42085 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42086
42087         * math/w_acos.c: Use non-signaling floating-point comparisons.
42088         * math/w_acosf.c: Likewise.
42089         * math/w_acosh.c: Likewise.
42090         * math/w_acoshf.c: Likewise.
42091         * math/w_acoshl.c: Likewise.
42092         * math/w_acosl.c: Likewise.
42093         * math/w_asin.c: Likewise.
42094         * math/w_asinf.c: Likewise.
42095         * math/w_asinl.c: Likewise.
42096         * math/w_atanh.c: Likewise.
42097         * math/w_atanhf.c: Likewise.
42098         * math/w_atanhl.c: Likewise.
42099         * math/w_exp2.c: Likewise.
42100         * math/w_exp2f.c: Likewise.
42101         * math/w_exp2l.c: Likewise.
42102         * math/w_j0.c: Likewise.
42103         * math/w_j0f.c: Likewise.
42104         * math/w_j0l.c: Likewise.
42105         * math/w_j1.c: Likewise.
42106         * math/w_j1f.c: Likewise.
42107         * math/w_j1l.c: Likewise.
42108         * math/w_jn.c: Likewise.
42109         * math/w_jnf.c: Likewise.
42110         * math/w_log.c: Likewise.
42111         * math/w_log10.c: Likewise.
42112         * math/w_log10f.c: Likewise.
42113         * math/w_log10l.c: Likewise.
42114         * math/w_log2.c: Likewise.
42115         * math/w_log2f.c: Likewise.
42116         * math/w_log2l.c: Likewise.
42117         * math/w_logf.c: Likewise.
42118         * math/w_logl.c: Likewise.
42119         * math/w_sqrt.c: Likewise.
42120         * math/w_sqrtf.c: Likewise.
42121         * math/w_sqrtl.c: Likewise.
42122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42123         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42127
42128 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42129
42130         [BZ #9739]
42131         * manual/string.texi (strnlen): Use correct parameter name in
42132         equivalent expression.
42133
42134 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42135
42136         [BZ #11174]
42137         * manual/users.texi (seteuid): Consistently use neweuid for
42138         argument name.
42139
42140 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42141
42142         [BZ #13704]
42143         * manual/nss.texi (Services in the NSS configuration): Correct
42144         list of services in example configuration file.
42145
42146 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42147
42148         [BZ #11322]
42149         * manual/arith.texi: Remove statements about negative zero
42150         behaving identically to zero.
42151
42152 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42153
42154         [BZ #5993]
42155         * manual/install.texi: Do not document upgrading from libc5.
42156
42157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42158
42159         [BZ #4596]
42160         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42161
42162 2012-02-18  David S. Miller  <davem@davemloft.net>
42163
42164         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42165         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42166         %o7 across the call.
42167         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42168         instead.
42169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42170         SETUP_PIC_REG_LEAF.
42171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42172         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42173         * sysdeps/sparc/crtn.S: Likewise.
42174
42175 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42176
42177         * aout/Makefile: Remove.
42178
42179 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42180
42181         [BZ #13058]
42182         * manual/examples/argp-ex1.c (main): Format definition in GNU
42183         style.
42184         * manual/examples/argp-ex2.c (main): Likewise.
42185         * manual/examples/argp-ex3.c (main): Likewise.
42186         * manual/examples/argp-ex4.c (main): Likewise.
42187         * manual/examples/longopt.c (main): Use new-style prototype
42188         definition.
42189         * manual/examples/strncat.c (main): Specify return type and use
42190         (void) for arguments.
42191         * manual/examples/subopt.c (main): Use char **argv argument.
42192
42193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42194
42195         [BZ #5077]
42196         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42197         rounding modes.
42198
42199 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42200
42201         [BZ #6907]
42202         * manual/string.texi (strchr): Change when strchrnul is
42203         recommended.
42204
42205 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42206
42207         [BZ #174]
42208         * manual/locale.texi (setlocale): Document LOCPATH.
42209
42210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42211
42212         [BZ #10210]
42213         * manual/process.texi (execle): Move @dots{} before last argument.
42214
42215 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42216
42217         [BZ #12047]
42218         * manual/charset.texi (Generic Charset Conversion): Fix typo
42219         (LC_TYPE -> LC_CTYPE).
42220
42221 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42222
42223         [BZ #5805]
42224         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42225         (scalbnf): Likewise.
42226         (scalbnl): Likewise.
42227         (scalbln): Likewise.
42228         (scalblnf): Likewise.
42229         (scalblnl): Likewise.
42230         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42231         (vwarnx): Likewise.
42232         (verr): Likewise.
42233         (verrx): Likewise.
42234         * manual/filesys.texi (telldir): Use braces around return type.
42235         * manual/llio.texi (mmap): Add space after comma.
42236         (mmap64): Likewise.
42237         * manual/math.texi (jn): Use @var{} on parameter names.
42238         (jnf): Likewise.
42239         (jnl): Likewise.
42240         (yn): Likewise.
42241         (ynf): Likewise.
42242         (ynl): Likewise.
42243         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42244         line.
42245         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42246         "...".
42247         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42248         (sched_get_priority_max): Likewise.
42249         * manual/signal.texi (sigvec): Add space after comma.
42250         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42251         names.
42252         (if_indextoname): Likewise.
42253         (if_freenameindex): Likewise.
42254         (sendto): Use ',' instead of '.' in prototype.
42255         * manual/startup.texi (syscall): Use @dots{} instead of literal
42256         "...".
42257         * manual/stdio.texi (__fpending): Separate initial words of
42258         paragraph from @deftypefun line.
42259         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42260         "...".
42261         (vsyslog): Use @var{} on parameter names.
42262         * manual/terminal.texi (stty): Use @var{} on parameter names.
42263         * manual/users.texi (getutmp): Use @var{} on parameter names.
42264         (getutmpx): Likewise.
42265
42266 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42267
42268         [BZ #6884]
42269         * manual/stdio.texi (fopen): Fix typos in description of
42270         ",ccs=STRING".
42271
42272 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42273
42274         [BZ #4026]
42275         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42276         get clock_id definition.
42277
42278 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42279
42280         [BZ #4822]
42281         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42282         (madvise): Cast every argument to void on its own.
42283
42284 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42285
42286         [BZ #9902]
42287         * manual/startup.texi (Exit Status): Fix typo.
42288
42289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42290
42291         [BZ #10140]
42292         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42293         * manual/examples/argp-ex2.c: Likewise.
42294         * manual/examples/argp-ex3.c: Likewise.
42295
42296 2012-02-16  Richard Henderson  <rth@redhat.com>
42297
42298         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42299         * sysdeps/s390/s390-32/initfini.c: Remove.
42300         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42301         * sysdeps/s390/s390-64/initfini.c: Remove.
42302
42303 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42304
42305         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42306         compiler output for sysdeps/generic/initfini.c.
42307         * sysdeps/sh/elf/initfini.c: Remove file.
42308
42309 2012-02-16  David S. Miller  <davem@davemloft.net>
42310
42311         [BZ #11494]
42312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42313
42314         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42315         * sysdeps/sparc/crti.S: New file.
42316         * sysdeps/sparc/crtn.S: New file.
42317         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42318         * sysdeps/sparc/sparc64/Makefile: Likewise.
42319
42320 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42321
42322         [BZ #3335]
42323         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42324
42325 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42326
42327         [BZ #4822]
42328         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42329
42330         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42331         (write, read, close): Likewise.
42332         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42333
42334 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42335
42336         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42337         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42338         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42339         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42340         <bits/signalfd.h>.
42341         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42343         bits/signalfd.h.
42344
42345 2012-02-14  Marek Polacek  <polacek@redhat.com>
42346
42347         * sysdeps/x86_64/crti.S: New file.
42348         * sysdeps/x86_64/crtn.S: New file.
42349         * sysdeps/x86_64/elf/initfini.c: Remove file.
42350
42351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42352
42353         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42354         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42355         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42356         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42357         <bits/inotify.h>.
42358         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42360         bits/inotify.h.
42361
42362 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42363
42364         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42365         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42366         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42367         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42368         <bits/eventfd.h>.
42369         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42371         bits/eventfd.h.
42372
42373 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42374
42375         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42376         __feraiseexcept instead of feraiseexcept.
42377
42378         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42379         nanosleep invocations.
42380         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42381         strings, and add error checking for a nanosleep invocations.
42382
42383 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42384
42385         Replace FSF snail mail address with URLs, as per GNU coding standards.
42386         Most of the snail mail addresses were wrong anyway, and omitting
42387         them makes the source code easier to maintain.  Almost all of the
42388         changes are to license notices and to locale LC_IDENTIFICATION
42389         addresses, except for this one:
42390         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42391         not its snail mail address.
42392
42393 2012-02-09  Richard Henderson  <rth@twiddle.net>
42394
42395         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42396         of kernel-features.h.
42397
42398         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42399
42400 2012-02-08  Marek Polacek  <polacek@redhat.com>
42401
42402         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42403         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42404         * sysdeps/gnu/_G_config.h: Likewise.
42405         * sysdeps/generic/_G_config.h: Likewise.
42406
42407 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42408
42409         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42410         tests.
42411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42412
42413         * sysdeps/powerpc/powerpc32/crti.S: New file.
42414         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42415         * sysdeps/powerpc/powerpc64/crti.S: New file.
42416         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42417
42418         * Makeconfig (have-initfini): Don't set.
42419         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42420         * configure.in (nopic_initfini): Don't substitute.
42421         * config.h.in (HAVE_INITFINI): Don't #undef.
42422         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42423         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42424
42425 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42426
42427         Support crti.S and crtn.S provided directly by architectures.
42428         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42429         [crti.S in sysdirs] (omit-deps): Likewise.
42430         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42431         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42432         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42433         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42434         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42435         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42436         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42437         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42438         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42439         compiler output for sysdeps/generic/initfini.c.
42440         * sysdeps/i386/elf/Makefile: Remove file.
42441         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42442
42443 2012-02-07  Marek Polacek  <polacek@redhat.com>
42444
42445         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42446         * sysdeps/gnu/_G_config.h: Likewise.
42447         * sysdeps/mach/hurd/_G_config.h: Likewise.
42448
42449 2012-02-07  Marek Polacek  <polacek@redhat.com>
42450
42451         * math/Makefile (tests): Add tst-CMPLX2.
42452         * math/tst-CMPLX2.c: New file.
42453
42454 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42455
42456         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42457
42458         * math/libm-test.inc (jn_test): Add missing L suffix.
42459
42460 2012-02-06  Marek Polacek  <polacek@redhat.com>
42461
42462         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42463         * sysdeps/i386/fpu/e_powf.S: Likewise.
42464         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42465         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42467         * sysdeps/i386/fpu/e_pow.S: Likewise.
42468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42472         * sysdeps/i386/fpu/e_log2.S: Likewise.
42473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42475         * sysdeps/i386/fpu/e_powl.S: Likewise.
42476         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42479         * sysdeps/i386/fpu/e_logl.S: Likewise.
42480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42481         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42482         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42483         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42484         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42485         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42486         * sysdeps/i386/fpu/e_log.S: Likewise.
42487         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42488         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42489         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42490         * sysdeps/i386/fpu/e_logf.S: Likewise.
42491         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42493         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42494         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42495         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42496         * sysdeps/i386/fpu/e_log10.S: Likewise.
42497         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42498         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42499         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42500         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42501         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42502         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42503         * sysdeps/i386/asm-syntax.h: Likewise.
42504         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42505         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42507         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42508         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42509         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42510         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42511         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42512         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42513         * sysdeps/powerpc/sysdep.h: Likewise.
42514         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42516
42517 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42518
42519         [BZ #411]
42520         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42521
42522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42523
42524         * sysdeps/i386/sysdep.h: Include <features.h>.
42525         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42526         version.
42527
42528 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42529
42530         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42531         Define.
42532         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42533         LOAD_PIC_REG_STR.
42534
42535 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42536
42537         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42538         (SETUP_PIC_REG): Use GET_PC_THUNK.
42539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42540         macro.
42541
42542 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42543
42544         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42545         for non-PIC compilation.
42546         (SETUP_PIC_REG): Add .p2align directive.
42547         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42548         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42562         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42563         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42564         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42571         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42575         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42576         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42577         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42578         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42580         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42581         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42588
42589 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42590
42591         * math/tst-CMPLX.c: Include <stdio.h>.
42592
42593 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42594
42595         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42596         float.
42597         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42598         * sysdeps/sparc/bits/mathdef.h: Likewise.
42599
42600 2012-01-31  Marek Polacek  <polacek@redhat.com>
42601
42602         * libio/libio.h: Don't define _PARAMS.
42603         * locale/programs/config.h: Don't define PARAMS.
42604         * stdlib/strtol_l.c: Likewise.
42605         (__strtol_l): Remove PARAMS from the prototype.
42606
42607 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42608
42609         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42610         names.  Just use the correct names.  Remove unnecessary wrapper
42611         functions.
42612         * malloc/arena.c: Likewise.
42613         * malloc/hooks.c: Likewise.
42614
42615         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42616         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42617         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42618
42619 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42620
42621         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42622         into tail calls.
42623         (update_get_addr): New function.
42624         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42625         GET_ADDR_MODULE parameter.
42626
42627 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42628
42629         * crypt/cert.c: Remove __STDC__ conditionals.
42630         * crypt/crypt-entry.c: Likewise.
42631         * crypt/crypt_util.c: Likewise.
42632         * libio/filedoalloc.c: Likewise.
42633         * libio/fileops.c: Likewise.
42634         * libio/genops.c: Likewise.
42635         * libio/iofclose.c: Likewise.
42636         * libio/iofdopen.c: Likewise.
42637         * libio/iofopen.c: Likewise.
42638         * libio/iofopen64.c: Likewise.
42639         * libio/iogetdelim.c: Likewise.
42640         * libio/iopopen.c: Likewise.
42641         * libio/obprintf.c: Likewise.
42642         * libio/oldfileops.c: Likewise.
42643         * libio/oldiofclose.c: Likewise.
42644         * libio/oldiofdopen.c: Likewise.
42645         * libio/oldiofopen.c: Likewise.
42646         * libio/oldiopopen.c: Likewise.
42647         * libio/wfiledoalloc.c: Likewise.
42648         * libio/wgenops.c: Likewise.
42649         * locale/programs/xmalloc.c: Likewise.
42650         * misc/syslog.c: Likewise.
42651         * stdio-common/xbug.c: Likewise.
42652         * string/memchr.c: Likewise.
42653         * string/memcmp.c: Likewise.
42654         * string/memrchr.c: Likewise.
42655         * string/rawmemchr.c: Likewise.
42656         * sysdeps/posix/getcwd.c: Likewise.
42657         * time/strftime_l.c: Likewise.
42658
42659 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42660
42661         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42662         * config.make.in (config-cflags-sse2avx): Define.
42663         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42664         Fix typo.
42665
42666 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42667
42668         * scripts/config.guess: Update from upstream config git repository.
42669         * scripts/config.sub: Likewise.
42670
42671 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42672
42673         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42674         (EM_NUM): Update.
42675         (R_TILEPRO_*, R_TILEGX_*): New macros.
42676
42677         * scripts/firstversions.awk: Fix bug in version range handling.
42678
42679         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42680
42681         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42682
42683         * include/sys/epoll.h: New file.
42684         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42685         libc_hidden_def.
42686
42687 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42688
42689         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42690         Avoid unnecessary __WORDSIZE == 64 test.
42691         (fmaxf): Use VEX format if possible.
42692         (fmax): Likewise.
42693         (fminf): Likewise.
42694         (fmin): Likewise.
42695
42696         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42697         * math/math_private.h: Remove libc_fegetround* and
42698         libc_fesetround*.
42699         * sysdeps/i386/configure.in: Check for -msse2avx.
42700         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42701         also if SSE2AVX is defined.
42702         Remove libc_fegetround* and libc_fesetround*.
42703         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42704         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42706         of HAS_YMM_USABLE.
42707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42712
42713         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42714
42715 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42716
42717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42718         size is not set.
42719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42720
42721 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42722
42723         [BZ #13618]
42724         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42725         relocation.
42726         * Makeconfig (libm): Define.
42727         * elf/Makefile: Add rules to build and run tst-relsort1.
42728         * elf/tst-relsort1.c: New file.
42729         * elf/tst-relsort1mod1.c: New file.
42730         * elf/tst-relsort1mod2.c: New file.
42731
42732 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42733
42734         * math/s_ldexp.c: Remove __STDC__ conditionals.
42735         * math/s_ldexpf.c: Likewise.
42736         * math/s_ldexpl.c: Likewise.
42737         * math/s_nextafter.c: Likewise.
42738         * math/s_nexttowardf.c: Likewise.
42739         * math/s_significand.c: Likewise.
42740         * math/s_significandf.c: Likewise.
42741         * math/s_significandl.c: Likewise.
42742         * math/w_jnl.c: Likewise.
42743         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42744         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42745         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42746         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42747         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42748         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42749         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42758         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42759         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42760         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42762         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42763         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42769         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42770         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42771         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42772         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42775         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42777         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42778         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42779         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42780         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42781         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42782         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42783         * sysdeps/ieee754/k_standard.c: Likewise.
42784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42785         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42786         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42787         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42788         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42789         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42791         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42792         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42793         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42794         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42796         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42797         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42798         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42800         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42802         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42803         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42809         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42813         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42816         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42817         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42820         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42823         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42824         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42826         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42827         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42829         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42833         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42834         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42838         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42839         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42840         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42844         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42845         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42846         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42847         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42848         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42849         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42850         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42851         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42853         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42854         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42859         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42860         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42861         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42862         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42863         * sysdeps/ieee754/s_matherr.c: Likewise.
42864         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42865         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42868
42869 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42870
42871         * crypt/md5.h: Remove __STDC__ conditionals.
42872         * libio/libioP.h: Likewise.
42873         * locale/programs/config.h: Likewise.
42874         * sysdeps/generic/sysdep.h: Likewise.
42875         * sysdeps/i386/asm-syntax.h: Likewise.
42876         * sysdeps/s390/asm-syntax.h: Likewise.
42877         * sysdeps/unix/sysdep.h: Likewise.
42878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42880
42881 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42882
42883         * libio/libio.h: Remove __STDC__ conditionals.
42884         * malloc/obstack.h: Likewise.
42885         * math/complex.h: Likewise.
42886         * math/math.h: Likewise.
42887         * sysdeps/generic/_G_config.h: Likewise.
42888         * sysdeps/gnu/_G_config.h: Likewise.
42889         * sysdeps/mach/hurd/_G_config.h: Likewise.
42890         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42892         * sysdeps/sparc/bits/mathdef.h: Likewise.
42893
42894 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42895
42896         [BZ #13583]
42897         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42898         Clean up HAS_* macros.
42899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42900         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42901         possible.
42902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42903         HAS_AVX.
42904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42909
42910 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42911
42912         * elf/tst-unique3.cc (gets): Remove declaration.
42913         * elf/tst-unique3lib.cc (gets): Likewise.
42914         * elf/tst-unique3lib2.cc (gets): Likewise.
42915         * elf/tst-unique4.cc (gets): Likewise.
42916
42917 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * include/stdio.h: Add C++ protection.  Add gets declarations and
42920         definitions.
42921         * debug/tst-chk1.c: Don't declare gets here.
42922         * stdio-common/tst-gets.c: Likewise.
42923
42924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42925
42926         * posix/glob: Remove directory.
42927
42928 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42929
42930         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42931
42932 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42933
42934         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42935         of the non-standard EPFNOSUPPORT.
42936
42937 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42938
42939         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42940         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42941         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42942
42943 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42944
42945         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42946
42947 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42948
42949         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42950         transient errors.
42951         * nscd/grpcache.c (cache_addgr): Likewise.
42952         * nscd/hstcache.c (cache_addhst): Likewise.
42953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42954         * nscd/pwdcache.c (cache_addpw): Likewise.
42955         * nscd/servicescache.c (cache_addserv): Likewise.
42956
42957 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42958
42959         * malloc/malloc.c: Various cleanups.
42960         * malloc/hooks.c: Likewise.
42961
42962         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42963         * stdlib/bug-fmtmsg1.c: New file.
42964
42965         * stdlib/fmtmsg.c (init): Add missing unlock.
42966         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42967
42968 2012-01-12  Marek Polacek  <polacek@redhat.com>
42969
42970         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42971         and _GNU_SOURCE.
42972
42973 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42974
42975         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42976         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42977         macro to ensure uniqueness of label name.
42978         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42979         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42980
42981 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42982
42983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42984
42985         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42986         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42989
42990 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42991
42992         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42993
42994         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42995         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42996         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42997
42998         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42999
43000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43001         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43004
43005         * math/bits/math-finite.h: Add ldexp support.
43006
43007 2012-01-10  Marek Polacek  <polacek@redhat.com>
43008
43009         * locale/programs/localedef.h (show_archive_content): Add noreturn
43010         attribute.
43011
43012 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43013
43014         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43015
43016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43017
43018         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43019
43020         * io/Makefile (headers): Add bits/poll2.h.
43021
43022 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43023
43024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43025         typo #include statement.
43026
43027 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43028
43029         * include/sys/cdefs.h: Define __attribute_alloc_size.
43030         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43031         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43032         * elf/pldd.c: Likewise.
43033         * iconv/iconv_charmap.c: Likewise.
43034         * iconv/iconvconfig.c: Likewise.
43035         * iconv/strtab.c: Likewise.
43036         * locale/programs/locale.c: Likewise.
43037         * locale/programs/localedef.h: Likewise.
43038         * locale/programs/simple-hash.c: Likewise.
43039         * nscd/nscd.h: Likewise.
43040         * nss/makedb.c: Likewise.
43041         * sysdeps/generic/ldconfig.h: Likewise.
43042         * locale/programs/localedef.c: Remove xmalloc prototype.
43043         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43044
43045 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43046
43047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43048         appropriate.
43049
43050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43051
43052         * math/Makefile (tests): Add tst-CMPLX.
43053         * math/tst-CMPLX.c: New file.
43054
43055         * math/complex.h (CMPLXL): Fix typo.
43056
43057         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43058         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43059         GLIBC_2.16.
43060         * debug/tst-chk1.c: Add poll and ppoll tests.
43061         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43062         * include/sys/poll.h: Add hidden proto for ppoll.
43063         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43064         * sysdeps/mach/hurd/ppoll.c: Likewise.
43065         * io/ppoll.c: Likewise.
43066         * debug/poll_chk.c: New file.
43067         * debug/ppoll_chk.c: New file.
43068         * include/bits/poll2.h: New file.
43069         * io/bits/poll2.h: New file.
43070
43071         [BZ #1350]
43072         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43073
43074         * configure.in: static is always set to yes.  Remove.
43075         * config.make.in: Don't set build-static.
43076         * Makeconfig: Remove use of build-static.
43077         * dlfcn/Makefile: Likewise.
43078         * elf/Makefile: Likewise.
43079         * math/Makefile: Likewise.
43080         * misc/Makefile: Likewise.
43081         * nptl/Makefile: Likewise.
43082         * sysdeps/mach/hurd/Makefile: Likewise.
43083
43084         * configure.in: PWD_P is not used anymore.
43085         * config.make.in: Remove PWD_P entry.
43086
43087         * configure.in: Remove last remnants of RANLIB.
43088         No need to check for signed size_t anymore.
43089         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43090         and IA-64.
43091         Remove __builtin_expect test because we require at least gcc 3.4.
43092         * aclocal.m4: Likewise.
43093
43094         * wcsmbs/mbrtoc16.c: Implement using towc function.
43095         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43096         * wcsmbs/wcsmbsload.c: Likewise.
43097         * iconv/gconv_simple.c: Likewise.
43098         * iconv/gconv_int.h: Likewise.
43099         * iconv/gconv_builtin.h: Likewise.
43100         * iconv/iconv_prog.c: Remove CHAR16 handling.
43101
43102         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43103
43104         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43105
43106         * configure.in: Remove --with-elf and --enable-bounded options.
43107         Dont set base_machine for ia64.  More non-ELF conditions removed.
43108         Remove testing and setting of leading underscore information.
43109         * config.make.in (build-bounded): Set to no.
43110         * config.h.in: Remove NO_UNDERSCORES entry.
43111         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43112         them.
43113         * csu/start.c: Remove !NO_UNDERSCORE code.
43114         * locale/localeinfo.h: Likewise.
43115         * sysdeps/generic/machine-gmon.h: Likewise.
43116         * sysdeps/generic/sysdep.h: Likewise.
43117         * sysdeps/i386/sysdep.h: Likewise.
43118         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43119         * sysdeps/mach/sysdep.h: Likewise.
43120         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43121         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43122         * sysdeps/sh/sysdep.h: Likewise.
43123         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43124         * sysdeps/unix/i386/sysdep.S: Likewise.
43125         * sysdeps/unix/sparc/start.c: Likewise.
43126         * sysdeps/unix/sparc/sysdep.S: Likewise.
43127         * sysdeps/unix/sparc/sysdep.h: Likewise.
43128         * sysdeps/unix/start.c: Likewise.
43129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43130         * sysdeps/x86_64/sysdep.h: Likewise.
43131
43132 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43133
43134         [BZ #13553]
43135         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43136         for non-gcc.
43137         * argp/argp-fmtstream.h: Use const instead __const.
43138         * argp/argp.h: Likewise.
43139         * assert/assert.h: Likewise.
43140         * bits/fenv.h: Likewise.
43141         * bits/sched.h: Likewise.
43142         * bits/sigset.h: Likewise.
43143         * bits/sigthread.h: Likewise.
43144         * catgets/nl_types.h: Likewise.
43145         * conform/data/pthread.h-data: Likewise.
43146         * crypt/crypt-private.h: Likewise.
43147         * crypt/crypt.h: Likewise.
43148         * crypt/crypt_util.c: Likewise.
43149         * ctype/ctype.h: Likewise.
43150         * debug/execinfo.h: Likewise.
43151         * debug/mbsnrtowcs_chk.c: Likewise.
43152         * debug/mbsrtowcs_chk.c: Likewise.
43153         * debug/wcsnrtombs_chk.c: Likewise.
43154         * debug/wcsrtombs_chk.c: Likewise.
43155         * debug/wcstombs_chk.c: Likewise.
43156         * dirent/dirent.h: Likewise.
43157         * dlfcn/dlfcn.h: Likewise.
43158         * elf/neededtest4.c: Likewise.
43159         * grp/grp.h: Likewise.
43160         * gshadow/gshadow.h: Likewise.
43161         * iconv/gconv.h: Likewise.
43162         * iconv/gconv_int.h: Likewise.
43163         * iconv/gconv_simple.c: Likewise.
43164         * iconv/iconv.h: Likewise.
43165         * iconv/loop.c: Likewise.
43166         * iconv/skeleton.c: Likewise.
43167         * include/aio.h: Likewise.
43168         * include/aliases.h: Likewise.
43169         * include/argz.h: Likewise.
43170         * include/arpa/inet.h: Likewise.
43171         * include/assert.h: Likewise.
43172         * include/dirent.h: Likewise.
43173         * include/dlfcn.h: Likewise.
43174         * include/execinfo.h: Likewise.
43175         * include/fcntl.h: Likewise.
43176         * include/fenv.h: Likewise.
43177         * include/glob.h: Likewise.
43178         * include/grp.h: Likewise.
43179         * include/libintl.h: Likewise.
43180         * include/mntent.h: Likewise.
43181         * include/netdb.h: Likewise.
43182         * include/pwd.h: Likewise.
43183         * include/rpc/netdb.h: Likewise.
43184         * include/sched.h: Likewise.
43185         * include/search.h: Likewise.
43186         * include/shadow.h: Likewise.
43187         * include/signal.h: Likewise.
43188         * include/stdio.h: Likewise.
43189         * include/stdlib.h: Likewise.
43190         * include/string.h: Likewise.
43191         * include/sys/socket.h: Likewise.
43192         * include/sys/stat.h: Likewise.
43193         * include/sys/statfs.h: Likewise.
43194         * include/sys/statvfs.h: Likewise.
43195         * include/sys/syslog.h: Likewise.
43196         * include/sys/time.h: Likewise.
43197         * include/sys/uio.h: Likewise.
43198         * include/time.h: Likewise.
43199         * include/unistd.h: Likewise.
43200         * include/utmp.h: Likewise.
43201         * include/wchar.h: Likewise.
43202         * include/wctype.h: Likewise.
43203         * inet/aliases.h: Likewise.
43204         * inet/arpa/inet.h: Likewise.
43205         * inet/netinet/ether.h: Likewise.
43206         * inet/netinet/in.h: Likewise.
43207         * intl/libintl.h: Likewise.
43208         * io/bits/fcntl2.h: Likewise.
43209         * io/fcntl.h: Likewise.
43210         * io/ftw.h: Likewise.
43211         * io/sys/poll.h: Likewise.
43212         * io/sys/stat.h: Likewise.
43213         * io/sys/statfs.h: Likewise.
43214         * io/sys/statvfs.h: Likewise.
43215         * io/utime.h: Likewise.
43216         * libio/bits/stdio.h: Likewise.
43217         * libio/bits/stdio2.h: Likewise.
43218         * libio/libio.h: Likewise.
43219         * libio/libioP.h: Likewise.
43220         * libio/stdio.h: Likewise.
43221         * locale/lc-ctype.c: Likewise.
43222         * locale/locale.h: Likewise.
43223         * login/utmp.h: Likewise.
43224         * malloc/arena.c: Likewise.
43225         * malloc/malloc.c: Likewise.
43226         * malloc/malloc.h: Likewise.
43227         * malloc/mcheck.c: Likewise.
43228         * malloc/mtrace.c: Likewise.
43229         * math/bits/mathcalls.h: Likewise.
43230         * math/fenv.h: Likewise.
43231         * math/math_private.h: Likewise.
43232         * misc/bits/error.h: Likewise.
43233         * misc/bits/syslog.h: Likewise.
43234         * misc/err.h: Likewise.
43235         * misc/error.h: Likewise.
43236         * misc/fstab.h: Likewise.
43237         * misc/mntent.h: Likewise.
43238         * misc/regexp.h: Likewise.
43239         * misc/search.h: Likewise.
43240         * misc/sgtty.h: Likewise.
43241         * misc/sys/mman.h: Likewise.
43242         * misc/sys/syslog.h: Likewise.
43243         * misc/sys/uio.h: Likewise.
43244         * misc/sys/xattr.h: Likewise.
43245         * misc/ttyent.h: Likewise.
43246         * nis/rpcsvc/ypclnt.h: Likewise.
43247         * nss/nss.h: Likewise.
43248         * posix/bits/unistd.h: Likewise.
43249         * posix/fnmatch.h: Likewise.
43250         * posix/glob.h: Likewise.
43251         * posix/sched.h: Likewise.
43252         * posix/spawn.h: Likewise.
43253         * posix/sys/wait.h: Likewise.
43254         * posix/unistd.h: Likewise.
43255         * posix/wordexp.h: Likewise.
43256         * pwd/pwd.h: Likewise.
43257         * resolv/netdb.h: Likewise.
43258         * resource/sys/resource.h: Likewise.
43259         * rt/aio.h: Likewise.
43260         * rt/bits/mqueue2.h: Likewise.
43261         * rt/mqueue.h: Likewise.
43262         * shadow/shadow.h: Likewise.
43263         * signal/signal.h: Likewise.
43264         * socket/send.c: Likewise.
43265         * socket/sendto.c: Likewise.
43266         * socket/sys/socket.h: Likewise.
43267         * stdio-common/printf.h: Likewise.
43268         * stdlib/bits/stdlib.h: Likewise.
43269         * stdlib/fmtmsg.h: Likewise.
43270         * stdlib/monetary.h: Likewise.
43271         * stdlib/stdlib.h: Likewise.
43272         * stdlib/ucontext.h: Likewise.
43273         * streams/stropts.h: Likewise.
43274         * string/argz.h: Likewise.
43275         * string/bits/string2.h: Likewise.
43276         * string/string.h: Likewise.
43277         * string/strings.h: Likewise.
43278         * sunrpc/rpc/auth.h: Likewise.
43279         * sunrpc/rpc/auth_des.h: Likewise.
43280         * sunrpc/rpc/clnt.h: Likewise.
43281         * sunrpc/rpc/netdb.h: Likewise.
43282         * sunrpc/rpc/pmap_clnt.h: Likewise.
43283         * sunrpc/rpc/xdr.h: Likewise.
43284         * sysdeps/generic/inttypes.h: Likewise.
43285         * sysdeps/generic/net/if.h: Likewise.
43286         * sysdeps/generic/sys/swap.h: Likewise.
43287         * sysdeps/gnu/net/if.h: Likewise.
43288         * sysdeps/gnu/utmpx.h: Likewise.
43289         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43290         * sysdeps/i386/i486/bits/string.h: Likewise.
43291         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43292         * sysdeps/s390/bits/string.h: Likewise.
43293         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43294         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43295         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43296         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43297         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43298         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43299         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43301         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43302         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43303         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43305         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43306         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43307         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43308         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43309         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43311         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43313         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43314         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43315         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43316         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43317         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43318         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43319         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43321         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43323         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43324         * sysvipc/sys/ipc.h: Likewise.
43325         * sysvipc/sys/msg.h: Likewise.
43326         * sysvipc/sys/sem.h: Likewise.
43327         * sysvipc/sys/shm.h: Likewise.
43328         * termios/termios.h: Likewise.
43329         * time/sys/time.h: Likewise.
43330         * time/time.h: Likewise.
43331         * wcsmbs/bits/wchar2.h: Likewise.
43332         * wcsmbs/uchar.h: Likewise.
43333         * wcsmbs/wchar.h: Likewise.
43334         * wctype/wctype.h: Likewise.
43335
43336         [BZ #13551]
43337         * Makeconfig: Remove all but ELF support including AIX support.
43338         * Makerules: Likewise.
43339         * config.h.in: Likewise.
43340         * config.make.in: Likewise.
43341         * configure: Likewise.
43342         * configure.in: Likewise.
43343         * csu/Makefile: Likewise.
43344         * csu/version.c: Likewise.
43345         * debug/Makefile: Likewise.
43346         * dlfcn/Makefile: Likewise.
43347         * elf/Makefile: Likewise.
43348         * extra-lib.mk: Likewise.
43349         * iconv/Makefile: Likewise.
43350         * include/libc-symbols.h: Likewise.
43351         * include/shlib-compat.h: Likewise.
43352         * resolv/Makefile: Likewise.
43353         * resolv/res_libc.c: Likewise.
43354         * rt/Makefile: Likewise.
43355         * sysdeps/i386/asm-syntax.h: Likewise.
43356         * sysdeps/i386/sysdep.h: Likewise.
43357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43358         * sysdeps/mach/sysdep.h: Likewise.
43359         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43360         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43361         * sysdeps/s390/asm-syntax.h: Likewise.
43362         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43363         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43364         * sysdeps/sh/sysdep.h: Likewise.
43365         * sysdeps/unix/sparc/sysdep.h: Likewise.
43366         * sysdeps/wordsize-32/divdi3.c: Likewise.
43367         * sysdeps/x86_64/sysdep.h: Likewise.
43368
43369         * argp/Versions: Remove _argp_unlock_xxx.
43370
43371         [BZ #13559]
43372         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43373         * abilist/libBrokenLocale.abilist: Likewise.
43374         * abilist/libanl.abilist: Likewise.
43375         * abilist/libc.abilist: Likewise.
43376         * abilist/libcrypt.abilist: Likewise.
43377         * abilist/libdl.abilist: Likewise.
43378         * abilist/libm.abilist: Likewise.
43379         * abilist/libnsl.abilist: Likewise.
43380         * abilist/libpthread.abilist: Likewise.
43381         * abilist/libresolv.abilist: Likewise.
43382         * abilist/librt.abilist: Likewise.
43383         * abilist/libthread_db.abilist: Likewise.
43384         * abilist/libutil.abilist: Likewise.
43385         * abilist/libnss_db.abilist: New file.
43386
43387         * scripts/abilist.awk: Add support for indirect functions.
43388
43389         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43390
43391         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43392
43393         * shlib-versions: Remove entries for ports architectures.
43394
43395         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43396         files in ports.
43397         * elf/stackguard-macros.h: Remove support for IA-64.
43398         * elf/tst-auditmod1.c: Likewise.
43399         * sysdeps/generic/ldsodefs.h: Likewise.
43400
43401         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43402         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43403         configure files.
43404
43405         [BZ #13552]
43406         * configure.in: Remove --enable-omitfp support.
43407         * FAQ.in: Adjust.
43408         * config.make.in: Likewise.
43409         * Makeconfig: Likewise.
43410         * manual/install.texi: Likewise.
43411
43412         In case anyone cares, the IA-64 architecture could move to ports.
43413         * sysdeps/ia64/*: Removed.
43414         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43415         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43416
43417         [BZ #13555]
43418         * configure.in: Remove entries for unsupported architectures.
43419
43420         [BZ #13533]
43421         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43422         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43423         routines.
43424         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43425         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43426         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43427         fall back to using wcrtomb.
43428         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43429         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43430         renaming.
43431         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43432         * wcsmbs/tst-c16c32-1.c: New file.
43433
43434         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43435         local variable.
43436
43437         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43438
43439         * elf/tst-unique3.cc: Add explicit declaration of gets.
43440         * elf/tst-unique3lib.cc: Likewise.
43441         * elf/tst-unique3lib2.cc: Likewise.
43442         * elf/tst-unique4.cc: Likewise.
43443
43444         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43445
43446 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43447
43448         [BZ #13566]
43449         * assert/assert.h (static_assert): Don't define for C++.
43450         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43451         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43452
43453 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43454
43455         * iconv/loop.c (single loop): Fix assertion in storing of
43456         remaining bytes.
43457
43458         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43459
43460 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43461
43462         * posix/getconf.c: Update copyright year.
43463         * nss/getent.c: Likewise.
43464         * nss/makedb.c: Likewise.
43465         * iconv/iconvconfig.c: Likewise.
43466         * iconv/iconv_prog.c: Likewise.
43467         * elf/ldconfig.c: Likewise.
43468         * elf/pldd.c: Likewise.
43469         * elf/sotruss.ksh: Likewise.
43470         * catgets/gencat.c: Likewise.
43471         * csu/version.c: Likewise.
43472         * elf/ldd.bash.in: Likewise.
43473         * elf/sprof.c (print_version): Likewise.
43474         * locale/programs/locale.c: Likewise.
43475         * locale/programs/localedef.c: Likewise.
43476         * login/programs/pt_chown.c: Likewise.
43477         * nscd/nscd.c (print_version): Likewise.
43478         * debug/xtrace.sh: Likewise.
43479         * malloc/memusage.sh: Likewise.
43480         * malloc/mtrace.pl: Likewise.
43481         * debug/catchsegv.sh: Likewise.
43482
43483 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43484
43485         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43486         pure attribute.
43487
43488 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43489
43490         [BZ #13533]
43491         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43492         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43493         transformations.
43494         * iconv/gconv_int.h: Likewise.
43495         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43496         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43497         from libc for GLIBC_2.16.
43498         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43499         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43500         * wcsmbs/uchar.h: Really define mbstate_t.
43501         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43502         * wcsmbs/c16rtomb.c: New file.
43503         * wcsmbs/mbrtoc16.c: New file.
43504         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43505         for C/POSIX locale.
43506         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43507         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43508
43509         * wcsmbs/wchar.h: Add missing __restrict.
43510
43511 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43512
43513         [BZ #13532]
43514         * time/Makefile (routines): Add timespec_get.
43515         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43516         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43517         timespec for ISO C11.
43518         * time/timespec_get.c: New file.
43519         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43520         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43521
43522         [BZ #13531]
43523         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43524         * stdlib/stdlib.h: Declare aligned_alloc.
43525         * Versions.def: Add GLIBC_2.16 for libc.
43526         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43527
43528         [BZ 13527]
43529         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43530         ISO C11.
43531
43532         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43533         code.
43534
43535         [BZ #13528]
43536         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43537
43538         [BZ #13529]
43539         * assert/assert.h (static_assert): Define.
43540
43541         * version.h: Update for 2.16 development version.
43542
43543         [BZ #13526]
43544         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43545         _ISOC11_SOURCE.
43546
43547         * version.h (RELEASE): Bump for 2.15 release.
43548         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43549
43550         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43551         Patch by Marek Polacek <mpolacek@redhat.com>.
43552
43553         * bits/byteswap.h: Protect long long constants with __extension__.
43554         * sysdeps/i386/bits/byteswap.h: Likewise.
43555         * sysdeps/ia64/bits/byteswap.h: Likewise.
43556         * sysdeps/s390/bits/byteswap.h: Likewise.
43557         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43558
43559 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43560
43561         [BZ #13540]
43562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43563         destination buffer.
43564         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43565
43566 2011-12-23  Marek Polacek  <polacek@redhat.com>
43567
43568         * elf/dl-addr.c (determine_info): Add inline keyword.
43569         * elf/tst-auditmod4b.c (check_avx): Likewise.
43570         * elf/tst-auditmod6b.c (check_avx): Likewise.
43571         * elf/tst-auditmod6c.c (check_avx): Likewise.
43572         * elf/tst-auditmod7b.c (check_avx): Likewise.
43573
43574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43575
43576         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43577         !__SSE_MATH__.
43578
43579 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43580
43581         [BZ #13540]
43582         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43583         processing for last bytes.
43584
43585 2011-08-06  Bruno Haible  <bruno@clisp.org>
43586
43587         [BZ #13061]
43588         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43589         U+0385, not to U+1FEE.
43590
43591         [BZ #13062]
43592         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43593         entry for U+00A5 U+0301.
43594
43595 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43596
43597         [BZ #13166]
43598         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43599         buffer for the output is too small.
43600
43601         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43602         optimization.
43603
43604         [BZ #13185]
43605         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43606         SSE flags if possible.
43607
43608 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43609
43610         [BZ #13540]
43611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43612         processing for last bytes.
43613
43614 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43615
43616         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43617         (syscall-list-default-options, syscall-list-default-condition)
43618         (syscall-list-includes): Define.
43619         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43620         list of ABIs and options and #if conditions for each ABI.  Do not
43621         handle common syscalls between ABIs specially.
43622         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43623         Remove.
43624         (syscall-list-variants, syscall-list-32bit-options)
43625         (syscall-list-32bit-condition, syscall-list-64bit-options)
43626         (syscall-list-64bit-condition): Define.
43627         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43628         (syscall-list-variants, syscall-list-32bit-options)
43629         (syscall-list-32bit-condition, syscall-list-64bit-options)
43630         (syscall-list-64bit-condition): Define.
43631         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43632         Remove.
43633         (syscall-list-variants, syscall-list-32bit-options)
43634         (syscall-list-32bit-condition, syscall-list-64bit-options)
43635         (syscall-list-64bit-condition): Define.
43636         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43637         Remove.
43638         (syscall-list-variants, syscall-list-32bit-options)
43639         (syscall-list-32bit-condition, syscall-list-64bit-options)
43640         (syscall-list-64bit-condition): Define.
43641
43642 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43643
43644         * locale/iso-639.def: Add brx entry.
43645
43646         [BZ #13328]
43647         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43648         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43649
43650         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43651         __feraiseexcept_renamed.
43652
43653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43654
43655         [BZ #13538]
43656         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43657         EPOLLET with unsigned values.
43658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43659         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43660
43661         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43662         to large cancellation.
43663         * math/s_cacoshf.c: Likewise.
43664         * math/s_cacoshl.c: Likewise.
43665
43666 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43667
43668         [BZ #13305]
43669         [BZ #12786]
43670         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43671         * math/s_cacoshf.c: Likewise.
43672         * math/s_cacoshl.c: Likewise.
43673
43674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43675
43676         [BZ #13439]
43677         * iconv/gconv.h: Define __GCONV_SWAP.
43678         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43679         * iconvdata/utf-16.c: Likewise.
43680         * iconvdata/utf-32.c: Likewise.
43681
43682 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43683
43684         [BZ #13524]
43685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43686         numerator after shifting it by one limb.
43687
43688 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43689
43690         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43691         under [__USE_EXTERN_INLINES].
43692
43693 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43694
43695         [BZ #13446]
43696         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43697
43698 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43699
43700         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43701         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43702         optimized code.
43703         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43705         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43706         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43707         for strncasecmp/strncasecmp_l compilation.
43708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43709         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43710
43711 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43712
43713         [BZ #13484]
43714         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43715         of __asm__.
43716
43717 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43718
43719         [BZ #13506]
43720         * time/tzfile.c (__tzfile_read): Check values from file header.
43721
43722 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43723
43724         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43725         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43726         * powerpc/powerpc32/dl-start.S: Likewise.
43727         * powerpc/powerpc32/elf/start.S: Likewise.
43728         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43729         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43730         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43731         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43732         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43733         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43734         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43735         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43736         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43737         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43738         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43739         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43740         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43741         * powerpc/powerpc32/memset.S: Likewise.
43742         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43743         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43744         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43745         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43746         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43747         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43748         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43749         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43750         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43751         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43752         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43755
43756 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43757
43758         * math/libm-test.inc: Added more nearbyint tests.
43759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43763
43764 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43765
43766         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43767         FD_CLOEXEC.
43768
43769 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43770
43771         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43772         Add wcscpy-ssse3 wcscpy-c.
43773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43774         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43775         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43776         * sysdeps/x86_64/wcschr.S: New file.
43777         * sysdeps/x86_64/wcsrchr.S: New file.
43778         * string/test-strcmp.c: Remove checking of wcscmp function for
43779         wrong alignments.
43780         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43781         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43782         wcsrchr-sse2 wcsrchr-c.
43783         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43784         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43785         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43786         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43787         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43788         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43789         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43790         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43791         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43792         * wcsmbc/wcschr.c (WCSCHR): New macro.
43793
43794 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43795
43796         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43797         * wcsmbs/test-wcsrchr.c: New file.
43798         * string/test-strrchr.c: Add wcsrchr support.
43799         (WIDE): New macro.
43800         * wcsmbs/test-wcscpy.c: New file.
43801         * string/test-strcpy.c: Add wcscpy support.
43802         (WIDE): New macro.
43803
43804 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43805
43806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43807         the inner loop.
43808
43809 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43810
43811         [BZ #13472]
43812         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43813
43814 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43815
43816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43817         Minor optimizations.
43818
43819         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43820         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43822
43823 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43824
43825         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43826         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43827         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43828         for gcc to avoid warnings.
43829         * inet/Makefile (tests): Add tst-checks.
43830         * inet/tst-checks.c: New file.
43831
43832         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43833         warning.
43834
43835         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43836         __wmemcmp_sse2.
43837
43838         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43839         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43840
43841         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43842
43843 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43844
43845         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43846         problem.
43847
43848         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43849
43850 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43851
43852         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43853         conditional on GCC version.
43854         (__arch_compare_and_exchange_val_8_acq)
43855         (__arch_compare_and_exchange_val_16_acq)
43856         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43857         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43858         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43859
43860 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43861
43862         * sysdeps/sh/backtrace.c: New file.
43863
43864 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43865
43866         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43867         parenthesis.
43868
43869 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43870
43871         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43872         falling back to utime.
43873
43874 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43875
43876         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43877         expectations for float.
43878
43879 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43880
43881         * locale/weight.h (findidx): Add parameter len.
43882         * locale/weightwc.h (findidx): Likewise.
43883         * posix/fnmatch_loop.c (FCT): Adjust caller.
43884         * posix/regcomp.c (build_equiv_class): Likewise.
43885         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43886         * posix/regexec.c (check_node_accept_bytes): Likewise.
43887         * string/strcoll_l.c (STRCOLL): Likewise.
43888         * string/strxfrm_l.c (STRXFRM): Likewise.
43889
43890 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43891
43892         * Makefile.in: Remove CVSOPT handling.
43893         * configure.in: Remove use of AC_REVISION.
43894         * iconvdata/Makefile (distribute): No need to filter out CVS.
43895         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43896         handling.
43897
43898 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43899
43900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43901         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43902         [USE_AS_STRNCASECMP_L]: Likewise.
43903         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43904         NO_TLS_DIRECT_SEG_REFS.
43905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43906         Fix argument offsets for non-PIC.
43907         [USE_AS_STRNCASECMP_L]: Likewise.
43908         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43909         NO_TLS_DIRECT_SEG_REFS.
43910
43911 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43912
43913         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43914         O_CLOEXEC.
43915         * locale/loadlocale.c (_nl_load_locale): Likewise.
43916
43917 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43918
43919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43920         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43922         (SYSCALL_GETTIME): Set errno on error.
43923
43924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43925         count references to noai6ai_cached.
43926
43927 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43928
43929         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43930
43931         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43932         FD_CLOEXEC for /proc/self/maps.
43933
43934         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43935         FD_CLOEXEC for /proc/meminfo.
43936
43937         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43938         gai.conf.
43939
43940         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43941         FD_CLOEXEC for given file.
43942
43943         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43944
43945         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43946         FD_CLOEXEC for /etc/hosts.
43947         (_gethtent): Likewise.
43948
43949         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43950
43951         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43952         cancellation and set FD_CLOEXEC for /etc/netgroup.
43953
43954         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43955         reading /etc/publickey.
43956
43957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43958         allow cancellation when reading /etc/group.
43959
43960         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43961         cancellation.
43962         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43963
43964         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43965         when using data file.
43966
43967         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43968
43969         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43970         (write_nis_obj): Use "c" and "e" in fopen.
43971
43972         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43973
43974         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43975
43976         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43977
43978         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43979
43980         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43981         locale.alias.
43982
43983         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43984
43985         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43986
43987         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43988
43989         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43990         file parsing and set FD_CLOEXEC.
43991
43992 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43993
43994         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43995
43996 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43997
43998         * malloc/arena.c (arena_get2): Don't call reused_arena when
43999         _int_new_arena failed.
44000
44001 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44002
44003         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44004         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44005         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44006         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44007         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44009         to compile strcasecmp and strncasecmp.
44010         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44011         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44012
44013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44014
44015 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44016
44017         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44018         locale-defines.sym to gen-as-const-headers.
44019         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44020         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44022         to compile strcasecmp and strncasecmp.
44023         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44024         strcasecmp_l and strncasecmp_l.
44025         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44026         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44027         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44028         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44029         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44031         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44032         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44033         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44034         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44035         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44036
44037 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44038
44039         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44040         result of SYSDEP_GETTIME_CPU to retval.
44041         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44042         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44043
44044         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44045         variable.
44046
44047         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44048         mantissa words.
44049         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44050
44051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44052         from unused variable.
44053
44054         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44055         DWARF definitions.
44056         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44057         for assembling.
44058
44059         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44060         over namespaces.
44061
44062         * sunrpc/rpc_prot.c (rejected): Fix case value.
44063
44064         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44065         unsigned long long int to avoid warnings in shift.
44066
44067         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44068         of use of trans.
44069         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44070         variable tmp.
44071
44072         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44073         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44074         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44075
44076         * nis/nis_table.c (nis_list): Use variable of correct type for
44077         result of __follow_path call.
44078
44079 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44080
44081         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44082         of math functions ceil, trunc, floor, round, and sqrt, when
44083         avaliable on the platform.
44084         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44085         name clash.
44086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44087         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44088         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44089
44090 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44091
44092         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44094
44095 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44096
44097         * include/unistd.h: Fix __readlink return type.
44098         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44099
44100 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44101
44102         * stdlib/ucontext.h: Undo last change for makecontext.
44103
44104 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44105
44106         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44107
44108         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44109         * setjmp/setjmp.h: Mark functions as non-leaf.
44110         * setjmp/bits/setjmp2.h: Likewise.
44111         * stdlib/ucontext.h: Likewise.
44112
44113 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44114
44115         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44116         (reused_arena): Don't check arena limit.
44117         (arena_get2): Atomically check arena limit.
44118
44119 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44120
44121         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44122         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44123
44124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44125         instructions.
44126
44127 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44128
44129         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44130         handler when locking.
44131
44132         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44133         Fix size of allocated buffer.
44134
44135 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44136
44137         [BZ #10103]
44138         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44139         declarations for long double functions.
44140         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44141
44142         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44143
44144 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44145
44146         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44147         installed.
44148
44149         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44150         is disabled.
44151
44152 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44153
44154         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44155
44156 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44157
44158         * include/alloca.h (stackinfo_alloca_round): Define.
44159         (extend_alloca): Use it.
44160         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44161         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44162         here.
44163
44164         * scripts/check-local-headers.sh: Ignore libaudit.h.
44165
44166         * nscd/Makefile (extra-objs): Make recursively expanded.
44167
44168 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44169
44170         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44172
44173         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44174         * posix/tst-rfc3484-2.c: Likewise.
44175         * posix/tst-rfc3484-3.c: Likewise.
44176
44177         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44178         process_vm_writev.
44179         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44180         process_vm_writev.
44181         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44182         process_vm_writev from libc using GLIBC_2.15 version.
44183
44184         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44185
44186 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44187
44188         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44189         stack usage.
44190
44191 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44192
44193         [BZ #13367]
44194         * nss/getent.c (initgroups_keys): Show error message in case no group
44195         names are given.
44196
44197         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44198         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44199         __bump_nl_timestamp.
44200         * nscd/connections (nscd_init): When host database is served open
44201         netlink socket and request notification about configuration changes.
44202         (main_loop_poll): Track netlink file descriptor and bump timestamp
44203         in case data becomes available.
44204         (main_loop_epoll): Likewise.
44205         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44206         (database_pers_head): Add extra_data fileds.
44207         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44209         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44210         Adjust caller.
44211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44212         in6ai data, call __free_in6ai.
44213         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44214         Add -DHAVE_NETLINK.
44215         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44216         interface information.  Reuse previous data if netlink timestamp
44217         is not changed.
44218         (__bump_nl_timestamp): New function.
44219         (__free_in6ai): New function.
44220
44221 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44222
44223         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44224         close_not_cancel_no_status here.
44225         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44226
44227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44228
44229         [BZ #13276]
44230         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44231         return value.
44232
44233         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44234         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44235         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44236
44237 2011-07-03  Andreas Jaeger  <aj@suse.de>
44238
44239         [BZ #10709]
44240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44241         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44242         * math/libm-test.inc (sin_test): Add test case.
44243
44244 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44245
44246         [BZ #13337]
44247         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44248         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44249
44250         * elf/chroot_canon.c (chroot_canon): Cleanups.
44251
44252         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44253
44254         [BZ #13335]
44255         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44257
44258         * string/test-strchr.c: Make usable for strchrnul testing.
44259         * string/test-strchrnul.c: New file.
44260         * string/Makefile (strop-tests): Add strchrnul.
44261
44262         * po/it.po: Update from translation team.
44263         * po/es.po: Likewise.
44264
44265 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44266
44267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44268         the three constants needed as parameters.  Drop the others.
44269         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44270         __m128i_strloadu_tolower.
44271         Create and initialize variable zero and use it in all the places
44272         where _mm_setzero_si128 was used.
44273
44274         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44275         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44276         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44278         anymore.
44279         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44280         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44281         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44282         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44283         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44284         __mpranred, __mptan.
44285         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44286         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44287         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44288         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44289         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44290         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44292         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44293         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44294
44295 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44296
44297         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44298         redefine if SHARED.
44299         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44300
44301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44302         wide char related routines to wcsmbs subdir.
44303
44304 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44305
44306         [BZ #13344]
44307         * misc/sys/cdefs.h (__THROWNL): Define.
44308         * posix/unistd.h: Use __THREADNL instead of __THREAD
44309         for memory synchronization functions.
44310
44311 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44312
44313         [BZ #13349]
44314         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44315         doesn't exist.
44316         * manual/stdio.texi (Obstack Streams): Node removed.
44317
44318 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44319
44320         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44321         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44322         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44323
44324         * math/math_private.h (math_force_eval): Allow non-addressable
44325         arguments.
44326         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44327
44328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44329
44330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44331         file is not needed.
44332
44333         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44340         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44341         Add AVX variants.
44342         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44343         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44344         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44345         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44346         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44347         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44348         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44349         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44350         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44351         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44352         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44353         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44358         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44359         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44360         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44361
44362         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44363         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44364
44365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44366         place.  Use VEX encoding when compiling for AVX.
44367
44368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44369
44370         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44371         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44372
44373         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44374
44375 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44376
44377         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44378         useless if() expression.
44379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44382         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44383         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44387         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44390         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44393         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44394         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44395         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44397         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44398
44399         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44400
44401 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44402
44403         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44404         condition.
44405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44406
44407 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44408
44409         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44410         .text section.  Avoid duplicate constants.
44411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44419         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44420         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44421         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44422         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44423         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44424         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44425         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44438         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44439         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44440         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44442         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44444         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44445         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44446         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44447         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44449         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44450         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44452         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44453         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44454         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44455         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44456
44457 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44458
44459         * sysdeps/x86_64/dla.h: Move to ...
44460         * sysdeps/x86_64/fpu/dla.h: ...here.
44461         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44462         situations.  Use __builtin_fma only for gcc 4.6 and up.
44463
44464         * config.make.in: Add have-mfma4 entry.
44465         * configure.in: Substitute libc_cv_cc_fma4.
44466         * math/Makefile (dbl-only-routines): Add sincostab.
44467         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44468         Use __sincostab not sincos.
44469         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44470         name is a macro.
44471         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44475         using __copysign.
44476         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44477         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44478         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44479         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44480         and __inv.
44481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44482         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44483         __copysign.
44484         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44485         define aliases when function name is a macro.
44486         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44487         sysdeps/ieee754/dbl-64/sincos.tbl.
44488         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44489         fma4-enabled routines.
44490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44491         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44492         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44493         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44495         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44497         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44499         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44500         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44501         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44502         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44503         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44505         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44506         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44507         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44508         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44509         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44510         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44511         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44512         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44517         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44518         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44519         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44520
44521         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44522         rename.
44523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44531
44532 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44533
44534         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44535
44536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44537
44538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44539
44540         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44541         prediction.
44542         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44543
44544         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44545         Remove unused variable magic_bits.
44546         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44547
44548         * string/strnlen.c: Define and use STRNLEN macro.
44549         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44550         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44552         * wcsmbs/wcslen.c: Define and use WCSLEN.
44553         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44554         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44555         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44556         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44557         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44558         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44559         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44560
44561 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44562
44563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44564         strnlen-sse2-no-bsf.
44565         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44567         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44568         Add strnlen support.
44569         (USE_AS_STRNLEN): New macro.
44570         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44571         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44572         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44573         * sysdeps/x86_64/wcslen.S: New file.
44574
44575 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44576
44577         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44578         XMM-moves are used for copying on small sizes.
44579
44580 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44581
44582         * wcsmbs/Makefile (strop-tests): Add wcschr.
44583         * wcsmbs/test-wcschr.c: New file.
44584         * string/test-strchr.c: Update.
44585         Add wcschr support.
44586         (WIDE): New macro.
44587
44588 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44589
44590         * wcsmbs/Makefile (strop-tests): Add wcslen.
44591         * wcsmbs/test-wcslen.c: New file.
44592         * string/test-strlen.c: Update.
44593         Add wcslen support.
44594         (WIDE): New macro.
44595
44596 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44597
44598         * po/it.po: Update from translation team.
44599
44600 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44601
44602         * sysdeps/x86_64/wcscmp.S: Update.
44603         Fix wrong comparison semantics.
44604         wcscmp shall use signed comparison not unsigned.
44605         Don't use substraction to avoid overflow bug.
44606         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44607         * wcsmbc/wcscmp.c: Likewise.
44608         * string/test-strcmp.c: Likewise.
44609         Add new tests to check cases with negative values.
44610
44611 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44612
44613         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44614         * sysdeps/x86_64/dla.h: ...here.  New file.
44615         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44624
44625 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44626
44627         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44628         __ynl_finite aliases.
44629
44630 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44631
44632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44633
44634         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44635         define DLA_FMA.
44636         [DLA_FMA] (EMULV): Use DLA_FMA.
44637         [DLA_FMA] (MUL12): Use EMULV.
44638         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44639         that are not needed.
44640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44647
44648 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44649
44650         * math/s_nan.c: Undef __nan.
44651         * math/s_nanf.c: Undef __nanf.
44652         * math/s_nanl.c: Undef __nanl.
44653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44654         "math_private.h".
44655
44656 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44657
44658         * math/s_catan.c: Add branch predictions.
44659         * math/s_catanf.c: Likewise.
44660         * math/s_catanh.c: Likewise.
44661         * math/s_catanhf.c: Likewise.
44662         * math/s_catanhl.c: Likewise.
44663         * math/s_catanl.c: Likewise.
44664         * math/s_cexp.c: Likewise.
44665         * math/s_cexpf.c: Likewise.
44666         * math/s_cexpl.c: Likewise.
44667         * math/s_clog.c: Likewise.
44668         * math/s_clog10.c: Likewise.
44669         * math/s_clog10f.c: Likewise.
44670         * math/s_clog10l.c: Likewise.
44671         * math/s_clogf.c: Likewise.
44672         * math/s_clogl.c: Likewise.
44673         * math/s_csqrt.c: Likewise.
44674         * math/s_csqrtf.c: Likewise.
44675         * math/s_csqrtl.c: Likewise.
44676         * math/s_ctanf.c: Likewise.
44677         * math/s_ctanh.c: Likewise.
44678         * math/s_ctanhf.c: Likewise.
44679         * math/s_ctanhl.c: Likewise.
44680         * math/s_ctanl.c: Likewise.
44681
44682         * math/math_private.h: Define __nan, __nanf, __nanl.
44683         * math/s_cacosh.c: Include <math_private.h>.
44684         * math/s_cacoshl.c: Likewise.
44685         * math/s_casinh.c: Likewise.
44686         * math/s_casinhf.c: Likewise.
44687         * math/s_casinhl.c: Likewise.
44688         * math/s_ccos.c: Rely entire on ccosh.
44689         * math/s_ccosf.c: Rely entire on ccoshf.
44690         * math/s_ccosl.c: Rely entirely on ccoshl.
44691         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44692         Remove tests for FE_INVALID.
44693         * math/s_ccoshf.c: Likewise.
44694         * math/s_ccoshl.c: Likewise.
44695         * math/s_csin.c: Likewise.
44696         * math/s_csinf.c: Likewise.
44697         * math/s_csinh.c Likewise.
44698         * math/s_csinhf.c: Likewise.
44699         * math/s_csinhl.c: Likewise.
44700         * math/s_csinl.c: Likewise.
44701         * math/s_ctan.c: Likewise.
44702         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44703         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44705
44706 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44707
44708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44709         compilation problems.
44710
44711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44712         __builtin_expect.
44713
44714 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44715
44716         * sysdeps/i386/configure.in: Test for -mfma4 option.
44717         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44718         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44719         COMMON_CPUID_INDEX_80000001.
44720         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44721         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44722         use it if FMA3 is not supported.
44723         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44724
44725         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44726         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44727
44728 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44729
44730         [BZ #12892]
44731         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44732         it would create a cycle with a link time dependency.
44733
44734 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44735
44736         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44737         instruction.
44738         * string/Makefile (strop-tests): Add rawmemchr.
44739         * string/test-rawmemchr.c: New file.
44740
44741         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44743         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44744         when compiling str{,n}casecmp and when AVX is available.  Hook up
44745         new optimized code in initializers.
44746
44747 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44748
44749         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44750         __feraiseexcept instead of feraiseexcept.
44751
44752 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44753
44754         * math/math_private.h: Define defaults for libc_fetestexcept and
44755         libc_feupdateenv.
44756         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44757         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44758         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44760         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44761         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44762         libc_fetestexcept and libc_feupdateenv.
44763
44764         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44765         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44766         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44767         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44768         libc_feholdexcept_setround.
44769
44770         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44771         Add s_nearbyint-c and s_nearbyintf-c.
44772         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44773         nearbyintf inlines.
44774         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44775         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44776         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44777         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44778
44779         * math/math_private.h: Define defaults for libc_fegetround,
44780         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44781         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44782         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44783         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44784         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44785         standard functions.
44786         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44787         Remove comments and hacks for old compiler versions.
44788         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44789         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44790         libc_feholdexceptl.
44791
44792 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44793
44794         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44795         (__feraiseexcept_renamed): Add __NTH.
44796         (feraiseexcept): Add __NTH.  Rename local variables to fix
44797         namespace violations.
44798
44799 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44800
44801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44802
44803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44804
44805         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44806         recently added interfaces.
44807         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44808
44809         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44810         about macro parameter expansion.
44811
44812         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44813         __NO_MATH_INLINES is defined.  Cleanups.
44814
44815         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44816         and __floorf is target has SSE4.1.
44817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44818         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44819         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44820         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44821
44822         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44823         name.
44824         (floorf): Likewise.
44825
44826         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44827
44828 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44829
44830         * misc/sys/cdefs.h: Fix last change.
44831
44832         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44833         database lookup.
44834
44835 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44836
44837         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44838
44839         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44841         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44847         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44848         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44849         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44850         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44851         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44852         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44853         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44854         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44855         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44856         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44857         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44858         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44859         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44860         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44861
44862         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44863         ceil, ceilf, floor, floorf.
44864
44865         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44866         Perform IRELATIVE relocations last.
44867
44868         * elf/do-rel.h: Add another parameter nrelative, replacing the
44869         local variable with the same name.  Change name of the function
44870         to end in Rel or Rela (uppercase).
44871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44872         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44873         elf_dynamic_do_##reloc function.
44874
44875 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44878         is sufficient, at least on modern CPUs.
44879
44880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44881
44882         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44884
44885         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44886         __expl_finite.
44887         * math/bits/math-finite.h: Add entries for exp.
44888         * math/e_expl.c: Add __*_finite alias.
44889         * sysdeps/i386/fpu/e_exp.S: Likewise.
44890         * sysdeps/i386/fpu/e_expf.S: Likewise.
44891         * sysdeps/i386/fpu/e_expl.c: Likewise.
44892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44894         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44897         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44898         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44899
44900         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44901         is sufficient, at least on modern CPUs.
44902
44903         * ctype/ctype-info.c (__ctype_init): Define.
44904         * include/ctype.h (__ctype_init): Declare.
44905         (__ctype_b_loc): The variable is always initialized.
44906         (__ctype_toupper_loc): Likewise.
44907         (__ctype_tolower_loc): Likewise.
44908         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44909         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44910
44911 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44912
44913         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44914
44915         * configure.in: Also look in $cxxmachine/include for C++ system
44916         headers.
44917
44918 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44919
44920         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44921         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44922         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44923         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44925         (USE_AS_WMEMCMP): New macro.
44926         Fixing indents.
44927         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44928         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44929         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44930         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44932         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44933         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44934         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44935         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44936         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44938         (USE_AS_WMEMCMP): New macro.
44939         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44940         * sysdeps/string/test-memcmp.c: Update.
44941         Fix simple_wmemcmp.
44942         Add new tests.
44943         * wcsmbs/wmemcmp.c: Update.
44944         (WMEMCMP): New macro.
44945         Fix overflow bug.
44946
44947 2011-10-12  Andreas Jaeger  <aj@suse.de>
44948
44949         [BZ #13268]
44950         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44951
44952 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44953
44954         * libio/iofwide.c (do_length): Avoid warning.
44955
44956         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44957
44958 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44959
44960         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44961
44962         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44963         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44964         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44965         * sysdeps/i386/i686/fpu/e_log.S: New file.
44966         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44967         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44968
44969         * ctype/ctype.h: Add support for inlined isXXX functions when
44970         compiling C++ code.
44971
44972 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44973
44974         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44975
44976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44977
44978 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44979
44980         [BZ #13291]
44981         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44982
44983 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44984
44985         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44986         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44987         feraiseexcept.
44988
44989         * sysdeps/x86_64/memrchr.S: Check for zero size.
44990
44991         * string/stratcliff.c: Add memrchr tests.
44992
44993 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44994
44995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44996         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44997         rawmemchr-sse2 rawmemchr-sse2-bsf.
44998         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44999         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45000         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45001         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45002         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45003         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45005         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45006         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45007         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45008         * string/memrchr.c (MEMRCHR): New macro.
45009
45010 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45011
45012         Add integration with gcc's -ffinite-math-only and optimize wrapper
45013         functions in libm.
45014         * Versions.def: Define GLIBC_2.15 version for libm.
45015         * math/Makefile (headers): Add bits/math-finite.h.
45016         * math/bits/math-finite.h: New file.
45017         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45018         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45019         * math/e_acoshl.c: Add __*_finite alias.
45020         * math/e_acosl.c: Likewise.
45021         * math/e_asinl.c: Likewise.
45022         * math/e_atan2l.c: Likewise.
45023         * math/e_atanhl.c: Likewise.
45024         * math/e_coshl.c: Likewise.
45025         * math/e_exp10.c: Likewise.
45026         * math/e_exp10f.c: Likewise.
45027         * math/e_exp10l.c: Likewise.
45028         * math/e_exp2l.c: Likewise.
45029         * math/e_fmodl.c: Likewise.
45030         * math/e_gammal_r.c: Likewise.
45031         * math/e_hypotl.c: Likewise.
45032         * math/e_j0l.c: Likewise.
45033         * math/e_j1l.c: Likewise.
45034         * math/e_jnl.c: Likewise.
45035         * math/e_lgammal_r.c: Likewise.
45036         * math/e_log10l.c: Likewise.
45037         * math/e_log2l.c: Likewise.
45038         * math/e_logl.c: Likewise.
45039         * math/e_powl.c: Likewise.
45040         * math/e_sinhl.c: Likewise.
45041         * math/e_sqrtl.c: Likewise.
45042         * math/e_scalb.c: Completely rewritten and optimized.
45043         * math/e_scalbf.c: Likewise.
45044         * math/e_scalbl.c: Likewise.
45045         * math/w_acos.c: Likewise.
45046         * math/w_acosf.c: Likewise.
45047         * math/w_acosl.c: Likewise.
45048         * math/w_acosh.c: Likewise.
45049         * math/w_acoshf.c: Likewise.
45050         * math/w_acoshl.c: Likewise.
45051         * math/w_asin.c: Likewise.
45052         * math/w_asinf.c: Likewise.
45053         * math/w_asinl.c: Likewise.
45054         * math/w_atan2.c: Likewise.
45055         * math/w_atan2f.c: Likewise.
45056         * math/w_atan2l.c: Likewise.
45057         * math/w_atanh.c: Likewise.
45058         * math/w_atanhf.c: Likewise.
45059         * math/w_atanhl.c: Likewise.
45060         * math/w_exp10.c: Likewise.
45061         * math/w_exp10f.c: Likewise.
45062         * math/w_exp10l.c: Likewise.
45063         * math/w_fmod.c: Likewise.
45064         * math/w_fmodf.c: Likewise.
45065         * math/w_fmodl.c: Likewise.
45066         * math/w_j0.c: Likewise.
45067         * math/w_j0f.c: Likewise.
45068         * math/w_j0l.c: Likewise.
45069         * math/w_j1.c: Likewise.
45070         * math/w_j1f.c: Likewise.
45071         * math/w_j1l.c: Likewise.
45072         * math/w_jn.c: Likewise.
45073         * math/w_jnf.c: Likewise.
45074         * math/w_log.c: Likewise.
45075         * math/w_logf.c: Likewise.
45076         * math/w_logl.c: Likewise.
45077         * math/w_log10.c: Likewise.
45078         * math/w_log10f.c: Likewise.
45079         * math/w_log10l.c: Likewise.
45080         * math/w_log2.c: Likewise.
45081         * math/w_log2f.c: Likewise.
45082         * math/w_log2l.c: Likewise.
45083         * math/w_pow.c: Likewise.
45084         * math/w_powf.c: Likewise.
45085         * math/w_powl.c: Likewise.
45086         * math/w_remainder.c: Likewise.
45087         * math/w_remainderf.c: Likewise.
45088         * math/w_remainderl.c: Likewise.
45089         * math/w_scalb.c: Likewise.
45090         * math/w_scalbf.c: Likewise.
45091         * math/w_scalbl.c: Likewise.
45092         * math/w_sqrt.c: Likewise.
45093         * math/w_sqrtf.c: Likewise.
45094         * math/w_sqrtl.c: Likewise.
45095         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45096         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45097         used.
45098         * math/math_private.h: Declare __kernel_standard_f.
45099         * math/w_cosh.c: Remove cruft and optimize a bit.
45100         * math/w_coshf.c: Likewise.
45101         * math/w_coshl.c: Likewise.
45102         * math/w_exp2.c: Likewise.
45103         * math/w_exp2f.c: Likewise.
45104         * math/w_exp2l.c: Likewise.
45105         * math/w_hypot.c: Likewise.
45106         * math/w_hypotf.c: Likewise.
45107         * math/w_hypotl.c: Likewise.
45108         * math/w_lgamma.c: Likewise.
45109         * math/w_lgamma_r.c: Likewise.
45110         * math/w_lgammaf.c: Likewise.
45111         * math/w_lgammaf_r.c: Likewise.
45112         * math/w_lgammal.c: Likewise.
45113         * math/w_lgammal_r.c: Likewise.
45114         * math/w_sinh.c: Likewise.
45115         * math/w_sinhf.c: Likewise.
45116         * math/w_sinhl.c: Likewise.
45117         * math/w_tgamma.c: Likewise.
45118         * math/w_tgammaf.c: Likewise.
45119         * math/w_tgammal.c: Likewise.
45120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45121         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45122         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45123         Minor optimizations.  Pretty printing.  Remove cruft.
45124         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45126         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45127         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45128         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45129         * sysdeps/i386/fpu/e_asin.S: Likewise.
45130         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45131         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45132         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45133         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45136         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45137         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45138         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45139         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45140         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45141         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45142         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45143         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45144         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45145         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45146         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45147         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45148         * sysdeps/i386/fpu/e_log.S: Likewise.
45149         * sysdeps/i386/fpu/e_log10.S: Likewise.
45150         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45152         * sysdeps/i386/fpu/e_log2.S: Likewise.
45153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45155         * sysdeps/i386/fpu/e_logf.S: Likewise.
45156         * sysdeps/i386/fpu/e_logl.S: Likewise.
45157         * sysdeps/i386/fpu/e_pow.S: Likewise.
45158         * sysdeps/i386/fpu/e_powf.S: Likewise.
45159         * sysdeps/i386/fpu/e_powl.S: Likewise.
45160         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45161         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45162         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45163         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45166         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45167         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45168         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45169         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45172         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45174         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45176         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45179         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45185         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45186         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45190         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45191         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45192         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45193         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45194         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45195         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45196         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45207         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45208         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45209         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45210         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45219         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45221         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45222         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45224         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45225         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45226         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45233         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45240         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45241         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45242         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45246         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45248         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45249         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45250         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45252         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45253         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45257         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45258         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45259         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45264         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45265         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45266         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45267         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45268         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45269         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45270         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45271         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45272         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45273         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45275         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45276         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45277         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45279         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45280         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45281         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45282         (__isnanf): Likewise.
45283         (__isinf_ns): Likewise.
45284         (__isinf_nsf): Likewise.
45285         (__finite): Likewise.
45286         (__finitef): Likewise.
45287         (__ieee754_sqrt): Define as macro.
45288         (__ieee754_sqrtf): Define as macro.
45289         (__ieee754_sqrtl): Define as macro.
45290         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45291         inlined copy.
45292         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45293         __FINITE_MATH_ONLY__ consistent.
45294         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45295
45296 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45297
45298         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45299         of rawmemchr.
45300
45301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45302
45303 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45304
45305         * po/ja.po: Update from translation team.
45306
45307 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45308
45309         * locale/programs/locarchive.c (prepare_address_space): New function.
45310         (create_archive, enlarge_archive, open_archive): Use it.
45311
45312         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45313         inside [SHARED], where it is used.
45314
45315         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45316
45317         * nss/getent.c (netgroup_keys): Remove unused variable.
45318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45319
45320 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45321
45322         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45323         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45325         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45326         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45327         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45328         * math/Makefile (libm-calls): Add s_isinf_ns.
45329         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45330         * math/multc3.c: Likewise.
45331         * math/s_casin.c: Likewise.
45332         * math/s_casinf.c: Likewise.
45333         * math/s_casinl.c: Likewise.
45334         * math/s_ccos.c: Likewise.
45335         * math/s_ccosf.c: Likewise.
45336         * math/s_ccosl.c: Likewise.
45337         * math/s_ctan.c: Likewise.
45338         * math/s_ctanf.c: Likewise.
45339         * math/s_ctanh.c: Likewise.
45340         * math/s_ctanhf.c: Likewise.
45341         * math/s_ctanhl.c: Likewise.
45342         * math/s_ctanl.c: Likewise.
45343         * math/w_fmod.c: Likewise.
45344         * math/w_fmodf.c: Likewise.
45345         * math/w_fmodl.c: Likewise.
45346         * math/w_remainder.c: Likewise.
45347         * math/w_remainderf.c: Likewise.
45348         * math/w_remainderl.c: Likewise.
45349         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45350         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45353         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45354         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45355         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45356         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45357
45358         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45359         of the number.
45360         * stdio-common/printf_fphex.c: Likewise.
45361         * stdio-common/printf_size.c: Likewise.
45362
45363         * math/e_exp10.c: Include math_private.h using <...> not "...".
45364         * math/e_exp10f.c: Likewise.
45365         * math/e_exp10l.c: Likewise.
45366         * math/e_exp2l.c: Likewise.
45367         * math/e_j0l.c: Likewise.
45368         * math/e_j1l.c: Likewise.
45369         * math/e_jnl.c: Likewise.
45370         * math/e_lgammal_r.c: Likewise.
45371         * math/e_rem_pio2l.c: Likewise.
45372         * math/e_scalb.c: Likewise.
45373         * math/e_scalbf.c: Likewise.
45374         * math/e_scalbl.c: Likewise.
45375         * math/k_cosl.c: Likewise.
45376         * math/k_sinl.c: Likewise.
45377         * math/k_tanl.c: Likewise.
45378         * math/s_cacoshf.c: Likewise.
45379         * math/s_catan.c: Likewise.
45380         * math/s_catanf.c: Likewise.
45381         * math/s_catanh.c: Likewise.
45382         * math/s_catanhf.c: Likewise.
45383         * math/s_catanhl.c: Likewise.
45384         * math/s_catanl.c: Likewise.
45385         * math/s_ccosh.c: Likewise.
45386         * math/s_ccoshf.c: Likewise.
45387         * math/s_ccoshl.c: Likewise.
45388         * math/s_cexp.c: Likewise.
45389         * math/s_cexpf.c: Likewise.
45390         * math/s_cexpl.c: Likewise.
45391         * math/s_clog.c: Likewise.
45392         * math/s_clog10.c: Likewise.
45393         * math/s_clog10f.c: Likewise.
45394         * math/s_clog10l.c: Likewise.
45395         * math/s_clogf.c: Likewise.
45396         * math/s_clogl.c: Likewise.
45397         * math/s_csin.c: Likewise.
45398         * math/s_csinf.c: Likewise.
45399         * math/s_csinh.c: Likewise.
45400         * math/s_csinhf.c: Likewise.
45401         * math/s_csinhl.c: Likewise.
45402         * math/s_csinl.c: Likewise.
45403         * math/s_csqrt.c: Likewise.
45404         * math/s_csqrtf.c: Likewise.
45405         * math/s_csqrtl.c: Likewise.
45406         * math/s_ctan.c: Likewise.
45407         * math/s_ctanf.c: Likewise.
45408         * math/s_ctanh.c: Likewise.
45409         * math/s_ctanhf.c: Likewise.
45410         * math/s_ctanhl.c: Likewise.
45411         * math/s_ctanl.c: Likewise.
45412         * math/s_ldexp.c: Likewise.
45413         * math/s_ldexpf.c: Likewise.
45414         * math/s_ldexpl.c: Likewise.
45415         * math/s_significand.c: Likewise.
45416         * math/s_significandf.c: Likewise.
45417         * math/s_significandl.c: Likewise.
45418         * math/w_acos.c: Likewise.
45419         * math/w_acosf.c: Likewise.
45420         * math/w_acosh.c: Likewise.
45421         * math/w_acoshf.c: Likewise.
45422         * math/w_acoshl.c: Likewise.
45423         * math/w_acosl.c: Likewise.
45424         * math/w_asin.c: Likewise.
45425         * math/w_asinf.c: Likewise.
45426         * math/w_asinl.c: Likewise.
45427         * math/w_atan2.c: Likewise.
45428         * math/w_atan2f.c: Likewise.
45429         * math/w_atan2l.c: Likewise.
45430         * math/w_atanh.c: Likewise.
45431         * math/w_atanhf.c: Likewise.
45432         * math/w_atanhl.c: Likewise.
45433         * math/w_cosh.c: Likewise.
45434         * math/w_coshf.c: Likewise.
45435         * math/w_coshl.c: Likewise.
45436         * math/w_dremf.c: Likewise.
45437         * math/w_exp10.c: Likewise.
45438         * math/w_exp10f.c: Likewise.
45439         * math/w_exp10l.c: Likewise.
45440         * math/w_exp2.c: Likewise.
45441         * math/w_exp2f.c: Likewise.
45442         * math/w_fmod.c: Likewise.
45443         * math/w_fmodf.c: Likewise.
45444         * math/w_fmodl.c: Likewise.
45445         * math/w_hypot.c: Likewise.
45446         * math/w_hypotf.c: Likewise.
45447         * math/w_hypotl.c: Likewise.
45448         * math/w_j0.c: Likewise.
45449         * math/w_j0f.c: Likewise.
45450         * math/w_j0l.c: Likewise.
45451         * math/w_j1.c: Likewise.
45452         * math/w_j1f.c: Likewise.
45453         * math/w_j1l.c: Likewise.
45454         * math/w_jn.c: Likewise.
45455         * math/w_jnf.c: Likewise.
45456         * math/w_jnl.c: Likewise.
45457         * math/w_lgamma.c: Likewise.
45458         * math/w_lgamma_r.c: Likewise.
45459         * math/w_lgammaf.c: Likewise.
45460         * math/w_lgammaf_r.c: Likewise.
45461         * math/w_lgammal.c: Likewise.
45462         * math/w_lgammal_r.c: Likewise.
45463         * math/w_log.c: Likewise.
45464         * math/w_log10.c: Likewise.
45465         * math/w_log10f.c: Likewise.
45466         * math/w_log10l.c: Likewise.
45467         * math/w_log2.c: Likewise.
45468         * math/w_log2f.c: Likewise.
45469         * math/w_log2l.c: Likewise.
45470         * math/w_logf.c: Likewise.
45471         * math/w_logl.c: Likewise.
45472         * math/w_pow.c: Likewise.
45473         * math/w_powf.c: Likewise.
45474         * math/w_powl.c: Likewise.
45475         * math/w_remainder.c: Likewise.
45476         * math/w_remainderf.c: Likewise.
45477         * math/w_remainderl.c: Likewise.
45478         * math/w_scalb.c: Likewise.
45479         * math/w_scalbf.c: Likewise.
45480         * math/w_scalbl.c: Likewise.
45481         * math/w_sinh.c: Likewise.
45482         * math/w_sinhf.c: Likewise.
45483         * math/w_sinhl.c: Likewise.
45484         * math/w_sqrt.c: Likewise.
45485         * math/w_sqrtf.c: Likewise.
45486         * math/w_sqrtl.c: Likewise.
45487         * math/w_tgamma.c: Likewise.
45488         * math/w_tgammaf.c: Likewise.
45489         * math/w_tgammal.c: Likewise.
45490
45491         * po/ja.po: Update from translation team.
45492
45493 2011-09-29  Andreas Jaeger  <aj@suse.de>
45494
45495         [BZ #13179]
45496         * sunrpc/netname.c (netname2host): Fix logic.
45497
45498         [BZ #6779]
45499         [BZ #6783]
45500         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45501         correctly.
45502         * math/w_remainder.c (__remainder): Likewise.
45503         * math/w_remainderf.c (__remainderf): Likewise.
45504         * math/libm-test.inc (remainder_test): Add test cases.
45505
45506 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45507
45508         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45509         sdiv_qrnnd.
45510
45511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45512
45513         * string/test-memcmp.c: Avoid unncessary #defines.
45514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45515
45516 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45517
45518         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45519         Use new sse2 version for core i3 - i7 as it's faster
45520         than sse42 version.
45521         (bit_Prefer_PMINUB_for_stringop): New.
45522         * sysdeps/x86_64/rawmemchr.S: Update.
45523         Replace with faster SSE2 version.
45524         * sysdeps/x86_64/memrchr.S: New file.
45525         * sysdeps/x86_64/memchr.S: Update.
45526         Replace with faster SSE2 version.
45527
45528 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45529
45530         * elf/dl-load.c (lose): Add cast to avoid warning.
45531
45532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45533
45534         * po/ca.po: Update from translation team.
45535
45536         * inet/getnetgrent_r.c: Hook up nscd.
45537         * nscd/Makefile (routines): Add nscd_netgroup.
45538         (nscd-modules): Add netgroupcache.
45539         (CFLAGS-netgroupcache.c): Define.
45540         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45541         (cache_search): Add const to second parameter.
45542         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45543         INNETGR.
45544         (dbs): Add netgrdb entry.
45545         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45546         (verify_persistent_db): Handle netgrdb.
45547         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45548         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45549         GETFDNETGR.
45550         (netgroup_response_header): Define.
45551         (innetgroup_response_header): Define.
45552         (datahead): Add netgroup_response_header and innetgroup_response_header
45553         elements.
45554         * nscd/nscd.conf: Add entries for netgroup cache.
45555         * nscd/nscd.h (dbtype): Add netgrdb.
45556         (_PATH_NSCD_NETGROUP_DB): Define.
45557         (netgroup_iov_disabled): Declare.
45558         (xmalloc, xcalloc, xrealloc): Move declarations here.
45559         (cache_search): Adjust prototype.
45560         Add netgroup-related prototypes.
45561         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45562         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45563         (__nscd_innetgr): Declare.
45564         * nscd/selinux.c (perms): Use access_vector_t as element type and
45565         add netgroup-related initializers.
45566         * nscd/netgroupcache.c: New file.
45567         * nscd/nscd_netgroup.c: New file.
45568         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45569         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45570         For four parameters use innetgr.
45571         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45572         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45573         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45574         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45575
45576         * nscd/connections.c (register_traced_file): Don't register file
45577         for disabled databases.
45578
45579 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45580
45581         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45582
45583         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45584         from tree and freeing node.
45585
45586 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45587
45588         * nss/nsswitch.c (__nss_database_lookup): Handle
45589         nss_parse_service_list out of memory case.
45590
45591 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45592
45593         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45594         out of memory case.
45595
45596 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45597
45598         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45599         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45600         pass it down.
45601         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45602         elf_machine_rela, elf_machine_lazy_rel.
45603         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45604         (ELF_DYNAMIC_DO_REL): Likewise.
45605         (ELF_DYNAMIC_DO_RELA): Likewise.
45606         (ELF_DYNAMIC_RELOCATE): Likewise.
45607         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45608         to ELF_DYNAMIC_DO_REL.
45609         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45610         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45611         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45612         elf_machine_rela.
45613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45614         skip_ifunc, don't call ifunc function if non-zero.
45615         (elf_machine_rela): Likewise.
45616         (elf_machine_lazy_rel): Likewise.
45617         (elf_machine_lazy_rela): Likewise.
45618         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45619         (elf_machine_lazy_rel): Likewise.
45620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45621         Likewise.
45622         (elf_machine_lazy_rel): Likewise.
45623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45624         Likewise.
45625         (elf_machine_lazy_rel): Likewise.
45626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45627         (elf_machine_lazy_rel): Likewise.
45628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45629         (elf_machine_lazy_rel): Likewise.
45630         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45631         (elf_machine_lazy_rel): Likewise.
45632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45633         (elf_machine_lazy_rel): Likewise.
45634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45635         (elf_machine_lazy_rel): Likewise.
45636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45637         (elf_machine_lazy_rel): Likewise.
45638
45639 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45640
45641         * nss/nss_files/files-init.c (_nss_files_init): Use static
45642         initialization for all the *_traced_file variables.
45643
45644 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45645
45646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45647
45648 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45649
45650         [BZ #13226]
45651         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45652
45653 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45654
45655         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45656         Reread the line before reparsing it.
45657
45658 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45659
45660         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45661
45662 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45663             Maxim Kuvyrkov  <maxim@codesourcery.com>
45664             Joseph Myers  <joseph@codesourcery.com>
45665
45666         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45667         if needed for __stack_chk_guard.
45668
45669 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45670
45671         * sysdeps/posix/spawni.c (script_execute): Always define it.
45672         It will be optimized away if unused.
45673         (maybe_script_execute): New function.
45674         (__spawni): Call it.
45675
45676         * Makerules: Don't include tls.make.
45677         (config-tls): Always set to thread.
45678         * tls.make.c: File removed.
45679
45680 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45681
45682         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45683         * config.make.in (CPPFLAGS-config): New substituted variable.
45684
45685 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45686
45687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45688
45689         [BZ #13192]
45690         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45691         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45692
45693 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45694
45695         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45696         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45698         (CALL_FAIL): Likewise.
45699         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45700         (CALL_FAIL): Macro removed.
45701         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45702
45703 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45704
45705         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45706         for __FINITE_MATH_ONLY__ == 1.
45707
45708 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45709
45710         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45711         __ieee754_sqrt instead of sqrt.
45712         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45713         __ieee754_sqrtf instead of sqrtf.
45714         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45715         __floorf instead of floorf.
45716         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45717         __floorf, __truncf instead of floorf, truncf.
45718
45719 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45720
45721         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45722
45723         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45724         __extern_always_inline.
45725         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45726         32-bit.
45727
45728 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45729
45730         * elf/rtld.c (dl_main): Also relocate in dependency order when
45731         doing symbol dependency testing.
45732
45733 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45734
45735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45736         Always define `refsym'.
45737
45738 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45739
45740         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45741         (__FD_ELT): Renamed from __FDELT.
45742         * misc/bits/select2.h (__FD_ELT): Likewise.
45743         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45744         __FD_MASK instead of __FDELT, __FDMASK.
45745         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45746         Likewise.
45747         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45748         Likewise.
45749
45750         * elf/Makefile (gen-ldd): Fix pattern.
45751
45752         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45753         (init_tls): Likewise.
45754
45755 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45756
45757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45758
45759 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45760
45761         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45762         `struct cmsghdr *' instead of `void *'.
45763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45764         Likewise.
45765
45766 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45767
45768         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45769         if non-absolute.
45770         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45771         ldd_rewrite_script.
45772
45773 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45774
45775         * configure.in: Remove --with-tls option.
45776         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45777         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45778         out in case it is missing.
45779         * sysdeps/ia64/elf/configure.in: Likewise.
45780         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45781         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45782         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45783         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45784         * sysdeps/sh/elf/configure.in: Likewise.
45785         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45786         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45787         * sysdeps/x86_64/elf/configure.in: Likewise.
45788         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45789         * sysdeps/mach/hurd/tls.h: Likewise.
45790
45791         [BZ #13067]
45792         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45793
45794         [BZ #13090]
45795         * configure.in: Fix use of AC_INIT.
45796
45797         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45798
45799 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45800
45801         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45802         __set_errno.
45803         * malloc/hooks.c: Likewise.
45804
45805         [BZ #11929]
45806         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45807         variables statically.
45808         (narenas): Initialize.
45809         (list_lock): Initialize.
45810         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45811         initializtion of main_arena and list_lock.  Small cleanups.
45812         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45813         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45814         Add initializers to main_arena and mp_.
45815         (malloc_state): Remove pagesize member.  Change all users to use
45816         GLRO(dl_pagesize).
45817
45818         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45819         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45820         is always initialized.
45821
45822         * malloc/malloc.c: Removed unused configurations and dead code.
45823         * malloc/arena.c: Likewise.
45824         * malloc/hooks.c: Likewise.
45825         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45826
45827         * include/tls.h: Removed.  USE___THREAD must always be defined.
45828         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45829         * elf/dl-libc.c: Likewise.
45830         * elf/dl-tsd.c: Likewise.
45831         * include/errno.h: Likewise.
45832         * include/netdb.h: Likewise.
45833         * include/resolv.h: Likewise.
45834         * inet/herrno-loc.c: Likewise.
45835         * inet/herrno.c: Likewise.
45836         * malloc/arena.c: Likewise.
45837         * malloc/hooks.c: Likewise.
45838         * malloc/malloc.c: Likewise.
45839         * resolv/res-state.c: Likewise.
45840         * resolv/res_libc.c: Likewise.
45841         * sysdeps/i386/dl-machine.h: Likewise.
45842         * sysdeps/ia64/dl-machine.h: Likewise.
45843         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45845         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45846         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45847         * sysdeps/sh/dl-machine.h: Likewise.
45848         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45850         * sysdeps/unix/i386/sysdep.S: Likewise.
45851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45852         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45861         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45862         * sysdeps/x86_64/dl-machine.h: Likewise.
45863         * tls.make.c: Likewise.
45864
45865         * configure.in: Remove --with-__thread option.  Make tests for
45866         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45867         tls_model attribute fail if no support is available.  Remove
45868         USE_IN_LIBIO.
45869         * Makeconfig: Adjust for dropped configure option.  All features are
45870         now mandatory.
45871         * Makerules: Likewise.
45872         * Versions.def: Likewise.
45873         * argp/argp-fmtstream.c: Likewise.
45874         * argp/argp-fmtstream.h: Likewise.
45875         * argp/argp-help.c: Likewise.
45876         * assert/assert.c: Likewise.
45877         * config.h.in: Likewise.
45878         * config.make.in: Likewise.
45879         * configure: Likewise.
45880         * configure.in: Likewise.
45881         * csu/Versions: Likewise.
45882         * csu/init.c: Likewise.
45883         * elf/tst-audit2.c: Likewise.
45884         * elf/tst-tls10.c: Likewise.
45885         * elf/tst-tls10.h: Likewise.
45886         * elf/tst-tls11.c: Likewise.
45887         * elf/tst-tls12.c: Likewise.
45888         * elf/tst-tls14.c: Likewise.
45889         * elf/tst-tlsmod11.c: Likewise.
45890         * elf/tst-tlsmod12.c: Likewise.
45891         * elf/tst-tlsmod13.c: Likewise.
45892         * elf/tst-tlsmod13a.c: Likewise.
45893         * elf/tst-tlsmod14a.c: Likewise.
45894         * elf/tst-tlsmod15b.c: Likewise.
45895         * elf/tst-tlsmod16a.c: Likewise.
45896         * elf/tst-tlsmod16b.c: Likewise.
45897         * elf/tst-tlsmod7.c: Likewise.
45898         * elf/tst-tlsmod8.c: Likewise.
45899         * elf/tst-tlsmod9.c: Likewise.
45900         * gmon/gmon.c: Likewise.
45901         * grp/fgetgrent_r.c: Likewise.
45902         * grp/putgrent.c: Likewise.
45903         * hurd/fopenport.c: Likewise.
45904         * include/libc-symbols.h: Likewise.
45905         * include/tls.h: Likewise.
45906         * intl/gettextP.h: Likewise.
45907         * intl/loadinfo.h: Likewise.
45908         * locale/global-locale.c: Likewise.
45909         * locale/localeinfo.h: Likewise.
45910         * mach/devstream.c: Likewise.
45911         * malloc/arena.c: Likewise.
45912         * malloc/set-freeres.c: Likewise.
45913         * misc/err.c: Likewise.
45914         * misc/getttyent.c: Likewise.
45915         * misc/mntent_r.c: Likewise.
45916         * posix/getopt.c: Likewise.
45917         * posix/wordexp.c: Likewise.
45918         * pwd/fgetpwent_r.c: Likewise.
45919         * resolv/Versions: Likewise.
45920         * resolv/res_hconf.c: Likewise.
45921         * shadow/fgetspent_r.c: Likewise.
45922         * shadow/putspent.c: Likewise.
45923         * stdio-common/printf_fphex.c: Likewise.
45924         * stdio-common/tmpfile.c: Likewise.
45925         * stdlib/abort.c: Likewise.
45926         * stdlib/fmtmsg.c: Likewise.
45927         * sunrpc/auth_unix.c: Likewise.
45928         * sunrpc/clnt_perr.c: Likewise.
45929         * sunrpc/clnt_tcp.c: Likewise.
45930         * sunrpc/clnt_udp.c: Likewise.
45931         * sunrpc/clnt_unix.c: Likewise.
45932         * sunrpc/openchild.c: Likewise.
45933         * sunrpc/svc_simple.c: Likewise.
45934         * sunrpc/svc_tcp.c: Likewise.
45935         * sunrpc/svc_udp.c: Likewise.
45936         * sunrpc/svc_unix.c: Likewise.
45937         * sunrpc/xdr.c: Likewise.
45938         * sunrpc/xdr_array.c: Likewise.
45939         * sunrpc/xdr_rec.c: Likewise.
45940         * sunrpc/xdr_ref.c: Likewise.
45941         * sunrpc/xdr_stdio.c: Likewise.
45942
45943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45944
45945         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45946
45947 2011-07-03  Andreas Jaeger  <aj@suse.de>
45948
45949         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45950         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45951         regenerate with gen-libm-tests.pl.
45952
45953 2010-05-12  Petr Baudis  <pasky@suse.cz>
45954
45955         [BZ #11589]
45956         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45957         around j0() zero points by switching to j1().
45958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45961         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45962
45963 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45964
45965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45966         instead of 0.
45967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45968         instead of 0.
45969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45970         Patch in part by Pavel Roskin <proski@gnu.org>.
45971
45972         [BZ #13138]
45973         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45974         realloc.
45975         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45976         Free memory block if necessary.
45977
45978         [BZ #12847]
45979         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45980         be NULL.  Don't lock in this case.
45981
45982 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45983
45984         * elf/elf.h (ELFOSABI_GNU): New macro.
45985         (ELFOSABI_LINUX): Define to that.
45986
45987 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45988
45989         * string/strncat.c (strncat): Undef the symbol in case it has been
45990         defined in bits/string.h.
45991
45992 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45993
45994         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45995
45996         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45997         link map.
45998
45999 2011-08-17  Andreas Jaeger  <aj@suse.de>
46000
46001         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46002
46003 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46004             Ian Lance Taylor  <iant@google.com>
46005
46006         * math/libm-test.inc (lround_test): New testcase.
46007         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46008
46009 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46010
46011         * Makefile: Remove support for automatic cvs check-ins.
46012         * Makerules: Likewise.
46013         * config.make.in: Likewise.
46014         * configure.in: Likewise.
46015         * intl/Makefile: Likewise.
46016         * locale/Makefile: Likewise.
46017         * po/Makefile: Likewise.
46018         * posix/Makefile: Likewise.
46019         * sysdeps/gnu/Makefile: Likewise.
46020         * sysdeps/mach/hurd/Makefile: Likewise.
46021         * sysdeps/sparc/sparc32/Makefile: Likewise.
46022
46023         [BZ #13118]
46024         * posix/Makefile (bug-regex32-ENV): Define.
46025         Patch by John Stanley <jpsinthemix@verizon.net>.
46026
46027         * misc/Makefile (headers): Add bits/select2.h.
46028         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46029         * misc/bits/select2.h: New file.
46030         * include/bits/select2.h: New file.
46031         * debug/Makefile (routines): Add fdelt_chk.
46032         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46033         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46034         FD_ISSET.
46035         * debug/fdelt_chk.c: New file.
46036
46037         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46038         * wcsmbs/test-wmemcmp.c: Likewise.
46039         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46040         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46041
46042 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46043
46044         * string/Makefile (strop-tests): Add memcmp.
46045         * string/test-wmemcmp.c: New file.
46046         * string/test-memcmp.c: Add wmemcmp support.
46047
46048 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46049
46050         [BZ #13153]
46051         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46052         2011-07-19 change.
46053
46054         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46055         garbage value in a __mach_port_mod_refs call in the cases of the
46056         task-self and thread-self ports.
46057
46058 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46059
46060         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46061
46062 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46063
46064         * elf/dl-load.c (lose): Check for non-null L.
46065
46066 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46067
46068         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46069
46070         * elf/dl-libc.c (dlerror_run): Pass back error code from
46071         dl_catch_error.
46072
46073         [BZ #13123]
46074         * elf/dl-load.c (lose): Free l_origin if it is valid.
46075
46076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46077         names.
46078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46082         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46083         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46084
46085 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46086
46087         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46088         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46090         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46091         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46092         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46093         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46094         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46095         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46096         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46097
46098 2011-08-15  Alan Modra  <amodra@gmail.com>
46099
46100         [BZ #13092]
46101         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46102         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46103         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46104         ppc_mcount to static-only-routines.
46105         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46106         __mcount_internal.
46107         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46108         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46109
46110 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46111
46112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46113         for finite and infinity parameters.
46114
46115 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46116
46117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46118         and add nop instructions for throughput optimization.
46119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46120
46121 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46122
46123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46124         aligned copy for power7 with vector-scalar instructions.
46125         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46126
46127 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46128
46129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46130         AVX check.
46131
46132 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46133
46134         [BZ #13144]
46135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46136         last change.
46137
46138 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46139
46140         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46141         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46142         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46143         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46144         clock_gettime.
46145
46146 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46147
46148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46149         Forgot to demangle the pointer.
46150
46151         * sysdeps/i386/sysdep.h: Define atom_text_section.
46152         * sysdeps/x86_64/sysdep.h: Likewise.
46153         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46154         section with atom_text_section.
46155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46157         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46158         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46160
46161         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46162         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46163         already be defined.  Change to take two parameters and don't assign
46164         result to variable.  Adjust all users.
46165         Define INTERNAL_GETTIME if not already defined.
46166         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46167         call.
46168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46169         HAVE_CLOCK_GETTIME_VSYSCALL.
46170         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46171
46172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46173         gettimeofday vsyscall, just use time.
46174
46175 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46176
46177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46178         <errno.h>.
46179
46180 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46181
46182         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46183         syscall on x86-64.
46184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46185         syscall.
46186         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46188         syscall if possible.
46189
46190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46191
46192         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46193         e_ident.  Don't pass to find_mapsXX.
46194         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46195
46196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46197
46198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46199         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46200         * sysdeps/x86_64/multiarch/strchr.S: Update.
46201         Check bit_slow_BSF bit.
46202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46205
46206 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46207
46208         [BZ #13134]
46209         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46210         before glibc 2.15.
46211         (tryshell): Define.
46212         (__spawni): Change last parameter to be flag.  Test
46213         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46214         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46215         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46216         * posix/spawni.c: Likewise.
46217         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46218         * posix/spawnp.c: Likewise.  Change normal version to use
46219         SPAWN_XFLAGS_USE_PATH.
46220         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46221         SPAWN_XFLAGS_TRY_SHELL.
46222
46223         [BZ #13150]
46224         * posix/glob.h: Remove gcc 1.x support.
46225
46226         [BZ #13068]
46227         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46228
46229 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46230
46231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46232         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46233         strrchr-sse2-bsf
46234         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46235         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46237         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46238         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46240
46241 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46242
46243         * sysdeps/x86_64/wcscmp.S: New file.
46244
46245         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46246         wcscmp-c wcscmp-sse2
46247         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46248         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46249         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46250         * wcsmbs/wcscmp.c: Allow renaming.
46251
46252 2011-09-05  David S. Miller  <davem@davemloft.net>
46253
46254         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46255         stack slot, rather than the struct return pointer slot.
46256         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46257         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46259         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46260
46261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46262
46263         * po/ja.po: Update from translation team.
46264
46265         [BZ #13144]
46266         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46267         kernel in 64-bit binaries.
46268
46269 2011-09-01  David S. Miller  <davem@davemloft.net>
46270
46271         * elf/elf.h (HWCAP_SPARC_*): Move to..
46272         * sysdeps/sparc/sysdep.h: this new file and add new values.
46273         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46274         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46275         _DL_HWCAP_COUNT to 24.
46276         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46277         entries.
46278         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46279         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46280         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46282         instead of magic constants.
46283         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46284
46285 2011-08-31  David S. Miller  <davem@davemloft.net>
46286
46287         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46289         Reimplement to do errno handling inline.
46290         (SYSCALL_ERROR_HANDLER): New macro.
46291         (__SYSCALL_STRING): Do not do errno handling in asm.
46292         (__CLONE_SYSCALL_STRING): Delete.
46293         (__INTERNAL_SYSCALL_STRING): Delete.
46294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46295         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46296         (PSEUDO): Reimplement to do errno handling inline.
46297         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46298         (SYSCALL_ERROR_HANDLER): New macro.
46299         (__SYSCALL_STRING): Do not do errno handling in asm.
46300         (__CLONE_SYSCALL_STRING): Delete.
46301         (__INTERNAL_SYSCALL_STRING): Delete.
46302         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46303         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46304         i386.
46305         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46306         (inline_syscall*): Add 'err' argument.
46307         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46308         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46309         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46310         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46311
46312         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46314
46315 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46316
46317         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46318
46319 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46320
46321         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46322         directive.
46323
46324 2011-08-24  David S. Miller  <davem@davemloft.net>
46325
46326         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46327
46328 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46329
46330         * elf/Makefile: Add rules to build and run unload8 test.
46331         * elf/unload8.c: New file.
46332         * elf/unload8mod1.c: New file.
46333         * elf/unload8mod1x.c: New file.
46334         * elf/unload8mod2.c: New file.
46335         * elf/unload8mod3.c: New file.
46336
46337         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46338         it wasn't used.
46339
46340 2011-08-23  David S. Miller  <davem@davemloft.net>
46341
46342         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46343         subtract stack bias.
46344         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46345         %sp not %fp in calculations.
46346         (_JMPBUF_UNWINDS_ADJ): Likewise.
46347
46348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46349         (aio_suspend): Call it to force an exception region around the
46350         AIO_MISC_WAIT() invocation.
46351
46352 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46353
46354         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46355         backslash.
46356
46357 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46358
46359         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46360         protection macro.
46361         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46362         and <dl-machine.h>.
46363         (Elf64_FuncDesc): Remove.
46364
46365 2011-08-22  David S. Miller  <davem@davemloft.net>
46366
46367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46368         sigaltstack check, add missing cfi directives.
46369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46370         missing cfi directives, and sigaltstack handling.
46371
46372 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46373
46374         [BZ #11724]
46375         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46376         object is seen twice.
46377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46378
46379         * elf/Makefile (distribute): Add tst-initorder2.c.
46380         (tests): Add tst-initorder2.
46381         (modules-names): Add tst-initorder2a tst-initorder2b
46382         tst-initorder2c tst-initorder2d.  Add rules to build them.
46383         ($(objpfx)tst-initorder2.out): New rule.
46384         * elf/tst-initorder2.c: New file.
46385         * elf/tst-initorder2.exp: New file.
46386
46387 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46388
46389         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46390
46391         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46392         dependencies back to end of function.
46393
46394         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46395         $(elfobjdir)/ld.so.
46396
46397 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46398
46399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46400         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46402         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46403         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46404         of __vdso_gettimeofday.
46405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46406         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46407         attribute_hidden.
46408         (_libc_vdso_platform_setup): Remove initialization of
46409         __vdso_gettimeofday and __vdso_time.
46410
46411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46412
46413         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46414         and fgetc_unlocked.
46415         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46416         getc_unlocked.
46417
46418         * elf/dl-open.c (add_to_global): Report additions to the global scope
46419         for LD_DEBUG=scopes.
46420         (dl_open_worker): Also print scope of newly loaded dependencies.
46421         (_dl_show_scope): Indicate if there is no scope.
46422
46423         [BZ #13114]
46424         * stdio-common/Makefile (tests): Add bug24.
46425         * stdio-common/bug24.c: New file.
46426
46427 2011-08-19  Andreas Jaeger  <aj@suse.de>
46428
46429         [BZ #13114]
46430         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46431         non-existant file when using close-on-exec mode.
46432
46433 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46434
46435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46436         the very first instruction.
46437
46438         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46439         the CFI state in the end.
46440         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46441         inclusion of dl-trampoline.h.
46442         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46443
46444 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46445
46446         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46447         expectations for long double.
46448
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46450         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46451
46452 2011-08-14  David S. Miller  <davem@davemloft.net>
46453
46454         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46455         artificual limit depends upon the system page size.
46456
46457 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46458
46459         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46460         * resolv/Makefile: Define CFLAGS-libresolv.
46461
46462 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46463
46464         * nss/makedb.c (compute_tables): Make variables used in nested
46465         function static.
46466
46467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46468
46469         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46470         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46471         if buffer was too small.
46472
46473         * elf/pldd.c (main): Attach to all threads in the process.
46474         Rewrite /proc handling to use *at functions.
46475
46476 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46477
46478         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46479         specifies first scope to show.
46480         (dl_open_worker): Update callers.  Move printing scope of new
46481         object to before the relocation.
46482         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46483         * sysdeps/generic/ldsodefs.h: Update declaration.
46484
46485         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46486         string for the scope number.
46487
46488 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46489
46490         * nscd/servicescache.c (cache_addserv): Make sure written is always
46491         initialized.
46492
46493 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46494
46495         * sysdeps/i386/i486/bits/atomic.h
46496         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46497         statement expression, so as to suppress "set but not used" warning.
46498         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46499
46500         * string/strncat.c (STRNCAT): Use prototype definition.
46501
46502         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46503         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46504         -Iprograms here.
46505         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46506         (localedef-modules): Add localedef.
46507         (locale-modules): Add locale.
46508
46509         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46510         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46511         to avoid a warning.
46512
46513 2011-08-14  David S. Miller  <davem@davemloft.net>
46514
46515         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46516         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46517
46518 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46519
46520         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46521         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46522         * elf/rtld.c (dl_main): Set l_name of vDSO.
46523         Call _dl_show_scope when DL_DEBUG_SCOPES.
46524         (process_dl_debug): Recognize scopes flag and also set it for all.
46525         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46526         Declare _dl_show_scope.
46527
46528         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46529         (do_dlopen): Pass caller_dlopen to dl_open.
46530         (__libc_dlopen_mode): Initialize caller_dlopen.
46531
46532         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46533         of libc.  Make tolower call locale-independent.  Optimize a bit by
46534         using isdigit instead of isalnum.
46535         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46536
46537 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46538
46539         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46540         was a dependency or dynamically loaded.
46541
46542 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46543
46544         * intl/l10nflist.c: Allow architecture-specific pop function.
46545         * sysdeps/x86_64/l10nflist.c: New file.
46546
46547         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46548         classification.
46549
46550 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46551
46552         * include/dirent.h: Add libc_hidden_proto for scandirat and
46553         scandirat64.  Don't declare __scandirat64.
46554         * dirent/scandirat.c: Add libc_hidden_def.
46555         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46556         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46557
46558 2011-08-10  David S. Miller  <davem@davemloft.net>
46559
46560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46561         enum.
46562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46565
46566 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46567
46568         * Versions.def [libc]: Add GLIBC_2.15.
46569         * dirent/Makefile (routines): Add scandirat and scandirat64.
46570         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46571         GLIBC_2.15.
46572         * dirent/dirent.h: Declare scandirat and scandirat64.
46573         * dirent/scandirat.c: New file.
46574         * dirent/scandirat64.c: New file.
46575         * sysdeps/wordsize-64/scandirat.c: New file.
46576         * sysdeps/wordsize-64/scandirat64.c: New file.
46577         * dirent/opendir.c: Define opendirat.
46578         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46579         using scandirat.
46580         * dirent/scandir64.c: Adjust for scandir.c change.
46581         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46582         __scandirat64, and __scandir_cancel_handler.
46583         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46584         additional parameter and use openat instead of open (outside of ld.so).
46585         Add new __opendir as wrapper around __opendirat.
46586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46587         here without requiring old scandirat implementation.
46588
46589 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46590
46591         * dirent/scandir.c (cancel_handler): Renamed to
46592         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46593         defined.  Adjust users.
46594         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46595         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46596
46597 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46598
46599         * string/test-string.h (IMPL): Use __STRING to expand name and then
46600         stringify it.
46601
46602         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46603         of cleanups.
46604
46605 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46606
46607         * string/Makefile: Update.
46608         (strop-tests): Append strncat.
46609         * string/test-wcscmp.c: New file.
46610         New comprehensive test for wcscmp.
46611         * string/test-strcmp.c: Update.
46612         (WIDE): New define.
46613
46614 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46615
46616         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46617         line.
46618
46619 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46620
46621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46622         encoding to ACE if AI_IDN.
46623
46624 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46625
46626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46627         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46628
46629 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46630
46631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46632         Fix overflow bug in strncat.
46633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46634
46635         * string/test-strncat.c: Update.
46636         Add new tests for checking overflow bugs.
46637
46638 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46639
46640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46641         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46642         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46643         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46645         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46646         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46647         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46648         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46649
46650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46651         (USE_AS_STRCAT): Define.
46652         Add strcat and strncat support.
46653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46654
46655 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46656
46657         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46658         __n bigger than INT_MAX+1.
46659         (__strncmp_g): Likewise.
46660
46661 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46662
46663         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46664         * libio/stido.h: Likewise.
46665
46666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46667         (AF_NFC): Define.
46668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46669         (AF_NFC): Define.
46670
46671         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46674         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46676
46677         [BZ #13021]
46678         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46679         installed.
46680
46681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46682         typo.
46683         (_dl_x86_64_save_sse): Likewise.
46684
46685 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46686
46687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46688         OSXSAVE.
46689         (_dl_x86_64_save_sse): Likewise.
46690
46691         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46692
46693         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46694
46695 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46696
46697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46698         change.
46699         (_dl_x86_64_save_sse): Use correct AVX check.
46700
46701 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46702
46703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46704         bug in strncpy/strncat.
46705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46706
46707 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46708
46709         * string/tester.c (test_strcat): Add tests for different alignments
46710         of source and destination.
46711         (test_strncat): Likewise.
46712
46713 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46714
46715         [BZ #12852]
46716         * posix/glob.c (glob): Check passed in values before using them in
46717         expressions to avoid some overflows.
46718         (glob_in_dir): Likewise.
46719
46720         [BZ #13007]
46721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46722         check for AVX enablement so that we don't crash with old kernels and
46723         new hardware.
46724         * elf/tst-audit4.c: Add same checks here.
46725         * elf/tst-audit6.c: Likewise.
46726
46727         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46728
46729 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46730
46731         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46732
46733 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46734
46735         * po/cs.po: Update from translation team.
46736         * po/bg.po: Likewise.
46737
46738 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46739
46740         * misc/sys/cdefs.h: Add support for const attribute.
46741         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46742         to gnu_dev_{major,minor,makedev} functions.
46743
46744 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46745
46746         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46747
46748 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46749
46750         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46751         strlen results.
46752
46753 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46754
46755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46756         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46757         register in order to avoid conflicts with the soft frame pointer
46758         being held in r11 when necessary.
46759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46760         (INTERNAL_VSYSCALL_NCS): Likewise.
46761
46762 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46763
46764         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46765         * elf/dl-fini.c (_dl_fini): Adjust caller.
46766         * elf/dl-close.c (_dl_close_worker): Likewise.
46767         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46768
46769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46770
46771         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46772         "aux_cache->nlibs < 0".
46773
46774         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46775         in the reload-count case.
46776
46777 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46778
46779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46780         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46781         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46782         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46783         * sysdeps/x86_64/multiarch/strcat.S: New file.
46784         * sysdeps/x86_64/multiarch/strncat.S: New file.
46785         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46787         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46788         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46789         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46790         (USE_AS_STRCAT): Define.
46791         Add strcat and strncat support.
46792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46793         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46794         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46795         * string/strncat.c: Update.
46796         (USE_AS_STRNCAT): Define.
46797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46798         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46799         and i7.
46800         * sysdeps/x86_64/multiarch/init-arch.h
46801         (bit_Prefer_PMINUB_for_stringop): New.
46802         (index_Prefer_PMINUB_for_stringop): Likewise.
46803         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46804         bit_Prefer_PMINUB_for_stringop.
46805
46806 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46807
46808         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46809         buffer64.
46810         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46811         of casting of buffer.
46812         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46813         buffer32 and buffer64.
46814         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46815         writes instead of casting of buffer.
46816         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46817         buffer32.
46818         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46819         casting of buffer.
46820
46821 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46822
46823         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46824
46825 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46826
46827         * nscd/nscd.c (termination_handler): Don't do anything for a database
46828         if it has not yet been initialized.
46829
46830 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46831
46832         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46833
46834 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46835
46836         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46837
46838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46839
46840         * po/nl.po: Update from translation team.
46841         * po/sv.po: Likewise.
46842
46843 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46844
46845         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46846         now disallowed by GCC.
46847
46848         * configure.in (use-default-link): Default to yes if a test -shared
46849         link meets our qualifications.
46850         * configure: Regenerated.
46851
46852         * config.make.in (output-format): New variable.
46853         * configure.in: Check for ld --print-output-format support.
46854         * configure: Regenerated.
46855         * Makerules ($(common-objpfx)format.lds)
46856         [$(output-format) != unknown]: Just use $(output-format),
46857         instead of the linker-script munging.
46858
46859 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46860
46861         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46862         of $(common-objpfx)shlib.lds.
46863         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46864
46865         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46866         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46867
46868         * configure.in (-z relro check): Adjust test code to add a large
46869         writable data section after it.
46870         * configure: Regenerated.
46871
46872 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46873
46874         * configure.in (-z relro check): Fix test code to make the variable
46875         truly const.
46876         * configure: Regenerated.
46877
46878 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46879
46880         * nscd/nscd.h (struct traced_file): Define.
46881         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46882         elements.  Add traced_files.
46883         (inotify_fd): Declare.
46884         (register_traced_file): Declare.
46885         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46886         (inotify_fd): Export.
46887         (resolv_conf_descr): Remove.
46888         (nscd_init): Move inotify descriptor creation to main.
46889         Don't register files for notification here.
46890         (register_traced_file): New function.
46891         (invalidate_cache): Don't use reset_res to determine whether to call
46892         res_init, go through the list of registered files.
46893         (main_loop_poll): The inotify descriptors are now stored in the
46894         structures for the traced files.
46895         (main_loop_epoll): Likewise
46896         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46897         to __nss_disable_nscd.
46898         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46899         for a database anymore.  Check the records for all the registered
46900         files instead.
46901         * nss/Makefile (libnss_files-routines): Add files-init.
46902         (libnss_db-routines): Add db-init.
46903         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46904         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46905         * nss/nss_db/db-init.c: New file.
46906         * nss/nss_files/files-init.c: New file.
46907         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46908         __nss_lookup_function.
46909         (__nss_lookup_function): Call nss_load_library.
46910         (nss_load_all_libraries): New function.
46911         (__nss_disable_nscd): Take parameter with callback function for files
46912         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46913         used for the cached services.
46914         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46915         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46916         options for features to all the files in nscd.
46917
46918         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46919
46920 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46921
46922         * csu/elf-init.c (__libc_csu_init): Comment typo.
46923
46924 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46925
46926         * po/pl.po: Update from translation team.
46927         * po/ja.po: Likewise.
46928         * po/ru.po: Likewise.
46929         * po/ko.po: Likewise.
46930         * po/fr.po: Likewise.
46931
46932 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46933
46934         * configure.in (.ctors/.dtors header and trailer check):
46935         Use an empirical test on a built program.
46936         * configure: Regenerated.
46937
46938         * configure.in (-z relro check): Use an empirical test on a built DSO.
46939         Detect, but do not require, on ia64.
46940         * configure: Regenerated.
46941
46942         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46943         Update tests that use readelf to use $READELF instead.
46944         * configure: Regenerated.
46945
46946 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46947
46948         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46949         if the result is not used.
46950
46951 2011-07-05  Andreas Jaeger  <aj@suse.de>
46952
46953         [BZ#9696]
46954         * stdlib/tst-strtod.c: Add testcase.
46955
46956 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46957
46958         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46959         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46960         The latter has a higher limit.  Take additional parameter to pass to
46961         the new function.
46962         (__pathconf): Pass file to __statfs_link_max.
46963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46964         __statfs_link_max.
46965         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46966         __statfs_link_max.
46967
46968         [BZ #12868]
46969         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46971         Handle Lustre.
46972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46973         (__statfs_filesize_max): Likewise.
46974         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46975
46976 2011-07-05  Andreas Jaeger  <aj@suse.de>
46977
46978         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46979
46980 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46981
46982         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46983         `status' variable.
46984         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46985         Likewise.
46986
46987 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46988
46989         * Makefile (strop-tests): Add strncat.
46990         * string/test-strncat.c: New file.
46991
46992 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46993
46994         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46995
46996 2011-06-21  Andreas Jaeger  <aj@suse.de>
46997
46998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46999         Copy rule from iconvdata/Makefile.
47000
47001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47002
47003         [BZ #12922]
47004         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47005         but no long options are defined, just return 'W'.
47006
47007 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47008
47009         [BZ #9696]
47010         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47011
47012 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47013
47014         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47015         netgroups to read.
47016         (innetgr): Likewise.
47017
47018 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47019
47020         * config.make.in (install_root): Default to $(DESTDIR).
47021
47022 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47023
47024         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47025
47026 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47027
47028         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47029
47030         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47031         containing directory rather than embedding absolute directory names.
47032
47033         * scripts/check-local-headers.sh: Rewritten using awk.
47034         Match by word, not by line.  Print error messages for matches.
47035         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47036
47037         * Makerules [shlib-lds-flags empty]:
47038         ($(common-objpfx)libc_pic.opts): New target.
47039         ($(common-objpfx)libc_pic.os.clean): New target.
47040         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47041
47042         * config.make.in (OBJCOPY): New variable.
47043         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47044         * configure: Regenerated.
47045
47046         * config.make.in (use-default-link): New variable.
47047         * configure.in (use_default_link): Grok --with-default-link to set it.
47048         * configure: Regenerated.
47049         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47050         (shlib-lds, shlib-lds-flags): Define to empty.
47051
47052         * Makerules (shlib-lds): New variable.
47053         (shlib-lds-flags): New variable.
47054         (build-shlib, build-moduile, build-module-asneeded): Use it.
47055         ($(common-objpfx)libc.so): Use $(shlib-lds).
47056         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47057         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47058
47059         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47060         DT_FLAGS/DT_FLAGS_1 with zero flags.
47061
47062         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47063         linker script munging.
47064
47065 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47066
47067         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47068         as 128-bit value.
47069         * crypt/sha512.c (sha512_process_block): Perform total addition using
47070         128-bit if possible.
47071         (__sha512_finish_ctx): Likewise.
47072         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47073         as 64-bit value.
47074         * crypt/sha256.c (SWAP64): Define.
47075         (sha256_process_block): Perform total addition using 64-bit if
47076         possible.
47077         (__sha256_finish_ctx): Likewise.
47078
47079 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47080
47081         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47082         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47083         * nscd/hstcache.c (cache_addhst): Likewise.
47084         * nscd/grpcache.c (cache_addgr): Likewise.
47085         * nscd/aicache.c (addhstaiX): Likewise
47086         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47087
47088 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47089
47090         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47092         * nscd/hstcache.c (cache_addhst): Likewise.
47093         * nscd/grpcache.c (cache_addgr): Likewise.
47094         * nscd/aicache.c (addhstaiX): Likewise
47095
47096 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47097
47098         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47099         domain only when needed.
47100
47101 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47102
47103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47104         is always restored.
47105
47106 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47107
47108         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47109         are re-adding the entry.
47110         * nscd/servicescache.c (cache_addserv): Likewise.
47111
47112 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47113
47114         * sysdeps/generic/dl-irel.h: fix protection against multiple
47115         inclusions.
47116         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47117
47118 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47119
47120         [BZ #12935]
47121         * malloc/memusage.sh: Fix quoting in message.
47122         * debug/xtrace.sh: Likewise.
47123
47124         * configure.in: Remove support for --experimental-malloc option, make
47125         it the default.
47126         * config.make.in: Likewise.
47127         * malloc/Makefile: Likewise.
47128
47129 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47130
47131         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47132         two-byte characters.
47133
47134 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47135
47136         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47137         AC_CACHE_CHECK invocation.
47138         * configure: Regenerated.
47139
47140         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47141
47142 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47143
47144         [BZ #12350]
47145         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47146         bit from old_res_options.
47147
47148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47149
47150         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47151         value type for setfct.
47152
47153 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47154
47155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47156         __gettimeofday instead of gettimeofday.
47157
47158 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47159
47160         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47161
47162 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47163
47164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47165
47166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47167         info.
47168
47169 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47170
47171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47172         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47173         strcpy-sse2-unaligned strncpy-sse2-unaligned
47174         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47175         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47176         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47177         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47178         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47181         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47182         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47183         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47184         (STRCPY): Support SSE2 and SSSE3 versions.
47185
47186 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47187
47188         [BZ #12874]
47189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47190         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47191         kernels which artificially limit size of requests.
47192
47193 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47194
47195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47196         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47197         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47198         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47199         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47200         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47201         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47202         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47205         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47206         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47207         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47208         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47209         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47211         Enable unaligned load optimization for Intel Core i3, i5 and i7
47212         processors.
47213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47214         Define.
47215         (index_Fast_Unaligned_Load): Define.
47216         (HAS_FAST_UNALIGNED_LOAD): Define.
47217
47218 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47219
47220         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47221
47222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47223
47224         [BZ #12907]
47225         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47226         until it is clear that the information is realy needed.
47227         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47228
47229 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47230
47231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47232
47233 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47234
47235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47236         /sys/devices/system/cpu/online if it is usable.
47237
47238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47239         reading the information from the /proc filesystem to once a second.
47240
47241 2011-06-21  Andreas Jaeger  <aj@suse.de>
47242
47243         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47244         NULL after inclusion of kernel headers.
47245
47246 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47247
47248         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47249         calls to internal_setent.
47250
47251         [BZ #12885]
47252         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47253         addresses using gethostbyname4_r ignore IPv4 addresses.
47254
47255         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47256         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47257
47258         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47259
47260 2011-06-20  David S. Miller  <davem@davemloft.net>
47261
47262         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47263         inclusions.
47264         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47265
47266         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47267         (elf_irel): Use it.
47268         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47269         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47270         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47271         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47272         * sysdeps/x86_64/dl-irel.h: Likewise.
47273
47274         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47275         * elf/dl-sym.c: Likewise.
47276
47277 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47278
47279         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47280         need to dereference resplen2.
47281
47282 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47283
47284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47285
47286 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47287
47288         * Makeconfig: Define vardbdir and inst_vardbdir.
47289         * nss/Makefile: Add rules to install db-Makefile.
47290
47291         * nss/nss_db/db-XXX.c: Cleanup.
47292
47293         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47294         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47295         GLIBC_PRIVATE.
47296         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47297         * nss/makedb.c: Implement -g option to specify that value strings
47298         are generated and should not be added to table iterated over for
47299         get*ent calls.
47300         * nss/nss_db/db-initgroups.c: New file.
47301
47302         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47303         interface.
47304
47305         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47306         (internal_getgrouplist): Adjust to name change.
47307         Update use_initgroups_entry if this is not the first call.
47308         * nss/databases.def: Add initgroups entry.
47309
47310         * nss/makedb.c (compute_tables): Check result of multiple hash table
47311         sizes to minimize maximum chain length.
47312
47313 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47314
47315         * Versions.def: Add entry for libnss_db.
47316         * shlib-versions: Likewise.
47317         * nss/Makefile: Add rules to build libnss_db.
47318         * nss/Versions: Add libnss_db information.  Organize libnss_files
47319         entries better.
47320         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47321         makedb progra.  Some minor improvements to generate smaller files.
47322         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47323         here from...
47324         * nss/makedb.c: ...here.
47325         Improve database format to be smaller and require less memory at
47326         runtime.
47327         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47328         db anymore.
47329         * nss/nss_db/db-netgrp.c: Likewise.
47330         * nss/nss_db/db-open.c: Likewise.
47331         * nss/nss_files/flies-XXX.x: Adjust comments.
47332         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47333         * nss/nss_files/files-grp.c: Likewise.
47334         * nss/nss_files/files-hosts.c: Likewise.
47335         * nss/nss_files/files-network.c: Likewise.
47336         * nss/nss_files/files-proto.c: Likewise.
47337         * nss/nss_files/files-pwd.c: Likewise.
47338         * nss/nss_files/files-rpc.c: Likewise.
47339         * nss/nss_files/files-service.c: Likewise.
47340         * nss/nss_files/files-sgrp.c: Likewise.
47341         * nss/nss_files/files-spwd.c: Likewise.
47342         * nss/nss_db/db-alias.c: Removed.
47343         * nss/nss_db/dummy-db.h: Removed.
47344
47345 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47346
47347         * nss/makedb.c: Rewritten to not use database library.
47348         * nss/Makefile: Update to build new makedb program.
47349
47350 2011-06-14  Andreas Jaeger  <aj@suse.de>
47351
47352         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47353         memset declaration.
47354
47355 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47356
47357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47358         tmpbuf.
47359
47360 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47361
47362         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47363         * elf/Makefile ($(objpfx)ld.so): Likewise.
47364
47365         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47366         Don't list ld.so twice in dependencies.
47367
47368         * posix/bug-regex31.c: Include <stdlib.h>.
47369
47370         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47371
47372         * nis/nss_compat/compat-spwd.c
47373         (getspent_next_nss_netgr): Remove unused variable.
47374         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47375
47376         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47377         nonmembers" output to use the right array.
47378
47379         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47380
47381         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47382
47383         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47384         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47385         * catgets/gencat.c (read_input_file): Likewise.
47386         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47387
47388         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47389         variable definition inside #if's controlling its use.
47390
47391         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47392
47393         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47394
47395         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47396
47397         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47398         unreachable code.
47399
47400         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47401
47402         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47403         * configure: Regenerated.
47404
47405         * Makerules: Revert last change.
47406         * elf/Makefile: Likewise.
47407
47408 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47409
47410         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47411         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47412         (reloc-link): Likewise.
47413
47414 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47415
47416         * elf/Makefile: Add rules to build pldd.
47417         * elf/pldd.c: New file.
47418         * elf/pldd-xx.c: New file.
47419
47420 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47421
47422         * version.h: Update for 2.15 development version.
47423
47424 2011-06-07  David S. Miller  <davem@davemloft.net>
47425
47426         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47427         ifuncs.
47428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47429         elf_machine_lazy_rel): Likewise.
47430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47432         elf_machine_lazy_rel): Likewise.
47433         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47434         dl_hwcap via passed in argument.
47435         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47436         Likewise.
47437
47438 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47439
47440         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47441
47442 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47443
47444         [BZ #12849]
47445         * manual/fdl-1.1.texi: New file, verbatim from:
47446         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47447         * manual/lgpl-2.1.texi: New file, verbatim from:
47448         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47449         * manual/Makefile (licenses): New variable, list those new file names.
47450         (texis): Use it.
47451         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47452
47453         * manual/fdl.texi: File removed.
47454         * manual/lesser.texi: File removed.
47455         * manual/libc.texinfo (Copying, Documentation License):
47456         Use new @include file names, put @appendix directive before @include.
47457
47458 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47459
47460         [BZ #12841]
47461         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47462         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47463         (mq_open): Add __NTH.
47464
47465 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47466
47467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47468         Assume Intel Core i3/i5/i7 processor if AVX is available.
47469
47470 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47471
47472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47473         typo.
47474
47475 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47476
47477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47478         memory.  Use alloca_account.  Fix memory leak when retrying.
47479
47480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47481
47482         * version.h (RELEASE): Bump for 2.14 release.
47483         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47484
47485         * config.make.in (RANLIB): Remove entry.
47486
47487 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47488
47489         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47490         (libc.pot): Work around missing support for .ksh extension in xgettext.
47491
47492         [BZ #12684]
47493         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47494         if both request failed.
47495         (send_dg): In case of server errors clear resplen or *resplen2.
47496
47497         [BZ #12454]
47498         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47499         when there are multiple maps.
47500         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47501         (_dl_fini): Remove test here.
47502
47503         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47504
47505 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47506
47507         [BZ #12350]
47508         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47509         bit from old_res_options.
47510         (gaih_inet): Likewise.
47511
47512         [BZ #11099]
47513         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47514         as signed.
47515
47516         * resolv/res_init.c (res_setoptions): Make the code more compact.
47517
47518         [BZ #11558]
47519         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47520         set RES_USEVC.
47521
47522         [BZ #11634]
47523         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47524
47525         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47526
47527         [BZ #11781]
47528         * malloc/malloc.h: Declare malloc hook variables as volatile.
47529
47530         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47531         in last patch.
47532
47533         [BZ #11799]
47534         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47535         raise in the comment.
47536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47538         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47539
47540 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47541
47542         [BZ #12811]
47543         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47544         grow the buffers more if it already has to be sufficient.
47545         (build_wcs_upper_buffer): Likewise.
47546         * posix/regexec.c (check_matching): Likewise.
47547         (clean_state_log_if_needed): Likewise.
47548         (extend_buffers): Don't enlarge buffers beyond size of the input
47549         buffer.
47550         Patches mostly by Emil Wojak <emil@wojak.eu>.
47551         * posix/bug-regex32.c: New file.
47552         * posix/Makefile (tests): Add bug-regex32.
47553
47554         * locale/findlocale.c (_nl_find_locale): Return right away if
47555         _nl_explode_name failed.
47556         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47557
47558         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47559
47560         * debug/xtrace.sh: Unify messages.
47561         * malloc/memusage.sh: Likewise.
47562
47563         [BZ #12813]
47564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47565         time symbol from vDSO.  Substitute with vsyscall if not available.
47566         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47567         __vdso_time.
47568
47569         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47570         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47571         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47572         Add sendmmsg and internal_sendmmsg.
47573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47574         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47575         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47576
47577         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47578         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47579         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47580
47581 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47582
47583         [BZ #12813]
47584         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47585         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47586         available.
47587         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47588         __vdso_getcpu.
47589
47590         [BZ #12814]
47591         * iconvdata/Makefile (tests): Add bug-iconv9.
47592         * iconvdata/bug-iconv9.c: New file.
47593
47594 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47595
47596         [BZ #12814]
47597         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47598
47599 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47600
47601         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47602         (struct user_regs_struct): Change intcs field back to cs.
47603
47604 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47605
47606         * po/ja.po: Update from translation team.
47607
47608 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47609
47610         [BZ #12795]
47611         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47613
47614 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47615
47616         * stdlib/longlong.h: Update from GCC.
47617
47618 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47619
47620         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47621         parameter name.
47622         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47623         Add parameter name.
47624         (__sysconf): Pass it down.
47625
47626 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47627
47628         [BZ #12671]
47629         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47630         some situations.
47631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47632         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47633         add in in __libc_use_alloca calls.  Adjust callers.
47634         (glob): Use malloc in some situations.
47635
47636         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47637         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47638         pltexit.
47639
47640 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47641
47642         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47643         and CLOCK_BOOTTIME_ALARM.
47644
47645         [BZ #12782]
47646         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47647         is returned.
47648
47649         * string/_strerror.c (__strerror_r): Print negative errors as signed
47650         numbers.
47651
47652         [BZ #12777]
47653         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47654         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47655         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47656
47657         * configure.in: Fix typo in redirection and correct removal of test
47658         files in two cases.
47659
47660         [BZ #12788]
47661         * locale/setlocale.c (new_composite_name): Fix test to check for
47662         identical name of all categories.
47663
47664         [BZ #12792]
47665         * libio/filedoalloc.c (local_isatty): New function.
47666         (_IO_file_doallocate): Use local_isatty.
47667         * stdio-common/perror.c (perror): In case a new stream is used
47668         forward the stream error.
47669         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47670         error flag.
47671
47672 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47673
47674         [BZ #11869]
47675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47676         alloca.
47677         * include/alloca.h (extend_alloca_account): Define.
47678
47679         [BZ #11857]
47680         * posix/regex.h: Fix comments with documentation of user-accessible
47681         fields after compilation and describe correct free'ing of pattern
47682         after re_compile_pattern.
47683         Patch by Reuben Thomas <rrt@sc3d.org>.
47684
47685 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47686
47687         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47688         and -mno-altivec to prevent the compiler from using Altivec and/or
47689         VSX instructions when the corresponding registers are not available.
47690
47691 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47692
47693         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47694
47695 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47696
47697         * libio/freopen.c (freopen): Use __dup2, not dup2.
47698         * libio/freopen64.c (freopen64): Likewise.
47699
47700 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47701
47702         [BZ #12775]
47703         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47704         * math/Makefile (tests): Add test-powl.
47705         (CFLAGS-test-powl.c): Define.
47706         * math/test-powl.c: New file.
47707
47708 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47709
47710         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47711
47712 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47713
47714         [BZ #11837]
47715         * iconvdata/gb18030.c: Update to GB18020-2005.
47716
47717 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47718
47719         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47720         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47721         Patch by Aharon Robbins <arnold@skeeve.com>.
47722
47723         [BZ #11892]
47724         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47725         on the stack.
47726
47727         [BZ #11895]
47728         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47729         through underflows.
47730
47731         [BZ #12766]
47732         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47733         point to strings before performing equality test for error_one_per_line
47734         mode.
47735
47736         [BZ #11697]
47737         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47738
47739         [BZ #11820]
47740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47741         (struct user_fpregs_struct): Avoid __uint*_t types.
47742
47743         [BZ #6420]
47744         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47745         symbol info.  Use it instead of calling _dl_addr locally.
47746         (lock_and_info): New function.
47747         (tr_freehook): Call lock_and_info and pass symbol info as additional
47748         parameter to tr_where.
47749         (tr_mallochook): Likewise.
47750         (tr_reallochook): Likewise.
47751         (tr_memalignhook): Likewise.
47752
47753         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47754         used and couldn't be at all thread-safe.
47755
47756 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47757
47758         * libio/freopen.c (freopen): Don't close old file descriptor
47759         before the new one is opened.  Instead dup the new file descriptor
47760         to the old one after the new stream is created.
47761         * libio/freopen64.c (freopen64): Likewise.
47762         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47763         * libio/fileops.c (_IO_new_file_close_it): Handle new
47764         _IO_FLAGS2_NOCLOSE flag.
47765         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47766         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47767         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47768         _IO_FLAGS2_NOCLOSE flag.
47769         * include/unistd.h: Add hidden_proto for dup3.
47770         Define __have_dup3.
47771         * io/dup3.c: Define hidden symbol.
47772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47773
47774         [BZ #7101]
47775         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47776         when an incomplete long option is used.
47777         * posix/tst-getopt_long1.c: New file.
47778         * posix/Makefile (tests): Add tst-getopt_long1.
47779
47780         [BZ #10138]
47781         * scripts/config.guess: Update from autoconf-2.68.
47782         * scripts/config.sub: Likewise.
47783
47784         [BZ #10157]
47785         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47786         tests into ...
47787         (has_cpuclock): ...this.  New function.
47788         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47789         macro here based on has_cpuclock code.
47790
47791         [BZ #10149]
47792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47793         First byte (not low byte) is now always NUL.
47794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47795
47796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47797         Use non-cancelable interfaces.
47798
47799         [BZ #9809]
47800         * locale/iso-639.def: Add entry for Sorani.
47801
47802         [BZ #11901]
47803         * include/stdlib.h: Move include protection to the right place.
47804         Define abort_msg_s.  Declare __abort_msg with it.
47805         * stdlib/abort.c (__abort_msg): Adjust type.
47806         * assert/assert.c (__assert_fail_base): New function.  Majority
47807         of code from __assert_fail.  Allocate memory for __abort_msg with
47808         mmap.
47809         (__assert_fail): Now call __assert_fail_base.
47810         * assert/assert-perr.c: Remove bulk of implementation.  Use
47811         __assert_fail_base.
47812         * include/assert.hL Declare __assert_fail_base.
47813         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47814         mmap.
47815         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47816
47817 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47818
47819         [BZ #11952]
47820         [BZ #12453]
47821         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47822         until all modules are registered in the DTV.
47823         * elf/Makefile: Add rules to build and run tst-tls19.
47824         * elf/tst-tls19.c: New file.
47825         * elf/tst-tls19mod1.c: New file.
47826         * elf/tst-tls19mod2.c: New file.
47827         * elf/tst-tls19mod3.c: New file.
47828         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47829
47830         [BZ #12083]
47831         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47832         correctly.
47833
47834         [BZ #12601]
47835         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47836         two-byte sequence errors.
47837         * iconvdata/Makefile (tests): Add bug-iconv8.
47838         * iconvdata/bug-iconv8.c: New file.
47839
47840         [BZ #12626]
47841         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47842         buf2 definition.
47843
47844         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47845
47846         [BZ #12432]
47847         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47848         (dummy_getcfa): New function.
47849         (init): Get _Unwind_GetCFA address, use dummy if not found.
47850         (backtrace_helper): In recursion check, also check whether CFA changes.
47851         (__backtrace): Completely initialize arg.
47852
47853         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47854         storing incomplete byte sequence in state object.  Avoid testing for
47855         guaranteed too small input if we know there is enough data available.
47856
47857 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47858
47859         * Makeconfig (+link-pie): Indent.
47860         * Rules (binaries-pie): Define if $(have-fpie) and
47861         $(build-shared).
47862         (binaries-shared): Also filter out $(binaries-pie).
47863         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47864         * nscd/Makefile (others-pie): Add nscd.
47865         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47866         ($(objpfx)nscd): Remove command override.
47867         * login/Makefile (others-pie): Add pt_chown.
47868         ($(objpfx)pt_chown): Remove command override.
47869         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47870         remove command overrides.
47871
47872 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47873
47874         * libio/tst_putwc.c: Fix error messages.
47875
47876         [BZ #12724]
47877         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47878         currently writing and seek to current position when not.
47879         * libio/Makefile (tests): Add bug-fclose1.
47880         * libio/bug-fclose1.c: New file.
47881
47882 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47883
47884         [BZ #12511]
47885         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47886         don't set DF_1_NODELETE here.
47887         (do_lookup_x): When entering new entry test for copy relocation
47888         and if necessary set DF_1_NODELETE flag.
47889         * elf/tst-unique4.cc: New file.
47890         * elf/tst-unique4.h: New file.
47891         * elf/tst-unique4lib.cc: New file.
47892         * elf/Makefile: Add rules to build and run tst-unique4.
47893         Patch by Piotr Bury <pbury@goahead.com>.
47894
47895 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47896
47897         [BZ #12052]
47898         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47899
47900         [BZ #12625]
47901         * misc/mntent_r.c (addmntent): Flush the stream after the output
47902
47903         [BZ #12393]
47904         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47905         (is_trusted_path_normalize): Skip initial colon.  Append slash
47906         to empty buffer.  Duplicate is_trusted_path code but allow
47907         constructed patch to be prefix.
47908         (is_dst): Allow $ORIGIN followed by /.
47909         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47910         Correct testing of result of is_trusted_path_normalize
47911         (decompose_rpath): Fix warning.
47912
47913 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47914
47915         [BZ #11257]
47916         * grp/initgroups.c (internal_getgrouplist): When we found the service
47917         list through the initgroups entry in nsswitch.conf do not always
47918         continue on a successful lookup.  Don't always use the
47919         __nss_group_database value if it is set.
47920         * nss/nsswitch.conf (initgroups): Change action for successful db
47921         lookup to continue for compatibility.
47922
47923 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47924
47925         [BZ #11532]
47926         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47927         and CP774 modules.
47928         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47929         and CP774 modules.
47930         * iconvdata/tst-tables.sh: Likewise.
47931         * iconvdata/cp770.c: New file.
47932         * iconvdata/cp771.c: New file.
47933         * iconvdata/cp772.c: New file.
47934         * iconvdata/cp773.c: New file.
47935         * iconvdata/cp774.c: New file.
47936         * iconvdata/testdata/CP770: New file.
47937         * iconvdata/testdata/CP770..UTF8: New file.
47938         * iconvdata/testdata/CP771: New file.
47939         * iconvdata/testdata/CP771..UTF8: New file.
47940         * iconvdata/testdata/CP772: New file.
47941         * iconvdata/testdata/CP772..UTF8: New file.
47942         * iconvdata/testdata/CP773: New file.
47943         * iconvdata/testdata/CP773..UTF8: New file.
47944         * iconvdata/testdata/CP774: New file.
47945         * iconvdata/testdata/CP774..UTF8: New file.
47946
47947         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47948         END CHARMAP line.
47949         * iconvdata/gen-8bit-gap.sh: Likewise.
47950         * iconvdata/gen-8bit.sh: Likewise.
47951
47952         * locale/iso-639.def: Add ary entry.
47953
47954         [BZ #11258]
47955         * locale/C-translit.h.in: Add U20A1 transliteration.
47956
47957         [BZ #12178]
47958         * locale/iso-639.def: Add wae entry.
47959         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47960
47961         [BZ #12545]
47962         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47963         for n.
47964
47965         [BZ #12711]
47966         * locale/C-translit.h.in: Add entry for U20B9.
47967         Patch by pravin.d.s@gmail.com.
47968
47969 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47970
47971         [BZ #12713]
47972         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47973         ENAMETOOLONG use generic getcwd.
47974         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47975         in rtld.  Use *stat64.
47976         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47977         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47978         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47979         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47980         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47981         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47982         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47983         __fstatat64 macros.
47984         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47985         * dirent/rewinddir.c: Add libc_hidden_def.
47986         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47987         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47988
47989         * include/dirent.h (__alloc_dir): Add flags parameter.
47990         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47991         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47992         __alloc_dir.
47993         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47994         from fdopendir if O_CLOEXEC is already set.
47995
47996 2011-03-15  Alan Modra  <amodra@gmail.com>
47997
47998         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47999         l_tls_firstbyte_offset non-zero.  Save padding offset in
48000         l_tls_firstbyte_offset for later use.
48001         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48002         freeing static tls block.
48003
48004 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48005
48006         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48007         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48008         being defined by the kernel headers.
48009
48010 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48011
48012         [BZ #12734]
48013         * resolv/resolv.h: Define RES_NOTLDQUERY.
48014         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48015         no-tld-query and set RES_NOTLDQUERY.
48016         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48017         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48018         modern BIND to search name as TLD unless forbidden.
48019
48020 2011-05-07  Petr Baudis  <pasky@suse.cz>
48021             Ulrich Drepper  <drepper@gmail.com>
48022
48023         [BZ #12393]
48024         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48025         (is_trusted_path): ...to here.
48026         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48027         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48028         using is_trusted_path_normalize() in setuid scripts.
48029
48030 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48031
48032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48033         __BEGIN/__END_DECLS.
48034
48035 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48036
48037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48038         NSS_STATUS_NOTFOUND if no record was found.
48039
48040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48041
48042         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48043         (headers-not-in-tirpc): Remove rpc/netdb.h
48044         * resolv/netdb.h: Revert last change.
48045
48046 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48047
48048         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48049         circular dependency between libgcc.a and libc.a.
48050
48051 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48052
48053         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48054         * nis/Makefile: Don't install rpcsvc/*.
48055         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48056         instead of <rpc/types.h>.
48057         (MAXHOSTNAMELEN): Define.
48058
48059 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48060
48061         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48062
48063 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48064
48065         [BZ #12714]
48066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48067         gethostbyname4_r when IPv6 results are possible.
48068
48069 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48070
48071         [BZ #12723]
48072         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48073         _PC_PIPE_BUF handling.
48074
48075 2011-04-30  Bruno Haible  <bruno@clisp.org>
48076
48077         [BZ #12717]
48078         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48079         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48080         to 'int'.
48081         * inet/getnameinfo.c (getnameinfo): Likewise.
48082
48083 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48084
48085         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48086         to groups setting in database lookup.
48087         * nss/nsswitch.conf: Add initgroups entry.
48088
48089 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48090
48091         [BZ #12685]
48092         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48093         mode string.
48094         Patch by Eric Blake <eblake@redhat.com>.
48095
48096 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48097
48098         * sunrpc/Makefile (need-export-routines): Add svc_run.
48099         (routines): Remove svc_run.
48100         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48101         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48102         * sunrpc/svc_run.c (svc_run): Likewise.
48103         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48104
48105 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48106
48107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48108         problem in reallocation in last patch.
48109
48110 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48111
48112         * sunrpc/Makefile: Move inclusion of Rules.
48113
48114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48115
48116         * nss/nss_files/files-initgroups.c: New file.
48117         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48118         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48119         _nss_files_initgroups_dyn.
48120
48121 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48122
48123         * elf/elf.h (R_ARM_IRELATIVE): Define.
48124
48125 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48126
48127         * po/ru.po: Update from translation team.
48128
48129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48130
48131         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48132         dependencies.
48133
48134 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48135
48136         [BZ #12653]
48137         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48138         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48142
48143 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48144
48145         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48146         differing bytes.
48147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48150
48151 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48152
48153         [BZ #12420]
48154         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48155         storing it.
48156         * stdlib/bug-getcontext.c: New file.
48157         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48158
48159 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48160
48161         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48162         instructions into .machine "z9-109".
48163         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48164         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48165
48166 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48167
48168         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48169         between environment variables and auxiliary vector.
48170
48171 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48172
48173         * Makefile: Add rules to build linkobj/libc.so.
48174         * include/libc-symbols.h: Define libc_hidden_nolink.
48175         * include/rpc/auth.h: Mark functions which are to be hidden.
48176         * include/rpc/auth_des.h: Likewise.
48177         * include/rpc/auth_unix.h: Likewise.
48178         * include/rpc/clnt.h: Likewise.
48179         * include/rpc/des_crypt.h: Likewise.
48180         * include/rpc/key_prot.h: Likewise.
48181         * include/rpc/pmap_clnt.h: Likewise.
48182         * include/rpc/pmap_prot.h: Likewise.
48183         * include/rpc/pmap_rmt.h: Likewise.
48184         * include/rpc/rpc_msg.h: Likewise.
48185         * include/rpc/svc.h: Likewise.
48186         * include/rpc/svc_auth.h: Likewise.
48187         * include/rpc/xdr.h: Likewise.
48188         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48189         * nss/Makefile: Likewise.
48190         * sunrpc/Makefile: Don't install headers.  Build library with normal
48191         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48192         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48193         for the compat linking library.  Remove use of INTDEF/INTUSE.
48194         * sunrpc/auth_none.c: Likewise.
48195         * sunrpc/auth_unix.c: Likewise.
48196         * sunrpc/authdes_prot.c: Likewise.
48197         * sunrpc/authuxprot.c: Likewise.
48198         * sunrpc/clnt_gen.c: Likewise.
48199         * sunrpc/clnt_perr.c: Likewise.
48200         * sunrpc/clnt_raw.c: Likewise.
48201         * sunrpc/clnt_simp.c: Likewise.
48202         * sunrpc/clnt_tcp.c: Likewise.
48203         * sunrpc/clnt_udp.c: Likewise.
48204         * sunrpc/clnt_unix.c: Likewise.
48205         * sunrpc/des_crypt.c: Likewise.
48206         * sunrpc/des_soft.c: Likewise.
48207         * sunrpc/get_myaddr.c: Likewise.
48208         * sunrpc/key_call.c: Likewise.
48209         * sunrpc/key_prot.c: Likewise.
48210         * sunrpc/netname.c: Likewise.
48211         * sunrpc/pm_getmaps.c: Likewise.
48212         * sunrpc/pm_getport.c: Likewise.
48213         * sunrpc/pmap_clnt.c: Likewise.
48214         * sunrpc/pmap_prot.c: Likewise.
48215         * sunrpc/pmap_prot2.c: Likewise.
48216         * sunrpc/pmap_rmt.c: Likewise.
48217         * sunrpc/publickey.c: Likewise.
48218         * sunrpc/rpc_cmsg.c: Likewise.
48219         * sunrpc/rpc_common.c: Likewise.
48220         * sunrpc/rpc_dtable.c: Likewise.
48221         * sunrpc/rpc_prot.c: Likewise.
48222         * sunrpc/rpc_thread.c: Likewise.
48223         * sunrpc/rtime.c: Likewise.
48224         * sunrpc/svc.c: Likewise.
48225         * sunrpc/svc_auth.c: Likewise.
48226         * sunrpc/svc_authux.c: Likewise.
48227         * sunrpc/svc_raw.c: Likewise.
48228         * sunrpc/svc_run.c: Likewise.
48229         * sunrpc/svc_simple.c: Likewise.
48230         * sunrpc/svc_tcp.c: Likewise.
48231         * sunrpc/svc_udp.c: Likewise.
48232         * sunrpc/svc_unix.c: Likewise.
48233         * sunrpc/svcauth_des.c: Likewise.
48234         * sunrpc/xcrypt.c: Likewise.
48235         * sunrpc/xdr.c: Likewise.
48236         * sunrpc/xdr_array.c: Likewise.
48237         * sunrpc/xdr_float.c: Likewise.
48238         * sunrpc/xdr_intXX_t.c: Likewise.
48239         * sunrpc/xdr_mem.c: Likewise.
48240         * sunrpc/xdr_rec.c: Likewise.
48241         * sunrpc/xdr_ref.c: Likewise.
48242         * sunrpc/xdr_sizeof.c: Likewise.
48243         * sunrpc/xdr_stdio.c: Likewise.
48244
48245 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48246
48247         [BZ #12650]
48248         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48249         * sysdeps/ia64/dl-tls.h: Likewise.
48250         * sysdeps/powerpc/dl-tls.h: Likewise.
48251         * sysdeps/s390/dl-tls.h: Likewise.
48252         * sysdeps/sh/dl-tls.h: Likewise.
48253         * sysdeps/sparc/dl-tls.h: Likewise.
48254         * sysdeps/x86_64/dl-tls.h: Likewise.
48255         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48256
48257 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48258
48259         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48260         rpath element also skip the following colon.
48261         (expand_dynamic_string_token): Add is_path parameter and pass
48262         down to DL_DST_REQUIRED and _dl_dst_substitute.
48263         (decompose_rpath): Call expand_dynamic_string_token with
48264         non-zero is_path.  Ignore empty rpaths.
48265         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48266         with zero is_path.
48267
48268 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48269
48270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48271         Make cancelable.
48272
48273 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48274
48275         [BZ #12655]
48276         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48277         Patch by Filipe David Manana <fdmanana@apache.org>.
48278
48279 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48280
48281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48282         Maintain aligned stack.
48283         (CHECK_RSP): Remove unused macro.
48284
48285 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48286
48287         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48289
48290 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48291
48292         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48293
48294         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48295
48296 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48297
48298         [BZ #12518]
48299         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48300         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48301         * sysdeps/x86_64/memmove.c: New file.
48302         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48303         (memcpy): Renamed to ...
48304         (__new_memcpy): This.
48305         (memcpy): Provide GLIBC_2_14 memcpy.
48306         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48307         (memcpy): Provide GLIBC_2_2_5 memcpy.
48308
48309 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48310
48311         [BZ #12631]
48312         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48313
48314 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48315
48316         * misc/syncfs.c: New file.
48317         * misc/Makefile (routines): Add syncfs.
48318         * posix/unistd.h: Declare syncfs.
48319         * sysdeps/unix/syscalls.list: Add syncfs.
48320
48321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48322
48323         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48324         open_by_handle_at.
48325         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48332
48333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48334
48335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48342
48343         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48344         sync_file_range.c with -fexceptions.
48345         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48346         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48347         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48348         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48349         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48350         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48352         sync_file_range as cancellation point
48353         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48354         now a wrapper around __call_sync_file_range with cancellation handling.
48355         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48357         function name to __call_sync_file_range.
48358         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48359         Add call_sync_file_range.
48360
48361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48362
48363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48364         bits/timex.h.
48365
48366 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48367
48368         * iconv/iconv.h: Fix typo in comment.
48369         * io/fcntl.h: Likewise.
48370         * libio/stdio.h: Likewise.
48371         * posix/spawn.h: Likewise.
48372         * posix/unistd.h: Likewise.
48373         * stdlib/stdlib.h: Likewise.
48374         * time/time.h: Likewise.
48375         * wcsmbs/wchar.h: Likewise.
48376
48377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48378         open_by_handle): Add.
48379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48380         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48381         Augment a few comments.
48382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48387         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48388         open_by_handle.
48389
48390         * io/fcntl.h (AT_EMPTY_PATH): Define.
48391
48392 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48393
48394         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48395         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48396         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48397         to...
48398         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48399         * Versions.def: Add GLIBC_2.14.
48400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48401         Export.
48402
48403 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48404
48405         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48406         round counter.
48407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48408
48409 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48410
48411         [BZ #12597]
48412         * string/test-strncmp.c (do_page_test): New function.
48413         (check2): Likewise.
48414         (test_main): Call check2.
48415         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48416
48417 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48418
48419         [BZ #12587]
48420         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48421         Handle cache information in CPU leaf 4.
48422         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48423
48424 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48425
48426         [BZ #12583]
48427         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48428         character representation.
48429         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48430
48431 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48432
48433         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48434         END(__isnan) to END(__isnanf) to match function entry point/label
48435         EALIGN(__isnanf,...).
48436
48437 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48438
48439         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48440
48441 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48442
48443         [BZ #12510]
48444         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48445         copy from the symbol referenced in the relocation to initialize the
48446         used variable.
48447         Patch by Piotr Bury <pbury@goahead.com>.
48448         * elf/Makefile: Add rules to build and tst-unique3.
48449         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48450         * elf/tst-unique3.cc: New file.
48451         * elf/tst-unique3.h: New file.
48452         * elf/tst-unique3lib.cc: New file.
48453         * elf/tst-unique3lib2.cc: New file.
48454
48455         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48456
48457 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48458
48459         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48460         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48461         to _start.
48462
48463 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48464
48465         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48466         to-be-loaded object along a path to loader is ld.so.
48467
48468 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48469             Ulrich Drepper  <drepper@gmail.com>
48470
48471         * sysdeps/x86_64/memset.S: After aligning destination, code
48472         branches to different locations depending on the value of
48473         misalignment, when multiarch is enabled. Fix this.
48474
48475 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48476
48477         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48478         Set _x86_64_preferred_memory_instruction for AMD processsors.
48479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48480         Set bit_Prefer_SSE_for_memop for AMD processors.
48481
48482 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48483
48484         * libio/fmemopen.c (fmemopen): Optimize a bit.
48485
48486 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48487
48488         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48489
48490 2011-03-03  Roland McGrath  <roland@redhat.com>
48491
48492         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48493
48494 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48495
48496         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48497         __bzero_ultra1 instead of __memset_ultra1.
48498
48499 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48500             Ulrich Drepper  <drepper@gmail.com>
48501
48502         [BZ #12509]
48503         * include/link.h (struct link_map): Add l_orig_initfini.
48504         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48505         returning unsuccessfully.
48506         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48507         close of a file loaded at startup, restore the original l_initfini
48508         list.
48509         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48510         list, store the pointer.
48511         * elf/Makefile ($(objpfx)noload-mem): New rule.
48512         (noload-ENV): Define.
48513         (tests): Add $(objpfx)noload-mem.
48514         * elf/noload.c: Include <memcheck.h>.
48515         (main): Call mtrace.  Close all opened handles.
48516
48517 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48518
48519         [BZ #12454]
48520         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48521         dependencies are missing.
48522
48523 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48524
48525         Fix __if_freereq crash: Unlike the generic version which uses free,
48526         Hurd needs munmap.
48527         * sysdeps/mach/hurd/ifreq.h: New file.
48528
48529 2011-01-27  Petr Baudis  <pasky@suse.cz>
48530             Ulrich Drepper  <drepper@gmail.com>
48531
48532         [BZ 12445]#
48533         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48534         to extend_alloca().
48535         * stdio-common/bug23.c: New file.
48536         * stdio-common/Makefile (tests): Add bug23.
48537
48538 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48539             Ulrich Drepper  <drepper@gmail.com>
48540
48541         [BZ #12489]
48542         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48543         before performing relro protection.  At old place add assertion
48544         to make sure nothing changed.
48545
48546 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48547             Glauber de Oliveira Costa  <glommer@gmail.com>
48548
48549         * elf/elf.h: Add new ARM TLS relocs.
48550
48551 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48552
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48554         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48555         cast from r3.
48556         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48557         'tests' variable.
48558         * sysdeps/wordsize-64/tst-writev.c: New file.
48559
48560 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48561
48562         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48563         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48564         insns in _dl_start to prevent a TOC reference before relocs are
48565         resolved.
48566
48567 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48568
48569         [BZ #12469]
48570         * Makeconfig: Remove RANLIB definition.
48571         * Makerules: Don't use RANLIB.
48572         * aclocal.m4: Remove ranlib test.
48573         * configure.in: No need to check for ranlib.
48574         * elf/rtld-Rules: Don't use RANLIB.
48575
48576 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48577
48578         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48579         protection macro.
48580         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48581         inclusion protection macro.
48582
48583         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48584         SIGRTMIN and SIGRTMAX and print information in that case only when
48585         SIGRTMIN is defined.
48586
48587 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48588
48589         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48590         arginfo fn returning -1.
48591
48592         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48593         and thousands string is zero terminated.
48594
48595 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48596
48597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48598         sysdeps/unix/sysv/linux/bits/socket.h.
48599
48600 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48601
48602         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48603         (__CPU_COUNT): Remove old macros.
48604         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48605         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48606         (__CPU_ALLOC, __CPU_FREE): Add macros.
48607         (__sched_cpualloc, __sched_cpufree): Add declarations.
48608
48609 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48610
48611         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48612         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48613         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48614         (readdhstai): Return value of addhstaiX call.
48615         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48616         (addgrbyX): Return value returned by cache_addgr.
48617         (readdgrbyname): Return value returned by addgrbyX.
48618         (readdgrbygid): Likewise.
48619         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48620         (addpwbyX): Return value returned by cache_addpw.
48621         (readdpwbyname): Return value returned by addhstbyX.
48622         (readdpwbyuid): Likewise.
48623         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48624         (addservbyX): Return value returned by cache_addserv.
48625         (readdservbyname): Return value returned by addservbyX:
48626         (readdservbyport): Likewise.
48627         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48628         (addhstbyX): Return value returned by cache_addhst.
48629         (readdhstbyname): Return value returned by addhstbyX.
48630         (readdhstbyaddr): Likewise.
48631         (readdhstbynamev6): Likewise.
48632         (readdhstbyaddrv6): Likewise.
48633         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48634         (readdinitgroups): Return value returned by addinitgroupsX.
48635         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48636         (prune_cache): Keep track of timeout value of re-added entries.
48637         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48638         * nscd/nscd.h: Adjust prototypes of readd* functions.
48639
48640 2011-02-04  Roland McGrath  <roland@redhat.com>
48641
48642         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48643         (nis_stats): Likewise.
48644         * nis/nis_modify.c (nis_modify): Likewise.
48645         * nis/nis_remove.c (nis_remove): Likewise.
48646         * nis/nis_add.c (nis_add): Likewise.
48647
48648         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48649
48650         * posix/fnmatch_loop.c: Add some consts.
48651
48652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48653
48654 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48655
48656         [BZ #12460]
48657         * config.make.in (config-cflags-novzeroupper): Define.
48658         * configure.in: Substitute libc_cv_cc_novzeroupper.
48659         * elf/Makefile (AVX-CFLAGS): Define.
48660         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48661         (CFLAGS-tst-auditmod4a.c): Likewise.
48662         (CFLAGS-tst-auditmod4b.c): Likewise.
48663         (CFLAGS-tst-auditmod6b.c): Likewise.
48664         (CFLAGS-tst-auditmod6c.c): Likewise.
48665         (CFLAGS-tst-auditmod7b.c): Likewise.
48666         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48667
48668 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48669
48670         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48671         function to the callback.
48672         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48673
48674 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48675
48676         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48677         of errno.
48678
48679 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48680
48681         [BZ #11724]
48682         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48683         of constructors.
48684         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48685         of destructors.
48686         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48687
48688         [BZ #11724]
48689         * elf/Makefile: Add rules to build and run new test.
48690         * elf/tst-initorder.c: New file.
48691         * elf/tst-initorder.exp: New file.
48692         * elf/tst-initordera1.c: New file.
48693         * elf/tst-initordera2.c: New file.
48694         * elf/tst-initordera3.c: New file.
48695         * elf/tst-initordera4.c: New file.
48696         * elf/tst-initorderb1.c: New file.
48697         * elf/tst-initorderb2.c: New file.
48698         * elf/tst-order-a1.c: New file.
48699         * elf/tst-order-a2.c: New file.
48700         * elf/tst-order-a3.c: New file.
48701         * elf/tst-order-a4.c: New file.
48702         * elf/tst-order-b1.c: New file.
48703         * elf/tst-order-b2.c: New file.
48704         * elf/tst-order-main.c: New file.
48705         New test case by George Gensure <werkt0@gmail.com>.
48706
48707 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48708
48709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48710         decoding ACE if AI_CANONIDN.
48711
48712 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48713
48714         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48715
48716 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48717
48718         * version.h (RELEASE): Bump for 2.13 release.
48719         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48720
48721         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48722
48723         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48724         MADV_NOHUGEPAGE.
48725         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48726         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48731
48732         * posix/getconf.c: Update copyright year.
48733         * catgets/gencat.c: Likewise.
48734         * csu/version.c: Likewise.
48735         * debug/catchsegv.sh: Likewise.
48736         * debug/xtrace.sh: Likewise.
48737         * elf/ldconfig.c: Likewise.
48738         * elf/ldd.bash.in: Likewise.
48739         * elf/sprof.c (print_version): Likewise.
48740         * iconv/iconv_prog.c: Likewise.
48741         * iconv/iconvconfig.c: Likewise.
48742         * locale/programs/locale.c: Likewise.
48743         * locale/programs/localedef.c: Likewise.
48744         * malloc/memusage.sh: Likewise.
48745         * malloc/mtrace.pl: Likewise.
48746         * nscd/nscd.c (print_version): Likewise.
48747         * nss/getent.c: Likewise.
48748
48749         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48750         PF_CAIF, and PF_ALG.
48751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48752
48753 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48754
48755         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48756         (modules-names): Use them.
48757         (ifunc-test-modules, ifunc-pie-tests): Define.
48758         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48759         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48760         (test-extras): Likewise.
48761         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48762         $(compile-command.c).
48763         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48764         (all-built-dso): Define.
48765         (check-textrel.out, check-execstack.out): Depend on it.
48766
48767         * configure.in: Don't override --enable-multi-arch.
48768
48769 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48770
48771         [BZ #6812]
48772         * nscd/hstcache.c (tryagain): Define.
48773         (cache_addhst): Return tryagain not notfound for temporary errors.
48774         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48775         failed.
48776
48777 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48778
48779         [BZ #10563]
48780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48781         to make the syscall.
48782         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48783
48784         [BZ #12378]
48785         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48786         and fall back to matching as normal character if the string ends before
48787         the matching ']' is found.  This is what POSIX requires.
48788         * posix/testfnm.c: Adjust test result.
48789         * posix/globtest.sh: Adjust test result.  Add new test.
48790         * posix/tst-fnmatch.input: Likewise.
48791         * posix/tst-fnmatch2.c: Add new test.
48792
48793 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48794
48795         * elf/Makefile (check-execstack): Revert last change.  Depend on
48796         check-execstack.h.
48797         (check-execstack.h): New target.
48798         (generated): Add check-execstack.h.
48799         * elf/check-execstack.c: Include "check-execstack.h".
48800         (main): Revert last change.
48801         (handle_file): Return zero if GNU_STACK is absent and
48802         DEFAULT_STACK_PERMS doesn't include PF_X.
48803
48804 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48805
48806         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48807         in child fails because the descriptor is already closed.
48808         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48809         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48811
48812         [BZ #12397]
48813         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48814         syscall.
48815
48816         [BZ #10484]
48817         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48818         temporary buffer used to handle multi lookups locally.
48819         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48820
48821 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48822
48823         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48824         loader is ld.so.
48825
48826 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48827
48828         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48829         alignment for SSE2.
48830
48831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48832
48833         [BZ #12394]
48834         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48835         characters.  When rounding increased number of integer digits recompute
48836         number of groups.
48837         * stdio-common/tst-grouping.c: New file.
48838         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48839
48840 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48841
48842         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48843         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48844
48845         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48846         void.
48847         * bits/select.h: Likewise.
48848
48849 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48850
48851         * po/ja.po: Update from translation team.
48852
48853 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48854
48855         [BZ #11155]
48856         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48857         implementation just like for lxstat, fxstatat, et al.
48858
48859 2010-12-27  Jim Meyering  <meyering@redhat.com>
48860
48861         [BZ #12348]
48862         * posix/regexec.c (build_trtable): Return failure indication upon
48863         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48864
48865 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48866
48867         [BZ #12201]
48868         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48869         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48870         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48871         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48872
48873         [BZ #12207]
48874         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48875
48876         [BZ #12204]
48877         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48878         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48879
48880 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48881
48882         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48883         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48884         script has SORT_BY_INIT_PRIORITY.
48885         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48886         NO_CTORS_DTORS_SECTIONS is defined.
48887         * elf/soinit.c: Likewise.
48888         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48889         NO_CTORS_DTORS_SECTIONS is defined.
48890         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48891         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48892         * sysdeps/sh/init-first.c: Likewise.
48893         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48894
48895 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48896
48897         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48898         always use the slow path.
48899
48900 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48901
48902         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48903         similar rule which adds the sysdep directories to the header search in
48904         order to pick up the correct platform stackinfo.h.
48905         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48906         perform test if it is, otherwise return successfully without testing.
48907         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48908         DEFAULT_STACK_PERMS define in stackinfo.h.
48909         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48910         defined in stackinfo.h.
48911         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48912         DEFAULT_STACK_PERMS defined in stackinfo.h.
48913         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48914         * sysdeps/ia64/stackinfo.h: Likewise.
48915         * sysdeps/s390/stackinfo.h: Likewise.
48916         * sysdeps/sh/stackinfo.h: Likewise.
48917         * sysdeps/sparc/stackinfo.h: Likewise.
48918         * sysdeps/x86_64/stackinfo.h: Likewise.
48919         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48920         PF_X for powerpc64.  Retain PF_X for powerpc32.
48921
48922 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48923
48924         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48925         accurately.
48926         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48927         GETDENTS_64BIT_ALIGNED.
48928
48929 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48930
48931         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48932
48933 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48934
48935         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48936         _GNU_SOURCE.
48937
48938         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48939         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48940         Remove __restrict.
48941         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48942         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48943
48944 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48945
48946         [BZ #11655]
48947         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48948         are initialized.
48949
48950 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48951
48952         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48953
48954 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48955
48956         * po/it.po: Update from translation team.
48957
48958 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48959
48960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48961         unused codes.
48962
48963 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48964
48965         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48966
48967 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48968
48969         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48970         specially.
48971         (gaih_getanswer_slice): Likewise.
48972
48973 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48974
48975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48976
48977 2010-05-31  Petr Baudis  <pasky@suse.cz>
48978
48979         [BZ #11149]
48980         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48981         silently even in the chroot mode.
48982
48983 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48984
48985         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48986         last patch a bit.  Pretty printing
48987
48988 2010-05-31  Petr Baudis <pasky@suse.cz>
48989
48990         [BZ #10085]
48991         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48992         initialization of skip_initgroups_dyn.
48993
48994 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48995
48996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48998
48999 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49000
49001         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49002
49003 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49004
49005         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49006         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49007         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49008         ($(objpfx)tst-fnmatch-mem): New rule.
49009         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49010         * posix/tst-fnmatch.c (main): Call mtrace.
49011
49012 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49013
49014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49015         Support Intel processor model 6 and model 0x2c.
49016
49017 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49018
49019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49020           signed comparison.
49021
49022 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49023
49024         [BZ #12205]
49025         * string/test-strncasecmp.c (check_result): New function.
49026         (do_one_test): Use it.
49027         (check1): New function.
49028         (test_main): Use it.
49029         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49030         Support strcasecmp and strncasecmp.
49031
49032 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49033
49034         [BZ #12194]
49035         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49037
49038 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49039
49040         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49041         IFUNC support.
49042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49043         memset-x86-64.
49044         * sysdeps/x86_64/multiarch/bzero.S: New file.
49045         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49046         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49047         * sysdeps/x86_64/multiarch/memset.S: New file.
49048         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49050         Set bit_Prefer_SSE_for_memop for Intel processors.
49051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49052         Define.
49053         (index_Prefer_SSE_for_memop): Define.
49054         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49055
49056 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49057
49058         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49059         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49060
49061 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49062
49063         [BZ #12191]
49064         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49065         (__x86_64_raw_data_cache_size_half): Likewise.
49066         (__x86_64_raw_shared_cache_size): Likewise.
49067         (__x86_64_raw_shared_cache_size_half): Likewise.
49068
49069         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49070         (__x86_64_raw_data_cache_size_half): Likewise.
49071         (__x86_64_raw_shared_cache_size): Likewise.
49072         (__x86_64_raw_shared_cache_size_half): Likewise.
49073         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49074         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49075         and __x86_64_raw_shared_cache_size_half.  Round
49076         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49077         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49078         to multiple of 256 bytes.
49079
49080 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49081
49082         [BZ #12167]
49083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49084         of inacessible symlinks.  Verify result of symlink before returning it.
49085         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49086         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49087
49088 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49089
49090         * math/math.h (isinf): Fix typo in comment.
49091
49092 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49093
49094         * po/da.po: Update from translation team.
49095
49096 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49097
49098         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49099         is added to the list.
49100
49101 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49102             Ulrich Drepper  <drepper@gmail.com>
49103
49104         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49105         the global list here.  Move code to...
49106         (_dl_add_to_namespace_list): ...here.  New function.
49107         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49108         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49109         * elf/dl-load.c (lose): Don't remove the element from the list.
49110         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49111         (_dl_map_object): Likewise.
49112
49113 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49114
49115         [BZ #12159]
49116         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49117         into all bytes of SSE register.
49118         Patch by Richard Li <richardpku@gmail.com>.
49119
49120 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49121
49122         [BZ #12140]
49123         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49124         perturbing.
49125
49126 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49127
49128         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49129         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49131         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49133         submachine.
49134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49135
49136 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49137
49138         * include/dlfcn.h (__RTLD_SECURE): Define.
49139         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49140         mode & __RTLD_SECURE instead.
49141         (open_path): Rename preloaded parameter to secure.
49142         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49143         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49144         * elf/dl-deps.c (openaux): Likewise.
49145         * elf/rtld.c (struct map_args): Remove is_preloaded.
49146         (map_doit): Don't use it.
49147         (dl_main): Likewise.
49148         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49149         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49150
49151 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49152
49153         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49154         (sysd-rules-targets): Remove duplicates.
49155         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49156         rtld-%.$o dependency.
49157
49158 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49159
49160         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49161         _dl_map_object do it.
49162
49163 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49164
49165         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49166         fast fma builtins, define the macros in the C99 standard.
49167         (FP_FAST_FMAF): Likewise.
49168         (FP_FAST_FMAL): Likewise.
49169         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49170
49171         * bits/mathdef.h: Update copyright year.
49172         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49173
49174 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49175
49176         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49177         builtins, define the macros in the C99 standard.
49178         (FP_FAST_FMAF): Likewise.
49179         (FP_FAST_FMAL): Likewise.
49180         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49181         multiply/add.
49182         (FP_FAST_FMAF): Likewise.
49183
49184 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49185
49186         [BZ #3268]
49187         * math/libm-test.inc (fma_test): Some new testcases.
49188         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49190         y and infinite z.  Do multiplication by C already in long double.
49191         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49193         y and infinite z.  Do bitwise or of inexact bit into u.d.
49194         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49195         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49196         * sysdeps/i386/fpu/s_fma.S: Removed.
49197         * sysdeps/i386/fpu/s_fmal.S: Removed.
49198
49199 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49200
49201         [BZ #3268]
49202         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49204         computation is not scheduled after fetestexcept.  Fix value
49205         of minimum denormal long double.
49206
49207 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49208
49209         [BZ #3268]
49210         * math/libm-test.inc (fma_test): Add some more tests.
49211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49212         correctly.
49213
49214 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49215
49216         * scripts/data/localplt-s390-linux-gnu.data: New file.
49217         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49218
49219 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49220
49221         [BZ #3268]
49222         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49223         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49224         instead of dbl-64.
49225         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49226         inlines.
49227         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49229         if one of x and y is very large and the other is subnormal.
49230         * sysdeps/s390/fpu/s_fmaf.c: New file.
49231         * sysdeps/s390/fpu/s_fma.c: New file.
49232         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49233         * sysdeps/powerpc/fpu/s_fma.S: New file.
49234         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49235         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49236         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49237
49238 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49239
49240         [BZ #3268]
49241         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49242         fma tests.
49243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49244         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49245         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49246         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49247         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49248         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49250
49251 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49252
49253         [BZ #12078]
49254         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49255         * posix/bug-regex31.input: Add test case.
49256
49257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49258
49259         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49260         * posix/bug-regex31.input: New file.
49261
49262         [BZ #12078]
49263         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49264         (parse_sub_exp): Fix last change, use postorder.
49265
49266         * posix/bug-regex31.c: New file.
49267         * posix/Makefile: Add rules to build and run bug-regex31.
49268
49269         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49270
49271         [BZ #12078]
49272         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49273
49274         [BZ #12108]
49275         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49276         to have entries in sys_siglist.
49277
49278         [BZ #12093]
49279         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49280         be NULL.
49281
49282 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49283
49284         [BZ #3268]
49285         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49286         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49287         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49288         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49289         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49290         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49291         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49292         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49293         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49294         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49295         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49296         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49298         * math/ftestexcept.c (fetestexcept): Likewise.
49299         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49300         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49301         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49302         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49303         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49304         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49306
49307 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49308
49309         [BZ #12107]
49310         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49311         newline.
49312
49313 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49314
49315         * string/bug-strstr1.c: New file.
49316         * string/Makefile: Add rules to build and run bug-strstr1.
49317
49318 2010-10-05  Eric Blake  <eblake@redhat.com>
49319
49320         [BZ #12092]
49321         * string/str-two-way.h (two_way_long_needle): Always clear memory
49322         when skipping input due to the shift table.
49323
49324 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49325
49326         [BZ #12005]
49327         * malloc/mcheck.c: Handle large requests.
49328
49329         [BZ #12077]
49330         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49331         for strncmp and strncasecmp.
49332         * string/stratcliff.c: Add tests for strcmp and strncmp.
49333         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49334
49335 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49336
49337         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49338         __set_fpscr.
49339
49340 2010-09-30  Andreas Jaeger  <aj@suse.de>
49341
49342         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49343         (CGROUP_SUPER_MAGIC): Define.
49344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49345         Handle btrfs and cgroup file systems.
49346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49347         Likewise.
49348
49349 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49350
49351         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49352         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49353
49354 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49355
49356         [BZ #12067]
49357         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49358         trying to locate the ELF header.
49359
49360 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49361
49362         [BZ #11611]
49363         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49364         Mask out sign-bit copies when constructing f_fsid.
49365
49366 2010-09-24  Petr Baudis <pasky@suse.cz>
49367
49368         * debug/stack_chk_fail_local.c: Add missing licence exception.
49369         * debug/warning-nop.c: Likewise.
49370
49371 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49372
49373         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49374         implementing getdents64 using getdents syscall, set d_type if
49375         __ASSUME_GETDENTS32_D_TYPE.
49376
49377 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49378
49379         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49380         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49381
49382 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49383
49384         [BZ #12037]
49385         * posix/unistd.h: Undo change of feature selection for ftruncate from
49386         2010-01-11.
49387
49388 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49389
49390         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49391         detection.
49392
49393 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49394
49395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49396         fanotify_mark.
49397         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49398
49399 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49400
49401         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49402         variables after CHECK_SP call.
49403         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49404
49405 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49406             Ulrich Drepper  <drepper@redhat.com>
49407
49408         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49409         re-relocationg ld.so.
49410         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49411         _dl_init_paths call.
49412         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49413         here anymore.
49414
49415 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49416
49417         * resolv/res_init.c (__res_vinit): Count the default server we added.
49418
49419 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49420             Ulrich Drepper  <drepper@redhat.com>
49421
49422         [BZ #11968]
49423         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49424         (____longjmp_chk): Use %ebx for saving value across system call.
49425         Add unwind info.
49426
49427 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49428
49429         * manual/Makefile: Don't mix pattern rules with normal rules.
49430
49431 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49432
49433         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49434         operation.
49435         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49436         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49437         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49440         Likewise.
49441
49442 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49443
49444         [BZ #11979]
49445         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49446         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49447
49448 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49449
49450         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49451         * sysdeps/x86_64/addmul_1.S: Likewise.
49452         * sysdeps/x86_64/lshift.S: Likewise.
49453         * sysdeps/x86_64/mul_1.S: Likewise.
49454         * sysdeps/x86_64/rshift.S: Likewise.
49455         * sysdeps/x86_64/sub_n.S: Likewise.
49456         * sysdeps/x86_64/submul_1.S: Likewise.
49457
49458 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49459
49460         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49461         Define __sched_param instead of SCHED_* and sched_param when
49462         <bits/sched.h> is included with __need_schedparam defined.
49463         * bits/sched.h [__need_schedparam]
49464         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49465         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49466         (__defined_schedparam): Define to 1.
49467         (__sched_param): New structure, identical to sched_param.
49468         (__need_schedparam): Undefine.
49469
49470 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49471
49472         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49473         (epoll_create1): Declare.
49474
49475         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49476
49477 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49478
49479         [BZ #7066]
49480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49481         shifting retval into place.
49482
49483 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49484
49485         * nis/rpcsvc/nis.h: Update copyright notice.
49486         * nis/rpcsvc/nis.x: Likewise.
49487         * nis/rpcsvc/nis_callback.h: Likewise.
49488         * nis/rpcsvc/nis_callback.x: Likewise.
49489         * nis/rpcsvc/nis_object.x: Likewise.
49490         * nis/rpcsvc/nis_tags.h: Likewise.
49491         * nis/rpcsvc/yp.h: Likewise.
49492         * nis/rpcsvc/yp.x: Likewise.
49493         * nis/rpcsvc/ypupd.h: Likewise.
49494         * nis/yp_xdr.c: Likewise.
49495         * nis/ypupdate_xdr.c: Likewise.
49496
49497         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49498         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49499         (pmap_getport): Use __libc_rpc_getport.
49500         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49501         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49502         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49503
49504 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49505
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49507         fanotify_mark.
49508
49509 2010-08-27  Roland McGrath  <roland@redhat.com>
49510
49511         * sysdeps/i386/i686/multiarch/Makefile
49512         (CFLAGS-varshift.c): New variable.
49513
49514 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49515
49516         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49517         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49518
49519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49520
49521         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49522
49523 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49524
49525         * sysdeps/x86_64/strlen.S: Unroll the loop.
49526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49527         strlen-sse2 strlen-sse2-bsf.
49528         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49529         __strlen_no_bsf if bit_Slow_BSF is set.
49530         (__strlen_sse42): Removed.
49531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49532         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49533
49534 2010-08-25  Roland McGrath  <roland@redhat.com>
49535
49536         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49537         * sysdeps/x86_64/multiarch/varshift.c: New file.
49538         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49539         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49540         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49542
49543 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49544
49545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49546         strlen-sse2 strlen-sse2-bsf.
49547         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49548         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49549         (__strlen_sse2): Removed.
49550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49553         bit_Slow_BSF for Atom.
49554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49555         (index_Slow_BSF): Define.
49556         (HAS_SLOW_BSF): Define.
49557
49558 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49559
49560         [BZ #10851]
49561         * resolv/res_init.c (__res_vinit): When no server address at all
49562         is given default to loopback.
49563
49564 2010-08-24  Roland McGrath  <roland@redhat.com>
49565
49566         * configure.in: Remove config-name.h generation.
49567         * configure: Regenerated.
49568         * config-name.in: File removed.
49569         * scripts/config-uname.sh: New file.
49570         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49571         ($(objdir)config-name.h): New target.
49572
49573         * sunrpc/rpc_parse.h: Avoid nested comment.
49574
49575 2010-08-24  Richard Henderson  <rth@redhat.com>
49576             Ulrich Drepper  <drepper@redhat.com>
49577             H.J. Lu  <hongjiu.lu@intel.com>
49578
49579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49581         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49582         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49583         _mm_alignr_epi8 with _mm_loadu_si128.
49584         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49585         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49586         (__m128i_shift_right): Removed.
49587         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49588         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49589         * sysdeps/x86_64/multiarch/varshift.h: New file.
49590         * sysdeps/x86_64/multiarch/varshift.S: New file.
49591
49592 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49593
49594         * configure.in: Move assembler checks to before sysdep dir checking.
49595
49596 2010-08-20  Petr Baudis  <pasky@suse.cz>
49597
49598         * LICENSES: Sync the sunrpc license.
49599
49600 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49601
49602         * sunrpc/auth_des.c: Update copyright notice once again.
49603         * sunrpc/auth_none.c: Likewise.
49604         * sunrpc/auth_unix.c: Likewise.
49605         * sunrpc/authdes_prot.c: Likewise.
49606         * sunrpc/authuxprot.c: Likewise.
49607         * sunrpc/bindrsvprt.c: Likewise.
49608         * sunrpc/clnt_gen.c: Likewise.
49609         * sunrpc/clnt_perr.c: Likewise.
49610         * sunrpc/clnt_raw.c: Likewise.
49611         * sunrpc/clnt_simp.c: Likewise.
49612         * sunrpc/clnt_tcp.c: Likewise.
49613         * sunrpc/clnt_udp.c: Likewise.
49614         * sunrpc/clnt_unix.c: Likewise.
49615         * sunrpc/des_crypt.c: Likewise.
49616         * sunrpc/des_soft.c: Likewise.
49617         * sunrpc/get_myaddr.c: Likewise.
49618         * sunrpc/getrpcport.c: Likewise.
49619         * sunrpc/key_call.c: Likewise.
49620         * sunrpc/key_prot.c: Likewise.
49621         * sunrpc/openchild.c: Likewise.
49622         * sunrpc/pm_getmaps.c: Likewise.
49623         * sunrpc/pm_getport.c: Likewise.
49624         * sunrpc/pmap_clnt.c: Likewise.
49625         * sunrpc/pmap_prot.c: Likewise.
49626         * sunrpc/pmap_prot2.c: Likewise.
49627         * sunrpc/pmap_rmt.c: Likewise.
49628         * sunrpc/rpc/auth.h: Likewise.
49629         * sunrpc/rpc/auth_unix.h: Likewise.
49630         * sunrpc/rpc/clnt.h: Likewise.
49631         * sunrpc/rpc/des_crypt.h: Likewise.
49632         * sunrpc/rpc/key_prot.h: Likewise.
49633         * sunrpc/rpc/netdb.h: Likewise.
49634         * sunrpc/rpc/pmap_clnt.h: Likewise.
49635         * sunrpc/rpc/pmap_prot.h: Likewise.
49636         * sunrpc/rpc/pmap_rmt.h: Likewise.
49637         * sunrpc/rpc/rpc.h: Likewise.
49638         * sunrpc/rpc/rpc_des.h: Likewise.
49639         * sunrpc/rpc/rpc_msg.h: Likewise.
49640         * sunrpc/rpc/svc.h: Likewise.
49641         * sunrpc/rpc/svc_auth.h: Likewise.
49642         * sunrpc/rpc/types.h: Likewise.
49643         * sunrpc/rpc/xdr.h: Likewise.
49644         * sunrpc/rpc_clntout.c: Likewise.
49645         * sunrpc/rpc_cmsg.c: Likewise.
49646         * sunrpc/rpc_common.c: Likewise.
49647         * sunrpc/rpc_cout.c: Likewise.
49648         * sunrpc/rpc_dtable.c: Likewise.
49649         * sunrpc/rpc_hout.c: Likewise.
49650         * sunrpc/rpc_main.c: Likewise.
49651         * sunrpc/rpc_parse.c: Likewise.
49652         * sunrpc/rpc_parse.h: Likewise.
49653         * sunrpc/rpc_prot.c: Likewise.
49654         * sunrpc/rpc_sample.c: Likewise.
49655         * sunrpc/rpc_scan.c: Likewise.
49656         * sunrpc/rpc_scan.h: Likewise.
49657         * sunrpc/rpc_svcout.c: Likewise.
49658         * sunrpc/rpc_tblout.c: Likewise.
49659         * sunrpc/rpc_util.c: Likewise.
49660         * sunrpc/rpc_util.h: Likewise.
49661         * sunrpc/rpcinfo.c: Likewise.
49662         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49663         * sunrpc/rpcsvc/key_prot.x: Likewise.
49664         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49665         * sunrpc/rpcsvc/mount.x: Likewise.
49666         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49667         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49668         * sunrpc/rpcsvc/rex.x: Likewise.
49669         * sunrpc/rpcsvc/rstat.x: Likewise.
49670         * sunrpc/rpcsvc/rusers.x: Likewise.
49671         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49672         * sunrpc/rpcsvc/spray.x: Likewise.
49673         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49674         * sunrpc/rtime.c: Likewise.
49675         * sunrpc/svc.c: Likewise.
49676         * sunrpc/svc_auth.c: Likewise.
49677         * sunrpc/svc_authux.c: Likewise.
49678         * sunrpc/svc_raw.c: Likewise.
49679         * sunrpc/svc_run.c: Likewise.
49680         * sunrpc/svc_simple.c: Likewise.
49681         * sunrpc/svc_tcp.c: Likewise.
49682         * sunrpc/svc_udp.c: Likewise.
49683         * sunrpc/svc_unix.c: Likewise.
49684         * sunrpc/svcauth_des.c: Likewise.
49685         * sunrpc/xcrypt.c: Likewise.
49686         * sunrpc/xdr.c: Likewise.
49687         * sunrpc/xdr_array.c: Likewise.
49688         * sunrpc/xdr_float.c: Likewise.
49689         * sunrpc/xdr_mem.c: Likewise.
49690         * sunrpc/xdr_rec.c: Likewise.
49691         * sunrpc/xdr_ref.c: Likewise.
49692         * sunrpc/xdr_sizeof.c: Likewise.
49693         * sunrpc/xdr_stdio.c: Likewise.
49694
49695         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49696         handling.
49697
49698 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49699
49700         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49701
49702 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49703
49704         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49706         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49707         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49708         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49709         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49711         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49713         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49714         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49716         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49717         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49718
49719 2010-07-26  Anton Blanchard  <anton@samba.org>
49720
49721         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49722         * malloc/arena.c (heap_trim): Likewise.
49723
49724 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49725
49726         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49727         here.  Not...
49728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49729         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49730
49731 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49732
49733         * sysdeps/i386/elf/Makefile: New file.
49734
49735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49736
49737         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49738         from fanotify_init.
49739         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49741
49742 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49743
49744         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49745         of strncasecmp_l.
49746         * sysdeps/multiarch/strcmp.S: Likewise.
49747
49748 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49749
49750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49751         strncase_l-nonascii.
49752         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49753         Add strncase_l-ssse3.
49754         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49755         * sysdeps/x86_64/strcmp.S: Likewise.
49756         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49757         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49758         * sysdeps/x86_64/strncase.S: New file.
49759         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49760         * sysdeps/x86_64/strncase_l.S: New file.
49761         * string/Makefile (strop-tests): Add strncasecmp.
49762         * string/test-strncasecmp.c: New file.
49763
49764         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49765         warning.
49766
49767         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49768         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49769
49770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49771
49772         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49773
49774 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49775
49776         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49778         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49779
49780 2010-05-01  Alan Modra  <amodra@gmail.com>
49781
49782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49783         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49784         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49785         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49786         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49787         tidying.  Don't tail-call __sigjmp_save for static lib.
49788         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49789         save location.
49790         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49791         (CALL_MCOUNT): Add eh info, and nop after bl.
49792         (TAIL_CALL_SYSCALL_ERROR): New macro.
49793         (PSEUDO_RET): Use it.
49794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49795         Correct save location of integer regs and cr.
49796         (_dl_profile_resolve): Correct cr save location.  Delete nops
49797         after bl when SHARED.  Reduce cfi size a little by better
49798         placement of cfi directives.
49799         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49800         make a stack frame.  Instead use parm save area as a temp.
49801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49802         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49804         Don't make a stack frame for parent, use parm save area.
49805         Increase child stack frame to 112 bytes.  Don't save unused reg,
49806         and adjust reg usage.  Set up cfi on error recovery and
49807         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49809         (__makecontext): Add dummy nop after jump to exit.
49810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49811         Use correct parm save area and cr save, reduce stack frame.
49812         Correct cfi for possible PSEUDO_RET frame setup.
49813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49814         Branch to local label emitted by PSEUDO_RET rather than
49815         __syscall_error.
49816
49817 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49818
49819         [BZ #11904]
49820         * locale/programs/locale.c (print_assignment): New function.
49821         (show_locale_vars): Use it.
49822
49823 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49824
49825         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49826         field.
49827         (struct statfs64): Likewise.
49828         (_STATFS_F_FLAGS): Define.
49829         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49831         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49832         (ST_VALID): Define locally.
49833         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49834         __statvfs_getflags, use the provided value.
49835         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49836         __ASSUME_STATFS_F_FLAGS.
49837
49838         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49839
49840         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49841         Add sys/fanotify.h.
49842         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49843         fanotify_mask for GLIBC_2.13.
49844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49845         fanotify_init and fanotify_mark.
49846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49847         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49848
49849         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49850         Add prlimit.
49851         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49852         prlimit64 for GLIBC_2.13.
49853         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49854         prlimit64.
49855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49856         syscall.
49857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49859         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49862         add prlimit alias.
49863         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49864
49865         [BZ #11903]
49866         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49867         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49868
49869         * nss/Makefile: Add rules to build and run tst-nss-test1.
49870         * shlib-versions: Add entry for libnss_test1.
49871         * nss/nss_test1.c: New file.
49872         * nss/tst-nss-test1.c: New file.
49873
49874         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49875         (__nss_configure_lookup): Set appropriate entry in
49876         __nss_configure_lookup to true.
49877         * nss/nsswitch.h: Define enum with indeces of databases in
49878         databases and __nss_database_custom arrays.  Declare
49879         __nss_database_custom.
49880         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49881         to avoid using nscd when custom rules are installed.
49882         * nss/getXXbyYY_r.c: Likewise.
49883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49884
49885         * nss/nss_files/files-parse.c: Whitespace fixes.
49886
49887 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49888
49889         [BZ #11883]
49890         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49891         * posix/fnmatch_loop.c: Likewise.
49892
49893 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49894
49895         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49896         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49897         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49898         * Versions.def [GLIBC_2.13]: Add.
49899
49900 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49901
49902         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49903         Also fail if tpwd after pwuid call is NULL.
49904
49905 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49906
49907         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49908         when converting to ms.
49909
49910 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49911
49912         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49913         EOPNOTSUPP errors with ENOTTY.
49914         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49915         EOPNOTSUPP errors with ENOTTY.
49916
49917 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49918
49919         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49920         Add strcasecmp_l-ssse3.
49921         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49922         strcasecmp.
49923         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49925         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49926
49927 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49928
49929         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49930
49931         * string/Makefile (strop-tests): Add strcasecmp.
49932         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49933         strcasecmp_l-nonascii.
49934         (gen-as-const-headers): Add locale-defines.sym.
49935         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49936         * sysdeps/x86_64/strcasecmp.S: New file.
49937         * sysdeps/x86_64/strcasecmp_l.S: New file.
49938         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49939         * sysdeps/x86_64/locale-defines.sym: New file.
49940         * string/test-strcasecmp.c: New file.
49941
49942         * string/test-strcasestr.c: Test both ends of the range of characters.
49943         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49944
49945 2010-07-29  Roland McGrath  <roland@redhat.com>
49946
49947         [BZ #11856]
49948         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49949
49950 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49951
49952         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49953         for ld.so.
49954
49955 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49956
49957         * manual/memory.texi (Malloc Tunable Parameters): Document
49958         M_PERTURB.
49959
49960 2010-07-26  Roland McGrath  <roland@redhat.com>
49961
49962         [BZ #11840]
49963         * configure.in (-fgnu89-inline check): Set and substitute
49964         gnu89_inline, not libc_cv_gnu89_inline.
49965         * configure: Regenerated.
49966         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49967
49968 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49969
49970         * string/test-strnlen.c: New file.
49971         * string/Makefile (strop-tests): Add strnlen.
49972         * string/tester.c (test_strnlen): Add a few more test cases.
49973         * string/tst-strlen.c: Better error reporting.
49974
49975         * sysdeps/x86_64/strnlen.S: New file.
49976
49977 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49978
49979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49980         lower-latency instructions.
49981
49982 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49983
49984         * string/test-strcasestr.c: New file.
49985         * string/test-strstr.c: New file.
49986         * string/Makefile (strop-tests): Add strstr and strcasestr.
49987         * string/str-two-way.h: Don't undefine MAX.
49988         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49989
49990 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49991
49992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49993         strcasestr-nonascii.
49994         (CFLAGS-strcasestr-nonascii.c): Define.
49995         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49997         Remove unused attribute.
49998
49999 2010-07-20  Roland McGrath  <roland@redhat.com>
50000
50001         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50002         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50003         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50004         like LD_HWCAP_MASK can disable hwcaps.
50005
50006 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50007
50008         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50009
50010 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50011
50012         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50013         call in strcasestr.
50014         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50015         __strcasestr_sse42_nonascii.
50016         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50017         strcasestr-nonascii.c.
50018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50019
50020 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50021
50022         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50023         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50024         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50026
50027 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50028
50029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50030         fcntl.
50031
50032 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50033
50034         [BZ #11577]
50035         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50036         dl_signal_cerror.
50037
50038 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50039
50040         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50041         _PC_PIPE_BUF using F_GETPIPE_SZ.
50042
50043 2010-07-05  Roland McGrath  <roland@redhat.com>
50044
50045         * manual/arith.texi (Rounding Functions): Fix rint description
50046         implicit in round description.
50047
50048 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50049
50050         * elf/Makefile: Fix linking for a few tests to make recent linker
50051         happy.
50052
50053 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50054
50055         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50056         $(common-objpfx)libc_nonshared.a.
50057
50058 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50059
50060         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50061         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50062         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50063         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50064         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50065         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50066         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50067         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50082         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50083         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50084         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50085         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50086         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50087         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50088         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50089         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50090         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50091         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50092         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50093         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50108
50109 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50110
50111         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50112         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50113         * string/memmove.c (memmove): Renamed to ...
50114         (MEMMOVE): ...this.  Default to memmove.
50115         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50116         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50117         (END_CHK): Define.
50118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50119         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50120         mempcpy-ssse3-back memmove-ssse3-back.
50121         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50124         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50125         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50126         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50127         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50128         * sysdeps/x86_64/multiarch/memmove.c: New file.
50129         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50130         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50131         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50132         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50135         Define.
50136         (index_Fast_Copy_Backward): Define.
50137         (HAS_ARCH_FEATURE): Define.
50138         (HAS_FAST_REP_STRING): Define.
50139         (HAS_FAST_COPY_BACKWARD): Define.
50140
50141 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50142
50143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50144         Restore proper fallback handling.
50145
50146 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50147
50148         [BZ #11701]
50149         * posix/group_member.c (__group_member): Correct checking loop.
50150
50151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50152         OOM in getpwuid_r correctly.  Return error number when the caller
50153         should return, otherwise -1.
50154         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50155         call returning > 0 value.
50156         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50157
50158 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50159
50160         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50161         libc_nonshared.a from targets in modules-names.
50162
50163 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50164
50165         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50166         requires it.
50167
50168 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50169
50170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50174
50175 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50176
50177         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50178
50179 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50180
50181         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50182         and F_GETPIPE_SZ.
50183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50189
50190 2010-06-14  Roland McGrath  <roland@redhat.com>
50191
50192         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50193
50194 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50195
50196         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50197         __REDIRECT followed by __THROW.
50198         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50199         * posix/getopt.h (getopt): Likewise.
50200
50201 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50202
50203         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50204         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50205         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50206         in AT_FLAGS.
50207         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50208         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50209
50210 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50211
50212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50213
50214 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50215
50216         [BZ #11640]
50217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50218         Properly check family and model.
50219
50220 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50221
50222         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50223
50224 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50225
50226         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50227
50228 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50229
50230         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50231         symbol reference.
50232
50233 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50234
50235         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50236         symbol reference.
50237
50238 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50239
50240         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50241         and internal_recvmmsg.
50242         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50243         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50244         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50245         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50246
50247         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50248         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50249         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50250
50251 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50252
50253         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50254
50255 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50256
50257         POWER7 optimizations.
50258         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50259         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50260
50261 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50262
50263         * version.h: Update for 2.13 development version.
50264
50265 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50266
50267         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50268         exceptions.  Return 0.
50269
50270 2010-05-07  Roland McGrath  <roland@redhat.com>
50271
50272         * elf/ldconfig.c (main): Add a const.
50273
50274 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50275
50276         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50277         (args_options): Add no-idn option.
50278         (ahosts_keys_int): Add idn_flags to ai_flags.
50279         (parse_option): Handle 'i' option to clear idn_flags.
50280
50281         * malloc/malloc.c (_int_free): Possible race in the most recently
50282         added check.  Only act on the data if no current modification
50283         happened.
50284
50285 See ChangeLog.17 for earlier changes.