Move some setrlimit definitions to syscalls.list (bug 14138).
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #14138]
4         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11         syscall entry for GLIBC_2.2 symbol version.
12         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13         Likewise.
14         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15         (setrlimit): Likewise.
16         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
17         Likewise.
18
19 2014-09-23  Will Newton  <will.newton@linaro.org>
20
21         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
22         _LINUX_ARM_SYSDEP_H include guard too.
23         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24         define.
25
26 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27
28         * sysdeps/unix/sysv/linux/eventfd.c:
29         Make first argument unsigned.
30         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32
33 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34
35         * socket/recvmmsg.c (recvmmsg): Drop const argument.
36         * socket/sys/socket.h: Likewise
37         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38
39 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40
41         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42
43 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44
45         * time/tst-ftime.c: New test.
46         * time/Makefile (tests): Add tst-ftime.
47
48 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
49
50         * soft-fp/extended.h: Fix comment formatting.
51         * soft-fp/op-1.h: Likewise.
52         * soft-fp/op-2.h: Likewise.
53         * soft-fp/op-4.h: Likewise.
54         * soft-fp/op-8.h: Likewise.
55         * soft-fp/op-common.h: Likewise.
56         * soft-fp/soft-fp.h: Likewise.
57
58         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
59
60 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
61
62         [BZ #6652]
63         * Makeconfig (soversions-default-setname): Remove variable.
64         ($(common-objpfx)soversions.i): Don't pass default_setname to
65         soversions.awk.
66         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
67         oldest_abi to abi-versions.awk.
68         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
69         * config.make.in (oldest-abi): Remove variable.
70         * configure.ac (--enable-oldest-abi): Remove configure option.
71         * configure: Regenerated.
72         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
73         text.
74         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
75         * scripts/soversions.awk: Do not handle default_setname variable.
76         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
77         variable.
78         * sysdeps/mach/hurd/configure: Regenerated.
79         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
80         variable.
81         * sysdeps/unix/sysv/linux/configure: Regenerated.
82
83 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
84
85         * elf/Makefile (CFLAGS-interp.c): Remove.
86         ($(elf-objpfx)runtime-linker.h): Generate header with linker
87         path string.
88         * elf/interp.c: Include generated runtime-linker.h
89
90         * Makerules (lib%.so): Don't include $(+interp) in
91         prerequisites.
92         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
93         * dlfcn/eval.c: Remove file.
94
95         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
96         macros.
97
98         [BZ #17266]
99         * misc/sys/cdefs.h: Define __extern_always_inline for clang
100         4.2 and newer.
101
102         [BZ #17370]
103         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
104
105 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
106             Jakub Jelinek  <jakub@redhat.com>
107
108         [BZ #17266]
109         * libio/stdio.h: Check definition of __fortify_function
110         instead of __extern_always_inline to include bits/stdio2.h.
111         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
112         check if __extern_always_inline is defined.
113         [__USE_MISC || __USE_XOPEN]: Likewise.
114         [__USE_ISOC99] Likewise.
115         * misc/sys/cdefs.h (__fortify_function): Define only if
116         __extern_always_inline is defined.
117         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
118         __extern_always_inline and __extern_inline only for g++-4.3
119         and newer or a compatible gcc.
120
121 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
122
123         [BZ #17371]
124         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
125         last change to handle zero prefix length.
126
127 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
128
129         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
130         _SC_REGEX_VERSION.
131
132         * posix/getconf.c (vars): Add _POSIX_IPV6 and
133         _POSIX_RAW_SOCKETS.
134
135 2014-09-13  Allan McRae  <allan@archlinux.org>
136
137         * po/ru.po: Update Russian translation from translation project.
138
139 2014-09-12  Roland McGrath  <roland@hack.frob.com>
140
141         * locale/programs/locale.c (show_locale_vars): Inline local function
142         into its sole call site.  Clean up some style nits.
143         (print_item): New function, broken out of ...
144         (show_info): ... local function here.  Clean up style nits.
145
146         * locale/programs/ld-ctype.c (set_one_default): New function, broken
147         out of ...
148         (set_class_defaults): ... local function set_default here.
149         Define set_default as a macro locally to pass constant parameters.
150         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
151         rather than a shared local.
152
153         * stdlib/rpmatch.c (try): New function, broken out of ...
154         (rpmatch): ... local function here.  Also, prototypify definition.
155
156 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
157
158         * scripts/soversions.awk: Do not handle configuration names.
159         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
160         vendor and os variables to soversions.awk.
161         * configure.ac: Do not modify gnu-* host_os.
162         * configure: Regenerated
163         * shlib-versions: Remove first column with configuration names.
164         * nptl/shlib-versions: Likewise.
165         * nptl_db/shlib-versions: Likewise.
166         * sysdeps/hppa/shlib-versions: Likewise.
167         * sysdeps/m68k/shlib-versions: Likewise.
168         * sysdeps/mach/hurd/shlib-versions: Likewise.
169         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
170         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
171         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
172         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
173         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
174         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
175         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
176         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
178         Likewise.
179         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
180         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
181         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
182         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
183         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
184         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
185         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
186         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
187
188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
189         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
191         Regenerated.
192         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
194         Condition symbol version definitions on [HAVE_ELFV2_ABI].
195
196         * shlib-versions: Remove OS-specific entries.  Moved to files in
197         sysdeps.
198         * sysdeps/mach/hurd/shlib-versions: New file.
199         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
200
201         * nptl/shlib-versions: Remove architecture-specific entries.
202         Moved to files in sysdeps.
203         * shlib-versions: Likewise.
204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
205         file.
206         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
207         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
208         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
209         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
210
211         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
212         (UDP_NO_CHECK6_RX): Likewise.
213
214 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
215
216         * sysdeps/posix/sysconf.c (__sysconf): Spell
217         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
218
219 2014-08-12  Florian Weimer  <fweimer@redhat.com>
220
221         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
222         loading.
223         * iconv/Versions (__gconv_transliterate): Export for use from
224         gconv modules.
225         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
226         (struct __gconv_trans_data, __gconv_trans_fct,
227         __gconv_trans_context_fct, __gconv_trans_query_fct,
228         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
229         definitions.
230         (struct __gconv_step_data): Remove __trans member.
231         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
232         longer hidden.  Remove unused trans_data argument.
233         * iconv/gconv_int.h (struct trans_struct): Remove definition.
234         (__gconv_translit_find): Remove declaration.
235         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
236         prototype.
237         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
238         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
239         trans_data argument.  Add hidden definition.
240         (__gconv_translit_find): Remove.
241         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
242         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
243         * iconv/skeleton.c: Remove transliteration initialization.
244         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
245         __gconv_step_data initialization.
246         * libio/iofwide.c (__libio_translit_): Remove.
247         (_IO_fwide): Adjust struct __gconv_step_data initialization.
248         * wcsmbs/btowc.c (__btowc): Likewise.
249         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
250         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
251         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
252         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
253         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
254         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
255         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
256         * wcsmbs/wctob.c (wctob): Likewise.
257
258 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
259
260         [BZ #16194]
261         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
262         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
263         register usage.
264         * sysdeps/x86/Makefile: Adjust.
265
266 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
267             Roland McGrath  <roland@hack.frob.com>
268
269         * locale/weight.h: Add include guard.
270         (findidx): Make static rather than auto; take new parameters
271         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
272         * locale/weightwc.h: Likewise.
273         * posix/fnmatch_loop.c
274         (FCT): Change type of EXTRA from int32_t to wint_t.
275         Don't include either header inside the function.
276         Call FINDIDX rather than findidx, and pass new arguments.
277         #undef FINDIDX at the end of the file.
278         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
279         FINDIDX before including fnmatch_loop.c for the non-wide version.
280         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
281         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
282         for the wide version.
283         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
284         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
285         Pass new arguments to findidx.
286         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
287         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
288         Don't #include it inside the function.  Pass new arguments to findidx.
289         * posix/regex_internal.h
290         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
291         (re_string_elem_size_at): Don't #include it inside the function.
292         Pass new arguments to findidx.
293         * string/strcoll_l.c: #include WEIGHT_H at top level.
294         (get_next_seq): Don't #include it inside the function.
295         Pass new arguments to findidx.
296         (get_next_seq_nocache): Likewise.
297         * string/strxfrm_l.c: #include WEIGHT_H at top level.
298         (STRXFRM): Don't #include it inside the function.
299         Pass new arguments to findidx.
300
301 2014-09-11  Florian Weimer  <fweimer@redhat.com>
302
303         [BZ #17344]
304         * malloc/malloc.c (unlink): Turn asserts into a call to
305         malloc_printerr.
306
307 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
308
309         [BZ #17370]
310         * libio/wfileops (do_ftell_wide): Free OUT.
311
312 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
313
314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
315
316 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
317
318         [BZ #17363]
319         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
320         group if the current group is empty.
321
322 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
323
324         * benchtests/bench-memset.c (test_main): Add more test from size
325         from 32 to 512 bytes.
326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
327         Add POWER8 memset object.
328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
329         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
330         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
331         implementation.
332         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
333         Likewise.
334         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
335         multiarch POWER8 memset optimization.
336         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
337         POWER8 memset optimization.
338
339         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
340         Remove bzero multiarch objects.
341         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
342         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
343         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
344         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
345         Remove define.
346         [__bzero]: Redefine to specific name.
347         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
348         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
349         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
350         define.
351         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
352         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
353
354 2014-09-10  Florian Weimer  <fweimer@redhat.com>
355
356         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
357         warnings into errors.
358
359         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
360         __cxa_thread_atexit_impl prototype.
361
362 2014-09-09  Steve Ellcey  <sellcey@mips.com>
363
364         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
365         Fix capitalization of error message.
366
367 2014-09-09  Steve Ellcey  <sellcey@mips.com>
368
369         * sysdeps/mips/preconfigure: Modify ABI tests.
370
371 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
372
373         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
374
375 2014-09-07  Roland McGrath  <roland@hack.frob.com>
376             Carlos O'Donell  <carlos@systemhalted.org>
377
378         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
379         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
380         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
381         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
382         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
383         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
384         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
385         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
386         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
387         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
389         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
390         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
391         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
392         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
393         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
394         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
395         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
396         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
397         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
399         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
400         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
401         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
402         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
403         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
404         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
405         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
406         Deconditionalize the code that was previously under [RESET_PID].
407         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
408         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
409         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
410         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
411         include sysdep.h.
412
413 2014-09-08  Allan McRae  <allan@archlinux.org>
414
415         * version.h (RELEASE): Set to "development".
416         (VERSION): Set to "2.20.90"
417
418 2014-09-07  Allan McRae  <allan@archlinux.org
419
420         * version.h (RELEASE): Set to "stable".
421         (VERSION): Set to "2.20"
422         * include/features.h (__GLIBC_MINOR__): Set to 20.
423
424         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
425         Liebler.
426
427         * po/ko.po: Update Korean translation from translation project.
428
429 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
430
431         [BZ #17354]
432         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
433         macro for handling signed relocations.
434
435 2014-09-03  Florian Weimer  <fweimer@redhat.com>
436
437         [BZ #17325]
438         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
439         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
440         assert.
441         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
442         * iconvdata/ibm935.c (BODY): Likewise.
443         * iconvdata/ibm937.c (BODY): Likewise.
444         * iconvdata/ibm939.c (BODY): Likewise.
445         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
446         assert.
447         * iconvdata/Makefile (iconv-test.out): Pass module list to test
448         script.
449         * iconvdata/run-iconv-test.sh: New test loop for checking for
450         decoder crashers.
451
452 2014-09-02  Khem Raj  <raj.khem@gmail.com>
453
454         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
455         libm_hidden_ver.
456
457 2014-09-01  Allan McRae  <allan@archlinux.org>
458
459         * po/eo.po: Update Esperanto translation from translation project.
460
461         * po/ca.po: Update Catalan translation from translation project.
462
463 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
464
465         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
466         __proc_dostop call.
467
468 2014-08-27  Mark Wielaard  <mjw@redhat.com>
469
470         [BZ #17319]
471         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
472         to call set_thread_area instead of hand written asm.
473         (__NR_set_thread_area): Removed define.
474         (TLS_FLAG_WRITABLE): Likewise.
475         (__ASSUME_SET_THREAD_AREA): Remove check.
476         (TLS_EBX_ARG): Remove define.
477         (TLS_LOAD_EBX): Likewise.
478
479 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
480
481         Simplify atomicity of socket creation in bind.
482
483         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
484         looking up the name after linking the file.
485
486 2014-08-27  Allan McRae  <allan@archlinux.org>
487
488         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
489
490 2014-08-26  Florian Weimer  <fweimer@redhat.com>
491
492         [BZ #17187]
493         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
494         trans_compare, open_translit, __gconv_translit_find):
495         Remove module loading code.
496
497 2014-08-26  Allan McRae  <allan@archlinux.org>
498
499         * po/vi.po: Update Vietnamese translation from translation project.
500
501         * po/uk.po: Update Ukrainian translation from translation project.
502
503         * po/fr.po: Update French translation from translation project.
504
505         * po/ru.po: Update Russian translation from translation project.
506
507         * po/pl.po: Update Polish translation from translation project.
508
509         * po/cs.po: Update Czech translation from translation project.
510
511         * po/de.po: Update German translation from translation project.
512
513         * po/bg.po: Update Bulgarian translation from translation project.
514
515         * po/sv.po: Update Sweedish translation from translation project.
516
517         * po/nl.po: Update Dutch translation from translation project.
518
519         * po/es.po: Update Spanish translation from translation project.
520
521 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
522
523         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
524
525         * catgets/Makefile (CPPFLAGS-gencat): Remove.
526         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
527         (CPPFLAGS-iconvconfig): Likewise.
528         * timezone/Makefile (CPPFLAGS-zic): Likewise.
529
530         * include/libc-symbols.h: Remove unnecessary check for
531         NOT_IN_libc.
532         * nptl/pthreadP.h: Likewise.
533         * sysdeps/aarch64/setjmp.S: Likewise.
534         * sysdeps/alpha/setjmp.S: Likewise.
535         * sysdeps/arm/sysdep.h: Likewise.
536         * sysdeps/i386/setjmp.S: Likewise.
537         * sysdeps/m68k/setjmp.c: Likewise.
538         * sysdeps/posix/getcwd.c: Likewise.
539         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
540         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
541         * sysdeps/s390/s390-32/setjmp.S: Likewise.
542         * sysdeps/s390/s390-64/setjmp.S: Likewise.
543         * sysdeps/sh/sh3/setjmp.S: Likewise.
544         * sysdeps/sh/sh4/setjmp.S: Likewise.
545         * sysdeps/unix/alpha/sysdep.h: Likewise.
546         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
548         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
549         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
553         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
554         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
556         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
557         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
558         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
559         * sysdeps/x86_64/setjmp.S: Likewise.
560
561 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
562
563         [BZ #17263]
564         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
565         <stdint.h>.
566         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
567         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
568
569 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
570
571         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
572
573         [BZ #17262]
574         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
575         and __x86_64__ when disabling x87 inline functions.
576
577 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
578
579         [BZ #17259]
580         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
581         asm statement with __cpuid_count.
582
583 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
584
585         * configure.ac: Change __ehdr_start code to dereference the struct.
586         Run readelf on the output to look for relocations.
587         * configure: Regenerated.
588
589 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
590
591         [BZ #17261]
592         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
593         value to 0.
594         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
595
596 2014-08-12  Roland McGrath  <roland@hack.frob.com>
597
598         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
599
600 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
601
602         [BZ #16892]
603         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
604         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
605
606 2014-08-12  Sean Anderson  <seanga2@gmail.com>
607
608         * malloc/malloc.c: Fix typo in comment.
609
610 2014-08-09  Allan McRae  <allan@archlinux.org>
611
612         * Regenerate libc.po.
613
614 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
615
616         * intl/tst-gettext2.sh: Check every lang file for creation.
617
618 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
619
620         * sysdeps/aarch64/fpu/math_private.h
621         (libc_feholdsetround_noex_aarch64_ctx): New function.
622
623 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
624
625         * sysdeps/arm/armv6/strcpy.S (strcpy):
626         Fix performance issue in misaligned cases.
627
628 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
629
630         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
631         Move definition from termios.h.
632         (struct termio): Likewise.
633         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
634         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
635         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
636         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
637         Likewise.
638         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
639         Move definition to ioctl-types.h
640         (struct termio): Likewise.
641         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
642         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
643         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
644         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
645         Likewise.
646
647 2014-08-05  Richard Henderson  <rth@redhat.com>
648
649         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
650         exceptions.
651         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
652         Add fraiseexcpt.
653         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
654         Use __feraiseexcept.
655         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
656         Protect libm symbols with IS_IN_libm.
657
658         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
659
660 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
661
662         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
663
664 2014-08-04  Will Newton  <will.newton@linaro.org>
665
666         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
667         file.
668
669 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
670
671         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
672         variants for each function.
673
674 2014-08-04  Roland McGrath  <roland@hack.frob.com>
675
676         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
677         appended ...
678         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
679         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
680         appended ...
681         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
682         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
683         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
684         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
685         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
686         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
687         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
688         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
689         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
690         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
691         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
692         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
693         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
694         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
695         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
696         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
697         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
698         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
699         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
700         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
701         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
702         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
703         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
704         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
705         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
706         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
707         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
708         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
709         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
710         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
711         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
712         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
713         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
714         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
715         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
716         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
717         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
718         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
719         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
720         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
721         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
723         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
724         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
725         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
726         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
727         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
728         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
729         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
730         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
731         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
732         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
733         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
734         Update #include.
735         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
736         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
737
738 2014-08-04  Roland McGrath  <roland@hack.frob.com>
739
740         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
741         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
742         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
743         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
744         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
745         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
746
747 2014-08-04  Roland McGrath  <roland@hack.frob.com>
748
749         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
750         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
751         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
752         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
753
754 2014-08-04  Roland McGrath  <roland@hack.frob.com>
755
756         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
757         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
758         (__libc_vfork): Define function under this name.
759         (__vfork): Define as an alias.
760         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
761         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
762
763 2014-08-04  Roland McGrath  <roland@hack.frob.com>
764
765         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
766         that was previously under [RESET_PID].
767         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
768
769 2014-08-04  Andreas Schwab  <schwab@suse.de>
770
771         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
772
773 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
774
775         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
776         (main): Likewise.
777
778 2014-08-01  Roland McGrath  <roland@hack.frob.com>
779
780         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
781
782 2014-08-01  Richard Henderon  <rth@redhat.com>
783
784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
785         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
786         typo in exact zero test.
787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
788         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
789         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
790
791 2014-08-01  Roland McGrath  <roland@hack.frob.com>
792
793         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
794         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
795         * sysdeps/arm/sysdep.h: ... here.
796         [!__ASSEMBLER__]: Include <stdint.h>.
797
798 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
799
800         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
801         (HAVE_WCTYPE_H): Likewise.
802         (HAVE_ISWCTYPE): Likewise.
803         (ENABLE_NLS): Likewise.
804         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
805         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
806
807         * posix/regex_internal.c: Check if DEBUG is defined and is
808         set.
809
810         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
811         (HAVE_MBSRTOWCS): Likewise.
812         * posix/fnmatch.c: Include string.h unconditionally.
813
814 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
815
816         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
817         reversal.
818
819 2014-07-31  Roland McGrath  <roland@hack.frob.com>
820
821         * sysdeps/generic/safe-fatal.h: New file.
822         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
823         * nptl/forward.c: Include it.
824         (__pthread_unwind): Use __safe_fatal as default action, rather
825         than a bogus use of INTERNAL_SYSCALL that could never work.
826
827         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
828         * configure.ac (libc_cv_builtin_trap): New test.
829         * configure: Regenerated.
830         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
831         (ABORT_INSTRUCTION): Define using __builtin_trap.
832
833         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
834         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
835         * sysdeps/nptl/nptl-signals.h: New file.
836         * nptl/pthreadP.h: Include <nptl-signals.h>.
837
838 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
839
840         * sysdeps/s390/s390-64/utf16-utf32-z9.c
841         (ONE_DIRECTION): Define.
842         * sysdeps/s390/s390-64/utf8-utf16-z9.c
843         (ONE_DIRECTION): Define.
844         * sysdeps/s390/s390-64/utf8-utf32-z9.c
845         (ONE_DIRECTION): Define.
846
847 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
848
849         * sysdeps/s390/Makefile: Delete file.
850         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
851         * sysdeps/s390/__longjmp.c: Delete file.
852         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
853         Remove fields __flags and __reserved.
854         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
855         and add versioning.
856         * sysdeps/s390/rtld-__longjmp.c: Delete file.
857         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
858         * sysdeps/s390/rtld-setjmp.S: Likewise.
859         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
860         * sysdeps/s390/s390-32/__longjmp.c: ... here.
861         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
862         * sysdeps/s390/s390-32/setjmp.S: ... here.
863         Add versioning.
864         (__sigsetjmp): Remove setting __flags field.
865         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
866         * sysdeps/s390/s390-64/__longjmp.c: ... here.
867         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
868         * sysdeps/s390/s390-64/setjmp.S: ... here.
869         Add versioning.
870         (__sigsetjmp): Remove setting __flags field.
871         * sysdeps/s390/setjmp.S: Delete file.
872         * sysdeps/s390/sigjmp.c: Likewise.
873         * sysdeps/s390/v1-longjmp.c: Likewise.
874         * sysdeps/s390/v1-setjmp.h: Likewise.
875         * sysdeps/s390/v1-sigjmp.c: Likewise.
876         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
877         Remove v1-longjmp_chk.
878         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
879         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
880         Include debug/longjmp_chk.c and add versioning.
881         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
882         Include nptl/pt-longjmp.c and add versioning.
883         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
884         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
885         Include __longjmp.c.
886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
887         Move to ...
888         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
889         (__getcontext): Remove setting __flags field.
890         Add versioning.
891         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
892         Don't restore upper high grps.
893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
894         Likewise.
895         (__swapcontext): Remove setting uc_flags field.
896         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
897         Delete file.
898         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
899         Include __longjmp.c.
900         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
901         Move to ...
902         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
903         (__getcontext): Remove setting __flags field.
904         Add versioning.
905         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
906         (__swapcontext): Remove setting uc_flags field.
907         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
908         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
909         Remove fields uc_high_gprs and __reserved.
910         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
911         New file with reverted content.
912         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
913         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
914         Regenerated.
915         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
916         Regenerated.
917
918 2014-07-31  Andreas Schwab  <schwab@suse.de>
919
920         * config.h.in (HAVE_IFUNC): Define to 0.
921         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
922         definedness.
923
924 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
925
926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
927         memmove-avx-unaligned, memcpy-avx-unaligned and
928         mempcpy-avx-unaligned.
929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
930         Add tests for AVX memcpy functions.
931         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
932         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
933         memcpy_chk.
934         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
935         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
936         memmove_chk.
937         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
939         mempcpy_chk.
940         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
941         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
942         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
943
944 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
945
946         [BZ #17213]
947         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
948         powerpc64le.
949
950 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
951
952         [BZ #16839]
953         * manual/llio.texi: Add section about open file description locks.
954         * manual/examples/ofdlocks.c: Example of open file description
955         lock usage.
956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
957         F_OFD_SETLK, and F_OFD_SETLKW.
958
959 2014-07-23  Allan McRae  <allan@archlinux.org>
960
961         * po/es.po: Update Spanish translation from translation project.
962
963 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
964
965         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
966
967 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
968
969         [BZ #17078]
970         * sysdeps/arm/dl-machine.h (elf_machine_rela)
971         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
972         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
973
974 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
975
976         [BZ #17088]
977         * math/fesetenv.c (__fesetenv)
978         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
979         * math/feupdateenv.c (__feupdateenv)
980         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
981
982         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
983         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
984         (__ASSUME_SOCKETCALL): Do not define.
985
986         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
987         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
988         (__ASSUME_SOCKETCALL): Do not define.
989         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
990         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
991         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
992         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
993         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
994         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
995         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
996         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
997
998         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
999         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1000         (__ASSUME_SOCKETCALL): Do not define.
1001         (__ASSUME_IPC64): Define unconditionally.
1002         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1003         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1004         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1005         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1006         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1007         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1008         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1009         Likewise.
1010
1011         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1012         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1013         (__ASSUME_SOCKETCALL): Do not define.
1014         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1015         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1016         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1017         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1018         (__ASSUME_REQUEUE_PI): Define unconditionally.
1019         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1020         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1021         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1022         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1023         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1024         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1025
1026         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1027         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1028         (__ASSUME_SOCKETCALL): Do not define.
1029         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1030         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1031         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1032         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1033         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1034         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1035
1036         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1037         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1038         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1039         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1040         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1041         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1043         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1044         (__ASSUME_GETCPU_SYSCALL): Likewise.
1045
1046         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1047         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1048         cases for individual architectures.
1049         * sysdeps/gnu/configure: Regenerated.
1050         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1051         LIBC_SLIBDIR_RTLDDIR.
1052         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1053         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1054         LIBC_SLIBDIR_RTLDDIR.
1055         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1057         LIBC_SLIBDIR_RTLDDIR.
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1059         Regenerated.
1060         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1061         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1062         file.
1063         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1064         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1065         file.
1066         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1067         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1068         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1069         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1070
1071         * sysdeps/aarch64/shlib-versions: Move to ...
1072         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1073         * sysdeps/alpha/shlib-versions: Move to ...
1074         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1075         * sysdeps/arm/shlib-versions: Move to ...
1076         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1077         * sysdeps/hppa/shlib-versions: Move all contents except for
1078         libgcc_s entry to ...
1079         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1080         entry from ...
1081         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1082         * sysdeps/ia64/shlib-versions: Move to ...
1083         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1084         entry from ...
1085         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1086         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1087         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1088         * sysdeps/microblaze/shlib-versions: Move to ...
1089         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1090         * sysdeps/mips/shlib-versions: Move to ...
1091         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1092         entry from ...
1093         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1094         * sysdeps/tile/shlib-versions: Move to ...
1095         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1096         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1097         from ...
1098         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1099         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1100         entry from ...
1101         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1102
1103 2014-07-17  Will Newton  <will.newton@linaro.org>
1104
1105         * sysdeps/arm/bits/atomic.h
1106         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1107         (__arch_compare_and_exchange_bool_16_int): Likewise.
1108         (__arch_compare_and_exchange_bool_64_int): Likewise.
1109
1110         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1111         into an #else block.
1112
1113 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1114
1115         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1116         just Linux configurations.  Test empirically that the compiler sets
1117         __ARM_EABI__, rather than using the tuple to decide.
1118         * sysdeps/arm/preconfigure: Regenerated.
1119         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1120         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1121         contents appended ...
1122         * sysdeps/arm/configure.ac: ... here.
1123         * sysdeps/arm/configure: Regenerated.
1124
1125 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1126
1127         * nptl/pthread_kill.c: New file.
1128         * nptl/pthread_sigmask.c: New file.
1129         * nptl/pthread_sigqueue.c: New file.
1130
1131         * sysdeps/nptl/lowlevellock.h: New file.
1132         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1133         * sysdeps/nptl/lowlevellock-futex.h: New file.
1134
1135         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1136         Remove dead declarations.
1137
1138 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1139
1140         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1141         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1142         config-cflags-avx2.
1143         * sysdeps/x86_64/configure.ac: Likewise.
1144         * sysdeps/i386/configure: Regenerated.
1145         * sysdeps/x86_64/configure: Likewise.
1146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1147         memset-avx2 only if config-cflags-avx2 is yes.
1148         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1149         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1150         defined.
1151         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1152         only if HAVE_AVX2_SUPPORT is defined.
1153         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1154
1155 2014-07-14  Alan Modra  <amodra@gmail.com>
1156
1157         [BZ #17153]
1158         * elf/elf.h (DT_PPC64_NUM): Correct value.
1159         * NEWS: Add to fixed bug list.
1160
1161 2014-07-13  Jim Meyering  <meyering@fb.com>
1162
1163         [BZ 17150]
1164         regex: don't deref NULL upon heap allocation failure
1165         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1166         failure in one more place.
1167         To trigger the segfault, configure grep -with-included-regex,
1168         build it, and run these commands:
1169         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1170
1171 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1172
1173         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1174
1175 2014-07-11  Richard Henderson  <rth@redhat.com>
1176
1177         * sysdeps/aarch64/libm-test-ulps: Update.
1178
1179 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1180
1181         [BZ #17135]
1182         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1183         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1184         (__nptl_setxid): Initialize error member.  Call
1185         __nptl_setxid_error.
1186         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1187         * nptl/descr.h (struct xid_command): Add error member.
1188         * nptl/tst-setuid3.c: New file.
1189         * nptl/Makefile (tests): Add it.
1190
1191 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1192
1193         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1194         New define.
1195         (__lll_trylock): Use __lll_base_trylock.
1196         (__lll_cond_trylock): Likewise.
1197
1198 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1199
1200         * nptl/pthread_create.c (start_thread): Use atomic_or and
1201         lll_futex_wake directly rather than lll_robust_dead.
1202         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1203         (lll_robust_dead): Macro removed.
1204         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1205         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1206         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1207         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1208         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1209         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1210         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1211         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1212         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1214         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1215         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1216         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1217         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1218         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1219
1220         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1221         Use atomic_compare_and_exchange_val_acq directly rather than
1222         lll_robust_trylock.
1223         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1224         (__lll_robust_trylock, lll_robust_trylock): Removed.
1225         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1226         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1227         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1228         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1229         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1230         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1231         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1232         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1233         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1234         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1235         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1237         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1239
1240 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1241
1242         * manual/locale.texi (Locale Names): New section documenting
1243         locale name syntax.  Adjust menu and node chaining accordingly.
1244         (Choosing Locale): Reference Locale Names, Locale Categories.
1245         Mention setting LC_ALL=C.  Reflect that name syntax is now
1246         documented.
1247         (Locale Categories): New section title.  Reference Locale Names.
1248         LC_ALL is an environment variable, but not a category.
1249         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1250         description, now in Locale Name.  Reference that section.  Locale
1251         name syntax is now documented.
1252
1253 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1254
1255         [BZ #17137]
1256         * locale/findlocale.c (name_present, valid_locale_name): New
1257         functions.
1258         (_nl_find_locale): Use the loc_name variable to store name
1259         candidates.  Call name_present and valid_locale_name to check and
1260         validate locale names.  Return an error if the locale is invalid.
1261
1262 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1263
1264         * locale/setlocale.c (setlocale): Use strdup for allocating
1265         composite name copy.
1266
1267 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1268
1269         Sync up with gnulib.
1270         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1271         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1272         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1273         and _GL_ARG_NONNULL.
1274         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1275         [!_LIBC]: Include code for Windows and Cygwin.
1276         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1277         Include prototype for int strerror_r.
1278         [!_LIBC] (is_open): New function.
1279         (flush_stdout): New function.
1280         (print_errno_message): Use it.
1281         (error): Likewise.
1282         (error_at_line): Likewise.
1283         (error_tail) Add function attribute macros.  Use
1284         __builtin_expect.
1285
1286         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1287
1288         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1289
1290         * io/ftw.c: Include sys/param.h unconditionally.
1291
1292         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1293
1294         [BZ #17125]
1295         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1296         libc_freeres_ptr.
1297         (freecache): New function to free CACHE on exit.
1298
1299         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1300         initialization.
1301
1302 2014-07-09  David S. Miller  <davem@davemloft.net>
1303
1304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1305
1306         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1307         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1308         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1309         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1310         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1311         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1312         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1313         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1314         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1315         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1316         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1317         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1318         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1319
1320 2014-07-09  Andreas Schwab  <schwab@suse.de>
1321
1322         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1323         output.
1324         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1325         (do_test): Likewise.
1326
1327         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1328
1329 2014-07-09  Will Newton  <will.newton@linaro.org>
1330
1331         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1332         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1333         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1334         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1335         * sysdeps/hppa/start.S (_start): Likewise.
1336
1337 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1338
1339         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1340
1341         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1342         defined.
1343
1344 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1345
1346         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1347         after checking that it is non-NULL.
1348
1349         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1350
1351 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1352
1353         * sysdeps/powerpc/memmove.c: Remove file.
1354         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1355         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1356         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1357         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1358         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1359         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1360         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1361         string memmove instead of removed powerpc one.
1362
1363         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1364         [weak_alias]: Fix compiler warning due trailing data.
1365         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1366         [weak_alias]: Likewise.
1367         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1368         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1369
1370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1371         (__libc_ifunc_impl_list): Add memmove functions.
1372
1373 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1374
1375         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1376         Remove code.
1377         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1378         Likewise
1379         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1380         Likewise
1381         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1382         Likewise
1383         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1384         Likewise
1385         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1386         Likewise
1387         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1388         Likewise
1389         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1390         Likewise
1391         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1392         Likewise
1393         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1394         Likewise
1395         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1396         Likewise
1397         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1398         Likewise
1399         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1400         Likewise
1401         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1402         Likewise
1403         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1404         Likewise
1405         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1406         Likewise
1407         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1408         Likewise
1409
1410 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1411
1412         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1413         to avoid alignment traps in non-cacheable memory.
1414         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1415
1416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1417         multiarch objects.
1418         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1419         file: multiarch power7 memmove.
1420         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1421         multiarch default memmove.
1422         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1423         multiarch memove for powerpc32/power4.
1424
1425         * string/bcopy.c: Use full path to include memmove.c.
1426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1427         multiarch objects.
1428         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1429         bcopy for powerpc64.
1430         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1431         bcopy for powerpc64.
1432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1433         and memmove implementations.
1434         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1435         optimized multiarch memmove for POWER7/powerpc64.
1436         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1437         default multiarch memmove for powerpc64.
1438         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1439         multiarch for powerpc64.
1440         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1441         for POWER7/powerpc64.
1442         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1443         memmove for POWER7/powerpc64.
1444
1445         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1446         glibc default one.
1447
1448         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1449         __ELF_NATIVE_CLASS equal to 64.
1450
1451 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1452
1453         * sysdeps/nptl/lowlevellock.h: File removed.
1454
1455         * NEWS: NPTL is no longer an add-on!
1456         * nptl/internaltypes.h: Moved ...
1457         * sysdeps/nptl/internaltypes.h: ... here.
1458         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1459         * sysdeps/nptl/fork.c: Likewise.
1460         * sysdeps/nptl/gai_misc.h: Likewise.
1461         * sysdeps/nptl/librt-cancellation.c: Likewise.
1462         * sysdeps/nptl/jmp-unwind.c: Likewise.
1463         * sysdeps/nptl/setxid.h: Likewise.
1464         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1465         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1466         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1467         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1468         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1469         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1470         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1471         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1472         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1473         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1474         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1475         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1476         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1477         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1478         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1479         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1480         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1481         * nptl/Makeconfig: Moved ...
1482         * sysdeps/nptl/Makeconfig: ... here.
1483         * nptl/configure: File removed.
1484         * nptl/ANNOUNCE: File removed.
1485         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1486         * sysdeps/unix/sysv/linux/configure: Regenerated.
1487
1488         * nptl/Makefile (routines): Add libc_pthread_init,
1489         libc_multiple_threads, register-atfork and unregister-atfork.
1490         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1491         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1492         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1493         pthread-pi-defines.sym, structsem.sym.
1494         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1495         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1496         [$(subdir) = nptl] (tests): Add tst-setgetname.
1497         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1498         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1499         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1500         [!LIBC_SIGACTION]: Remove aliases.
1501         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1502         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1503         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1504         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1505         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1506         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1507         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1508         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1509         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1510         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1511         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1512         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1513         __libc_allocate_rtsig_private.
1514         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1515         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1516         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1517         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1518         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1519         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1520         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1521         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1522         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1523         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1524         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1525         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1526         * nptl/internaltypes.h: ... here.
1527         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1528         * sysdeps/nptl/jmp-unwind.c: ... here.
1529         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1530         * nptl/libc-lowlevellock.c: ... here.
1531         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1532         * nptl/libc_multiple_threads.c: ... here.
1533         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1534         * nptl/libc_pthread_init.c: ... here.
1535         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1536         * nptl/lowlevelbarrier.sym: ... here.
1537         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1538         * nptl/lowlevelcond.sym: ... here.
1539         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1540         * nptl/lowlevellock.c: ... here.
1541         * nptl/lowlevellock.h: Moved ...
1542         * sysdeps/nptl/lowlevellock.h: ... here.
1543         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1544         * nptl/lowlevelrobustlock.c: ... here.
1545         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1546         * nptl/lowlevelrobustlock.sym: ... here.
1547         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1548         * nptl/lowlevelrwlock.sym: ... here.
1549         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1550         * nptl/pt-fork.c: ... here.
1551         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1552         * nptl/pthread-pi-defines.sym: ... here.
1553         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1554         * nptl/pthread_attr_getaffinity.c: ... here.
1555         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1556         * nptl/pthread_attr_setaffinity.c: ... here.
1557         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1558         * nptl/pthread_mutex_cond_lock.c: ... here.
1559         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1560         Update #include.
1561         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1562         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1563         * nptl/pthread_once.c: ... here, replacing old file.
1564         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1565         * nptl/pthread_yield.c: ... here.
1566         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1567         * nptl/register-atfork.c: ... here.
1568         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1569         * nptl/sem_post.c: ... here.
1570         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1571         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1572         * nptl/sem_timedwait.c: ... here.
1573         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1574         * nptl/sem_trywait.c: ... here.
1575         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1576         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1577         * nptl/sem_wait.c: ... here.
1578         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1579         * nptl/structsem.sym: ... here.
1580         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1581         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1582         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1583         * nptl/unregister-atfork.c: ... here.
1584         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1585         * nptl/unwindbuf.sym: ... here.
1586         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1587         * sysdeps/nptl/fork.c: ... here.
1588         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1589         * sysdeps/nptl/fork.h: ... here.
1590         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1591         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1592         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1593         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1594         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1595         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1596         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1597         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1598         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1599         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1600         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1601         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1602         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1603         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1604         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1605         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1606         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1607         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1608         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1609         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1610         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1611         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1612         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1613         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1614         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1615         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1616         * sysdeps/unix/sysv/linux/raise.c: ... here.
1617         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1618         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1619         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1620         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1621         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1622         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1623         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1624         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1625         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1626         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1627         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1628         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1629         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1630         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1631         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1632
1633 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1634
1635         * sysdeps/generic/memcopy.h: Add comment for
1636         MEMCPY_OK_FOR_FWD_MEMMOVE.
1637
1638 2014-07-04  Will Newton  <will.newton@linaro.org>
1639
1640         * string/memchr.c: Merge from gnulib.
1641         [_LIBC]: Remove conditionals.
1642         (__ptr_t): Remove define.
1643         (LONG_MAX_32_BITS): Likewise.
1644         (LONG_MAX): Likewise.
1645         (MEMCHR): Use ANSI prototype and optimize algorithm.
1646
1647         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1648
1649 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1650
1651         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1652         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1653
1654         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1655         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1656         in a bare environment with no <stdlib.h> installed.
1657         * sysdeps/nptl/configure: Regenerated.
1658
1659         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1660
1661         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1662         AC_EGREP_CPP for kernel header checks, so they only succeed if
1663         including <linux/version.h> actually works right.
1664         * sysdeps/unix/sysv/linux/configure: Regenerated.
1665
1666         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1667         value so it's not diagnosed as unused.
1668
1669         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1670         thing) with "ifeq ($(subdir),rt)".
1671
1672 2014-07-03  Richard Henderson  <rth@redhat.com>
1673
1674         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1675         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1676         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1677
1678         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1679         (math_force_eval): New.
1680
1681         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1682         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1683
1684         * sysdeps/alpha/fpu/s_round.c: Remove file.
1685         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1686
1687         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1688         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1689         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1690         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1691         (_dl_start, print_statistics): Likewise.
1692         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1693         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1694
1695         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1696         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1697         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1698         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1699         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1700         (HP_SMALL_TIMING_AVAIL): Define.
1701         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1702         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1703         (HP_SMALL_TIMING_AVAIL): Define.
1704         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1705         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1706
1707         * sysdeps/aarch64/hp-timing.h: New file.
1708
1709         * sysdeps/generic/hp-timing.h: Remove dead comment.
1710         * sysdeps/generic/hp-timing-common.h: New file.
1711         * sysdeps/alpha/hp-timing.h: Include it.
1712         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1713         * sysdeps/i386/i686/hp-timing.h: Likewise.
1714         * sysdeps/ia64/hp-timing.h: Likewise.
1715         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1716         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1717         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1718         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1719         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1720         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1721         (hp_timing_t): New.
1722
1723         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1724         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1725         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1726         * elf/rtld.c (_dl_start_final): Likewise.
1727         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1728         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1729         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1730         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1731         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1732         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1733         (HP_TIMING_DIFF_INIT): Remove.
1734         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1735         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1736         (HP_TIMING_DIFF_INIT): Remove.
1737         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1738         * sysdeps/i386/i686/hp-timing.c: Remove file.
1739         * sysdeps/x86_64/hp-timing.c: Remove file.
1740         * sysdeps/ia64/hp-timing.c: Remove file.
1741         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1742         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1744         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1745
1746         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1747         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1748         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1749         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1750         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1751         (HP_TIMING_ACCUM): Remove.
1752         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1754         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1755
1756         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1757         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1758         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1759         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1760         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1761         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1762         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1763         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1764
1765         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1766
1767 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1768
1769         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1770
1771 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1772
1773         Sync up with gettext.
1774         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1775         [_MSC_VER]: Include malloc.h
1776         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1777         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1778         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1779         TEMP_FAILURE_RETRY.  Cast return of alloca.
1780         [!_LIBC] Call gl_rwlock_init.
1781         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1782
1783 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1784
1785         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1786         before checking its value.
1787
1788 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1789
1790         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1791
1792         * debug/memcpy_chk.c: Don't include pagecopy.h.
1793         * debug/mempcpy_chk.c: Likewise.
1794         * string/memcpy.c: Likewise.
1795         * string/memmove.c: Likewise.
1796         * sysdeps/powerpc/memmove.c: Likewise.
1797         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1798         definition of PAGE_COPY_FWD_MAYBE here...
1799         * sysdeps/generic/pagecopy.h: ... from here.
1800         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1801
1802 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1803             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1804
1805         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1807         optimizations.
1808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1809         (__libc_ifunc_impl_list): Likewise.
1810         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1811         multiarch strcat for PPC64.
1812         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1813         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1814
1815 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1816
1817         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1818
1819 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1820
1821         * intl/loadmsgcat.c: Remove declaration of
1822         get_sysdep_segment_value.
1823         (get_sysdep_segment_value): Use ISO C style.
1824         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1825         semicolon.  Fix typo and formatting in comment.
1826         (_nl_unload_domain): Use ISO C style.
1827
1828         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1829
1830 2014-07-02  Will Newton  <will.newton@linaro.org>
1831
1832         * malloc/obstack.c: Merge from gnulib master.
1833         [HAVE_CONFIG_H]: Remove conditional code.
1834         [!_LIBC]: Include config.h.
1835         [!ELIDE_CODE]: Don't include inttypes.h, include
1836         stdint.h unconditionally.
1837         (print_and_abort): Mark as _Noreturn.
1838         (_obstack_allocated_p): Mark as __attribute_pure__.
1839         (obstack_free): Rename to __obstack_free.
1840         [!__attribute__]: Remove conditional code.
1841         * malloc/obstack.h: Merge from gnulib master.
1842         [__cplusplus]: Move conditional down.
1843         [!__attribute_pure__]: Define __attribute_pure__ here
1844         if it is not already defined.
1845         (_obstack_memory_used): Mark as __attribute_pure__.
1846         [!__obstack_free]: Define as obstack_free.
1847         [__GNUC__]: Remove check for ancient NeXT gcc.
1848
1849 2014-07-02  Will Newton  <will.newton@linaro.org>
1850             Paul Eggert  <eggert@cs.ucla.edu>
1851
1852         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1853
1854 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1855
1856         * resolv/gethnamaddr.c: Add comment warning that the file is
1857         not maintained.
1858
1859 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1860
1861         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1862         entries.
1863
1864         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1865         entry for aio_cancel and aio_cancel64.
1866         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1867         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1868         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1869         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1870         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1871         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1872         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1873         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1874         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1875         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1876         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1877         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1878         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1879
1880 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1881
1882         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1883         * nptl/pthread_mutex_lock.c: Likewise.
1884         * nptl/pthread_mutex_timedlock.c: Likewise.
1885         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1886
1887 2014-07-01  Richard henderson  <rth@redhat.com>
1888
1889         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1890         (__isnan, __isnanl): Remove.
1891         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1892
1893         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1894
1895 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1896
1897         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1898
1899 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1900
1901         * resolv/nss_dns/dns-host.c (getanswer_r)
1902         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1903
1904 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1905
1906         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1907         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1908         undefine.
1909         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1910         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1911
1912 2014-07-01  Roland McGrath <roland@hack.frob.com>
1913
1914         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1915         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1916
1917         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1918         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1919
1920         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1921         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1922         ... here.
1923         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1924         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1925
1926         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1927         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1928         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1929         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1930
1931         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1932         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1933         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1934         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1935         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1936         Moved ...
1937         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1938         ... here.
1939         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1940         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1941         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1942         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1943         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1944         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1945         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1946         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1947         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1948         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1949         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1950         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1951         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1952         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1953         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1954         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1955         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1956         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1957         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1959         ... here.
1960         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1961         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1962         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1963         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1965         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1966         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1967         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1968
1969 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1970
1971         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1972         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1973         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1974         Add sysdep.
1975
1976 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1977
1978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1979
1980 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1981
1982         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1983         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1984
1985         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1986
1987         * sysdeps/arm/libm-test-ulps: Regenerated.
1988
1989 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1990             Roland McGrath <roland@hack.frob.com>
1991
1992         * test-skeleton.c (signal_handler): Kill the whole process group
1993         before killing the child individually.
1994         (main): Report any failure on `setpgid'.
1995
1996 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1997
1998         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1999         from _TLS_H to _ARM_NPTL_TLS_H.
2000         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2001         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2002
2003 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2004
2005         [BZ #16539]
2006         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2007         (__expm1l): Return argument unchanged when small but not
2008         subnormal.
2009
2010         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2011         include macro name.
2012         (_FP_UNPACK_RAW_1_P): Likewise.
2013         (_FP_PACK_RAW_1): Likewise.
2014         (_FP_PACK_RAW_1_P): Likewise.
2015         (_FP_MUL_MEAT_1_wide): Likewise.
2016         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2017         (_FP_MUL_MEAT_1_hard): Likewise.
2018         (_FP_DIV_MEAT_1_imm): Likewise.
2019         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2020         (_FP_DIV_MEAT_1_udiv): Likewise.
2021         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2022         (_FP_UNPACK_RAW_2): Likewise.
2023         (_FP_UNPACK_RAW_2_P): Likewise.
2024         (_FP_PACK_RAW_2): Likewise.
2025         (_FP_PACK_RAW_2_P): Likewise.
2026         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2027         (_FP_MUL_MEAT_2_wide): Likewise.
2028         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2029         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2030         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2031         (_FP_MUL_MEAT_2_gmp): Likewise.
2032         (_FP_DIV_MEAT_2_udiv): Likewise.
2033         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2034         (_FP_FRAC_SRL_4): Likewise.
2035         (_FP_FRAC_SRST_4): Likewise.
2036         (_FP_FRAC_SRS_4): Likewise.
2037         (_FP_UNPACK_RAW_4): Likewise.
2038         (_FP_UNPACK_RAW_4_P): Likewise.
2039         (_FP_PACK_RAW_4): Likewise.
2040         (_FP_PACK_RAW_4_P): Likewise.
2041         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2042         (_FP_MUL_MEAT_4_wide): Likewise.
2043         (_FP_MUL_MEAT_4_gmp): Likewise.
2044         (umul_ppppmnnn): Likewise.
2045         (_FP_DIV_MEAT_4_udiv): Likewise.
2046         (__FP_FRAC_ADD_4): Likewise.
2047         (__FP_FRAC_SUB_3): Likewise.
2048         (__FP_FRAC_SUB_4): Likewise.
2049         (__FP_FRAC_DEC_3): Likewise.
2050         (__FP_FRAC_DEC_4): Likewise.
2051         (__FP_FRAC_ADDI_4): Likewise.
2052         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2053         (_FP_FRAC_SRL_8): Likewise.
2054         (_FP_FRAC_SRS_8): Likewise.
2055
2056         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2057         include macro name.
2058         (FP_UNPACK_RAW_EP): Likewise.
2059         (FP_PACK_RAW_E): Likewise.
2060         (FP_PACK_RAW_EP): Likewise.
2061         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2062         (_FP_ISSIGNAN): Likewise.
2063         (_FP_ADD_INTERNAL): Likewise.
2064         (_FP_FMA): Likewise.
2065         (_FP_CMP): Likewise.
2066         (_FP_SQRT): Likewise.
2067         (_FP_TO_INT): Likewise.
2068         (_FP_FROM_INT): Likewise.
2069         (FP_EXTEND): Likewise.
2070         (_FP_DIV_MEAT_N_loop): Likewise.
2071
2072 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2073
2074         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2075         throughout.
2076
2077 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2078
2079         [BZ #17097]
2080         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2081         result with correct sign in case of exponents that produce
2082         overflow except for X very close to 1.
2083
2084 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2085
2086         mktime: merge #if/#ifdef usage from glibc
2087         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2088         as that works with both Glibc's and Gnulib's style.
2089         See thread starting at Siddhesh Poyarekar's bug report at:
2090         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2091
2092 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2093
2094         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2095         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2096         * sysdeps/tile/tilegx/memmove.c: Remove file.
2097
2098 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2099
2100         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2101         abi-name definition.
2102         * scripts/soversions.awk: Do not handle or generate ABI lines.
2103         * shlib-versions: Remove ABI entries.
2104         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2105         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2106
2107 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2108
2109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2110         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2111         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2114         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2116         Moved ...
2117         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2118         ... here.
2119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2120         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2122         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2124         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2126         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2127         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2128         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2130         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2132         Moved ...
2133         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2134         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2135         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2137         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2139         Moved ...
2140         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2142         Moved ...
2143         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2145         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2147         Moved ...
2148         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2150         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2152         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2154         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2155         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2156         Moved ...
2157         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2158         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2159         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2160         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2161         Moved ...
2162         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2163         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2164         Moved ...
2165         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2166         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2167         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2169         Moved ...
2170         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2171         ... here.
2172         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2173         Identical file removed.
2174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2175         Moved ...
2176         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2177         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2178         Identical file removed.
2179         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2180         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2182         Moved ...
2183         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2184         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2185         Identical file removed.
2186         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2187         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2189         Identical file removed.
2190         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2191         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2192         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2193         Identical file removed.
2194         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2195         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2197         Identical file removed.
2198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2199         Moved ...
2200         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2202         Identical file removed.
2203         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2204         Moved ...
2205         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2206         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2207         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2209         Identical file removed.
2210         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2211         Moved ...
2212         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2213         ... here.
2214         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2215         Identical file removed.
2216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2217         Moved ...
2218         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2219         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2220         Identical file removed.
2221         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2222         Moved ...
2223         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2225         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2227         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2229         Moved ...
2230         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2231         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2232         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2233
2234         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2235         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2236         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2237         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2238         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2239
2240 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2241
2242         [BZ #17092]
2243         * nscd/nscd.c (monitor_child): Return exit status of child
2244         instead of return value from wait syscall.
2245
2246 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2247
2248         * configure.ac (libc_commonpagesize): Remove variable.
2249         (libc_relro_required): Likewise.
2250         (libc_cv_z_relro): Remove configure test.
2251         * configure: Regenerated.
2252         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2253         variable.
2254         (libc_relro_required): Likewise.
2255         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2256         (libc_relro_required): Likewise.
2257         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2258         (libc_relro_required): Likewise.
2259         * sysdeps/arm/preconfigure: Regenerated.
2260         * sysdeps/ia64/preconfigure: Remove file.
2261         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2262         variable.
2263         (libc_relro_required): Likewise.
2264
2265         [BZ #16561]
2266         [BZ #16562]
2267         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2268         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2269         recompute overflowing results in original rounding mode.
2270         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2271         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2272         recompute overflowing results in original rounding mode.
2273         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2274         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2275         recompute overflowing results in original rounding mode.
2276         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2277         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2278         recompute overflowing results in original rounding mode.
2279         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2280         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2281         recompute overflowing results in original rounding mode.
2282         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2283         (libc_feholdsetround_ctx): New macro.
2284         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2285         * sysdeps/i386/fpu/libm-test-ulps: Update.
2286         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2287
2288 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2289
2290         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2291         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2292         corresponding .cpsetup call.
2293
2294 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2295
2296         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2297         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2298         * sysdeps/arm/Makefile [$(subdir) = csu]
2299         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2300         (static-only-routines): Add aeabi_read_tp here.
2301         (shared-only-routines): Add libc-aeabi_read_tp here.
2302         (CFLAGS-libc-start.c): Add -fexceptions here.
2303         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2304         (sysdep_routines, static-only-routines, shared-only-routines):
2305         Don't add to these here.
2306         (CFLAGS-libc-start.c): Likewise.
2307
2308         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2309         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2310         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2311         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2312         * sysdeps/arm/Makefile [$(subdir) = rt]
2313         (librt-sysdep_routines, librt-shared-only-routines):
2314         Append rt-aeabi_unwind_cpp_pr1 here.
2315         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2316         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2317         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2318         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2319         Append nptl-aeabi_unwind_cpp_pr1 here.
2320         (tests): Filter out tst-cleanupx4 here.
2321         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2322         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2323         Don't do those here.
2324
2325 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2326
2327         * scripts/list-sources.sh: Do not handle ports specially.
2328
2329 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2330
2331         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2332         * sysdeps/arm/feupdateenv.c: Likewise.
2333
2334         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2335
2336 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2337
2338         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2339         trailing whitespace removed.
2340         * scripts/config.guess: Update to version 2014-03-23.
2341         * scripts/config.sub: Update to version 2014-05-01
2342         * scripts/install-sh: Update to version 2013-12-25.23.
2343         * scripts/move-if-change: Update from gnulib.
2344
2345 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2346
2347         * debug/memmove_chk.c: Remove pagecopy.h include.
2348
2349 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2350
2351         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2352         identical to gnulib mktime.
2353
2354 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2355
2356         * configure.ac: Do not test for machine being rs6000.  Do not test
2357         for powerpc*-*soft.
2358         * configure: Regenerated.
2359
2360         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2361         test.
2362         * configure: Regenerated.
2363         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2364         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2365         Remove configure test.
2366         * sysdeps/arm/configure: Regenerated.
2367         * sysdeps/nptl/configure.ac: Do not check
2368         libc_cv_asm_cfi_directives.
2369         * sysdeps/nptl/configure: Regenerated.
2370         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2371         * sysdeps/x86_64/nptl/configure: Remove generated file.
2372         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2373         unconditional.
2374         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2375
2376 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2377
2378         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2379         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2380         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2381         it is defined.
2382
2383         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2384         instead of whether it is defined.
2385         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2386         * sysdeps/hppa/dl-machine.h: Likewise.
2387         * sysdeps/ia64/dl-machine.h: Likewise.
2388         * sysdeps/m68k/dl-machine.h: Likewise.
2389         * sysdeps/microblaze/dl-machine.h: Likewise.
2390         * sysdeps/mips/dl-machine.: Likewise.
2391         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2392         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2393         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2394         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2395         * sysdeps/sh/dl-machine.h: Likewise.
2396         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2397         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2398         * sysdeps/tile/dl-machine.h: Likewise.
2399         * sysdeps/x86_64/dl-machine.h: Likewise.
2400
2401         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2402         code.
2403         (verify_persistent_db): Likewise.
2404
2405 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2406
2407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2408         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2410         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2412         Moved ...
2413         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2414         ... here.
2415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2416         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2418         Identical file removed.
2419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2420         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2422         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2424         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2426         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2428         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2435         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2437         Moved ...
2438         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2440         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2442         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2444         Identical file removed.
2445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2446         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2448         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2450         Moved ...
2451         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2452         ... here.
2453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2456         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2458         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2460         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2462         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2467         Moved ...
2468         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2475         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2476
2477         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2478         folded into ...
2479         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2480         * sysdeps/unix/sysv/linux/s390/Versions
2481         (libpthread: GLIBC_2.19): New version set.
2482         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2483         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2484         (librt: GLIBC_2.3.3): New version set.
2485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2486         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2487         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2488         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2489         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2490         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2491         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2492         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2493         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2494         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2495         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2496         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2497         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2498         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2499         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2501         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2502         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2503         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2504         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2505         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2507         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2509         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2511         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2513         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2514         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2515         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2516         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2518         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2519         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2521         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2523         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2524         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2525         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2527         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2529         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2530
2531         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2532         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2533         (__libc_vfork): Define the function under this name.
2534         [!NOT_IN_libc] (__vfork): Make this an alias.
2535         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2537         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2538         (__libc_vfork): Define the function under this name.
2539         [!NOT_IN_libc] (__vfork): Make this an alias.
2540         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2541         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2542         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2543         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2544         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2545         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2546
2547         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2548         code that was previously under [RESET_PID].
2549         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2550         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2551         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2552
2553         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2554         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2555         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2556         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2557         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2558         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2559         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2560         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2561         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2562         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2563         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2564         Moved ...
2565         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2566         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2567         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2568         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2569         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2570         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2571         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2572         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2573         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2574         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2575         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2576         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2577         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2578         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2579         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2580         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2581         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2582         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2583         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2584         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2585         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2586         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2587         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2588         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2589         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2590         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2591         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2592         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2593         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2594
2595 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2596
2597         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2598         that was previously under [RESET_PID].
2599         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2600
2601 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2602
2603         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2604         not undefine and redefine.
2605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2606         [O_CLOEXEC]: Make code unconditional.
2607         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2608         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2609         <kernel-features.h>.
2610         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2611         conditional variable definition.
2612         (shm_open) [O_CLOEXEC]: Make code unconditional.
2613         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2614         code.
2615
2616         * configure.ac (USE_REGPARMS): Don't define here.
2617         * configure: Regenerated.
2618         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2619         * sysdeps/i386/configure: Regenerated.
2620
2621         * nptl/createthread.c: Don't include kernel-features.h.
2622         * nptl/pthread_cancel.c: Likewise.
2623         * nptl/pthread_condattr_setclock.c: Likewise.
2624         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2625         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2626         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2627         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2628         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2629         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2630         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2633         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2634         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2635         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2636         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2637         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2638         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2639         * nscd/gai.c: Likewise.
2640         * nss/nss_db/db-open.c: Likewise.
2641         * sysdeps/generic/ldsodefs.h: Likewise.
2642         * sysdeps/sh/nptl/tls.h: Likewise.
2643         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2644         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2645         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2646         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2647         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2648         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2649         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2650         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2651         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2652         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2653         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2654         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2655         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2656         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2657         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2658         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2659         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2660         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2661         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2662         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2665         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2666         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2671         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2672         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2673         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2674         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2675         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2676         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2677         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2678         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2679         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2680         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2681         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2682         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2683         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2684         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2685         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2686         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2687         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2688         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2689         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2690         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2691         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2692         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2693         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2694         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2695         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2696         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2697         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2698         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2699         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2700         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2723         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2724         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2725         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2726         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2727         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2728         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2729         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2730         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2731         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2732         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2733         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2734         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2735         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2736         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2737         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2738         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2740         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2741         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2742         * sysdeps/unix/sysv/linux/system.c: Likewise.
2743         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2744         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2745         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2746         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2747         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2748         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2749         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2750
2751         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2752         * configure: Regenerated.
2753         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2754
2755         * configure.ac (base_machine): Do not set specially for particular
2756         machines here.
2757         * configure: Regenerated.
2758         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2759         settings from configure.ac.
2760         * sysdeps/i386/preconfigure: New file.
2761         * sysdeps/s390/preconfigure: Likewise.
2762         * sysdeps/sh/preconfigure: Likewise.
2763         * sysdeps/sparc/preconfigure: Likewise.
2764
2765 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2766
2767         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2768         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2769         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2770         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2771         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2772         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2773         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2774         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2775         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2776         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2777         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2778         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2779         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2780         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2781         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2782         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2783         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2784         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2785         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2786
2787         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2788         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2789         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2790         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2791         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2792         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2793         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2794         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2795         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2796         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2797         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2798         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2799         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2800         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2801         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2802         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2803         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2804         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2805         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2806         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2807         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2808         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2809         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2810         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2811         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2812         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2813         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2814         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2815         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2816         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2818         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2819         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2820         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2821         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2822         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2823         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2824         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2825
2826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2827         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2829         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2831         Moved ...
2832         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2833         ... here.
2834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2835         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2837         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2839         Moved ...
2840         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2842         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2844         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2846         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2848         Moved ...
2849         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2851         Moved ...
2852         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2854         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2856         Moved ...
2857         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2859         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2861         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2862         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2863         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2869         ... here.
2870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2871         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2873         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2875         Moved ...
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2878         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2880         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2882         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2884         Moved ...
2885         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2887         Moved ...
2888         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2890         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2892         Moved ...
2893         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2895         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2897         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2898
2899 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2900
2901         * timezone/checktab.awk: Update from tzcode 2014e.
2902         * timezone/private.h: Likewise.
2903         * timezone/tzfile.h: Likewise.
2904         * timezone/zdump.c: Likewise.
2905         * timezone/zic.c: Likewise.
2906
2907         * sysdeps/unix/sysv/linux/kernel-features.h
2908         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2909         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2910         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2911         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2912         Remove conditional code.
2913
2914 2014-06-25  Will Newton  <will.newton@linaro.org>
2915
2916         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2917         (_dl_arm_cap_flags): Add HWCAP2 values.
2918         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2919         (_DL_HWCAP_COUNT): Increase to 37.
2920         (_DL_HWCAP_LAST): New define.
2921         (_DL_HWCAP2_LAST): New define.
2922         (_dl_procinfo): Add support for printing
2923         AT_HWCAP2 entries.
2924         (_dl_string_hwcap): Use _dl_hwcap_string.
2925
2926 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2927
2928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2929
2930 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2931
2932         * README: Do not mention ports directory.
2933
2934         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2935         Remove macro.
2936         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2937         <kernel-features.h>.
2938         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2939         conditional variable definition.
2940         (__futimes): Update comment.
2941         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2942         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2943
2944         [BZ #16560]
2945         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2946         arguments close to 0.
2947         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2948         Likewise.
2949         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2950         Likewise.
2951         * math/auto-libm-test-in: Add more tests of exp10.
2952         * math/auto-libm-test-out: Regenerated.
2953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2954
2955         * sysdeps/unix/sysv/linux/kernel-features.h
2956         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2957         * sysdeps/unix/sysv/linux/readv.c: Do not include
2958         <kernel-features.h>.
2959         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2960         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2961         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2962         unconditional.
2963         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2964         conditional code.
2965         * sysdeps/unix/sysv/linux/writev.c: Do not include
2966         <kernel-features.h>.
2967         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2968         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2969         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2970         unconditional.
2971         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2972         conditional code.
2973
2974 2014-06-25  Will Newton  <will.newton@linaro.org>
2975
2976         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2977         comment changes throughout the file.  Remove checks
2978         for HAVE_*_H definitions that are not required.
2979         (__gen_tempname): Call abort if an unknown kind value is
2980         passed.
2981
2982 2014-06-25  Andreas Schwab  <schwab@suse.de>
2983
2984         [BZ #17086]
2985         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2986         scalbln, scalblnf, scalblnl in libc.
2987
2988 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2989
2990         [BZ #17086]
2991         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2992         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2993         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2994
2995 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2996
2997         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2998         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2999         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3000         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3001         Update #include.
3002         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3003         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3004         Update #include.
3005         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3006         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3007         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3008         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3009         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3010         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3011         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3012         * sysdeps/x86/bits/semaphore.h: ... here.
3013         * sysdeps/x86/nptl/elide.h: Moved ...
3014         * sysdeps/x86/elide.h: ... here.
3015         * sysdeps/x86_64/nptl/Implies: File removed.
3016         * sysdeps/i386/nptl/Implies: File removed.
3017
3018 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3019
3020         [BZ #16539]
3021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3022         return the argument for normal arguments with exponent below -64.
3023         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3024         Likewise.
3025         * math/auto-libm-test-in: Add another test of expm1.
3026         * math/auto-libm-test-out: Regenerated.
3027
3028         [BZ #16287]
3029         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3030         calling __erfcl for arguments at least 16.
3031         * math/auto-libm-test-in: Add more tests of erf.
3032         * math/auto-libm-test-out: Regenerated.
3033
3034         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3035         individual architectures.
3036         * sysdeps/unix/sysv/linux/configure: Regenerated.
3037         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3038         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3039         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3040         (ldd_rewrite_script): Define variable.
3041         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3043         file.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3045         generated file.
3046         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3047         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3048         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3049         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3050         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3051         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3052         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3053         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3054
3055 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3056
3057         [BZ #17084]
3058         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3059         Rename member __data.d to __data.__elision_data.
3060
3061 2014-06-24  Wilco  <wdijkstr@arm.com>
3062
3063         * NEWS: Add 16918 to fixed bug list.
3064
3065 2014-06-24  Wilco  <wdijkstr@arm.com>
3066
3067         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3068
3069 2014-06-24  Wilco  <wdijkstr@arm.com>
3070
3071         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3072         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3073         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3074         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3075         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3076         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3077         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3078         Use _FPU_MASK_RM.
3079
3080 2014-06-24  Wilco  <wdijkstr@arm.com>
3081
3082         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3083
3084 2014-06-24  Wilco  <wdijkstr@arm.com>
3085
3086         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3087         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3088         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3089         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3090
3091 2014-06-24  Wilco  <wdijkstr@arm.com>
3092
3093         [BZ #16918]
3094         * sysdeps/arm/feupdateenv.c (feupdateenv):
3095         Rewrite to reduce FPSCR accesses and fix return value.
3096
3097 2014-06-24  Wilco  <wdijkstr@arm.com>
3098
3099         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3100         Optimize to avoid unnecessary FPSCR writes.
3101         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3102         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3103         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3104         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3105
3106 2014-06-24  Wilco  <wdijkstr@arm.com>
3107
3108         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3109         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3110         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3111         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3112         Call libc_fetestexcept_vfp.
3113         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3114         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3115         __SOFTFP__ ifdef so that they can be built for softfp.
3116
3117 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3118
3119         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3120         argument type signed char.
3121
3122         * Makerules (check-abi): Dump diff of symlist if the test
3123         fails.
3124
3125 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3126
3127         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3128         using abort.
3129
3130         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3131         Remove unused variable ST.
3132
3133 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3134
3135         [BZ #16354]
3136         [BZ #17061]
3137         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3138         small arguments before calling __expm1.
3139         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3140         small arguments before calling __expm1f.
3141         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3142         small arguments before calling __expm1l.
3143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3144         Likewise.
3145         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3146         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3147         spurious underflow for some cosh tests.
3148         * math/auto-libm-test-out: Regenerated.
3149         * sysdeps/i386/fpu/libm-test-ulps: Update.
3150
3151         [BZ #17050]
3152         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3153         (__ieee754_y1): Set errno if return value overflows.
3154         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3155         (__ieee754_y1f): Set errno if return value overflows.
3156         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3157         (__ieee754_y1l): Set errno if return value overflows.
3158         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3159         (__ieee754_y1l): Set errno if return value overflows.
3160         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3161         * math/auto-libm-test-out: Regenerated.
3162
3163         * math/gen-auto-libm-tests.c: Document use of
3164         ignore-zero-inf-sign.
3165         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3166         (input_flags): Add ignore-zero-inf-sign.
3167         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3168         * math/gen-libm-test.pl (generate_testfile): Handle
3169         ignore-zero-inf-sign.
3170         * math/auto-libm-test-in: Mark some cpow tests with
3171         ignore-zero-inf-sign and some with xfail-rounding.
3172         * math/auto-libm-test-out: Regenerated.
3173         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3174         * sysdeps/i386/fpu/libm-test-ulps: Update.
3175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3176
3177         [BZ #16315]
3178         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3179         overflowing or underflowing operations take place with sign of
3180         result.
3181         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3182         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3183         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3184         (__ieee754_pow): Recompute overflowing and underflowing results in
3185         original rounding mode.
3186         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3187         (__powl_helper): Allow negative argument X and scale negated value
3188         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3189         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3190         overflowing or underflowing operations take place with sign of
3191         result.
3192         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3193         Include <math.h>.
3194         * math/auto-libm-test-in: Add more tests of pow.
3195         * math/auto-libm-test-out: Regenerated.
3196         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3197         (pow_tonearest_test_data): Remove.
3198         (pow_test_tonearest): Likewise.
3199         (pow_towardzero_test_data): Likewise.
3200         (pow_test_towardzero): Likewise.
3201         (pow_downward_test_data): Likewise.
3202         (pow_test_downward): Likewise.
3203         (pow_upward_test_data): Likewise.
3204         (pow_test_upward): Likewise.
3205         (main): Don't call removed functions.
3206         * sysdeps/i386/fpu/libm-test-ulps: Update.
3207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3208
3209 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3210
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3215         Moved ...
3216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3218         Moved ...
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3221         Moved ...
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3224         File removed.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3226         File removed.
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3228         File removed.
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3230         File removed.
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3232         File removed.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3234         File removed.
3235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3236         File removed.
3237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3238         File removed.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3240         File removed.
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3242         File removed.
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3244         File removed.
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3246         File removed.
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3248         Moved ...
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3253         ... here.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3255         Moved ...
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3258         Moved ...
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3261         Moved ...
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3264         Moved ...
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3267         Moved ...
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3270         Moved ...
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3273         Moved ...
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3277         ... here.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3279         Moved ...
3280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3282         Moved ...
3283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3284         ... here.
3285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3286         Moved ...
3287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3288         ... here.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3290         Moved ...
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3292         ... here.
3293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3294         Moved ...
3295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3297         Moved ...
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3302         Moved ...
3303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3304         ... here.
3305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3306         Moved ...
3307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3308         ... here.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3310         Moved ...
3311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3313         Moved ...
3314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3316         Moved ...
3317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3319         Moved ...
3320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3322         Moved ...
3323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3324         ... here.
3325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3326         Moved ...
3327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3329         Moved ...
3330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3332         Moved ...
3333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3335         Moved ...
3336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3340         Moved ...
3341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3343         Moved ...
3344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3346         Moved ...
3347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3348         ... here.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3350         Moved ...
3351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3352         ... here.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3354         Moved ...
3355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3356         ... here.
3357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3358         Moved ...
3359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3361         Moved ...
3362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3364         Moved ...
3365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3367         Moved ...
3368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3369         ... here.
3370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3371         Moved ...
3372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3373         ... here.
3374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3375         Moved ...
3376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3377         ... here.
3378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3379         Moved ...
3380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3382         Moved ...
3383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3384
3385 2014-06-23  Will Newton  <will.newton@linaro.org>
3386             Wilco  <wdijkstr@arm.com>
3387
3388         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3389         implementation.  Include get-rounding-mode.h.
3390         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3391         [!libc_feholdsetround_noex_ctx]: Define
3392         libc_feholdsetround_noex_ctx.
3393         [!libc_feholdsetround_noexf_ctx]: Define
3394         libc_feholdsetround_noexf_ctx.
3395         [!libc_feholdsetround_noexl_ctx]: Define
3396         libc_feholdsetround_noexl_ctx.
3397         (libc_feholdsetround_ctx): New function.
3398         (libc_feresetround_ctx): New function.
3399         (libc_feholdsetround_noex_ctx): New function.
3400         (libc_feresetround_noex_ctx): New function.
3401
3402 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3403
3404         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3405         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3406         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3407         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3408         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3409         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3410
3411         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3412         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3413         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3414         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3415         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3416         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3417         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3418         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3420         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3422         Moved ...
3423         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3424         ... here.
3425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3426         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3428         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3430         Moved ...
3431         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3432         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3433         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3434         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3435         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3437         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3438         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3439         Moved ...
3440         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3441         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3442         Moved ...
3443         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3445         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3447         Moved ...
3448         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3449         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3450         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3451         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3452         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3453         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3454         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3455         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3456         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3457         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3458         Moved ...
3459         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3460         ... here.
3461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3462         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3464         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3466         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3468         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3469         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3470         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3472         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3474         Moved ...
3475         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3476         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3477         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3478         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3479         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3480         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3481         Moved ...
3482         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3483         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3484         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3485         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3486         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3487
3488         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3489         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3490         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3491         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3492         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3493         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3494         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3495         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3497         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3498         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3499         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3500         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3501         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3502         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3503         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3504         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3505         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3506         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3507         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3508         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3509         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3510         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3511         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3512         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3513         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3514         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3515         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3516
3517 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3518
3519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3520         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3521         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3522         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3523         (IPV6_PMTUDISC_INTERFACE): Likewise.
3524         (IPV6_PMTUDISC_OMIT): Likewise.
3525
3526 2014-06-23  Andreas Schwab  <schwab@suse.de>
3527
3528         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3529         Remove unused errout label.
3530
3531 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3532
3533         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3534         macro: hardware supports Vector Crypto instructions.
3535
3536 2014-06-23  Will Newton  <will.newton@linaro.org>
3537
3538         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3539         rather than __builtin_expect.
3540
3541         * elf/dl-lookup.c (undefined_msg): Remove variable.
3542         (_dl_lookup_symbol_x): Replace undefined_msg with string
3543         literal.
3544
3545         * elf/dl-lookup.c (do_lookup_unique): New function.
3546         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3547         to a separate function.
3548
3549 2014-06-23  Andreas Schwab  <schwab@suse.de>
3550
3551         [BZ #17079]
3552         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3553         before reading the next line.
3554
3555 2014-06-23  Will Newton  <will.newton@linaro.org>
3556
3557         * test-skeleton.c (signal_handler): Use printf and %m
3558         rather than perror.  Use printf rather than fprintf to
3559         stderr.  Use puts rather than fputs to stderr.
3560         (main): Likewise.
3561
3562 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3563
3564         * nscd/nscd.c (thread_info_t): Remove typedef.
3565         (thread_info): Remove variable.
3566
3567 2014-06-21  Allan McRae  <allan@archlinux.org>
3568
3569         * NEWS: Mention CVE-2014-4043.
3570
3571 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3572
3573         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3574         * nptl/smp.h: ... here.
3575
3576         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3577
3578         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3579         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3580         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3581         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3582
3583         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3584         * nptl/stack-aliasing.h: New file.
3585         * sysdeps/i386/i686/stack-aliasing.h: New file.
3586         * sysdeps/i386/i686/nptl/Makefile: File removed.
3587         * sysdeps/x86_64/stack-aliasing.h: New file.
3588         * sysdeps/x86_64/nptl/Makefile
3589         (CFLAGS-pthread_create.c): Variable removed.
3590
3591         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3592         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3593         old file.
3594         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3595         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3596         old file.
3597
3598 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3599
3600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3601         (__ASSUME_SIGFRAME_V2): Remove macro.
3602         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3603         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3604         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3605         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3606         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3607         Declare as function.  Remove conditional macro definitions.
3608         (__default_rt_sa_restorer): Likewise.
3609         (__default_sa_restorer_v1): Remove declaration.
3610         (__default_sa_restorer_v2): Likewise.
3611         (__default_rt_sa_restorer_v1): Likewise.
3612         (__default_rt_sa_restorer_v2): Likewise.
3613         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3614         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3615         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3616
3617 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3618
3619         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3620         (libpthread-routines): Add sysdep.
3621         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3622         * sysdeps/unix/sysv/linux/sparc/Versions
3623         (libpthread: GLIBC_2.3.3): New version set.
3624         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3625         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3626         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3628         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3629         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3630         Moved ...
3631         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3632         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3633         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3634         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3635         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3636         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3637         * sysdeps/sparc/nptl/sem_init.c: ... here.
3638         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3639         * sysdeps/sparc/nptl/sem_post.c: ... here.
3640         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3641         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3642         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3643         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3644         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3645         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3646         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3647         (libpthread-routines): Add cpu_relax.
3648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3649         File removed.
3650         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3651         (librt: GLIBC_2.3.3): New version set.
3652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3653         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3654         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3655         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3658         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3660         Moved ...
3661         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3663         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3665         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3667         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3669         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3671         Moved ...
3672         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3673         Update #include.
3674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3675         Moved ...
3676         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3677         Update #include.
3678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3679         Moved ...
3680         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3681         Update #include.
3682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3683         Moved ...
3684         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3685         Update #include.
3686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3687         Moved ...
3688         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3689         Update #include.
3690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3691         Moved ...
3692         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3693         Update #include.
3694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3695         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3698         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3701         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3703         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3705         Moved ...
3706         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3708         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3710         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3711
3712 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3713
3714         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3715         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3716         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3717         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3718         * nscd/nscd.c: Likewise.
3719         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3720         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3721         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3722         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3723
3724         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3725         <kernel-features.h>.
3726         (init_mq_netlink): Remove conditional have_sock_cloexec
3727         definitions.  Remove code conditional on have_sock_cloexec < 0.
3728         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3729         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3730         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3731         <kernel-features.h>.
3732         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3733         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3734
3735 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3736
3737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3738         Add tests for memset_chk and memset.
3739
3740         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3741         with AVX2_Usable.
3742
3743 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3744
3745         [BZ #16046]
3746         * elf/tst-dl-iter-static.c: New file.
3747         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3748
3749         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3750         error.
3751
3752 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3753
3754         * sysdeps/unix/sysv/linux/kernel-features.h
3755         (__ASSUME_F_GETOWN_EX): Remove macro.
3756         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3757         <kernel-features.h>.
3758         (miss_F_GETOWN_EX): Remove variable or macro.
3759         (do_fcntl): Do not check miss_F_GETOWN_EX.
3760         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3761
3762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3763         Remove macro.
3764         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3765         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3766         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3767
3768         * sysdeps/unix/sysv/linux/kernel-features.h
3769         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3770         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3771         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3772         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3773
3774 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3775
3776         [BZ #17075]
3777         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3778         Fix calculation of the symbol's value.
3779         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3780         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3781         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3782         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3783         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3784         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3785         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3786         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3787         (modules-names): Add `tst-armtlsdescmod',
3788         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3789         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3790         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3791         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3792         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3793         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3794         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3795         ($(objpfx)tst-armtlsdescloc): New dependency.
3796         ($(objpfx)tst-armtlsdescextnow): Likewise.
3797         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3798         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3799         TLS scheme support.
3800         * sysdeps/arm/configure: Regenerate.
3801
3802 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3803
3804         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3805         (__atfct_seterrno_2): Likewise.
3806         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3807         <kernel-features.h>.
3808         (__ASSUME_ATFCTS): Do not undefine and redefine.
3809         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3810         (__have_atfcts): Remove conditional definition.
3811         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3812         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3813         unreachable if [__ASSUME_ATFCTS].
3814         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3815         not undefine and redefine.
3816         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3817         <kernel-features.h>.
3818         (faccessat) [__NR_faccessat]: Make code unconditional.
3819         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3820         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3821         <kernel-features.h>.
3822         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3823         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3824         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3825         <kernel-features.h>.
3826         (fchownat) [__NR_fchownat]: Make code unconditional.
3827         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3828         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3829         <kernel-features.h>.
3830         (futimesat) [__NR_futimesat]: Make code unconditional.
3831         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3832         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3833         <kernel-features.h>.
3834         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3835         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3836         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3837         <kernel-features.h>.
3838         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3839         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3840         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3841         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3842         <kernel-features.h>.
3843         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3844         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3845         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3846         <kernel-features.h>.
3847         (linkat) [__NR_linkat]: Make code unconditional.
3848         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3849         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3850         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3851         <kernel-features.h>.
3852         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3853         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3854         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3855         <kernel-features.h>.
3856         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3857         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3858         * sysdeps/unix/sysv/linux/openat.c: Do not include
3859         <kernel-features.h>.
3860         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3861         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3862         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3863         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3864         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3865         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3866         <kernel-features.h>.
3867         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3868         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3869         result of INLINE_SYSCALL directly, not via int variable.
3870         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3871         <kernel-features.h>.
3872         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3873         (renameat) [__NR_renameat]: Make code unconditional.
3874         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3875         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3876         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3877         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3879         (__ASSUME_ATFCTS): Do not undefine and redefine.
3880         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3881         <kernel-features.h>.
3882         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3883         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3884         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3885         <kernel-features.h>.
3886         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3887         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3888         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3889         (__ASSUME_ATFCTS): Do not undefine and redefine.
3890         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3891         <kernel-features.h>.
3892         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3893         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3894         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3895         <kernel-features.h>.
3896         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3897         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3898
3899 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3900
3901         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3902
3903 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3904
3905         [BZ #17069]
3906         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3907         constructed tree before returning error.
3908         * posix/bug-regexp36.c: Expand test case.
3909
3910 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3911
3912         [BZ #6803]
3913         * math/libm-test.inc (scalbln_test_date):
3914         Add errno expectations.
3915         * math/w_scalblnf.c: New File.
3916         Add wrapper which checks for setting errno to ERANGE.
3917         Add weak_alias for corresponding scalbln function.
3918         * math/w_scalbln.c: Likewise.
3919         * math/w_scalblnl.c: Likewise.
3920         * math/Makefile (libm-calls): Add w_scalbln.
3921         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3922         Remove weak_alias for corresponding scalbln function.
3923         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3924         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3925         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3926         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3927         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3928         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3929         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3930         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3931         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3932         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3933         Remove long_double_symbol for scalblnl function in libm, libc.
3934         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3935         Add wrapper which checks for setting errno to ERANGE.
3936         Add long_double_symbol for scalblnl function in libm, libc.
3937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3938         Remove long_double_symbol for scalblnl in libm.
3939         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3940         Add wrapper which checks for setting errno to ERANGE.
3941         Add long_double_symbol for scalblnl function in libm.
3942         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3943         Do not use wrapper because of own implementation.
3944
3945 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3946
3947         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3948         3 bytes for __pad1 for x32.
3949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3950
3951 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3952             H.J. Lu  <hongjiu.lu@intel.com>
3953
3954         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3955         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3956         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3957         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3958         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3959
3960 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3961
3962         [BZ #17069]
3963         * posix/regcomp.c (parse_expression): Deallocate partially
3964         constructed tree before returning error.
3965         * posix/Makefile.c (tests): Add bug-regex36.
3966         (generated): Add bug-regex36.mtrace.
3967         (tests-special): Add $(objpfx)bug-regex36-mem.out
3968         (bug-regex36-ENV): New variable.
3969         ($(objpfx)bug-regex36-mem.out): New rule.
3970         * posix/bug-regex36.c: New file.
3971
3972 2014-06-19  Will Newton  <will.newton@linaro.org>
3973
3974         * malloc/malloc.c (systrim): If extra is zero then return
3975         early.
3976
3977 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3978
3979         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3980
3981 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3982
3983         * sysdeps/aarch64/strchr.S: New file.
3984
3985 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3986
3987         [BZ #17022]
3988         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3989         from arguments -2 or below.
3990         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3991         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3992
3993 2014-06-18  Andreas Schwab  <schwab@suse.de>
3994
3995         [BZ #17062]
3996         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3997         of a bracket expr not to run off the end of the string.
3998         * posix/Makefile (tests): Add tst-fnmatch3.
3999         * posix/tst-fnmatch3.c: New file.
4000
4001 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4002
4003         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4004         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4005         [$(cross-compiling) = no]: Likewise.
4006         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4007         [$(cross-compiling) = no]: Likewise.
4008
4009 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4010
4011         [BZ #17031]
4012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4013         double, adjusted for any remainder from the high double.
4014         * math/libm-test.inc (nearbyint): Add tests.
4015         (rint): Likewise.
4016
4017 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4018
4019         * nptl/sysdeps/powerpc/Makefile: Moved ...
4020         * sysdeps/powerpc/nptl/Makefile: ... here.
4021         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4022         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4023         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4024         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4025         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4026         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4027         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4028         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4029         * nptl/sysdeps/powerpc/tls.h: Moved ...
4030         * sysdeps/powerpc/nptl/tls.h: ... here.
4031
4032 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4033
4034         [BZ #16681]
4035         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4036         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4037         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4038         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4039         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4040         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4041         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4042         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4043         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4044
4045 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4046
4047         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4048
4049 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4050
4051         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4052         defined operator.
4053
4054         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4055         $TIMEOUTFACTOR.
4056
4057 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4058
4059         [BZ #17058]
4060         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4061         non-executed part of the test.
4062
4063 2014-06-16  Andreas Schwab  <schwab@suse.de>
4064
4065         * string/bits/string2.h (strdup, strndup): Update feature guard.
4066
4067 2014-06-14  David S. Miller  <davem@davemloft.net>
4068
4069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4070
4071 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4072
4073         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4074         that was previously under [RESET_PID].
4075         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4076
4077         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4078         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4079         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4080         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4081         (__libc_vfork): New strong alias.
4082         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4083
4084 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4085
4086         * sysdeps/generic/elide.h: New file.
4087
4088 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4089
4090         * Makefile (installed-headers): Adjust path of pthread.h header.
4091
4092 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4093
4094         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4095         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4097         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4098
4099         * nptl/sysdeps/s390/Makefile: Moved ...
4100         * sysdeps/s390/nptl/Makefile: ... here.
4101         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4102         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4103         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4104         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4105         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4106         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4107         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4108         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4109         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4110         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4111         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4112         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4113         * nptl/sysdeps/s390/tls.h: Moved ...
4114         * sysdeps/s390/nptl/tls.h: ... here.
4115
4116         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4117         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4118
4119 2014-06-13  David S. Miller  <davem@davemloft.net>
4120
4121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4124         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4128         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4129         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4130         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4131         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4132         Remove RESET_PID cpp guards.
4133         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4134         Remove RESET_PID cpp guards.
4135         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4136
4137 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4138
4139         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4140         __sp to uintptr_t.
4141
4142 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4143
4144         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4146         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4147         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4148         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4149         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4150         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4151         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4152         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4153         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4154         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4155         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4157         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4158         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4159         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4160         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4162         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4163         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4164
4165         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4166         (pthread_rwlock_rdlock): Add elision.
4167         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4168         (pthread_rwlock_wrlock): Add elision.
4169         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4170         (pthread_rwlock_trywrlock): Add elision.
4171         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4172         (pthread_rwlock_tryrdlock): Add elision.
4173         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4174         (pthread_rwlock_tryrdlock): Add elision unlock.
4175         * nptl/sysdeps/pthread/pthread.h:
4176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4177         (PTHREAD_RWLOCK_INITIALIZER,
4178         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4179         Handle new elision field.
4180         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4181         * sysdeps/arm/nptl/bits/pthreadtypes.h
4182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4183         * sysdeps/sh/nptl/bits/pthreadtypes.h
4184         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4185         * sysdeps/tile/nptl/bits/pthreadtypes.h
4186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4187         * sysdeps/a/nptl/bits/pthreadtypes.h
4188         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4189         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4190         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4191         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4193         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4195         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4197         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4199         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4201         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4203         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4205         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4206         (elision_init): Set try_xbegin to zero when no RTM.
4207         * sysdeps/x86/nptl/bits/pthreadtypes.h
4208         (pthread_rwlock_t): Change __pad1 to __rwelision.
4209         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4210
4211 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4212
4213         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4214         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4215         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4216         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4217
4218 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4219
4220         [BZ #16996]
4221         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4222         that the cached result has been set before returning it.
4223
4224 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4225
4226         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4227         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4228         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4229         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4230         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4231         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4232
4233         * nptl/sysdeps/sparc/Makefile: Moved ...
4234         * sysdeps/sparc/nptl/Makefile: ... here.
4235         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4236         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4237         * nptl/sysdeps/sparc/tls.h: Moved ...
4238         * sysdeps/sparc/nptl/tls.h: ... here.
4239         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4240         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4241         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4242         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4243         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4244         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4245         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4246         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4247         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4248         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4249         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4250         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4251         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4252         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4253         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4254         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4255         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4256         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4257         Update #include.
4258         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4259         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4260         Update #include.
4261         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4262         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4263         Update #include.
4264         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4265         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4266         Update #include.
4267
4268         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4269
4270         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4271         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4272
4273         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4274         (struct list_links): Type removed.
4275         (struct thread_node, struct timer_node): Replace struct list_links
4276         with struct list_head.
4277         (list_unlink_ip): Likewise.
4278         * sysdeps/pthread/timer_routines.c
4279         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4280         (list_append, list_insbefore): Likewise.
4281         (list_init): Function removed.
4282         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4283         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4284         * sysdeps/pthread/Makefile: ... here, new file.
4285
4286         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4287         * sysdeps/nptl/Implies: ... here.
4288         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4289         * nptl/sysdeps/pthread/list.h: Moved ...
4290         * include/list.h: ... here.
4291         * nptl/sysdeps/pthread/createthread.c: Moved ...
4292         * nptl/createthread.c: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4294         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4295         * nptl/pt-longjmp.c: ... here.
4296         * nptl/sysdeps/pthread/Makefile: Moved ...
4297         * sysdeps/nptl/Makefile: ... here.
4298         * nptl/sysdeps/pthread/Subdirs: Moved ...
4299         * sysdeps/nptl/Subdirs: ... here.
4300         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4301         * sysdeps/nptl/aio_misc.h: ... here.
4302         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4303         * sysdeps/nptl/bits/libc-lock.h: ... here.
4304         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4305         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4306         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4307         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4308         * nptl/sysdeps/pthread/configure: Moved ...
4309         * sysdeps/nptl/configure: ... here.
4310         * nptl/sysdeps/pthread/configure.ac: Moved ...
4311         * sysdeps/nptl/configure.ac: ... here.
4312         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4313         * sysdeps/nptl/gai_misc.h: ... here.
4314         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4315         * sysdeps/nptl/librt-cancellation.c: ... here.
4316         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4317         * sysdeps/nptl/malloc-machine.h: ... here.
4318         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4319         * sysdeps/nptl/pthread-functions.h: ... here.
4320         * nptl/sysdeps/pthread/pthread.h: Moved ...
4321         * sysdeps/nptl/pthread.h: ... here.
4322         * nptl/sysdeps/pthread/setxid.h: Moved ...
4323         * sysdeps/nptl/setxid.h: ... here.
4324         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4325         * sysdeps/nptl/sigfillset.c: ... here.
4326         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4327         * sysdeps/nptl/tcb-offsets.h: ... here.
4328         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4329         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4330         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4331         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4332         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4333         * sysdeps/pthread/allocalim.h: ... here.
4334         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4335         * sysdeps/pthread/bits/sigthread.h: ... here.
4336         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4337         * sysdeps/pthread/flockfile.c: ... here.
4338         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4339         * sysdeps/pthread/ftrylockfile.c: ... here.
4340         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4341         * sysdeps/pthread/funlockfile.c: ... here.
4342         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4343         * sysdeps/pthread/posix-timer.h: ... here.
4344         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4345         * sysdeps/pthread/timer_create.c: ... here.
4346         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4347         * sysdeps/pthread/timer_delete.c: ... here.
4348         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4349         * sysdeps/pthread/timer_getoverr.c: ... here.
4350         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4351         * sysdeps/pthread/timer_gettime.c: ... here.
4352         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4353         * sysdeps/pthread/timer_routines.c: ... here.
4354         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4355         * sysdeps/pthread/timer_settime.c: ... here.
4356         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4357         * sysdeps/pthread/tst-timer.c: ... here.
4358         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4359         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4360
4361         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4362         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4363
4364         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4365         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4366         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4367         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4368         Update #include target.
4369         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4370         * sysdeps/i386/i686/nptl/Makefile: ... here.
4371         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4372         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4373         Update #include target.
4374         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4375         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4376         * nptl/sysdeps/i386/Makefile: Moved ...
4377         * sysdeps/i386/nptl/Makefile: ... here.
4378         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4379         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4380         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4381         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4382         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4383         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4384         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4385         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4386         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4387         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4388         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4389         * nptl/sysdeps/i386/tls.h: Moved ...
4390         * sysdeps/i386/nptl/tls.h: ... here.
4391
4392         * sysdeps/sh/Makefile [$(subdir) = csu]
4393         (gen-as-const-headers): Add tcb-offsets.sym.
4394         * nptl/sysdeps/sh/Makefile: File removed.
4395         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4396         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4397         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4398         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4399         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4400         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4401         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4402         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4403         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4404         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4405         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4406         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4407         * nptl/sysdeps/sh/tls.h: Moved ...
4408         * sysdeps/sh/nptl/tls.h: ... here.
4409         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4410         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4411         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4412         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4413         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4414         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4416         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4418         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4420         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4422         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4424         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4426         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4427         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4428         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4430         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4432         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4434         Moved ...
4435         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4436         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4437         Moved ...
4438         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4440         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4441         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4443         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4444         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4445         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4446         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4447         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4448         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4449         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4450         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4451         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4452         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4453         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4454         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4455         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4456         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4457
4458 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4459
4460         * posix/spawn_faction_addopen.c: Include string.h.
4461
4462 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4463
4464         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4465         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4466         * nptl/sysdeps/x86_64/Makefile: Moved ...
4467         * sysdeps/x86_64/nptl/Makefile: ... here.
4468         * nptl/sysdeps/x86_64/configure: Moved ...
4469         * sysdeps/x86_64/nptl/configure: ... here.
4470         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4471         * sysdeps/x86_64/nptl/configure.ac: ... here.
4472         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4473         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4474         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4475         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4476         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4477         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4478         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4479         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4480         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4481         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4482         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4483         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4484         * nptl/sysdeps/x86_64/tls.h: Moved ...
4485         * sysdeps/x86_64/nptl/tls.h: ... here.
4486         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4487         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4488         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4489         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4490
4491         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4492
4493 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4494
4495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4496
4497 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4498
4499         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4500         type.
4501         [POSIX] (off_t): Likewise.
4502         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4503         [POSIX] (S_ISBLK): Require macro.
4504         [POSIX] (S_ISCHR): Likewise.
4505         [POSIX] (S_ISDIR): Likewise.
4506         [POSIX] (S_ISFIFO): Likewise.
4507         [POSIX] (S_ISREG): Likewise.
4508         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4509         optional-macro.
4510         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4511         type.
4512         [POSIX] (time_t): Likewise.
4513         [POSIX] (timer_t): Likewise.
4514
4515 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4516
4517         [BZ #17048]
4518         * posix/spawn_int.h (struct __spawn_action): Make the path string
4519         non-const to support deallocation.
4520         * posix/spawn_faction_addopen.c
4521         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4522         * posix/spawn_faction_destroy.c
4523         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4524         path in all spawn_do_open actions.
4525         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4526         posix_spawn_file_actions_addopen.
4527
4528 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4529
4530         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4531         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4532         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4533         conditional code always true.
4534         (__libc_vfork): New alias.
4535
4536 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4537
4538         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4539         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4540
4541         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4542
4543         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4544         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4545
4546         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4547         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4548
4549         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4550         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4551
4552 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4553
4554         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4555         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4556         multiarch strcmp for PPC64.
4557         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4558         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4560         multiarch optimizations.
4561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4562         (__libc_ifunc_impl_list): Likewise.
4563
4564 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4565
4566         * benchtests/scripts/validate_benchout.py: New script.
4567         * benchtests/Makefile (bench-func): Call it.
4568         * benchtests/scripts/benchout.schema.json: New file.
4569
4570 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4571
4572         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4573         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4574         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4575         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4576         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4577         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4578         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4579         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4580         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4581         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4582         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4583         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4584         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4585         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4586         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4587         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4589         Moved ...
4590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4591         ... here.
4592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4593         Moved ...
4594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4596         Moved ...
4597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4598         ... here.
4599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4600         Moved ...
4601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4602         ... here.
4603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4604         Moved ...
4605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4607         Moved ...
4608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4609         ... here.
4610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4611         Moved ...
4612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4613         ... here.
4614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4615         Moved ...
4616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4618         Moved ...
4619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4620         ... here.
4621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4622         Moved ...
4623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4624         ... here.
4625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4626         Moved ...
4627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4628         ... here.
4629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4630         Moved ...
4631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4633         Moved ...
4634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4635         ... here.
4636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4637         Moved ...
4638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4639         ... here.
4640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4641         Moved ...
4642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4643         ... here.
4644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4645         Moved ...
4646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4648         Moved ...
4649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4650         ... here.
4651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4652         Moved ...
4653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4654         ... here.
4655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4656         Moved ...
4657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4659         Moved ...
4660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4661         ... here.
4662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4663         Moved ...
4664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4666         Moved ...
4667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4669         Moved ...
4670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4671         ... here.
4672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4673         Moved ...
4674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4675         ... here.
4676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4677         Moved ...
4678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4679         ... here.
4680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4681         Moved ...
4682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4684         Moved ...
4685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4686         ... here.
4687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4688         Moved ...
4689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4690         ... here.
4691         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4692         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4693         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4694         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4696         Moved ...
4697         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4698         ... here.
4699         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4700         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4702         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4704         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4705         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4706         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4707         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4708         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4710         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4712         Moved ...
4713         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4715         Moved ...
4716         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4718         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4720         Moved ...
4721         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4722         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4723         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4724         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4725         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4726         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4727         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4728
4729 2014-06-10  Wilco  <wdijkstr@arm.com>
4730
4731         * math/test-fenv-return.c: New file.
4732         * math/Makefile: Add new test test-fenv-return.
4733
4734 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4735
4736         [BZ #17042]
4737         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4738         when x - 1 is zero.
4739         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4740         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4741         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4742         0.0L for an argument of 1.0L.
4743         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4744         Likewise.
4745         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4746         value when x - 1 is zero.
4747         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4748         * sysdeps/i386/fpu/libm-test-ulps: Update.
4749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4750
4751 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4752
4753         [BZ #15119]
4754         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4755
4756 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4757
4758         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4759         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4760
4761 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4762
4763         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4764         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4765
4766         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4767         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4768
4769         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4770         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4771
4772         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4773         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4774
4775         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4776         if not already defined.
4777         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4778         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4779         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4780         (TLS_INIT_TP): Use it.
4781         (TLS_DEFINE_INIT_TP): New macro.
4782         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4783
4784 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4785
4786         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4787         constant.
4788         [POSIX] (IXANY): Likewise.
4789         [POSIX] (OLCUC): Likewise.
4790         [POSIX || POSIX2008] (CBAUD): Do not allow.
4791         [POSIX || POSIX2008] (DEFECHO): Likewise.
4792         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4793         [POSIX || POSIX2008] (ECHOKE): Likewise.
4794         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4795         [POSIX || POSIX2008] (EXTA): Likewise.
4796         [POSIX || POSIX2008] (EXTB): Likewise.
4797         [POSIX || POSIX2008] (FLUSHO): Likewise.
4798         [POSIX || POSIX2008] (LOBLK): Likewise.
4799         [POSIX || POSIX2008] (PENDIN): Likewise.
4800         [POSIX || POSIX2008] (SWTCH): Likewise.
4801         [POSIX || POSIX2008] (VDISCARD): Likewise.
4802         [POSIX || POSIX2008] (VDSUSP): Likewise.
4803         [POSIX || POSIX2008] (VLNEXT): Likewise.
4804         [POSIX || POSIX2008] (VREPRINT): Likewise.
4805         [POSIX || POSIX2008] (VSTATUS): Likewise.
4806         [POSIX || POSIX2008] (VWERASE): Likewise.
4807         (B*): Change to B[0123456789]*.
4808         * conform/data/time.h-data [POSIX || UNIX98]
4809         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4810         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4811         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4812         [POSIX] (tm_*): Do not allow.
4813
4814 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4815
4816         * Makefile (install): Don't set LANGUAGE.
4817         * Makefile.in (install): Likewise.
4818         * assert/Makefile (test-assert-ENV): Remove variable.
4819         (test-assert-perr-ENV): Likewise.
4820         * elf/Makefile (neededtest4-ENV): Likewise.
4821         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4822         [$(cross-compiling) = no]: Don't set LANGUAGE.
4823         * io/ftwtest-sh (LANG): Remove variable.
4824         * libio/Makefile (tst-widetext-ENV): Likewise.
4825         * manual/install.texi (Running make install): Don't refer to
4826         environment settings for make install.
4827         * INSTALL: Regenerated.
4828         * nptl/tst-tls6.sh: Don't set LANG.
4829         * posix/globtest.sh (LANG): Remove variable.
4830         * string/Makefile (tester-ENV): Likewise.
4831         (inl-tester-ENV): Likewise.
4832         (noinl-tester-ENV): Likewise.
4833         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4834         [$(cross-compiling) = no]: Don't set LANGUAGE.
4835         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4836         without explicit environment settings.
4837
4838 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4839
4840         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4841         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4842         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4843         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4844
4845 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4846
4847         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4848         other files in the crypt directory.
4849         * crypt/crypt.c: Remove duplicate includes.
4850         * crypt/crypt-entry.c: Likewise.
4851         * crypt/crypt_util.c: Likewise.
4852
4853 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4854
4855         * Makeconfig (run-program-env): New variable.
4856         (run-program-prefix-before-env): Likewise.
4857         (run-program-prefix-after-env): Likewise.
4858         (run-program-prefix): Define in terms of new variables.
4859         (built-program-cmd-before-env): New variable.
4860         (built-program-cmd-after-env): Likewise.
4861         (built-program-cmd): Define in terms of new variables.
4862         (test-program-prefix-before-env): New variable.
4863         (test-program-prefix-after-env): Likewise.
4864         (test-program-prefix): Define in terms of new variables.
4865         (test-program-cmd-before-env): New variable.
4866         (test-program-cmd-after-env): Likewise.
4867         (test-program-cmd): Define in terms of new variables.
4868         * Rules (make-test-out): Use $(run-program-env).
4869         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4870         (help): Do not mention environment variables.  Mention
4871         --timeoutfactor option.
4872         (timeoutfactor): New variable.
4873         (blacklist_exports): Remove function.
4874         (exports): Remove variable.
4875         (command): Do not include ${exports}.
4876         * manual/install.texi (Configuring and compiling): Do not mention
4877         test wrappers preserving environment variables.  Mention that last
4878         assignment to a variable must take precedence.
4879         * INSTALL: Regenerated.
4880         * benchtests/Makefile (run-bench): Use $(run-program-env).
4881         * catgets/Makefile ($(objpfx)test1.cat): Use
4882         $(built-program-cmd-before-env), $(run-program-env) and
4883         $(built-program-cmd-after-env).
4884         ($(objpfx)test2.cat): Do not specify environment variables
4885         explicitly.
4886         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4887         $(run-program-env) and $(built-program-cmd-after-env).
4888         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4889         $(run-program-env) and $(test-program-cmd-after-env).
4890         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4891         explicitly.
4892         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4893         run_program_env and test_program_cmd_after_env arguments.
4894         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4895         * elf/tst-pathopt.sh: Use run_program_env argument.
4896         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4897         $(test-wrapper-env) and $(run-program-env).
4898         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4899         run_program_env arguments.
4900         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4901         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4902         $(test-program-prefix-before-env), $(run-program-env) and
4903         $(test-program-prefix-after-env).
4904         ($(objpfx)tst-gettext2.out): Likewise.
4905         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4906         run_program_env and test_program_prefix_after_env arguments.
4907         * intl/tst-gettext2.sh: Likewise.
4908         * intl/tst-gettext4.sh: Do not set environment variables
4909         explicitly.
4910         * intl/tst-gettext6.sh: Likewise.
4911         * intl/tst-translit.sh: Likewise.
4912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4913         $(test-program-prefix-before-env), $(run-program-env) and
4914         $(test-program-prefix-after-env).
4915         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4916         run_program_env and test_program_prefix_after_env arguments.
4917         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4918         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4919         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4920         explicitly with each use of ${test_wrapper_env}.
4921         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4922         $(test-program-prefix-before-env), $(run-program-env) and
4923         $(test-program-prefix-after-env).
4924         * posix/tst-getconf.sh: Do not set environment variables
4925         explicitly.
4926         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4927         run_program_env and test_program_prefix_after_env arguments.
4928         * stdio-common/tst-printf.sh: Do not set environment variables
4929         explicitly.
4930         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4931         $(test-program-prefix-before-env), $(run-program-env) and
4932         $(test-program-prefix-after-env).
4933         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4934         run_program_env and test_program_prefix_after_env arguments.
4935         Split $test calls into $test_pre and $test.
4936         * timezone/Makefile (build-testdata): Use
4937         $(built-program-cmd-before-env), $(run-program-env) and
4938         $(built-program-cmd-after-env).
4939
4940 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4941
4942         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4943         strlen for non SHARED builds.
4944
4945 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4946
4947         * nptl/allocatestack.c (check_list): Inlined function...
4948         (__reclaim_stacks): ... here.
4949
4950 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4951
4952         [BZ #15698]
4953         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4954         memory overrun.
4955
4956 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4957
4958         * Rules (make-test-out): Include
4959         LOCPATH=$(common-objpfx)localedata in default environment.
4960         * debug/Makefile (tst-chk1-ENV): Remove variable.
4961         (tst-chk2-ENV): Likewise.
4962         (tst-chk3-ENV): Likewise.
4963         (tst-chk4-ENV): Likewise.
4964         (tst-chk5-ENV): Likewise.
4965         (tst-chk6-ENV): Likewise.
4966         (tst-lfschk1-ENV): Likewise.
4967         (tst-lfschk2-ENV): Likewise.
4968         (tst-lfschk3-ENV): Likewise.
4969         (tst-lfschk4-ENV): Likewise.
4970         (tst-lfschk5-ENV): Likewise.
4971         (tst-lfschk6-ENV): Likewise.
4972         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4973         (tst-iconv7-ENV): Likewise.
4974         * intl/Makefile (LOCPATH-ENV): Likewise.
4975         (tst-codeset-ENV): Likewise.
4976         (tst-gettext3-ENV): Likewise.
4977         (tst-gettext5-ENV): Likewise.
4978         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4979         (tst-fopenloc-ENV): Likewise.
4980         (tst-fgetws-ENV): Remove variable.
4981         (tst-ungetwc1-ENV): Likewise.
4982         (tst-ungetwc2-ENV): Likewise.
4983         (bug-ungetwc2-ENV): Likewise.
4984         (tst-swscanf-ENV): Likewise.
4985         (bug-ftell-ENV): Likewise.
4986         (tst-fgetwc-ENV): Likewise.
4987         (tst-fseek-ENV): Likewise.
4988         (tst-ftell-partial-wide-ENV): Likewise.
4989         (tst-ftell-active-handler-ENV): Likewise.
4990         (tst-ftell-append-ENV): Likewise.
4991         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4992         (tst-regexloc-ENV): Likewise.
4993         (bug-regex1-ENV): Likewise.
4994         (tst-regex-ENV): Likewise.
4995         (tst-regex2-ENV): Likewise.
4996         (bug-regex5-ENV): Likewise.
4997         (bug-regex6-ENV): Likewise.
4998         (bug-regex17-ENV): Likewise.
4999         (bug-regex18-ENV): Likewise.
5000         (bug-regex19-ENV): Likewise.
5001         (bug-regex20-ENV): Likewise.
5002         (bug-regex22-ENV): Likewise.
5003         (bug-regex23-ENV): Likewise.
5004         (bug-regex25-ENV): Likewise.
5005         (bug-regex26-ENV): Likewise.
5006         (bug-regex30-ENV): Likewise.
5007         (bug-regex32-ENV): Likewise.
5008         (bug-regex33-ENV): Likewise.
5009         (bug-regex34-ENV): Likewise.
5010         (bug-regex35-ENV): Likewise.
5011         (tst-rxspencer-ENV): Likewise.
5012         (tst-rxspencer-no-utf8-ENV): Likewise.
5013         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5014         (tst-sscanf-ENV): Likewise.
5015         (tst-swprintf-ENV): Likewise.
5016         (tst-swscanf-ENV): Likewise.
5017         (test-vfprintf-ENV): Likewise.
5018         (scanf13-ENV): Likewise.
5019         (bug14-ENV): Likewise.
5020         (tst-grouping-ENV): Likewise.
5021         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5022         (tst-strtod3-ENV): Likewise.
5023         (tst-strtod4-ENV): Likewise.
5024         (tst-strtod5-ENV): Likewise.
5025         (testmb2-ENV): Likewise./
5026         * string/Makefile (tst-strxfrm-ENV): Likewise.
5027         (tst-strxfrm2-ENV): Likewise.
5028         (bug-strcoll1-ENV): Likewise.
5029         (test-strcasecmp-ENV): Likewise.
5030         (test-strncasecmp-ENV): Likewise.
5031         * time/Makefile (tst-strptime-ENV): Likewise.
5032         (tst-ftime_l-ENV): Likewise.
5033         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5034         (tst-mbrtowc-ENV): Likewise.
5035         (tst-wcrtomb-ENV): Likewise.
5036         (tst-mbrtowc2-ENV): Likewise.
5037         (tst-c16c32-1-ENV): Likewise.
5038         (tst-mbsnrtowcs-ENV): Likewise.
5039
5040 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5041
5042         * manual/resource.texi (How to get information about the memory
5043         subsystem?): Fix typo.
5044         Reported by Peon de la Parra Ivan <peon@keba.com>
5045
5046 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5047
5048         [BZ #16882]
5049         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5050         (pthread_spin_lock): Branch out of spin loop to proper location.
5051         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5052         (pthread_spin_lock): Likewise.
5053
5054         * nptl/tst-spin4.c: New test.
5055         * nptl/Makefile (tests): Add tst-spin4.
5056
5057 2014-06-03  Andreas Schwab  <schwab@suse.de>
5058
5059         [BZ #15946]
5060         * resolv/res_send.c (send_dg): Reload file descriptor after
5061         calling reopen.
5062
5063 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5064
5065         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5066
5067 2014-06-03  Richard Henderson  <rth@redhat.com>
5068
5069         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5070         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5071         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5072         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5073         in the SAVE_PID block.
5074         (__libc_vfork): New alias.
5075         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5076
5077         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5078         child in registers, not on the stack.  Remove RESET_PID conditionals.
5079         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5080
5081 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5082
5083         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5084
5085 2014-06-03  Wilco  <wdijkstr@arm.com>
5086
5087         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5088         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5089         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5090         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5091         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5092         Likewise.
5093
5094 2014-06-03  Wilco  <wdijkstr@arm.com>
5095
5096         * sysdeps/aarch64/fpu/math_private.h
5097         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5098         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5099         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5100         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5101         Fix declarations.
5102
5103 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5104
5105         * crypt/crypt-private.h: Include ufc-crypt.h.
5106         (__b64_from_24bit): Declare extern.
5107         * crypt/crypt_util.c(__b64_from_24bit): New function.
5108         (b64t): New static const variable.
5109         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5110         (b64t): Remove variable.
5111         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5112         * crypt/sha256-crypt.c: Include crypt-private.h.
5113         (b64t): Remove variable.
5114         (__sha256_crypt_r): Remove b64_from_24bit and replace
5115         with __b64_from_24bit.
5116         * crypt/sha512-crypt.c: Likewise.
5117
5118 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5119
5120         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5121         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5122         Label the code __libc_vfork rather than __vfork.
5123         [!NOT_IN_libc] (vfork): Define as weak alias.
5124         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5125         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5126         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5127
5128 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5129
5130         * malloc/malloc.c (malloc_info): Fix format specifier for
5131         n_mmaps.
5132
5133 2014-06-02  Wilco  <wdijkstr@arm.com>
5134
5135         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5136         FPCR write.
5137
5138 2014-06-02  Wilco  <wdijkstr@arm.com>
5139
5140         [BZ #17009]
5141         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5142         Rewrite to reduce FPCR/FPSR accesses.
5143
5144 2014-06-01  David S. Miller  <davem@davemloft.net>
5145
5146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5147
5148 2014-05-31  David S. Miller  <davem@davemloft.net>
5149
5150         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5151         to occur in round to nearest mode when |x| >= 2.0
5152
5153 2014-05-30  Richard Henderson  <rth@twiddle.net>
5154
5155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5156         (PSEUDO_RET_NOERRNO): Remove.
5157         (ret): Don't redefine.
5158         (ret_NOERRNO): Define in terms of ret.
5159         (ret_ERRVAL): Likewise.
5160
5161         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5162         use of PSEUDO_RET; perform the error check directly.
5163
5164 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5165
5166         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5167         with __int128_t.
5168
5169 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5170
5171         * malloc/malloc (malloc_info): Fix formatting.
5172
5173 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5174             Roland McGrath  <roland@hack.frob.com>
5175
5176         * malloc/malloc (malloc_info): Also print mmapped statistics.
5177
5178 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5179
5180         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5181         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5182
5183 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5184
5185         * malloc/malloc.c (malloc_info): Inline mi_arena.
5186
5187 2014-05-29  Richard Henderson  <rth@twiddle.net>
5188
5189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5190         Remove comma before expanding ASM_ARGS_##nr.
5191         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5192         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5193         of ASM_ARGS_##nr.
5194         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5195         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5196         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5197         (ASM_ARGS_1): Add leading comma.
5198
5199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5200         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5201         to __errno_location.
5202         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5203         Remove the expected plt for __errno_location.
5204
5205         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5206         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5207         call to __read_tp.
5208
5209         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5210         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5211         it and break it down.
5212         (DOCARGS_0, DOCARGS_1): Do nothing.
5213         (DOCARGS_2): Update to store into the new stack frame.
5214         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5215         (UNDOCARGS_1): Update to restore from the new stack frame.
5216         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5217         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5218
5219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5220         (SINGLE_THREAD_P): New parameter for result regno.
5221         (PSEUDO): Update to match; use cbz instead of beq.
5222
5223         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5224         Use ENTRY to define the _nocancel entry point.  Share the syscall
5225         and syscall error check paths with the cancel path.
5226         (PSEUDO_END): New.
5227
5228         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5229         whitespace; tabs before and after asm mnemonics.
5230
5231 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5232
5233         [BZ #15132]
5234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5235         Call fstat64 or stat64 internally, depending on arguments passed.
5236         Replace stat buffer argument with file descriptor argument.
5237         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5238         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5239         Pass fd to __internal_statvfs instead of calling fstat64.
5240         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5241         Pass fd to __internal_statvfs64 instead of calling fstat64.
5242         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5243         Pass -1 to __internal_statvfs instead of calling stat64.
5244         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5245         Pass -1 to __internal_statvfs64 instead of calling stat64.
5246
5247 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5248
5249         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5250         that was previously under [RESET_PID].
5251         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5252
5253         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5254         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5255
5256 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5257
5258         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5259
5260         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5261         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5262
5263 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5264
5265         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5266
5267 2014-05-27  Andreas Schwab  <schwab@suse.de>
5268
5269         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5270         TLS_INIT_TP macro.
5271         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5272         * elf/rtld.c (init_tls, dl_main): Likewise.
5273         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5274         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5275         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5276         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5277         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5278         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5279         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5280         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5281         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5282         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5283         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5284         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5285         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5286         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5287         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5288         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5289         * sysdeps/generic/tls.h: Update description.
5290
5291 2014-05-27  Will Newton  <will.newton@linaro.org>
5292
5293         [BZ #16990]
5294         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5295         and restore r2 rather than just restoring.
5296
5297 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5298
5299         [BZ #16724]
5300         * libio/tst-ftell-append.c: New test case.
5301         * libio/Makefile (tests): Add test case.
5302         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5303         append mode.
5304         * libio/wfileops.c (do_ftell_wide): Likewise.
5305
5306 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5307
5308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5309
5310         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5311         ...
5312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5314         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5315         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5316         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5317         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5318         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5321         Moved ...
5322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5324         Moved ...
5325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5326         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5327         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5328         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5329         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5330         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5331         ...
5332         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5333         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5334         Moved ...
5335         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5336         here.
5337         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5338         ...
5339         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5340         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5341         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5342
5343         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5344         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5345         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5346         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5347
5348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5349         merge into ...
5350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5352         ...
5353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5354         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5355         ...
5356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5357         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5358         Moved ...
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5360         here.
5361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5362         Moved ...
5363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5365         Moved ...
5366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5367
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5369         conditional [RESET_PID].
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5372         removed.
5373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5374         removed.
5375
5376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5377         <tcb-offsets.h>.
5378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5379         (__libc_vfork): New strong alias.
5380         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5381         removed.
5382         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5383         Removed.
5384
5385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5386         <tcb-offsets.h>.
5387         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5388         (__libc_vfork): New strong alias.
5389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5390         removed.
5391         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5392         removed.
5393
5394 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5395
5396         * malloc/malloc.c (mi_arena): New function.
5397         (malloc_info): Remove nested function mi_arena. Call non-nosted
5398         function mi_arena.
5399
5400 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5401
5402         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5403         by insrwi.
5404         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5405         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5406         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5407         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5408         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5409         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5410         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5411
5412 2014-05-26  Andreas Schwab  <schwab@suse.de>
5413
5414         [BZ #16984]
5415         * locale/programs/repertoire.c (repertoire_read): Add slash
5416         between I18NPATH element and file name.
5417         * locale/programs/locfile.c (locfile_read): Likewise.
5418
5419 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5420
5421         * nptl/pthread_mutexattr_settype.c
5422         (__pthread_mutexattr_settype):
5423         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5424
5425 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5426
5427         * nptl/tst-mutex5 (do_test):
5428         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5429
5430 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5431
5432         * benchtests/README: Document 'init' directive.
5433         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5434         BENCH_INIT.
5435         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5436         (parse_file): Recognize 'init' directive.
5437
5438 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5439
5440         [BZ #16796]
5441         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5442         alignment of struct pthread.
5443
5444 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5445
5446         [BZ #16878]
5447         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5448         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5449         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5450         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5451
5452 2014-05-25  Richard Henderson  <rth@twiddle.net>
5453
5454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5455         (SINGLE_THREAD_P_PIC): Remove.
5456         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5457         (SINGLE_THREAD_P_PIC): Remove.
5458
5459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5460         branch to syscall error ...
5461         (PSEUDO): ... here.
5462         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5463         from __local_syscall_error to .Lsyscall_error.
5464         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5465         (SYSCALL_ERROR): Update label name.
5466
5467         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5468         Do not use DOARGS/UNDOARGS.
5469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5470         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5471         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5472         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5473         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5474
5475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5476         block comment.
5477
5478         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5479         define if !NOT_IN_libc.
5480         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5481         define with non-default symbol versions.
5482
5483 2014-05-23  Richard Henderson  <rth@twiddle.net>
5484
5485         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5486         (vfork, __vfork): Define via compat_symbol.
5487
5488         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5489         [!HAVE_IFUNC] (vfork_compat): Remove.
5490         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5491
5492 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5493
5494         [BZ #16978]
5495         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5496         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5497         variable.
5498
5499 2014-05-23  Richard Henderson  <rth@twiddle.net>
5500
5501         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5502         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5503         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5504         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5505
5506         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5507         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5508         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5509         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5510         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5511         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5512         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5513         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5514         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5515         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5516         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5517         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5518         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5519         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5520         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5521         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5522         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5523         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5524         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5525         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5526         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5527         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5528         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5529         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5530         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5531         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5532         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5533         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5534         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5535         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5536         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5537         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5538         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5539         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5540         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5541         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5542         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5543         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5544         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5545         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5546         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5547         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5548         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5549         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5550         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5551         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5552         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5553         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5554         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5555         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5556         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5557         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5559         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5561         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5562
5563         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5564         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5565         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5566         before exiting on error.
5567         (__libc_vfork): New strong alias.
5568         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5569         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5570
5571         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5572         that was previously under [RESET_PID].
5573         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5574
5575         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5576
5577 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5578
5579         [BZ #16977]
5580         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5581         value when x - 1 is zero.
5582         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5583         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5584         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5585         0.0L for an argument of 1.0L.
5586         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5587         Likewise.
5588         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5589         value when x - 1 is zero.
5590         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5591         * sysdeps/i386/fpu/libm-test-ulps: Update.
5592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593
5594 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5595
5596         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5597         alphasort and versionsort.
5598
5599 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5600
5601         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5602         macro.
5603         [copysignf]: Likewise.
5604
5605 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5606
5607         * crypt/md5-crypt.c: Fix formatting.
5608
5609 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5610
5611         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5612         (b64_from_24bit): New function.
5613
5614 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5615
5616         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5617         libc_hidden_builtin_def to ifunc.
5618         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5619         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5620
5621 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5622
5623         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5624         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5625
5626 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5627
5628         * nscd/Depend (linuxthreads): Remove.
5629         (nptl): Add.
5630         * resolv/Depend (linuxthreads): Remove.
5631         * rt/Depend (linuxthreads): Remove.
5632
5633         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5634         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5635         $(common-objpfx)elf/.
5636         (link-libc-before-gnulib): Likewise.
5637         (elfobjdir): Remove variable.
5638         * Makefile (install): Use $(elf-objpfx) instead of
5639         $(common-objpfx)elf/.
5640         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5641         $(elfobjdir)/.
5642         (link-libc-deps): Likewise.
5643         ($(common-objpfx)libc.so): Likewise.
5644         ($(common-objpfx)linkobj/libc.so): Likewise.
5645         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5646         instead of $(common-objpfx)elf/.
5647         (symbolic-link-list): Likewise.
5648         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5649         [$(cross-compiling) = no]: Likewise.
5650         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5651         $(elfobjdir)/.
5652         (static-gnulib-arch): Likewise.
5653         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5654         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5655         $(common-objpfx)elf/.
5656
5657 2014-05-21  Richard Henderson  <rth@redhat.com>
5658
5659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5660         (SINGLE_THREAD_P): Use the correct width load.  Fold
5661         into the ldr offset.
5662
5663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5664         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5665
5666 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5667
5668         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5669         (libgcc_s_resume): Use __attribute_used__.
5670         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5671         Likewise.
5672
5673 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5674
5675         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5676         optimization when used with float constants.
5677
5678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5679
5680 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5681
5682         [BZ #16915]
5683         * locale/nl_langinfo_l.c: Make direct reference to every
5684         _nl_current_CATEGORY symbol.
5685         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5686         (tests-static): Add tst-langinfo-static.
5687         (tests-special): Add tst-langinfo-static.out.
5688         ($(objpfx)tst-langinfo.out): Redirect output.
5689         ($(objpfx)tst-langinfo-static.out): New.
5690         * localedata/tst-langinfo.sh: Send output to stdout.
5691         * localedata/tst-langinfo-static.c: New file.
5692
5693         [BZ #16965]
5694         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5695         when the shift amount is modulo the limb size.
5696
5697 2014-05-20  Richard Henderson  <rth@redhat.com>
5698
5699         [BZ #16967]
5700         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5701         Change type of sa_flags from unsigned int to int.
5702
5703         [BZ #16966]
5704         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5705
5706         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5707
5708 2014-05-20  Will Newton  <will.newton@linaro.org>
5709
5710         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5711         Test the return value of the system call in the nocancel case.
5712
5713 2014-05-20  Will Newton  <will.newton@linaro.org>
5714             Yvan Roux  <yvan.roux@linaro.org>
5715
5716         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5717         #include of asm/ptrace.h.
5718         (PTRACE_GET_THREAD_AREA): Remove #undef.
5719         (PTRACE_GETHBPREGS): Likewise.
5720         (PTRACE_SETHBPREGS): Likewise.
5721         (struct user_regs_struct): New structure.
5722         (struct user_fpsimd_struct): New structure.
5723         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5724         #include of asm/ptrace.h and second #include of sys/user.h.
5725         (PTRACE_GET_THREAD_AREA): Remove #undef.
5726         (PTRACE_GETHBPREGS): Likewise.
5727         (PTRACE_SETHBPREGS): Likewise.
5728         (ELF_NGREG): Use new struct user_regs_struct.
5729         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5730
5731 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5732
5733         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5734         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5735
5736 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5737
5738         [BZ #16958]
5739         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5740         membar to avoid block loads/stores to overlap previous stores.
5741
5742 2014-05-17  Richard Henderson  <rth@redhat.com>
5743
5744         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5745         Create the __##syscall_name##_nocancel entry point.
5746         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5747         Remove; let the sysdep-cancel.h code create it.
5748
5749 2014-05-17  David S. Miller  <davem@davemloft.net>
5750
5751         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5752         Protect with __USE_GNU.
5753         (TIOCSET_TEMPT): Likewise.
5754         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5755         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5756         these are already provided in bits/ioctl-types.h
5757
5758 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5759
5760         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5761         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5762
5763         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5764         Use wait4 regardless of [__NR_waitpid].
5765
5766 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5767
5768         PR libgcc/60166
5769         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5770         (_FP_NANSIGN_Q): Set the quiet bit.
5771
5772 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5773
5774         * benchtests/Makefile
5775         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5776         not $(common-objpfx)math/libm.so.
5777         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5778         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5779         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5780         $(common-objpfx)dlfcn/libdl.so.
5781         ($(objpfx)tst-audit8): Depend on $(libm), not
5782         $(common-objpfx)math/libm.so.
5783         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5784         not $(common-objpfx)dlfcn/libdl.so.
5785         * math/Makefile
5786         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5787         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5788         [$(build-shared) = yes].
5789         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5790         $(common-objpfx)nptl/libpthread.so.
5791         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5792         $(common-objpfx)math/libm.so$(libm.so-version) or
5793         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5794         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5795         $(common-objpfx)dlfcn/libdl.so.
5796         * setjmp/Makefile (link-libm): Remove variable.
5797         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5798         * stdio-common/Makefile (link-libm): Remove variable.
5799         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5800         * stdlib/Makefile (link-libm): Remove variable.
5801         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5802         ($(objpfx)tst-strtod-round): Likewise.
5803         ($(objpfx)tst-tininess): Likewise.
5804         ($(objpfx)tst-strtod-underflow): Likewise.
5805         ($(objpfx)tst-strtod6): Likewise.
5806         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5807         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5808         $(common-objpfx)dlfcn/libdl.so.
5809
5810 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5811
5812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5813         BSD terminal modes definitions.
5814
5815 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5816
5817         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5818         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5819
5820         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5821         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5822         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5823         Don't do #include_next.
5824         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5825         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5826         Don't do #include_next.
5827         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5828         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5829         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5830         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5831
5832 2014-05-16  Allan McRae  <allan@archlinux.org>
5833
5834         * po/sv.po: Update Swedish translation from translation project.
5835
5836         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5837         in sed expression.
5838
5839 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5840
5841         [BZ #16917]
5842         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5843         errno if the TIOCGPTN ioctl fails with an error different than
5844         EINVAL.
5845         * login/tst-ptsname.c: New file.
5846         * login/Makefile (tests): Add tst-ptsname.
5847
5848         [BZ #16943]
5849         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5850         and prlimit64.
5851
5852 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5853
5854         [BZ #16849]
5855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5856         herrno to return EAI_AGAIN.
5857
5858 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5859
5860         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5861         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5862         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5863         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5864         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5865         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5866         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5867         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5869         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5870         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5871         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5872         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5873         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5874         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5875         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5876         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5877         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5878         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5879         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5880         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5881         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5882         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5883         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5884         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5885         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5886         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5887         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5888         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5889         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5891         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5893         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5895         Moved ...
5896         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5898         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5900         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5902         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5904         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5906         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5908         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5910         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5912         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5914         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5916         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5918         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5920         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5922         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5924         Moved ...
5925         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5926         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5927         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5928         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5929         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5930         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5931         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5933         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5935         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5937         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5939         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5941         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5943         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5945         Moved ...
5946         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5948         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5949
5950         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5951         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5952         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5953         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5954         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5956         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5958         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5960         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5962         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5964         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5966         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5968         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5970         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5972         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5974         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5976         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5978         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5980         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5981
5982         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5983         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5984
5985         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5986         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5987         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5988         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5989         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5990         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5991         Moved ...
5992         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5994         Moved ...
5995         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5996         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5997         Moved ...
5998         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5999         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6000         Moved ...
6001         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6002         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6003         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6004         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6005         Moved ...
6006         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6007         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6008         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6010         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6011         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6012         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6013         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6014         Moved ...
6015         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6016         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6017         Moved ...
6018         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6019         ... here.
6020         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6021         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6022         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6023         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6024         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6025         Moved ...
6026         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6027         ... here.
6028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6029         Moved ...
6030         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6032         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6034         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6036         Moved ...
6037         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6038         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6039         Moved ...
6040         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6042         Moved ...
6043         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6044         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6045         Moved ...
6046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6047         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6048         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6049         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6050         Moved ...
6051         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6052         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6053         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6056         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6057         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6058         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6059         Moved ...
6060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6061         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6062         Moved ...
6063         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6064         ... here.
6065         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6066         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6067         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6068         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6069         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6070         Moved ...
6071         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6072         ... here.
6073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6074         Moved ...
6075         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6077         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6078         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6079         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6080         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6081         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6082         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6083         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6084         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6085         Moved ...
6086         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6088         Moved ...
6089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6091         Moved ...
6092         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6093         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6094         Moved ...
6095         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6096         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6097         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6099         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6100         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6101         Moved ...
6102         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6103         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6104         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6105         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6106         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6107         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6108         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6109         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6110         Moved ...
6111         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6112         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6113         Moved ...
6114         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6115         ... here.
6116         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6117         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6118         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6119         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6120         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6121         Moved ...
6122         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6123         ... here.
6124         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6125         Moved ...
6126         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6127         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6128         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6129         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6130         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6131         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6132         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6134         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6135         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6136         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6137
6138         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6139         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6140
6141         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6142         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6143
6144         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6145         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6146         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6147         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6148         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6149         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6150         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6151         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6152         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6153         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6154         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6155         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6156         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6157         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6158         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6160         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6162         Moved ...
6163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6165         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6167         Moved ...
6168         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6170         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6172         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6173         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6174         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6175         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6176         Moved ...
6177         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6178         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6179         Moved ...
6180         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6182         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6186         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6187         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6188         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6189         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6190         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6191         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6192         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6193         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6194         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6195         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6196         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6197
6198         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6199         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6200         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6201         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6202         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6203
6204         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6205         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6206         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6207         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6208         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6209         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6210         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6211         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6212         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6213         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6214
6215         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6216         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6217
6218         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6219         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6220         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6221         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6222         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6223         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6224         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6225         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6226         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6227         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6228         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6229         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6230         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6231         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6232         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6233         Update #include.
6234         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6235         Likewise.
6236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6237         Likewise.
6238         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6239         Likewise.
6240         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6241         Likewise.
6242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6243         Likewise.
6244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6245         Likewise.
6246         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6247         Likewise.
6248         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6249         Likewise.
6250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6251         Likewise.
6252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6259         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6260         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6261         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6264         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6266         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6267
6268         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6269         that was previously under [RESET_PID].
6270         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6271         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6272         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6273
6274         * sysdeps/i386/nptl/Implies: New file.
6275         * sysdeps/x86_64/nptl/Implies: New file.
6276         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6277         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6279         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6280
6281         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6282         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6283         (__libc_vfork): New strong alias.
6284         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6285         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6286
6287         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6288         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6289         (__libc_vfork): New strong alias.
6290         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6291         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6292
6293         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6294         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6295         (__libc_vfork): New strong alias.
6296         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6297         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6298         * nptl/pt-vfork.c: New file.
6299         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6300         (libpthread: GLIBC_2.20): New version set (empty).
6301
6302 2014-05-14  Will Newton  <will.newton@linaro.org>
6303
6304         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6305         rather than #if.
6306
6307 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6308
6309         [BZ #16564]
6310         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6311         arguments with exponent 65 or above.
6312         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6313         arguments 0x1p113L or above.
6314         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6315         to arguments 0x1p107L or above.
6316         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6317         positive arguments with exponent 65 or above.
6318         * math/auto-libm-test-in: Add more tests of log1p.
6319         * math/auto-libm-test-out: Regenerated.
6320
6321         [BZ #16928]
6322         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6323         non-finite arguments is +0.
6324         * math/s_cacosf.c (__cacosf): Likewise.
6325         * math/s_cacosl.c (__cacosl): Likewise.
6326         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6327         * sysdeps/i386/fpu/libm-test-ulps: Update.
6328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6329
6330         [BZ #16927]
6331         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6332         value.
6333         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6334         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6335         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6336         for explicit high bit of mantissa when testing for argument equal
6337         to 1.
6338         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6339         * sysdeps/i386/fpu/libm-test-ulps: Update.
6340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6341
6342         [BZ #16516]
6343         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6344         (__erf): Scale by 16 instead of 8 in potentially underflowing
6345         case.  Ensure exception if result actually underflows.
6346         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6347         (__erff): Scale by 16 instead of 8 in potentially underflowing
6348         case.  Ensure exception if result actually underflows.
6349         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6350         (efx8): Remove variable.
6351         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6352         case.  Ensure exception if result actually underflows.
6353         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6354         (efx8): Remove variable.
6355         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6356         case.  Ensure exception if result actually underflows.
6357         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6358         (efx8): Remove variable.
6359         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6360         case.  Ensure exception if result actually underflows.
6361         * math/auto-libm-test-in: Add more tests of erf.
6362         * math/auto-libm-test-out: Regenerated.
6363
6364 2014-05-14  Andreas Schwab  <schwab@suse.de>
6365
6366         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6367         Remove code conditionalized on USE___THREAD.
6368
6369         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6370         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6371         not definedness.
6372
6373 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6374
6375         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6376         Define unconditionally.
6377         (__ASSUME_O_CLOEXEC): Likewise.
6378         (__ASSUME_SOCK_CLOEXEC): Likewise.
6379         (__ASSUME_IN_NONBLOCK): Likewise.
6380         (__ASSUME_PIPE2): Likewise.
6381         (__ASSUME_EVENTFD2): Likewise.
6382         (__ASSUME_SIGNALFD4): Likewise.
6383         (__ASSUME_DUP3): Likewise.
6384         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6385         (__ASSUME_DUP3): Do not define.
6386         (__ASSUME_EVENTFD2): Likewise.
6387         (__ASSUME_IN_NONBLOCK): Likewise.
6388         (__ASSUME_O_CLOEXEC): Likewise.
6389         (__ASSUME_PIPE2): Likewise.
6390         (__ASSUME_SIGNALFD4): Likewise.
6391         (__ASSUME_SOCK_CLOEXEC): Likewise.
6392         (__ASSUME_UTIMES): Undefine.
6393         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6394         (__ASSUME_UTIMES): Do not define.
6395         (__ASSUME_O_CLOEXEC): Likewise.
6396         (__ASSUME_SOCK_CLOEXEC): Likewise.
6397         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6398         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6399         0x020621].
6400         (__ASSUME_PIPE2): Likewise.
6401         (__ASSUME_EVENTFD2): Likewise.
6402         (__ASSUME_SIGNALFD4): Likewise.
6403         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6404         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6405         Do not define.
6406         (__ASSUME_EVENTFD2): Likewise.
6407         (__ASSUME_SIGNALFD4): Likewise.
6408         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6409         (__ASSUME_32BITUIDS): Likewise.
6410         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6411         (__ASSUME_IPC64): Likewise.
6412         (__ASSUME_ST_INO_64_BIT): Likewise.
6413         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6414         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6416         (__ASSUME_UTIMES): Do not define.
6417         (__ASSUME_PSELECT): Likewise.
6418         (__ASSUME_PPOLL): Likewise.
6419         (__ASSUME_O_CLOEXEC): Likewise.
6420         (__ASSUME_SOCK_CLOEXEC): Likewise.
6421         (__ASSUME_IN_NONBLOCK): Likewise.
6422         (__ASSUME_PIPE2): Likewise.
6423         (__ASSUME_EVENTFD2): Likewise.
6424         (__ASSUME_SIGNALFD4): Likewise.
6425         (__ASSUME_DUP3): Likewise.
6426         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6427         (__ASSUME_UTIMES): Likewise.
6428         (__ASSUME_O_CLOEXEC): Likewise.
6429         (__ASSUME_SOCK_CLOEXEC): Likewise.
6430         (__ASSUME_IN_NONBLOCK): Likewise.
6431         (__ASSUME_PIPE2): Likewise.
6432         (__ASSUME_EVENTFD2): Likewise.
6433         (__ASSUME_SIGNALFD4): Likewise.
6434         (__ASSUME_DUP3): Likewise.
6435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6436         (__ASSUME_UTIMES): Likewise.
6437         (__ASSUME_O_CLOEXEC): Likewise.
6438         (__ASSUME_SOCK_CLOEXEC): Likewise.
6439         (__ASSUME_IN_NONBLOCK): Likewise.
6440         (__ASSUME_PIPE2): Likewise.
6441         (__ASSUME_EVENTFD2): Likewise.
6442         (__ASSUME_SIGNALFD4): Likewise.
6443         (__ASSUME_DUP3): Likewise.
6444         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6445         Likewise.
6446         (__ASSUME_UTIMES): Likewise.
6447         (__ASSUME_EVENTFD2): Likewise.
6448         (__ASSUME_SIGNALFD4): Likewise.
6449         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6450         (__ASSUME_O_CLOEXEC): Likewise.
6451         (__ASSUME_SOCK_CLOEXEC): Likewise.
6452         (__ASSUME_IN_NONBLOCK): Likewise.
6453         (__ASSUME_PIPE2): Likewise.
6454         (__ASSUME_EVENTFD2): Likewise.
6455         (__ASSUME_SIGNALFD4): Likewise.
6456         (__ASSUME_DUP3): Likewise.
6457         (__ASSUME_UTIMES): Undefine.
6458
6459         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6460         feclearexcept.  Remove symbol versioning code.
6461         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6462         symbol versioning code.
6463         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6464         symbol versioning code.
6465         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6466         feupdateenv.  Remove symbol versioning code.
6467         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6468         fegetexceptflag.  Remove symbol versioning code.
6469         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6470         fesetexceptflag.  Remove symbol versioning code.
6471         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6472         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6473         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6474         (__posix_fadvise64_l32): Remove prototype.
6475         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6476         code.
6477
6478 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6479
6480         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6481         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6482         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6483         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6484
6485 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6486
6487         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6488         current working directory
6489
6490 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6491
6492         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6493         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6494         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6495         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6496         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6497         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6498         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6499         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6500         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6503         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6504         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6505         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6509         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6511         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6515         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6517         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6518         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6519         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6525         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6526         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6527         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6528         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6529         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6530         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6531         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6532         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6533         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6534
6535         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6536         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6537
6538         * sysdeps/unix/sysv/linux/arm/Makefile
6539         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6540         Add rt-aeabi_unwind_cpp_pr1.
6541         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6542         Add nptl-aeabi_unwind_cpp_pr1.
6543         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6544         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6545         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6546         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6547         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6548         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6549
6550         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6551         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6552         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6553         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6554
6555         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6556         Deconditionalize the code that was previously under [RESET_PID].
6557         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6558
6559         * sysdeps/generic/exit-thread.h: New file.
6560         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6561         * include/unistd.h (__exit_thread): Remove declaration.
6562         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6563         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6564         * csu/libc-start.c: Include <exit-thread.h>.
6565         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6566         * nptl/pthread_create.c: Include <exit-thread.h>.
6567         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6568         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6569         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6570         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6571         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6572         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6573         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6574         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6575         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6576         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6577         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6578         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6579         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6580         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6581         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6582         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6583         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6584
6585 2014-05-13  Andreas Schwab  <schwab@suse.de>
6586
6587         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6588
6589 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6590
6591         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6592         (__ASSUME_UTIMES): Do not condition on kernel version.
6593         (__ASSUME_PSELECT): Define unconditionally.
6594         (__ASSUME_PPOLL): Likewise.
6595         (__ASSUME_ATFCTS): Likewise.
6596         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6597         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6598         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6599         (__ASSUME_UTIMENSAT): Define unconditionally.
6600         (__ASSUME_PRIVATE_FUTEX): Likewise.
6601         (__ASSUME_FALLOCATE): Likewise.
6602         (__ASSUME_O_CLOEXEC): Likewise.
6603         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6604         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6605         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6606         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6607         (__ASSUME_IN_NONBLOCK): Likewise.
6608         (__ASSUME_PIPE2): Likewise.
6609         (__ASSUME_EVENTFD2): Likewise.
6610         (__ASSUME_SIGNALFD4): Likewise.
6611         (__ASSUME_DUP3): Likewise.
6612         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6613         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6614         (__ASSUME_AT_RANDOM): Likewise.
6615         (__ASSUME_PREADV): Likewise.
6616         (__ASSUME_PWRITEV): Likewise.
6617         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6618         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6619         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6620         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6621         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6623         (__ASSUME_O_CLOEXEC): Define unconditionally.
6624         (__ASSUME_PSELECT): Do not undefine conditionally.
6625         (__ASSUME_PPOLL): Likewise.
6626         (__ASSUME_ATFCTS): Likewise.
6627         (__ASSUME_SET_ROBUST_LIST): Likewise.
6628         (__ASSUME_UTIMENSAT): Likewise.
6629         (__ASSUME_FDATASYNC): Define unconditionally.
6630         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6631         (__ASSUME_SIGFRAME_V2): Likewise.
6632         )__ASSUME_EVENTFD2): Likewise.
6633         (__ASSUME_SIGNALFD4): Likewise.
6634         (__ASSUME_PSELECT): Do not undefine conditionally.
6635         (__ASSUME_PPOLL): Likewise.
6636         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6637         (__ASSUME_PSELECT): Define unconditionally.
6638         (__ASSUME_PPOLL): Likewise.
6639         (__ASSUME_O_CLOEXEC): Likewise.
6640         (__ASSUME_SOCK_CLOEXEC): Likewise.
6641         (__ASSUME_IN_NONBLOCK): Likewise.
6642         (__ASSUME_PIPE2): Likewise.
6643         (__ASSUME_EVENTFD2): Likewise.
6644         (__ASSUME_SIGNALFD4): Likewise.
6645         (__ASSUME_DUP3): Likewise.
6646         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6647         (__ASSUME_O_CLOEXEC): Likewise.
6648         (__ASSUME_SOCK_CLOEXEC): Likewise.
6649         (__ASSUME_IN_NONBLOCK): Likewise.
6650         (__ASSUME_PIPE2): Likewise.
6651         (__ASSUME_EVENTFD2): Likewise.
6652         (__ASSUME_SIGNALFD4): Likewise.
6653         (__ASSUME_DUP3): Likewise.
6654         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6655         (__ASSUME_EVENTFD2): Likewise.
6656         (__ASSUME_SIGNALFD4): Likewise.
6657         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6658
6659 2014-05-12  Andreas Schwab  <schwab@suse.de>
6660
6661         [BZ #16932]
6662         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6663         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6664         than maximum RPC packet size.
6665         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6666         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6667         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6668         (_nss_nis_getservbyport_r): Likewise.
6669
6670 2014-05-12  Will Newton  <will.newton@linaro.org>
6671
6672         * malloc/Makefile (tests): Add tst-mallopt.
6673         * malloc/tst-mallopt.c: New file.
6674
6675 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6676
6677         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6678         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6679
6680 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6681
6682         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6683         (tst-tlsmod6.so): Likewise.
6684
6685 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6686
6687         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6688
6689 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6690
6691         [BZ #16064]
6692         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6693         and <dl-procinfo.h>.
6694         (__fegetenv): Save SSE state in envp->__eip if supported.
6695         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6696         envp->__eip if supported.
6697         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6698         and <dl-procinfo.h>.
6699         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6700         __data_offset and __data_selector in environment to 0.  Set SSE
6701         state if supported.
6702         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6703         test-fenv-sse.
6704         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6705         -mfpmath=sse.
6706         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6707
6708 2014-05-09  Will Newton  <will.newton@linaro.org>
6709
6710         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6711         and libc_relro_required for ARM.
6712         * sysdeps/arm/preconfigure: Regenerate.
6713
6714 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6715             Stefan Liebler  <stli@linux.vnet.ibm.com>
6716
6717         * config.make.in (enable-lock-elision): New Makefile variable.
6718         * configure.ac: Likewise.
6719         * configure: Regenerate.
6720         * sysdeps/s390/configure.ac:
6721         Add check for gcc transactions support.
6722         * sysdeps/s390/configure: Regenerate.
6723         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6724         Build elision files if enabled.
6725         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6726         Add lock elision support for s390.
6727         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6728         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6729         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6730         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6731         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6732         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6733         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6734         Likewise.
6735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6736         Likewise.
6737         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6738         Likewise.
6739         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6740         Likewise.
6741         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6742         (__lll_timedlock_elision, __lll_lock_elision)
6743         (__lll_unlock_elision, __lll_trylock_elision)
6744         (lll_timedlock_elision, lll_lock_elision)
6745         (lll_unlock_elision, lll_trylock_elision): Add.
6746         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6747         (pthread_mutex_t): Add lock elision support for s390.
6748
6749 2014-05-14  Wilco  <wdijkstr@arm.com>
6750
6751         * sysdeps/arm/fclrexcpt.c: Cleanup.
6752         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6753         * sysdeps/arm/feenablxcpt.c: Cleanup.
6754         * sysdeps/arm/fegetenv.c: Cleanup.
6755         * sysdeps/arm/fegetexcept.c: Cleanup.
6756         * sysdeps/arm/fegetround.c: Cleanup.
6757         * sysdeps/arm/feholdexcpt.c: Cleanup.
6758         * sysdeps/arm/fesetenv.c: Cleanup.
6759         * sysdeps/arm/fesetround.c: Cleanup.
6760         * sysdeps/arm/feupdateenv.c: Cleanup.
6761         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6762         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6763         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6764         * sysdeps/arm/ftestexcept.c: Cleanup.
6765         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6766         * sysdeps/arm/setfpucw.c: Cleanup.
6767
6768 2014-05-09  Will Newton  <will.newton@linaro.org>
6769
6770         * sysdeps/arm/armv7/strcmp.S: New file.
6771         * NEWS: Mention addition of ARMv7 optimized strcmp.
6772
6773 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6774
6775         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6776         look for %.ac rather than %.in.
6777
6778         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6779         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6780         * sysdeps/mach/hurd/configure: Regenerated.
6781         * sysdeps/unix/sysv/linux/configure: Regenerated.
6782
6783         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6784
6785 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6786
6787         [BZ# 16922]
6788         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6789         (LONG_SUB): Ditto.
6790         (PTR_SUB): Ditto.
6791
6792 2014-05-07  Andreas Schwab  <schwab@suse.de>
6793
6794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6795         when skipping over non-matching result from nscd.
6796
6797 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6798
6799         [BZ #16876]
6800         * nptl/sockperf.c (client): Check socket return value.
6801
6802         [BZ #16877]
6803         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6804         nscd security class.
6805
6806 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6807
6808         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6809         * sysdeps/arm/unwind.h: ... here.
6810
6811 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6812
6813         [BZ# 16916]
6814         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6815         Define.
6816
6817 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6818
6819         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6820         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6821         multiarch strncpy for PPC64.
6822         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6823         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6825         multiarch optimizations.
6826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6827         (__libc_ifunc_impl_list): Likewise.
6828         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6829         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6830         multiarch stpncpy for PPC64.
6831         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6833
6834 2014-05-06  Andreas Schwab  <schwab@suse.de>
6835
6836         [BZ #16912]
6837         * gmon/mcount.c (_MCOUNT_DECL): Use
6838         atomic_compare_and_exchange_bool_acq instead of
6839         catomic_compare_and_exchange_bool_acq.
6840
6841 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6842
6843         * elf/Makefile (others, install-bin): Remove pldd.
6844         (pldd-modules): Variable removed.
6845         ($(objpfx)pldd): Target removed.
6846         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6847         (others, install-bin): Append pldd here.
6848         ($(objpfx)pldd): New target.
6849
6850         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6851         to 0, so the first #if test emitted later doesn't see it undefined.
6852         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6853         * sysdeps/gnu/errlist.c: Regenerated.
6854
6855 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6856
6857         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6858         [libc_hidden_builtin_def]: Define to empty value.
6859         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6860         [libc_hidden_builtin_def]: Likewise.
6861         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6862         [libc_hidden_builtin_def]: Likewise.
6863         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6864         [libc_hidden_builtin_def]: Likewise.
6865         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6866         __redirect_memcpy and define ifunc as default hidden symbol.
6867         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6868         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6869
6870 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6871
6872         * locale/iso-4217.def: Reintroduce XDR currency.
6873
6874 2014-05-04  Allan McRae  <allan@archlinux.org>
6875
6876         * po/eo.po: Update Esperanto translation from translation project.
6877
6878 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6879
6880         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6881         and FEATURE_INDEX_MAX to 1.
6882         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6883
6884 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6885
6886         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6887         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6888         * iconvdata/big5.c (ONE_DIRECTION): Define.
6889         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6890         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6891         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6892         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6893         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6894         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6895         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6896         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6897         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6898         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6899         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6900         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6901         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6902         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6903         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6904         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6905         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6906         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6907         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6908         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6909         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6910         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6911         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6912         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6913         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6914         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6915         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6916         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6917         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6918         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6919         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6920         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6921         * iconvdata/johab.c (ONE_DIRECTION): Define.
6922         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6923         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6924         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6925         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6926         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6927         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6928         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6929         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6930         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6931         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6932
6933 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6934
6935         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6936         (_IO_JUMPS_OFFSET): Define to 0.
6937
6938         * nptl/sysdeps/pthread/bits/libc-lock.h
6939         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6940         (__libc_lock_define_initialized_recursive): Always define using
6941         initializer.  Modern compilers treat uninitialized (implicit zero) and
6942         explicit zero initializers the same (i.e. put the datum in bss).
6943
6944 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6945
6946         * nscd/nscd-client.h: Include <string.h>.
6947
6948 2014-05-01  David S. Miller  <davem@davemloft.net>
6949
6950         [BZ #16885]
6951         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6952         multiple zero bytes exist at the end of a string.
6953         Reported by Aurelien Jarno <aurelien@aurel32.net>
6954
6955         * string/test-strcmp.c (check): Add explicit test for situations where
6956         there are multiple zero bytes after the first.
6957
6958 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6959
6960         [BZ #16890]
6961         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6962         when compiling wprintf.
6963         * stdio-common/tstdiomisc.c (t3): New function.
6964         (main): Call it.
6965
6966 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6967
6968         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6969         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6970         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6971         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6972
6973 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6974
6975         * stdlib/longlong.h: Updated from GCC.
6976
6977 2014-05-01  Will Newton  <will.newton@linaro.org>
6978             Bernard Ogden  <bernie.ogden@linaro.org>
6979
6980         * NEWS: Update fixed bug list.
6981
6982         [BZ #15119]
6983         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6984
6985 2014-04-30  David S. Miller  <davem@davemloft.net>
6986
6987         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6988         (libc_feholdexcept_setround_sparc_ctx): New function.
6989         (libc_fesetenv_sparc_ctx): Likewise.
6990         (libc_feupdateenv_sparc_ctx): Likewise.
6991         (libc_feholdsetround_sparc_ctx): Likewise.
6992         (libc_feholdexcept_setround_ctx): Define.
6993         (libc_feholdexcept_setroundf_ctx): Likewise.
6994         (libc_feholdexcept_setroundl_ctx): Likewise.
6995         (libc_fesetenv_ctx): Likewise.
6996         (libc_fesetenvf_ctx): Likewise.
6997         (libc_fesetenvl_ctx): Likewise.
6998         (libc_feupdateenv_ctx): Likewise.
6999         (libc_feupdateenvf_ctx): Likewise.
7000         (libc_feupdateenvl_ctx): Likewise.
7001         (libc_feresetround_ctx): Likewise.
7002         (libc_feresetroundf_ctx): Likewise.
7003         (libc_feresetroundl_ctx): Likewise.
7004         (libc_feholdsetround_ctx): Likewise.
7005         (libc_feholdsetroundf_ctx): Likewise.
7006         (libc_feholdsetroundl_ctx): Likewise.
7007
7008         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7009         with __USE_GNU instead of XOPEN cpp guards.
7010
7011         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7012         0.
7013
7014         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7015         with XOPEN cpp guards.
7016
7017 2014-04-30  Julian Brown  <julian@codesourcery.com>
7018
7019         [BZ #16888]
7020         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7021         handling.
7022
7023 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7024
7025         [BZ #9894]
7026         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7027         Change to 2.6.32.
7028         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7029         * sysdeps/unix/sysv/linux/configure: Regenerated.
7030         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7031         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7032         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7033         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7034         * README: Update reference to required Linux kernel version.
7035         * manual/install.texi (Linux): Update reference to required Linux
7036         kernel headers version.
7037         * INSTALL: Regenerated.
7038
7039         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7040         header inclusion.
7041         [POSIX] (limits.h): Likewise.
7042         [POSIX] (math.h): Likewise.
7043         [POSIX] (sys/wait.h): Likewise.
7044         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7045         function.
7046         [POSIX] (stddef.h): Do not allow header inclusion.
7047
7048 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7049
7050         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7051
7052 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7053
7054         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7055         Return immediately after lll_futex_wake.
7056
7057 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7058
7059         [BZ #16791]
7060         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7061         structure.
7062         (datahead_init_pos): Call datahead_init_common early.
7063         (datahead_init_neg): Likewise.
7064
7065         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7066         datahead_init_neg): New functions.
7067         * nscd/aicache.c (addhstaiX): Use them.
7068         * nscd/grpcache.c (cache_addgr): Likewise.
7069         * nscd/hstcache.c (cache_addhst): Likewise.
7070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7071         * nscd/netgroupcache.c (do_notfound): Likewise.
7072         (addgetnetgrentX): Likewise.
7073         (addinnetgrX): Likewise.
7074         * nscd/pwdcache.c (cache_addpw): Likewise.
7075         * nscd/servicescache.c (cache_addserv): Likewise.
7076
7077 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7078             Atsushi Onoe  <atsushi@onoe.org>
7079
7080         [BZ #14308]
7081         [BZ #12994]
7082         [BZ #13651]
7083         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7084         one response is valid.
7085         * resolv/res_send.c (send_dg): Check for validity of other
7086         response if the current response is a referral.
7087
7088 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7089
7090         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7091
7092 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7093
7094         [BZ #16823]
7095         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7096         Always divide by positive zero when computing -Inf result.
7097         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7098         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7099
7100 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7101
7102         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7103         FPSCR if value do not change.
7104         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7105         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7106         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7107         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7108         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7109         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7110         function.
7111
7112 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7113
7114         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7115         * sysdeps/unix/sysv/linux/hppa: Move directory from
7116         ports/systeps/unix/sysv/linux/hppa.
7117         * README: Update listing for hppa-*-linux-gnu.
7118
7119 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7120
7121         [BZ #16754]
7122         * manual/stdio.texi (Hook functions): Fix types of stream hook
7123         functions.
7124         [BZ #16854]
7125         * socket/sys/socket.h: Fix typo in comment.
7126
7127 2014-04-28  Wilco  <wdijkstr@arm.com>
7128
7129         * sysdeps/arm/fenv_private.h: New file.
7130         * sysdeps/arm/math_private.h: New file.
7131         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7132
7133 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7134
7135         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7136         with __int128_t.
7137         (La_x86_64_retval): Likewise.
7138
7139 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7140
7141         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7142         fpsr if value didn't change.
7143         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7144         to fpcr if value didn't change.
7145         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7146         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7147         fpsr or fpcr if value didn't change.
7148         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7149         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7150         fpcr if value didn't change.
7151         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7152         to fpsr if value didn't change.
7153
7154 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7155
7156         * nptl/tst-sem3.c: Use test-skeleton.c
7157         (main): Rename to do_test.  Use return instead of
7158         exit.
7159         * nptl/tst-sem4.c: Use test-skeleton.c
7160         (main): Rename to do_test.
7161
7162 2014-04-22  David S. Miller  <davem@davemloft.net>
7163
7164         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7165         (struct sigaction): New struct member __glibc_reserved0, change
7166         type of sa_flags to int.
7167
7168 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7169
7170         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7171         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7172
7173 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7174
7175         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7176         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7177
7178 2014-04-22  Will Newton  <will.newton@linaro.org>
7179             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7180
7181         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7182         (__longjmp): Add longjmp and longjmp_target SystemTap
7183         probes.
7184         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7185         (__sigsetjmp): Add setjmp SystemTap probe.
7186
7187 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7188
7189         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7190         match manual order.
7191
7192 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7193
7194         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7195
7196         * sysdeps/powerpc/fpu/fenv_private.h
7197         (libc_feholdexcept_setroundl_ctx): Define to
7198         libc_feholdexcept_setround_ppc_ctx.
7199         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7200         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7201         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7202         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7203
7204 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7205
7206         * sysdeps/aarch64/math-tests.h: New file.
7207
7208 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7209
7210         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7211         New.
7212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7213         Check and set bit_AVX2_Usable.
7214         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7215         macro.
7216         (bit_AVX2): Likewise.
7217         (index_AVX2_Usable): Likewise.
7218         (CPUID_AVX2): Likewise.
7219         (HAS_AVX2): Likewise.
7220
7221 2014-04-17  Will Newton  <will.newton@linaro.org>
7222
7223         * manual/setjmp.texi (System V contexts): Add note that
7224         calling setcontext on a context created by a call to a
7225         signal handler is undefined.  Update text to note that
7226         setcontext from a signal handler is possible but not
7227         recommended.
7228
7229         [BZ #16629]
7230         * stdlib/tst-setcontext.c: Include signal.h.
7231         (main): Check that the signal stack before and
7232         after swapcontext is the same.
7233
7234         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7235         Re-implement to restore registers in user code and avoid
7236         rt_sigreturn system call.
7237
7238 2014-04-17  Wilco  <wdijkstr@arm.com>
7239
7240         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7241         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7242         * math/test-fenv.c: Skip exception trap tests on targets which only
7243         support non-stop mode.
7244
7245 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7246             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7247
7248         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7249         (libc_feholdsetround_aarch64_ctx)
7250         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7251         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7252         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7253         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7254         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7255         (libc_feresetround_noexl_ctx): Define.
7256
7257 2014-04-16  Richard Henderson  <rth@redhat.com>
7258
7259         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7260
7261         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7262         unwind tables.
7263
7264         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7265         const from the non-libc, non-ldso copy.
7266
7267         * sysdeps/alpha/libm-test-ulps: Regenerate.
7268
7269 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7270             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7271
7272         * sysdeps/aarch64/fpu/math_private.h: New file.
7273
7274 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7275
7276         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7277
7278 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7279
7280         [BZ #16275]
7281         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7282         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7284         Intel MPX bound registers before _dl_profile_fixup.
7285         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7286         registers after _dl_profile_fixup.  Save and restore bound
7287         registers bnd0/bnd1 when calling _dl_call_pltexit.
7288         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7289         (LR_BND_OFFSET): Likewise.
7290         (LRV_BND0_OFFSET): Likewise.
7291         (LRV_BND1_OFFSET): Likewise.
7292
7293 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7294
7295         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7296         to...
7297         * sysdeps/mach/hurd/i386/tls.h: ... here.
7298         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7299         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7300         fields.
7301
7302 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7303
7304         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7305
7306 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7307
7308         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7309
7310 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7311
7312         [BZ #14770]
7313         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7314         * sysdeps/s390/configure: Regenerate.
7315
7316         [BZ #16824]
7317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7318         Set round-to-nearest internally to reduce error accumulation.
7319
7320 2014-04-16  Alan Modra  <amodra@gmail.com>
7321
7322         [BZ #16740]
7323         [BZ #16619]
7324         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7325         * math/libm-test.inc (frexp_test_data): Add tests.
7326         * NEWS: Update fixed bug list.
7327
7328 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7329
7330         * benchtests/Makefile: Depend on libraries in build directory.
7331         (bench-math): Separate out math tests.
7332         (bench-pthread): Separate out pthread tests.
7333         (bench): Include math and pthread tests.
7334
7335 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7336
7337         [BZ #16831]
7338         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7339         _dl_debug_initialize.
7340
7341         * configure.ac: Remove SELinux header check.
7342         * configure: Regenerate.
7343         * nscd/selinux.c (perms): Array of const char* to permission names.
7344         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7345         default policy. Call string_to_security_class and string_to_av_perm to
7346         translate strings. Enforce default policy and call avs_has_perm with
7347         results of translated strings.
7348
7349 2014-04-13  David S. Miller  <davem@davemloft.net>
7350
7351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7352
7353 2014-04-12  Allan McRae  <allan@archlinux.org>
7354
7355         [BZ #16838]
7356         * manual/string.texi (Collation Functions): Fix qsort argument
7357         order in example.
7358         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7359
7360 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7361
7362         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7363         Make the test a no-op if there are no exceptions defined.
7364
7365 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7366
7367         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7368         enable-hardcoded-path-in-tests
7369
7370 2014-04-11  Will Newton  <will.newton@linaro.org>
7371
7372         * benchtests/Makefile (extra-objs): Add json-lib.o.
7373         (bench-func): Tidy up JSON output.
7374         * benchtests/bench-skeleton.c: Include json-lib.h.
7375         (main): Use JSON library functions to do output of
7376         benchmark results.
7377         * benchtests/bench-timing-type.c (main): Output the
7378         timing type simply, leaving formatting to the user.
7379         * benchtests/json-lib.c: New file.
7380         * benchtests/json-lib.h: Likewise.
7381
7382 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7383
7384         [BZ #15215]
7385         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7386         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7387         memory barriers.  Add comments.
7388         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7389         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7390         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7391         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7392         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7393         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7394
7395 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7396
7397         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7398         * sysdeps/s390/s390-64/configure.ac: ... this ...
7399         * sysdeps/s390/configure.ac: ... to here.
7400         * sysdeps/s390/s390-32/configure: Delete file.
7401         * sysdeps/s390/s390-64/configure: Delete file.
7402         * sysdeps/s390/configure: Regenerate.
7403
7404 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7405
7406         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7407
7408 2014-04-11  Will Newton  <will.newton@linaro.org>
7409
7410         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7411         to zero if it is not defined elsewhere.  (mtrim): Test
7412         the value of MALLOC_DEBUG with #if rather than #ifdef.
7413
7414 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7415
7416         * benchtests/pthread_once-inputs: New file.
7417         * benchtests/pthread_once-source.c: New file.
7418         * benchtests/README: Update documentation.
7419
7420 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7421             H.J. Lu  <hongjiu.lu@intel.com>
7422
7423         [BZ #16275]
7424         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7425         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7426         * sysdeps/x86_64/configure: Regenerated.
7427         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7428         macro.
7429         (REGISTER_SAVE_RAX): Likewise.
7430         (REGISTER_SAVE_RCX): Likewise.
7431         (REGISTER_SAVE_RDX): Likewise.
7432         (REGISTER_SAVE_RSI): Likewise.
7433         (REGISTER_SAVE_RDI): Likewise.
7434         (REGISTER_SAVE_R8): Likewise.
7435         (REGISTER_SAVE_R9): Likewise.
7436         (REGISTER_SAVE_BND0): Likewise.
7437         (REGISTER_SAVE_BND1): Likewise.
7438         (REGISTER_SAVE_BND2): Likewise.
7439         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7440         bound registers when calling _dl_fixup.
7441
7442 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7443
7444         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7445         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7446         of its definition.
7447         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7448         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7449         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7450         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7451         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7452         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7453         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7454
7455 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7456
7457         [BZ #15514]
7458         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7459         pathconf(_PC_NAME_MAX).
7460
7461 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7462
7463         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7464         Remove macro usage.
7465         (__PTHREAD_SPINS): Move definition to ...
7466         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7467         (__PTHREAD_SPINS): ... here.
7468         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7469         (__PTHREAD_SPIN): Likewise.
7470         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7471         (__PTHREAD_SPIN): Likewise.
7472         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7473         (__PTHREAD_SPIN): Likewise.
7474         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7475         (__PTHREAD_SPIN): Likewise.
7476         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7477         (__PTHREAD_SPIN): Likewise.
7478         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7479         (__PTHREAD_SPIN): Likewise.
7480         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7481         (__PTHREAD_SPIN): Likewise.
7482         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7483         (__PTHREAD_SPIN): Likewise.
7484         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7485         (__PTHREAD_SPIN): Likewise.
7486         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7487         (__PTHREAD_SPIN): Likewise.
7488         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7489         (__PTHREAD_SPIN): Likewise.
7490         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7491         (__PTHREAD_SPIN): Likewise.
7492
7493         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7494         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7495         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7496         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7497         imply folder.
7498         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7499         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7500         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7501         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7502         correct imply path.
7503         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7504         strlen symbol for non multi-arch builds.
7505         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7506         missing hidden_def and weak_alias.
7507
7508 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7509
7510         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7511
7512 2014-04-07  Will Newton  <will.newton@linaro.org>
7513
7514         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7515         and contents.  [!_LIBC] Remove #ifndef and contents.
7516         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7517         * string/memccpy.c (__memccpy): Use ANSI prototype.
7518         * string/memfrob.c (memfrob): Likewise.
7519         * string/strcoll.c (STRCOLL): Likewise.
7520         * string/strlen.c (strlen): Likewise.
7521         * string/strtok.c (STRTOK): Likewise.
7522         * string/strcat.c: Remove unused #include of memcopy.h.
7523         (strcat): Use ANSI prototype.
7524         * string/strchr.c: Remove unused #include of memcopy.h.
7525         (strchr): Use ANSI prototype.
7526         * string/strcmp.c: Remove unused #include of memcopy.h.
7527         (strcmp): Use ANSI prototype.
7528         * string/strcpy.c: Remove unused #include of memcopy.h.
7529         (strcpy): Use ANSI prototype.
7530
7531 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7532
7533         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7534         * config.make.in (config-extra-cppflags): Set it from
7535         libc_extra_cppflags.
7536         * configure.ac (libc_extra_cflags): Make it accumulate over
7537         configure fragments.
7538         (libc_extra_cppflags): New flag.
7539         * configure. Regenerate.
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7541         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7542         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7544
7545         [BZ #16815]
7546         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7547         result for FE_DOWNWARD rounding mode.
7548         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7549         Likewise.
7550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7551
7552 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7553
7554         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7555         in function argument name.
7556
7557 2014-04-03  David Svoboda  <svoboda@cert.org>
7558
7559         [BZ #5666]
7560         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7561         explicitly.
7562
7563 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7564
7565         * elf/dl-unmap-segments.h: New file.
7566         * sysdeps/generic/ldsodefs.h
7567         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7568         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7569         * elf/dl-fptr.c: Likewise.
7570         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7571         * sysdeps/aarch64/tlsdesc.c: Likewise.
7572         * sysdeps/arm/tlsdesc.c: Likewise.
7573         * sysdeps/i386/tlsdesc.c: Likewise.
7574         * sysdeps/tile/dl-runtime.c: Likewise.
7575         * sysdeps/x86_64/tlsdesc.c: Likewise.
7576         * elf/dl-load.h: New file.
7577         * elf/dl-load.c: Include it.
7578         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7579         Macros moved to dl-load.h.
7580         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7581         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7582         Use _dl_unmap_segments in place of __munmap.
7583         Break out segment-mapping loop into ...
7584         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7585
7586 2014-04-03  Will Newton  <will.newton@linaro.org>
7587
7588         * elf/dl-lookup.c (do_lookup_x): Remove comment
7589         referring to nested function and move variable
7590         declarations down to before first use.
7591
7592 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7593
7594         [BZ #16799]
7595         [BZ #16800]
7596         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7597         with 0 numerator.
7598         * math/s_catanf.c (__catanf): Likewise.
7599         * math/s_catanh.c (__catanh): Likewise.
7600         * math/s_catanhf.c (__catanhf): Likewise.
7601         * math/s_catanhl.c (__catanhl): Likewise.
7602         * math/s_catanl.c (__catanl): Likewise.
7603         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7604         by positive zero when computing -Inf result.
7605         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7606         (catanh_test): Likewise.
7607         * sysdeps/i386/fpu/libm-test-ulps: Update.
7608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7609
7610         [BZ #16789]
7611         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7612         instead of using underflowing value in computing result.
7613         * math/s_clog10.c (__clog10): Likewise.
7614         * math/s_clog10f.c (__clog10f): Likewise.
7615         * math/s_clog10l.c (__clog10l): Likewise.
7616         * math/s_clogf.c (__clogf): Likewise.
7617         * math/s_clogl.c (__clogl): Likewise.
7618         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7619         (clog10_test): Likewise.
7620         * sysdeps/i386/fpu/libm-test-ulps: Update.
7621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7622
7623 2014-04-02  Alan Modra  <amodra@gmail.com>
7624
7625         [BZ #16739]
7626         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7627         output when value is near a power of two.  Use int64_t for lx and
7628         remove casts.  Use decimal rather than hex exponent constants.
7629         Don't use long double multiplication when double will suffice.
7630         * math/libm-test.inc (nextafter_test_data): Add tests.
7631         * NEWS: Add 16739 and 16786 to bug list.
7632
7633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7634
7635         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7636
7637 2014-04-01  Will Newton  <will.newton@linaro.org>
7638
7639         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7640         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7641
7642 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7643
7644         [BZ #13347]
7645         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7646         * nptl/tst-setuid2.c: New file.
7647         * nptl/Makefile (xtests): Add tst-setuid2.
7648
7649 2014-04-01  Alan Modra  <amodra@gmail.com>
7650
7651         [BZ #16786]
7652         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7653
7654 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7655
7656         [BZ #6803]
7657         [BZ #6804]
7658         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7659         set errno as appropriate.
7660         * math/w_scalbf.c (__scalbf): Likewise.
7661         * math/w_scalbl.c (__scalbl): Likewise.
7662         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7663         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7664         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7665         Add more NaN tests.
7666
7667         [BZ #16349]
7668         * math/w_atan2.c: Include <errno.h>.
7669         (__atan2): Set errno for result underflowing to zero.
7670         * math/w_atan2f.c: Include <errno.h>.
7671         (__atan2f): Set errno for result underflowing to zero.
7672         * math/w_atan2l.c: Include <errno.h>.
7673         (__atan2l): Set errno for result underflowing to zero.
7674         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7675         tests.
7676         * math/auto-libm-test-out: Regenerated.
7677
7678 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7679
7680         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7681         Encode instruction correctly in little endian.
7682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7683         Likewise.
7684         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7685         Likewise.
7686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7687         Likewise.
7688         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7689         Likewise.
7690
7691 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7692
7693         [BZ #9894]
7694         * sysdeps/unix/sysv/linux/kernel-features.h
7695         [__sparc__ && !__arch64__ && !__sparc_v9__]
7696         (__ASSUME_SET_ROBUST_LIST): Do not define.
7697         [__sparc__ && !__arch64__ && !__sparc_v9__]
7698         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7699         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7700         Likewise.
7701         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7702         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7703         (__ASSUME_REQUEUE_PI): Likewise.
7704         (__ASSUME_SET_ROBUST_LIST): Likewise.
7705         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7706         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7707         Undefine.
7708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7709         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7710         Likewise.
7711         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7712         Likewise.
7713         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7714         Likewise.
7715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7716         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7717         Undefine.
7718         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7719         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7720         Likewise.
7721
7722         [BZ #16648]
7723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7725         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7726
7727 2014-03-31  Will Newton  <will.newton@linaro.org>
7728
7729         * benchtests/Makefile (bench): Add ffs and ffsll to list
7730         of tests.
7731         * benchtests/ffs-inputs: New file.
7732         * benchtests/ffsll-inputs: Likewise.
7733
7734 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7735
7736         [BZ #16770]
7737         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7738         too large before casting to int.
7739         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7740         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7741         * math/libm-test.inc (scalb_test_data): Add more tests.
7742
7743 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7744
7745         * benchtests/Makefile (DETAILED_OPT): New make option.
7746         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7747         set.
7748         * benchtests/bench-skeleton.c: Include stdbool.h.
7749         (main): Store and print timings per input.
7750         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7751         member to each argument value.
7752         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7753         (_print_arg_data): Initialize per-input timing to 0.
7754
7755         * benchtests/Makefile (timing-type): New binary.
7756         (bench-clean): Also remove bench-timing-type.
7757         (bench): New target for timing-type.
7758         (bench-func): Print output in JSON format.
7759         * benchtests/bench-skeleton.c (main): Print output in JSON
7760         format.
7761         * benchtests/bench-timing-type.c: New file.
7762         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7763         (TIMING_PRINT_STATS): Remove.
7764         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7765         name separately.
7766
7767         * benchtests/bench-modf.c: Remove.
7768         * benchtests/modf-inputs: New inputs file.
7769
7770 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7771
7772         [BZ #16362]
7773         * math/s_clog10.c (M_PI_LOG10E): New macro.
7774         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7775         imaginary parts are 0.
7776         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7777         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7778         imaginary parts are 0.
7779         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7780         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7781         imaginary parts are 0.
7782         * math/libm-test.inc (clog10_test_data): Update expected results
7783         for when real and imaginary parts are 0.
7784
7785 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7786
7787         * elf/dl-load.c: Finish conversion of __builtin_expect into
7788         __glibc_{un}likely.
7789
7790 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7791
7792         [BZ #16348]
7793         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7794         1+x for argument with exponent below -67.
7795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7796         Likewise.
7797         * math/auto-libm-test-in: Add more tests of exp.
7798         * math/auto-libm-test-out: Regenerated.
7799
7800 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7801
7802         [BZ #16759]
7803         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7804         (nscd_getnetgrent): Use it.
7805
7806         [BZ #16760]
7807         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7808         of stpcpy.
7809
7810 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7811
7812         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7813         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7814         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7815         (lll_robust_unlock): Remove out of line section. Use cfi
7816         intrinsics.
7817         (LLL_STUB_UNWIND_INFO*): Remove.
7818         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7819         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7820         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7821         (lll_robust_unlock): Remove out of line section. Use cfi
7822         intrinsics.
7823         (LLL_STUB_UNWIND_INFO*): Remove.
7824
7825 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7826
7827         [BZ #16758]
7828         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7829         blank values.
7830
7831 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7832
7833         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7834
7835 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7836
7837         [BZ #16198]
7838         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7839         fnstenv.
7840         * math/test-fenv-preserve.c: New file.
7841         * math/Makefile (tests): Add test-fenv-preserve.
7842
7843 2014-03-26  Will Newton <will.newton@linaro.org>
7844
7845         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7846
7847 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7848
7849         * scripts/versionlist.awk: Partition the version sets and emit all
7850         GLIBC_* (sorted) before all others (sorted).
7851
7852 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7853
7854         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7855         GLIBC_2.2.5 version.
7856
7857 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7858
7859         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7860         calls.
7861
7862         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7863         previous change.
7864
7865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7866
7867 2014-03-25  Andreas Schwab  <schwab@suse.de>
7868
7869         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7870         label to be used after in6ailist is initialized.
7871
7872 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7873
7874         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7875         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7876
7877 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7878
7879         [BZ #16357]
7880         [BZ #16599]
7881         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7882         min_plus_half.
7883         (fp_formats): Update initializers.
7884         (init_fp_formats): Initialize new field.
7885         (output_for_one_input_case): Allow underflow for results up to
7886         min_plus_half.
7887         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7888         * math/auto-libm-test-in: Don't mark some underflows from asin and
7889         atanh as spurious.
7890         * math/auto-libm-test-out: Regenerated.
7891         * sysdeps/i386/fpu/libm-test-ulps: Update.
7892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7893
7894 2014-03-25  Andreas Schwab  <schwab@suse.de>
7895
7896         * libio/Makefile (tst-ftell-partial-wide-ENV)
7897         (tst-ftell-active-handler-ENV): Define.
7898
7899 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7900
7901         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7902
7903 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7904
7905         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7906
7907 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7908
7909         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7910         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7911         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7912
7913 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7914
7915         [BZ #16634]
7916         * elf/dl-load.c (open_verify): Add mode parameter.
7917         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7918         (open_path): Change from boolean 'secure' to complete flag 'mode'
7919         (_dl_map_object): Adjust.
7920         * elf/Makefile (tests): Add tst-dlopen-aout.
7921         * elf/tst-dlopen-aout.c: New test.
7922
7923 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7924
7925         [BZ #16714]
7926         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7927         (struct stat): Rename member pad0 to __glibc_reserved0.
7928
7929         [BZ #16712]
7930         * sysdeps/s390/s390-32/bits/wordsize.h
7931         (__WORDSIZE32_SIZE_ULONG): New define.
7932         * sysdeps/s390/s390-64/bits/wordsize.h
7933         (__WORDSIZE32_SIZE_ULONG): Likewise.
7934         * sysdeps/generic/stdint.h (SIZE_MAX):
7935         Define as UL if __WORDSIZE32_SIZE_ULONG.
7936
7937         [BZ #16713]
7938         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7939         (__glibc_reserved0): New variable.
7940         (sa_flags): Change type to int.
7941
7942         * posix/Makefile (before-compile): Use += before-compile instead
7943         of a :=.
7944
7945         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7946         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7947
7948 2014-03-20  Andreas Schwab  <schwab@suse.de>
7949
7950         [BZ #16743]
7951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7952         non-matching result from nscd.
7953
7954 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7955
7956         * scripts/bench.py: Moved to ...
7957         * benchtests/scripts/bench.py: ... here.
7958         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7959
7960 2014-03-24  Andreas Schwab  <schwab@suse.de>
7961
7962         [BZ #16002]
7963         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7964         alloca_account and account alloca use for struct in6ailist.
7965
7966 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7967
7968         [BZ #16284]
7969         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7970         rounding mode to recompute results that overflow to infinity or
7971         underflow to zero.
7972         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7973         bug 16284.
7974         * math/auto-libm-test-out: Regenerated.
7975         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7976         (ccosh_test): Likewise.
7977         (csin_test_data): Use plus_oflow.
7978         (csin_test): Use ALL_RM_TEST.
7979         (csinh_test_data): Use plus_oflow.
7980         (csinh_test): Use ALL_RM_TEST.
7981         * sysdeps/i386/fpu/libm-test-ulps: Update.
7982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7983
7984 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7985
7986         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7987         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7988         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7989
7990         [BZ #16731]
7991         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7992         when x - 1 is zero.
7993         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7994         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7995         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7996         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7997         argument is 1.
7998         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7999         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8000         zero.
8001         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8002         * sysdeps/i386/fpu/libm-test-ulps: Update.
8003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8004
8005 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8006
8007         * scripts/bench.pl: Remove file.
8008         * scripts/bench.py: New benchmark script.
8009         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8010         * benchtests/README: Mention python dependency.
8011         * scripts/pylintrc: New file.
8012         * scripts/pylint: New file.
8013
8014         * bits/mathdef.h: Use #ifdef instead of #if.
8015         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8016         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8017         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8018         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8019         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8020         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8021
8022 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8023             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8024
8025         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8027         and strpbrk-ppc64 objects.
8028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8029         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8030         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8031         multiarch strpbrk for POWER7.
8032         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8033         multiarch strpbrk for PPC64.
8034         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8035         ifunc selector.
8036         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8037         strpbrk for POWER7.
8038
8039 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8040
8041         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8042         (atan_test): Likewise.
8043         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8044         (atanh_test): Use ALL_RM_TEST.
8045         (atan2_test_data): Likewise.
8046         (cabs_test): Likewise.
8047         (cacosh_test): Likewise.
8048         (carg_test): Likewise.
8049         (casin_test): Likewise.
8050         (casinh_test): Likewise.
8051         (cbrt_test): Likewise.
8052         (csqrt_test): Likewise.
8053         (erf_test): Likewise.
8054         (erfc_test): Likewise.
8055         (pow10_test): Likewise.
8056         (exp2_test): Likewise.
8057         (hypot_test): Likewise.
8058         (j0_test): Likewise.
8059         (j1_test): Likewise.
8060         (lgamma_test): Likewise.
8061         (gamma_test): Likewise.
8062         (sincos_test): Likewise.
8063         (tanh_test): Likewise.
8064         (y0_test): Likewise.
8065         (y1_test): Likewise.
8066         * sysdeps/i386/fpu/libm-test-ulps: Update.
8067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8068
8069 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8070
8071         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8073         and strcspn-ppc64 objects.
8074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8075         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8076         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8077         multiarch strcspn for POWER7.
8078         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8079         multiarch strcspn for PPC64.
8080         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8081         ifunc selector.
8082         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8083         strcspn for POWER7.
8084
8085 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8086
8087         * math/gen-libm-test.pl (generate_testfile): Expect only function
8088         name as argument to AUTO_TESTS_* and pass results for all rounding
8089         modes to parse_args.
8090         (parse_auto_input): Separate inputs of automatic tests from
8091         outputs before storing in %auto_tests.
8092         * math/libm-test.inc (acos_test_data): Update call to
8093         AUTO_TESTS_f_f.
8094         (acos_test): Use ALL_RM_TEST.
8095         (acos_tonearest_test_data): Remove.
8096         (acos_test_tonearest): Likewise.
8097         (acos_towardzero_test_data): Likewise.
8098         (acos_test_towardzero): Likewise.
8099         (acos_downward_test_data): Likewise.
8100         (acos_test_downward): Likewise.
8101         (acos_upward_test_data): Likewise.
8102         (acos_test_upward): Likewise.
8103         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8104         (asin_test_data): Likewise.
8105         (asin_test): Use ALL_RM_TEST.
8106         (asin_tonearest_test_data): Remove.
8107         (asin_test_tonearest): Likewise.
8108         (asin_towardzero_test_data): Likewise.
8109         (asin_test_towardzero): Likewise.
8110         (asin_downward_test_data): Likewise.
8111         (asin_test_downward): Likewise.
8112         (asin_upward_test_data): Likewise.
8113         (asin_test_upward): Likewise.
8114         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8115         (atan_test_data): Likewise.
8116         (atanh_test_data): Likewise.
8117         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8118         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8119         (carg_test_data): Likewise.
8120         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8121         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8122         (ccosh_test_data): Likewise.
8123         (cexp_test_data): Likewise.
8124         (clog_test_data): Likewise.
8125         (clog10_test_data): Likewise.
8126         (cos_test_data): Update call to AUTO_TESTS_f_f.
8127         (cos_test): Use ALL_RM_TEST.
8128         (cos_tonearest_test_data): Remove.
8129         (cos_test_tonearest): Likewise.
8130         (cos_towardzero_test_data): Likewise.
8131         (cos_test_towardzero): Likewise.
8132         (cos_downward_test_data): Likewise.
8133         (cos_test_downward): Likewise.
8134         (cos_upward_test_data): Likewise.
8135         (cos_test_upward): Likewise.
8136         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8137         (cosh_test): Use ALL_RM_TEST.
8138         (cosh_tonearest_test_data): Remove.
8139         (cosh_test_tonearest): Likewise.
8140         (cosh_towardzero_test_data): Likewise.
8141         (cosh_test_towardzero): Likewise.
8142         (cosh_downward_test_data): Likewise.
8143         (cosh_test_downward): Likewise.
8144         (cosh_upward_test_data): Likewise.
8145         (cosh_test_upward): Likewise.
8146         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8147         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8148         (ctan_test_data): Likewise.
8149         (ctan_test): Use ALL_RM_TEST.
8150         (ctan_tonearest_test_data): Remove.
8151         (ctan_test_tonearest): Likewise.
8152         (ctan_towardzero_test_data): Likewise.
8153         (ctan_test_towardzero): Likewise.
8154         (ctan_downward_test_data): Likewise.
8155         (ctan_test_downward): Likewise.
8156         (ctan_upward_test_data): Likewise.
8157         (ctan_test_upward): Likewise.
8158         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8159         (ctanh_test): Use ALL_RM_TEST.
8160         (ctanh_tonearest_test_data): Remove.
8161         (ctanh_test_tonearest): Likewise.
8162         (ctanh_towardzero_test_data): Likewise.
8163         (ctanh_test_towardzero): Likewise.
8164         (ctanh_downward_test_data): Likewise.
8165         (ctanh_test_downward): Likewise.
8166         (ctanh_upward_test_data): Likewise.
8167         (ctanh_test_upward): Likewise.
8168         (erf_test_data): Update call to AUTO_TESTS_f_f.
8169         (erfc_test_data): Likewise.
8170         (exp_test_data): Likewise.
8171         (exp_test): Use ALL_RM_TEST.
8172         (exp_tonearest_test_data): Remove.
8173         (exp_test_tonearest): Likewise.
8174         (exp_towardzero_test_data): Likewise.
8175         (exp_test_towardzero): Likewise.
8176         (exp_downward_test_data): Likewise.
8177         (exp_test_downward): Likewise.
8178         (exp_upward_test_data): Likewise.
8179         (exp_test_upward): Likewise.
8180         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8181         (exp10_test): Use ALL_RM_TEST.
8182         (exp10_tonearest_test_data): Remove.
8183         (exp10_test_tonearest): Likewise.
8184         (exp10_towardzero_test_data): Likewise.
8185         (exp10_test_towardzero): Likewise.
8186         (exp10_downward_test_data): Likewise.
8187         (exp10_test_downward): Likewise.
8188         (exp10_upward_test_data): Likewise.
8189         (exp10_test_upward): Likewise.
8190         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8191         (expm1_test_data): Likewise.
8192         (expm1_test): Use ALL_RM_TEST.
8193         (expm1_tonearest_test_data): Remove.
8194         (expm1_test_tonearest): Likewise.
8195         (expm1_towardzero_test_data): Likewise.
8196         (expm1_test_towardzero): Likewise.
8197         (expm1_downward_test_data): Likewise.
8198         (expm1_test_downward): Likewise.
8199         (expm1_upward_test_data): Likewise.
8200         (expm1_test_upward): Likewise.
8201         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8202         (fma_test): Use ALL_RM_TEST.
8203         (fma_towardzero_test_data): Remove.
8204         (fma_test_towardzero): Likewise.
8205         (fma_downward_test_data): Likewise.
8206         (fma_test_downward): Likewise.
8207         (fma_upward_test_data): Likewise.
8208         (fma_test_upward): Likewise.
8209         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8210         (j0_test_data): Update call to AUTO_TESTS_f_f.
8211         (j1_test_data): Likewise.
8212         (jn_test_data): Update call to AUTO_TESTS_if_f.
8213         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8214         (log_test_data): Update call to AUTO_TESTS_f_f.
8215         (log10_test_data): Likewise.
8216         (log1p_test_data): Likewise.
8217         (log2_test_data): Likewise.
8218         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8219         (pow_tonearest_test_data): Likewise.
8220         (sin_test_data): Update call to AUTO_TESTS_f_f.
8221         (sin_test): Use ALL_RM_TEST.
8222         (sin_tonearest_test_data): Remove.
8223         (sin_test_tonearest): Likewise.
8224         (sin_towardzero_test_data): Likewise.
8225         (sin_test_towardzero): Likewise.
8226         (sin_downward_test_data): Likewise.
8227         (sin_test_downward): Likewise.
8228         (sin_upward_test_data): Likewise.
8229         (sin_test_upward): Likewise.
8230         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8231         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8232         (sinh_test): Use ALL_RM_TEST.
8233         (sinh_tonearest_test_data): Remove.
8234         (sinh_test_tonearest): Likewise.
8235         (sinh_towardzero_test_data): Likewise.
8236         (sinh_test_towardzero): Likewise.
8237         (sinh_downward_test_data): Likewise.
8238         (sinh_test_downward): Likewise.
8239         (sinh_upward_test_data): Likewise.
8240         (sinh_test_upward): Likewise.
8241         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8242         (sqrt_test): Use ALL_RM_TEST.
8243         (sqrt_tonearest_test_data): Remove.
8244         (sqrt_test_tonearest): Likewise.
8245         (sqrt_towardzero_test_data): Likewise.
8246         (sqrt_test_towardzero): Likewise.
8247         (sqrt_downward_test_data): Likewise.
8248         (sqrt_test_downward): Likewise.
8249         (sqrt_upward_test_data): Likewise.
8250         (sqrt_test_upward): Likewise.
8251         (tan_test_data): Update call to AUTO_TESTS_f_f.
8252         (tan_test): Use ALL_RM_TEST.
8253         (tan_tonearest_test_data): Remove.
8254         (tan_test_tonearest): Likewise.
8255         (tan_towardzero_test_data): Likewise.
8256         (tan_test_towardzero): Likewise.
8257         (tan_downward_test_data): Likewise.
8258         (tan_test_downward): Likewise.
8259         (tan_upward_test_data): Likewise.
8260         (tan_test_upward): Likewise.
8261         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8262         (tgamma_test_data): Likewise.
8263         (y0_test_data): Likewise.
8264         (y1_test_data): Likewise.
8265         (yn_test_data): Update call to AUTO_TESTS_if_f.
8266         (main): Do not call removed functions.
8267
8268 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8269
8270         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8271         (ldexp_test_data): Remove.
8272         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8273         scalbn_test_data.
8274         (scalb_test): Use ALL_RM_TEST.
8275
8276 2014-03-19  Andreas Schwab  <schwab@suse.de>
8277
8278         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8279
8280 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8281
8282         [BZ #16649]
8283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8284         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8285         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8286         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8287         (__ASSUME_PREADV): Undefine.
8288         (__ASSUME_PWRITEV): Likewise.
8289
8290 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8291
8292         * bits/mman-linux.h: Add comment about non-Linux use.
8293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8294         bits/mman-linux.h resting place.
8295
8296         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8297         * bits/mman-linux.h: ... here.
8298
8299 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8300
8301         * conform/conformtest.pl: Add standard definition when calling C
8302         preprocessor on data files.
8303         (checknamespace): Remove unused variable.
8304
8305 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8306
8307         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8308         minus_oflow, plus_uflow and minus_uflow in expected results.
8309         * math/libm-test.inc (scalbn_test_data): Add more tests of
8310         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8311         minus_uflow.
8312         (scalbn_test): Use ALL_RM_TEST.
8313         (scalbln_test_data): Add more tests of negative arguments.  Use
8314         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8315         (scalbln_test): Use ALL_RM_TEST.
8316
8317 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8318
8319         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8320
8321 2014-03-18  Will Newton  <will.newton@linaro.org>
8322
8323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8324         inaccurate comment.
8325
8326 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8327
8328         * Makerules [!subdir] (check-abi): Exit with error status if a
8329         test failed.
8330
8331 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8332
8333         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8334         for rint.  Include results for all rounding modes.
8335         (nearbyint_test): Use ALL_RM_TEST.
8336         (rint_test_data): Include all tests used for nearbyint.
8337
8338 2014-03-17  Will Newton  <will.newton@linaro.org>
8339
8340         * nptl/sysdeps/pthread/pthread.h: Revert previous
8341         change.
8342
8343         * sysdeps/generic/ldsodefs.h: Revert previous
8344         change.
8345
8346         * libio/genops.c: Revert previous change.
8347         * libio/libioP.h: Likewise.
8348         * stdio-common/vfprintf.c: Likewise.
8349
8350         * sysdeps/generic/math_private.h: Revert previous
8351         change.
8352
8353         * sysdeps/generic/math_private.h: Check whether
8354         HAVE_RM_CTX is defined with #ifdef rather
8355         than #if.
8356
8357         * argp/argp-fmtstream.h: Check whether
8358         __STRICT_ANSI__ is defined with #ifdef rather
8359         than #if.
8360         * argp/argp.h: Likewise.
8361
8362         * libio/genops.c: Check whether
8363         _IO_JUMPS_OFFSET is defined with #ifdef rather
8364         than #if.
8365         * libio/libioP.h: Likewise.
8366         * stdio-common/vfprintf.c: Likewise.
8367
8368         * sysdeps/generic/ldsodefs.h: Check whether
8369         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8370         than #if.
8371
8372         * nptl/sysdeps/pthread/pthread.h: Check
8373         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8374         its value.
8375
8376 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8377
8378         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8379         setting O_APPEND.
8380         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8381         test case.
8382
8383         [BZ #16680]
8384         * libio/fileops.c (_IO_file_open): Seek to end of file but
8385         don't cache the offset.
8386         (get_file_offset): Remove function.
8387         (do_ftell): Use cached offset when available.
8388         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8389         don't cache the offset.
8390         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8391         case.
8392         (do_one_test): Call it.
8393         (do_ftell_test): Fix up expected old offset for a+ mode.
8394         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8395         available.
8396
8397         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8398         up test status with function return status.
8399         (do_write_test): Likewise.
8400         (do_append_test): Likewise.
8401
8402         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8403         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8404         Remove.
8405
8406 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8407
8408         * math/gen-libm-test.pl (parse_args): Handle results specified for
8409         each rounding mode separately.
8410         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8411         tests and results from lrint_tonearest_test_data,
8412         lrint_towardzero_test_data, lrint_downward_test_data and
8413         lrint_upward_test_data.
8414         (lrint_test): Use ALL_RM_TEST.
8415         (lrint_tonearest_test_data): Remove.
8416         (lrint_test_tonearest): Likewise.
8417         (lrint_towardzero_test_data): Likewise.
8418         (lrint_test_towardzero): Likewise.
8419         (lrint_downward_test_data): Likewise.
8420         (lrint_test_downward): Likewise.
8421         (lrint_upward_test_data): Likewise.
8422         (lrint_test_upward): Likewise.
8423         (llrint_test_data): Merge in per-rounding-mode tests and results
8424         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8425         llrint_downward_test_data and llrint_upward_test_data.
8426         (llrint_test): Use ALL_RM_TEST.
8427         (llrint_tonearest_test_data): Remove.
8428         (llrint_test_tonearest): Likewise.
8429         (llrint_towardzero_test_data): Likewise.
8430         (llrint_test_towardzero): Likewise.
8431         (llrint_downward_test_data): Likewise.
8432         (llrint_test_downward): Likewise.
8433         (llrint_upward_test_data): Likewise.
8434         (llrint_test_upward): Likewise.
8435         (rint_test_data): Merge in per-rounding-mode tests and results
8436         from rint_tonearest_test_data, rint_towardzero_test_data,
8437         rint_downward_test_data and rint_upward_test_data.  Add
8438         per-rounding-mode results for tests not in those arrays.
8439         (rint_test): Use ALL_RM_TEST.
8440         (rint_tonearest_test_data): Remove.
8441         (rint_test_tonearest): Likewise.
8442         (rint_towardzero_test_data): Likewise.
8443         (rint_test_towardzero): Likewise.
8444         (rint_downward_test_data): Likewise.
8445         (rint_test_downward): Likewise.
8446         (rint_upward_test_data): Likewise.
8447         (rint_test_upward): Likewise.
8448         (main): Don't call removed functions.
8449
8450 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8451
8452         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8453         "Compiled on ..." crapola.  It is anti-useful.
8454
8455 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8456
8457         * scripts/evaluate-test.sh: Handle fourth argument to determine
8458         whether test run should stop on failure.
8459         * Makeconfig (stop-on-test-failure): New variable.
8460         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8461         $(stop-on-test-failure).
8462         * Makefile (tests): Give a summary of results from testing and
8463         exit with failure status if they include an ERROR or FAIL.
8464         (xtests): Likewise.
8465         * manual/install.texi (Configuring and compiling): Mention
8466         stop-on-test-failure=y.
8467         * INSTALL: Regenerated.
8468
8469 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8470
8471         * scripts/versionlist.awk: New file.
8472         * Makerules [$(build-shared) = yes]
8473         (postclean-generated): Add Versions.def, not Versions.def.v and
8474         Versions.def.v.i.
8475         ($(common-objpfx)Versions.def.v.i): Target removed.
8476         ($(common-objpfx)Versions.def): New target.
8477         ($(common-objpfx)Versions.all): Depend on that rather that
8478         $(common-objpfx)Versions.def.v.
8479         * Versions.def: File removed.
8480
8481         * Makeconfig (+gccwarn): Add -Wundef.
8482         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8483         a dl-sysdep.h breaking its contract.
8484         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8485         * include/stackinfo.h: New file.
8486         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8487         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8488         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8489         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8490         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8491         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8492         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8493         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8494         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8495         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8496         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8497         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8498         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8499         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8500         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8501
8502 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8503
8504         [BZ #16707]
8505         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8506         implementation.
8507         * math/libm-test.inc (round_test_data): Add more tests.
8508
8509         [BZ #16706]
8510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8511         implementation.
8512         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8513
8514         [BZ #16701]
8515         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8516         implementation.
8517         * math/libm-test.inc (ceil_test_data): Add more tests.
8518
8519         * math/libm-test.inc (trunc_test_data): Add more tests related to
8520         BZ#16414.
8521
8522 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8523
8524         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8525         with #if rather than #ifdef.
8526         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8527
8528 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8529
8530         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8531         first.  Disable AVX-512 GCC support if assembler doesn't support
8532         it.
8533         * sysdeps/x86_64/configure: Regenerated.
8534
8535 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8536
8537         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8538         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8539         (__old_pthread_attr_setstack): Likewise.
8540         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8541         [!_STACK_GROWS_DOWN]: Likewise.
8542
8543 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8544
8545         * config.make.in (have-bash2): Delete.
8546         * configure.ac (libc_cv_have_bash2): Delete.
8547         * configure: Regenerate.
8548         * elf/Makefile (common-ldd-rewrite): Rename to ...
8549         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8550         (sh-ldd-rewrite): Delete.
8551         (bash-ldd-rewrite): Delete.
8552         (have-bash2): Delete checks.
8553         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8554         ldd-rewrite.
8555
8556         * config.make.in (have-ksh): Delete.
8557         (KSH): Delete.
8558         * configure.ac (libc_cv_have_ksh): Delete.
8559         * configure: Regenerate.
8560
8561         * elf/Makefile: Delete $(have-ksh) check.
8562         ($(objpfx)sotruss): Change KSH to BASH.
8563         * elf/sotruss.ksh: Rename to ...
8564         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8565         function style to match POSIX.  Drop ksh vim mode setting.
8566
8567         * manual/time.texi (Specifying the Time Zone with TZ): Change
8568         Tuesday to Thursday.
8569
8570         * debug/tst-longjmp_chk2.c: Update header comment.
8571         (stackoverflow_handler): Add comment.  Call assert on pass value.
8572
8573 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8574
8575         [BZ #16194]
8576         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8577         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8578         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8579         (La_x86_64_vector): Add zmm.
8580         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8581         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8582         ($(objpfx)tst-audit10): New target.
8583         ($(objpfx)tst-audit10.out): Likewise.
8584         (tst-audit10-ENV): New.
8585         (AVX512-CFLAGS): Likewise.
8586         (CFLAGS-tst-audit10.c): Likewise.
8587         (CFLAGS-tst-auditmod10a.c): Likewise.
8588         (CFLAGS-tst-auditmod10b.c): Likewise.
8589         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8590         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8591         * sysdeps/x86_64/configure: Regenerated.
8592         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8593         AVX-512 zmm register support.
8594         (_dl_x86_64_save_sse): Likewise.
8595         (_dl_x86_64_restore_sse): Likewise.
8596         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8597         size vector registers.
8598         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8599         (ZMM_SIZE): Likewise.
8600         * sysdeps/x86_64/tst-audit10.c: New file.
8601         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8602         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8603
8604 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8605
8606         * configure.ac (HAVE_EHDR_START): New check.
8607         * configure: Regenerated.
8608         * config.h.in (HAVE_EHDR_START): New #undef.
8609         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8610         assuming the lowest-addressed segment maps the start of the file.
8611
8612 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8613
8614         * INSTALL: Regenerated.
8615
8616 2014-03-13  Will Newton  <will.newton@linaro.org>
8617
8618         * manual/setjmp.texi (System V contexts): Improve
8619         clarity and grammar of documentation.
8620
8621 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8622
8623         [BZ #16381]
8624         * elf/Makefile (tests): Add tst-pie2.
8625         (tests-pie): Add tst-pie2.
8626         * elf/tst-pie2.c: New file.
8627         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8628         for ET_EXEC.
8629         * elf/rtld.c (map_doit): Load executable as lt_executable.
8630         (dl_main): Likewise.
8631
8632 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8633
8634         [BZ #16642]
8635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8636         (__ASSUME_PSELECT): Undefine.
8637
8638 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8639
8640         [BZ #16689]
8641         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8642         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8643         static build.
8644         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8645         selector for static builds.
8646
8647 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8648
8649         [BZ #16695]
8650         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8651         key in the buffer.
8652
8653 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8654
8655         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8656         IFUNC selector for static builds.
8657
8658 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8659
8660         * sysdeps/mips/math_private.h [__mips_hard_float]
8661         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8662         libc_feresetround_mips_ctx.
8663         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8664         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8665         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8666
8667         [BZ #16677]
8668         * math/s_nextafter.c (__nextafter): Do not return value from
8669         overflowing computation.
8670         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8671         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8672         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8673         Likewise.
8674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8675         Likewise.
8676         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8677         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8678
8679 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8680
8681         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8682         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8683         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8684         the new mov targetting sp.
8685
8686 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8687
8688         [BZ #16683]
8689         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8690         Define it for static builds as well.
8691         (NO_BZERO_IMPL): Likewise.
8692
8693 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8694
8695         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8696         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8697         multiarch strspn for PPC64.
8698         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8699         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8701         (__libc_ifunc_impl_list): Likewise.
8702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8703         multiarch optimizations
8704         * string/strspn.c (strspn): Using macro to redefine symbol name.
8705
8706 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8707             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8708
8709         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8710         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8711         multiarch strncat for PPC64.
8712         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8713         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8715         (__libc_ifunc_impl_list): Likewise.
8716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8717         multiarch optimizations
8718
8719 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8720
8721         [BZ #16639]
8722         * nscd/nscd.service: Make service type forking.
8723
8724 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8725
8726         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8727         sign in non default rounding modes.
8728         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8729
8730 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8731
8732         * math/libm-test.inc (ALL_RM_TEST): New macro.
8733         (ceil_test): Use ALL_RM_TEST.
8734         (cimag_test): Likewise.
8735         (conj_test): Likewise.
8736         (copysign_test): Likewise.
8737         (cproj_test): Likewise.
8738         (creal_test): Likewise.
8739         (fabs_test): Likewise.
8740         (floor_test): Likewise.
8741         (fmax_test): Likewise.
8742         (fmin_test): Likewise.
8743         (fmod_test): Likewise.
8744         (fpclassify_test): Likewise.
8745         (frexp_test): Likewise.
8746         (ilogb_test): Likewise.
8747         (isfinite_test): Likewise.
8748         (finite_test): Likewise.
8749         (isgreater_test): Likewise.
8750         (isgreaterequal_test): Likewise.
8751         (isinf_test): Likewise.
8752         (isless_test): Likewise.
8753         (islessequal_test): Likewise.
8754         (islessgreater_test): Likewise.
8755         (isnan_test): Likewise.
8756         (isnormal_test): Likewise.
8757         (issignaling_test): Likewise.
8758         (isunordered_test): Likewise.
8759         (logb_test): Likewise.
8760         (logb_downward_test_data): Remove.
8761         (logb_test_downward): Likewise.
8762         (lround_test): Use ALL_RM_TEST.
8763         (llround_test): Likewise.
8764         (modf_test): Likewise.
8765         (nexttoward_test): Likewise.
8766         (remainder_test): Likewise.
8767         (drem_test): Likewise.
8768         (remainder_tonearest_test_data): Likewise.
8769         (remainder_test_tonearest): Likewise.
8770         (drem_test_tonearest): Likewise.
8771         (remainder_towardzero_test_data): Likewise.
8772         (remainder_test_towardzero): Likewise.
8773         (drem_test_towardzero): Likewise.
8774         (remainder_downward_test_data): Likewise.
8775         (remainder_test_downward): Likewise.
8776         (drem_test_downward): Likewise.
8777         (remainder_upward_test_data): Likewise.
8778         (remainder_test_upward): Likewise.
8779         (drem_test_upward): Likewise.
8780         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8781         (round_test): Use ALL_RM_TEST.
8782         (signbit_test): Likewise.
8783         (trunc_test): Likewise.
8784         (significand_test): Likewise.
8785         (main): Don't call removed functions.
8786
8787 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8788
8789         [BZ #16674]
8790         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8791         || __USE_XOPEN2K8].
8792         (ILL_ILLOPN): Likewise.
8793         (ILL_ILLADR): Likewise.
8794         (ILL_ILLTRP): Likewise.
8795         (ILL_PRVOPC): Likewise.
8796         (ILL_PRVREG): Likewise.
8797         (ILL_COPROC): Likewise.
8798         (ILL_BADSTK): Likewise.
8799         (FPE_INTDIV): Likewise.
8800         (FPE_INTOVF): Likewise.
8801         (FPE_FLTDIV): Likewise.
8802         (FPE_FLTOVF): Likewise.
8803         (FPE_FLTUND): Likewise.
8804         (FPE_FLTRES): Likewise.
8805         (FPE_FLTINV): Likewise.
8806         (FPE_FLTSUB): Likewise.
8807         (SEGV_MAPERR): Likewise.
8808         (SEGV_ACCERR): Likewise.
8809         (BUS_ADRALN): Likewise.
8810         (BUS_ADRERR): Likewise.
8811         (BUS_OBJERR): Likewise.
8812         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8813         (TRAP_TRACE): Likewise.
8814         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8815         __USE_XOPEN2K8].
8816         (CLD_KILLED): Likewise.
8817         (CLD_DUMPED): Likewise.
8818         (CLD_TRAPPED): Likewise.
8819         (CLD_STOPPED): Likewise.
8820         (CLD_CONTINUED): Likewise.
8821         (POLL_IN): Likewise.
8822         (POLL_OUT): Likewise.
8823         (POLL_MSG): Likewise.
8824         (POLL_ERR): Likewise.
8825         (POLL_PRI): Likewise.
8826         (POLL_HUP): Likewise.
8827         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8828         Likewise.
8829         (ILL_ILLOPN): Likewise.
8830         (ILL_ILLADR): Likewise.
8831         (ILL_ILLTRP): Likewise.
8832         (ILL_PRVOPC): Likewise.
8833         (ILL_PRVREG): Likewise.
8834         (ILL_COPROC): Likewise.
8835         (ILL_BADSTK): Likewise.
8836         (FPE_INTDIV): Likewise.
8837         (FPE_INTOVF): Likewise.
8838         (FPE_FLTDIV): Likewise.
8839         (FPE_FLTOVF): Likewise.
8840         (FPE_FLTUND): Likewise.
8841         (FPE_FLTRES): Likewise.
8842         (FPE_FLTINV): Likewise.
8843         (FPE_FLTSUB): Likewise.
8844         (SEGV_MAPERR): Likewise.
8845         (SEGV_ACCERR): Likewise.
8846         (BUS_ADRALN): Likewise.
8847         (BUS_ADRERR): Likewise.
8848         (BUS_OBJERR): Likewise.
8849         (BUS_MCEERR_AR): Likewise.
8850         (BUS_MCEERR_AO): Likewise.
8851         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8852         (TRAP_TRACE): Likewise.
8853         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8854         __USE_XOPEN2K8].
8855         (CLD_KILLED): Likewise.
8856         (CLD_DUMPED): Likewise.
8857         (CLD_TRAPPED): Likewise.
8858         (CLD_STOPPED): Likewise.
8859         (CLD_CONTINUED): Likewise.
8860         (POLL_IN): Likewise.
8861         (POLL_OUT): Likewise.
8862         (POLL_MSG): Likewise.
8863         (POLL_ERR): Likewise.
8864         (POLL_PRI): Likewise.
8865         (POLL_HUP): Likewise.
8866         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8867         (ILL_ILLOPN): Likewise.
8868         (ILL_ILLADR): Likewise.
8869         (ILL_ILLTRP): Likewise.
8870         (ILL_PRVOPC): Likewise.
8871         (ILL_PRVREG): Likewise.
8872         (ILL_COPROC): Likewise.
8873         (ILL_BADSTK): Likewise.
8874         (FPE_INTDIV): Likewise.
8875         (FPE_INTOVF): Likewise.
8876         (FPE_FLTDIV): Likewise.
8877         (FPE_FLTOVF): Likewise.
8878         (FPE_FLTUND): Likewise.
8879         (FPE_FLTRES): Likewise.
8880         (FPE_FLTINV): Likewise.
8881         (FPE_FLTSUB): Likewise.
8882         (SEGV_MAPERR): Likewise.
8883         (SEGV_ACCERR): Likewise.
8884         (BUS_ADRALN): Likewise.
8885         (BUS_ADRERR): Likewise.
8886         (BUS_OBJERR): Likewise.
8887         (BUS_MCEERR_AR): Likewise.
8888         (BUS_MCEERR_AO): Likewise.
8889         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8890         (TRAP_TRACE): Likewise.
8891         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8892         __USE_XOPEN2K8].
8893         (CLD_KILLED): Likewise.
8894         (CLD_DUMPED): Likewise.
8895         (CLD_TRAPPED): Likewise.
8896         (CLD_STOPPED): Likewise.
8897         (CLD_CONTINUED): Likewise.
8898         (POLL_IN): Likewise.
8899         (POLL_OUT): Likewise.
8900         (POLL_MSG): Likewise.
8901         (POLL_ERR): Likewise.
8902         (POLL_PRI): Likewise.
8903         (POLL_HUP): Likewise.
8904         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8905         Likewise.
8906         (ILL_ILLOPN): Likewise.
8907         (ILL_ILLADR): Likewise.
8908         (ILL_ILLTRP): Likewise.
8909         (ILL_PRVOPC): Likewise.
8910         (ILL_PRVREG): Likewise.
8911         (ILL_COPROC): Likewise.
8912         (ILL_BADSTK): Likewise.
8913         (ILL_BADIADDR): Likewise.
8914         (ILL_BREAK): Likewise.
8915         (FPE_INTDIV): Likewise.
8916         (FPE_INTOVF): Likewise.
8917         (FPE_FLTDIV): Likewise.
8918         (FPE_FLTOVF): Likewise.
8919         (FPE_FLTUND): Likewise.
8920         (FPE_FLTRES): Likewise.
8921         (FPE_FLTINV): Likewise.
8922         (FPE_FLTSUB): Likewise.
8923         (FPE_DECOVF): Likewise.
8924         (FPE_DECDIV): Likewise.
8925         (FPE_DECERR): Likewise.
8926         (FPE_INVASC): Likewise.
8927         (FPE_INVDEC): Likewise.
8928         (SEGV_MAPERR): Likewise.
8929         (SEGV_ACCERR): Likewise.
8930         (SEGV_PSTKOVF): Likewise.
8931         (BUS_ADRALN): Likewise.
8932         (BUS_ADRERR): Likewise.
8933         (BUS_OBJERR): Likewise.
8934         (BUS_MCEERR_AR): Likewise.
8935         (BUS_MCEERR_AO): Likewise.
8936         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8937         (TRAP_TRACE): Likewise.
8938         (TRAP_BRANCH): Likewise.
8939         (TRAP_HWBKPT): Likewise.
8940         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8941         __USE_XOPEN2K8].
8942         (CLD_KILLED): Likewise.
8943         (CLD_DUMPED): Likewise.
8944         (CLD_TRAPPED): Likewise.
8945         (CLD_STOPPED): Likewise.
8946         (CLD_CONTINUED): Likewise.
8947         (POLL_IN): Likewise.
8948         (POLL_OUT): Likewise.
8949         (POLL_MSG): Likewise.
8950         (POLL_ERR): Likewise.
8951         (POLL_PRI): Likewise.
8952         (POLL_HUP): Likewise.
8953         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8954         (ILL_ILLOPN): Likewise.
8955         (ILL_ILLADR): Likewise.
8956         (ILL_ILLTRP): Likewise.
8957         (ILL_PRVOPC): Likewise.
8958         (ILL_PRVREG): Likewise.
8959         (ILL_COPROC): Likewise.
8960         (ILL_BADSTK): Likewise.
8961         (FPE_INTDIV): Likewise.
8962         (FPE_INTOVF): Likewise.
8963         (FPE_FLTDIV): Likewise.
8964         (FPE_FLTOVF): Likewise.
8965         (FPE_FLTUND): Likewise.
8966         (FPE_FLTRES): Likewise.
8967         (FPE_FLTINV): Likewise.
8968         (FPE_FLTSUB): Likewise.
8969         (SEGV_MAPERR): Likewise.
8970         (SEGV_ACCERR): Likewise.
8971         (BUS_ADRALN): Likewise.
8972         (BUS_ADRERR): Likewise.
8973         (BUS_OBJERR): Likewise.
8974         (BUS_MCEERR_AR): Likewise.
8975         (BUS_MCEERR_AO): Likewise.
8976         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8977         (TRAP_TRACE): Likewise.
8978         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8979         __USE_XOPEN2K8].
8980         (CLD_KILLED): Likewise.
8981         (CLD_DUMPED): Likewise.
8982         (CLD_TRAPPED): Likewise.
8983         (CLD_STOPPED): Likewise.
8984         (CLD_CONTINUED): Likewise.
8985         (POLL_IN): Likewise.
8986         (POLL_OUT): Likewise.
8987         (POLL_MSG): Likewise.
8988         (POLL_ERR): Likewise.
8989         (POLL_PRI): Likewise.
8990         (POLL_HUP): Likewise.
8991         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8992         (ILL_ILLOPN): Likewise.
8993         (ILL_ILLADR): Likewise.
8994         (ILL_ILLTRP): Likewise.
8995         (ILL_PRVOPC): Likewise.
8996         (ILL_PRVREG): Likewise.
8997         (ILL_COPROC): Likewise.
8998         (ILL_BADSTK): Likewise.
8999         (FPE_INTDIV): Likewise.
9000         (FPE_INTOVF): Likewise.
9001         (FPE_FLTDIV): Likewise.
9002         (FPE_FLTOVF): Likewise.
9003         (FPE_FLTUND): Likewise.
9004         (FPE_FLTRES): Likewise.
9005         (FPE_FLTINV): Likewise.
9006         (FPE_FLTSUB): Likewise.
9007         (SEGV_MAPERR): Likewise.
9008         (SEGV_ACCERR): Likewise.
9009         (BUS_ADRALN): Likewise.
9010         (BUS_ADRERR): Likewise.
9011         (BUS_OBJERR): Likewise.
9012         (BUS_MCEERR_AR): Likewise.
9013         (BUS_MCEERR_AO): Likewise.
9014         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9015         (TRAP_TRACE): Likewise.
9016         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9017         __USE_XOPEN2K8].
9018         (CLD_KILLED): Likewise.
9019         (CLD_DUMPED): Likewise.
9020         (CLD_TRAPPED): Likewise.
9021         (CLD_STOPPED): Likewise.
9022         (CLD_CONTINUED): Likewise.
9023         (POLL_IN): Likewise.
9024         (POLL_OUT): Likewise.
9025         (POLL_MSG): Likewise.
9026         (POLL_ERR): Likewise.
9027         (POLL_PRI): Likewise.
9028         (POLL_HUP): Likewise.
9029         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9030         (ILL_ILLOPN): Likewise.
9031         (ILL_ILLADR): Likewise.
9032         (ILL_ILLTRP): Likewise.
9033         (ILL_PRVOPC): Likewise.
9034         (ILL_PRVREG): Likewise.
9035         (ILL_COPROC): Likewise.
9036         (ILL_BADSTK): Likewise.
9037         (FPE_INTDIV): Likewise.
9038         (FPE_INTOVF): Likewise.
9039         (FPE_FLTDIV): Likewise.
9040         (FPE_FLTOVF): Likewise.
9041         (FPE_FLTUND): Likewise.
9042         (FPE_FLTRES): Likewise.
9043         (FPE_FLTINV): Likewise.
9044         (FPE_FLTSUB): Likewise.
9045         (SEGV_MAPERR): Likewise.
9046         (SEGV_ACCERR): Likewise.
9047         (BUS_ADRALN): Likewise.
9048         (BUS_ADRERR): Likewise.
9049         (BUS_OBJERR): Likewise.
9050         (BUS_MCEERR_AR): Likewise.
9051         (BUS_MCEERR_AO): Likewise.
9052         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9053         (TRAP_TRACE): Likewise.
9054         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9055         __USE_XOPEN2K8].
9056         (CLD_KILLED): Likewise.
9057         (CLD_DUMPED): Likewise.
9058         (CLD_TRAPPED): Likewise.
9059         (CLD_STOPPED): Likewise.
9060         (CLD_CONTINUED): Likewise.
9061         (POLL_IN): Likewise.
9062         (POLL_OUT): Likewise.
9063         (POLL_MSG): Likewise.
9064         (POLL_ERR): Likewise.
9065         (POLL_PRI): Likewise.
9066         (POLL_HUP): Likewise.
9067         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9068         (ILL_ILLOPN): Likewise.
9069         (ILL_ILLADR): Likewise.
9070         (ILL_ILLTRP): Likewise.
9071         (ILL_PRVOPC): Likewise.
9072         (ILL_PRVREG): Likewise.
9073         (ILL_COPROC): Likewise.
9074         (ILL_BADSTK): Likewise.
9075         (ILL_DBLFLT): Likewise.
9076         (ILL_HARDWALL): Likewise.
9077         (FPE_INTDIV): Likewise.
9078         (FPE_INTOVF): Likewise.
9079         (FPE_FLTDIV): Likewise.
9080         (FPE_FLTOVF): Likewise.
9081         (FPE_FLTUND): Likewise.
9082         (FPE_FLTRES): Likewise.
9083         (FPE_FLTINV): Likewise.
9084         (FPE_FLTSUB): Likewise.
9085         (SEGV_MAPERR): Likewise.
9086         (SEGV_ACCERR): Likewise.
9087         (BUS_ADRALN): Likewise.
9088         (BUS_ADRERR): Likewise.
9089         (BUS_OBJERR): Likewise.
9090         (BUS_MCEERR_AR): Likewise.
9091         (BUS_MCEERR_AO): Likewise.
9092         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9093         (TRAP_TRACE): Likewise.
9094         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9095         __USE_XOPEN2K8].
9096         (CLD_KILLED): Likewise.
9097         (CLD_DUMPED): Likewise.
9098         (CLD_TRAPPED): Likewise.
9099         (CLD_STOPPED): Likewise.
9100         (CLD_CONTINUED): Likewise.
9101         (POLL_IN): Likewise.
9102         (POLL_OUT): Likewise.
9103         (POLL_MSG): Likewise.
9104         (POLL_ERR): Likewise.
9105         (POLL_PRI): Likewise.
9106         (POLL_HUP): Likewise.
9107         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9108         (ILL_ILLOPN): Likewise.
9109         (ILL_ILLADR): Likewise.
9110         (ILL_ILLTRP): Likewise.
9111         (ILL_PRVOPC): Likewise.
9112         (ILL_PRVREG): Likewise.
9113         (ILL_COPROC): Likewise.
9114         (ILL_BADSTK): Likewise.
9115         (FPE_INTDIV): Likewise.
9116         (FPE_INTOVF): Likewise.
9117         (FPE_FLTDIV): Likewise.
9118         (FPE_FLTOVF): Likewise.
9119         (FPE_FLTUND): Likewise.
9120         (FPE_FLTRES): Likewise.
9121         (FPE_FLTINV): Likewise.
9122         (FPE_FLTSUB): Likewise.
9123         (SEGV_MAPERR): Likewise.
9124         (SEGV_ACCERR): Likewise.
9125         (BUS_ADRALN): Likewise.
9126         (BUS_ADRERR): Likewise.
9127         (BUS_OBJERR): Likewise.
9128         (BUS_MCEERR_AR): Likewise.
9129         (BUS_MCEERR_AO): Likewise.
9130         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9131         (TRAP_TRACE): Likewise.
9132         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9133         __USE_XOPEN2K8].
9134         (CLD_KILLED): Likewise.
9135         (CLD_DUMPED): Likewise.
9136         (CLD_TRAPPED): Likewise.
9137         (CLD_STOPPED): Likewise.
9138         (CLD_CONTINUED): Likewise.
9139         (POLL_IN): Likewise.
9140         (POLL_OUT): Likewise.
9141         (POLL_MSG): Likewise.
9142         (POLL_ERR): Likewise.
9143         (POLL_PRI): Likewise.
9144         (POLL_HUP): Likewise.
9145         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9146         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9147
9148         [BZ #16670]
9149         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9150         before #include of <time.h>.
9151         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9152         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9153         (test-xfail-UNIX98/sched.h/conform): Likewise.
9154
9155 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9156
9157         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9158         error absence of trapping exception support.
9159         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9160
9161 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9162
9163         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9164         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9165         * timezone/Makefile (testdata): Move definition above include of
9166         Rules.
9167         (test-zones): New variable.
9168         (tests-special): Add zone files.
9169         (build-testdata): Use $(evaluate-test).
9170
9171         * elf/Makefile (tests-special): Rename tests to end with .out.
9172         ($(objpfx)noload-mem): Likewise.
9173         ($(objpfx)tst-leaks1-mem): Likewise.
9174         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9175         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9176         $(objpfx)test-iconvconfig.out.
9177         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9178         set -e inside subshell and redirect output to file.
9179         * iconvdata/Makefile (generated): Rename tests to end with .out.
9180         Correct type.
9181         (tests-special): Rename tests to end with .out.
9182         ($(objpfx)mtrace-tst-loading): Likewise.
9183         * intl/Makefile (generated): Likewise.
9184         (tests-special): Likewise.
9185         ($(objpfx)mtrace-tst-gettext): Likewise.
9186         * misc/Makefile (generated): Likewise.
9187         (tests-special): Likewise.
9188         ($(objpfx)tst-error1-mem): Likewise.
9189         * nptl/Makefile (tests-special): Likewise.
9190         ($(objpfx)tst-stack3-mem): Likewise.
9191         (generated): Likewise.
9192         * posix/Makefile (generated): Likewise.
9193         (tests-special): Likewise.
9194         (xtests-special): Likewise.
9195         ($(objpfx)tst-fnmatch-mem): Likewise.
9196         ($(objpfx)bug-regex2-mem): Likewise.
9197         ($(objpfx)bug-regex14-mem): Likewise.
9198         ($(objpfx)bug-regex21-mem): Likewise.
9199         ($(objpfx)bug-regex31-mem): Likewise.
9200         ($(objpfx)tst-vfork3-mem): Likewise.
9201         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9202         ($(objpfx)tst-pcre-mem): Likewise.
9203         ($(objpfx)tst-boost-mem): Likewise.
9204         ($(objpfx)bug-ga2-mem): Likewise.
9205         ($(objpfx)bug-glob2-mem): Likewise.
9206         * resolv/Makefile (generate): Likewise.
9207         (tests-special): Likewise.
9208         (xtests-special): Likewise.
9209         (generated): Likewise.
9210         ($(objpfx)mtrace-tst-leaks): Likewise.
9211         ($(objpfx)mtrace-tst-leaks2): Likewise.
9212
9213         * scripts/merge-test-results.sh: New file.
9214         * Makefile (tests-special-notdir): New variable.
9215         (tests): Run merge-test-results.sh.
9216         (xtests): Likewise.
9217         * Rules (tests-special-notdir): New variable.
9218         (xtests-special-notdir): Likewise.
9219         (tests): Run merge-test-results.sh
9220         (xtests): Likewise.
9221
9222         * Makeconfig (test-xfail-name): New variable.
9223         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9224         compute variable name for expected failures.
9225         * conform/Makefile (conformtest-headers-data): New variable.
9226         (conformtest-standards): Likewise.
9227         (conformtest-headers-ISO): Likewise.
9228         (conformtest-headers-ISO99): Likewise.
9229         (conformtest-headers-ISO11): Likewise.
9230         (conformtest-headers-POSIX): Likewise.
9231         (conformtest-headers-XPG3): Likewise.
9232         (conformtest-headers-XPG4): Likewise.
9233         (conformtest-headers-UNIX98): Likewise.
9234         (conformtest-headers-XOPEN2K): Likewise.
9235         (conformtest-headers-POSIX2008): Likewise.
9236         (conformtest-headers-XOPEN2K8): Likewise.
9237         (conformtest-header-list-base): Likewise.
9238         (conformtest-header-list-tests): Likewise.
9239         (conformtest-header-base): Likewise.
9240         (conformtest-header-tests): Likewise.
9241         (tests-special): Add $(conformtest-header-list-tests).  If
9242         [$(fast-check) && !$(cross-compiling)], add
9243         $(conformtest-header-tests) instead of
9244         $(objpfx)run-conformtest.out.
9245         (generated): Add $(conformtest-header-list-base).  If
9246         [$(fast-check) && !$(cross-compiling)], add
9247         $(conformtest-header-base).  Remove previous setting.
9248         ($(conformtest-header-list-tests)): New target.
9249         (test-xfail-run-conformtest): Remove variable.
9250         ($(objpfx)run-conformtest.out): Remove target.
9251         (test-xfail-ISO11/complex.h/conform): New variable.
9252         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9253         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9254         (test-xfail-XPG3/varargs.h/conform): Likewise.
9255         (test-xfail-XPG4/varargs.h/conform): Likewise.
9256         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9257         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9258         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9259         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9260         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9261         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9262         (test-xfail-XPG3/ftw.h/conform): Likewise.
9263         (test-xfail-XPG3/grp.h/conform): Likewise.
9264         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9265         (test-xfail-XPG3/limits.h/conform): Likewise.
9266         (test-xfail-XPG3/pwd.h/conform): Likewise.
9267         (test-xfail-XPG3/search.h/conform): Likewise.
9268         (test-xfail-XPG3/signal.h/conform): Likewise.
9269         (test-xfail-XPG3/stdio.h/conform): Likewise.
9270         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9271         (test-xfail-XPG3/string.h/conform): Likewise.
9272         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9273         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9274         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9275         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9276         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9277         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9278         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9279         (test-xfail-XPG3/termios.h/conform): Likewise.
9280         (test-xfail-XPG3/time.h/conform): Likewise.
9281         (test-xfail-XPG3/unistd.h/conform): Likewise.
9282         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9283         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9284         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9285         (test-xfail-XPG4/netdb.h/conform): Likewise.
9286         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9287         (test-xfail-XPG4/signal.h/conform): Likewise.
9288         (test-xfail-XPG4/stdio.h/conform): Likewise.
9289         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9290         (test-xfail-XPG4/stropts.h/conform): Likewise.
9291         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9292         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9293         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9294         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9295         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9296         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9297         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9298         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9299         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9300         (test-xfail-XPG4/termios.h/conform): Likewise.
9301         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9302         (test-xfail-XPG4/unistd.h/conform): Likewise.
9303         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9304         (test-xfail-POSIX/sched.h/conform): Likewise.
9305         (test-xfail-POSIX/signal.h/conform): Likewise.
9306         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9307         (test-xfail-POSIX/tar.h/conform): Likewise.
9308         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9309         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9310         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9311         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9312         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9313         (test-xfail-UNIX98/sched.h/conform): Likewise.
9314         (test-xfail-UNIX98/signal.h/conform): Likewise.
9315         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9316         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9317         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9318         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9319         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9320         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9321         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9322         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9323         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9324         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9325         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9326         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9327         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9328         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9329         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9330         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9331         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9332         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9333         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9334         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9335         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9336         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9337         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9338         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9339         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9340         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9341         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9342         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9343         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9344         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9345         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9346         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9347         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9348         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9349         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9350         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9351         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9352         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9353         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9354         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9355         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9356         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9357         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9358         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9359         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9360         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9361         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9362         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9363         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9364         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9365         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9366         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9367         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9368         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9369         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9370         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9371         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9372         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9373         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9374         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9375         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9376         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9377         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9378         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9379         (conformtest-cc-flags): Likewise.
9380         ($(conformtest-header-tests): New target.
9381         * conform/check-header-lists.sh: New file.
9382         * conform/run-conformtest.sh: Remove.
9383
9384         * conform/conformtest.pl: Allow ' and \ in values given for
9385         constants.
9386         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9387         inclusion.
9388         [POSIX] (sys/types.h): Likewise.
9389         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9390         inclusion.
9391         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9392         inclusion.
9393         * conform/data/signal.h-data (SIGIO): Remove expectation.
9394         [XPG3] (SIGBUS): Do not expect.
9395         [POSIX || XPG3] (SIGPOLL): Likewise.
9396         [POSIX || XPG3] (SIGPROF): Likewise.
9397         [POSIX || XPG3] (SIGSYS): Likewise.
9398         [XPG3] (SIGTRAP): Likewise.
9399         [POSIX || XPG3] (SIGURG): Likewise.
9400         [POSIX || XPG3] (SIGVTALRM): Likewise.
9401         [POSIX || XPG3] (SIGXCPU): Likewise.
9402         [POSIX || XPG3] (SIGXFSZ): Likewise.
9403         [POSIX] (SA_SIGINFO): Expect.
9404         [XPG3] (siginfo_t): Do not expect type or contents.
9405         [POSIX] (si_pid): Do not expect element.
9406         [POSIX] (si_uid): Likewise.
9407         [POSIX] (si_addr): Likewise.
9408         [POSIX] (si_status): Likewise.
9409         [POSIX] (si_band): Likewise.
9410         [XPG4] (si_value): Likewise.
9411         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9412         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9413         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9414         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9415         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9416         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9417         [POSIX || XPG3] (ILL_COPROC): Likewise.
9418         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9419         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9420         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9421         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9422         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9423         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9424         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9425         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9426         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9427         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9428         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9429         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9430         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9431         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9432         [POSIX || XPG3] (CLD_EXITED): Likewise.
9433         [POSIX || XPG3] (CLD_KILLED): Likewise.
9434         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9435         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9436         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9437         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9438         [POSIX || XPG3] (POLL_IN): Likewise.
9439         [POSIX || XPG3] (POLL_OUT): Likewise.
9440         [POSIX || XPG3] (POLL_MSG): Likewise.
9441         [POSIX || XPG3] (POLL_ERR): Likewise.
9442         [POSIX || XPG3] (POLL_PRI): Likewise.
9443         [POSIX || XPG3] (POLL_HUP): Likewise.
9444         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9445         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9446         (SIG*): Do not allow.
9447         [XPG3] (si_*): Likewise.
9448         [XPG3] (SI_*): Likewise.
9449         [XPG3 || XPG4] (sigev_*): Likewise.
9450         [XPG3 || XPG4] (SIGEV_*): Likewise.
9451         [XPG3 || XPG4] (sival_*): Likewise.
9452         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9453         [POSIX || XPG3] (BUS_*): Likewise.
9454         [POSIX || XPG3] (CLD_*): Likewise.
9455         [POSIX || XPG3] (FPE_*): Likewise.
9456         [POSIX || XPG3] (ILL_*): Likewise.
9457         [POSIX || XPG3] (POLL_*): Likewise.
9458         [POSIX || XPG3] (SEGV_*): Likewise.
9459         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9460         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9461         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9462         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9463         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9464         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9465         Specify type and value.
9466         (TVERSLEN): Likewise.
9467         (REGTYPE): Likewise.
9468         (AREGTYPE): Likewise.
9469         (LNKTYPE): Likewise.
9470         (SYMTYPE): Likewise.
9471         (CHRTYPE): Likewise.
9472         (BLKTYPE): Likewise.
9473         (DIRTYPE): Likewise.
9474         (FIFOTYPE): Likewise.
9475         (CONTTYPE): Likewise.
9476         (TSUID): Likewise.
9477         (TSGID): Likewise.
9478         (TSVTX): Likewise.
9479         (TUREAD): Likewise.
9480         (TUWRITE): Likewise.
9481         (TUEXEC): Likewise.
9482         (TGREAD): Likewise.
9483         (TGWRITE): Likewise.
9484         (TGEXEC): Likewise.
9485         (TOREAD): Likewise.
9486         (TOWRITE): Likewise.
9487         (TOEXEC): Likewise.
9488         [POSIX] (TSVTX): Expect constant.
9489
9490 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9491
9492         * Makefile (tests): Change dependencies to ....
9493         (tests-special): ... additions to this variable.
9494         (tests): Depend on $(tests-special).
9495         * Makerules (check-abi-list): New variable.
9496         (check-abi): Depend on $(check-abi-list).
9497         [$(subdir) = elf] (tests-special): Add
9498         $(objpfx)check-abi-libc.out.
9499         [$(build-shared) = yes && subdir] (tests-special): Add
9500         $(check-abi-list).
9501         [$(build-shared) = yes && subdir] (tests): Do not depend on
9502         check-abi.
9503         * Rules (tests): Depend on $(tests-special).
9504         (xtests): Depend on $(xtests-special).
9505         * catgets/Makefile (tests): Change dependencies to ....
9506         (tests-special): ... additions to this variable.
9507         * conform/Makefile (tests): Change dependencies to ....
9508         (tests-special): ... additions to this variable.
9509         * elf/Makefile (tests): Change dependencies to ....
9510         (tests-special): ... additions to this variable.
9511         * grp/Makefile (tests): Change dependencies to ....
9512         (tests-special): ... additions to this variable.
9513         * iconv/Makefile (xtests): Change dependencies to ....
9514         (xtests-special): ... additions to this variable.
9515         * iconvdata/Makefile (tests): Change dependencies to ....
9516         (tests-special): ... additions to this variable.
9517         * intl/Makefile (tests): Change dependencies to ....
9518         (tests-special): ... additions to this variable.  Also add
9519         $(objpfx)tst-gettext.out.
9520         * io/Makefile (tests): Change dependencies to ....
9521         (tests-special): ... additions to this variable.
9522         * libio/Makefile (tests): Change dependencies to ....
9523         (tests-special): ... additions to this variable.
9524         * malloc/Makefile (tests): Change dependencies to ....
9525         (tests-special): ... additions to this variable.
9526         * misc/Makefile (tests): Change dependencies to ....
9527         (tests-special): ... additions to this variable.
9528         * nptl/Makefile (tests): Change dependencies to ....
9529         (tests-special): ... additions to this variable.
9530         * nptl_db/Makefile (tests): Change dependencies to ....
9531         (tests-special): ... additions to this variable.
9532         * posix/Makefile (tests): Change dependencies to ....
9533         (tests-special): ... additions to this variable.
9534         (xtests): Change dependencies to ....
9535         (xtests-special): ... additions to this variable.
9536         * resolv/Makefile (tests): Change dependencies to ....
9537         (tests-special): ... additions to this variable.
9538         (xtests): Change dependencies to ....
9539         (xtests-special): ... additions to this variable.
9540         * stdio-common/Makefile (tests): Change dependencies to ....
9541         (tests-special): ... additions to this variable.
9542         (do-tst-unbputc): Remove target.
9543         (do-tst-printf): Likewise.
9544         * stdlib/Makefile (tests): Change dependencies to ....
9545         (tests-special): ... additions to this variable.
9546         * string/Makefile (tests): Change dependencies to ....
9547         (tests-special): ... additions to this variable.
9548         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9549         (tests-special): ... additions to this variable.
9550
9551         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9552         whole file.
9553         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9554         whole file.
9555         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9556         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9557
9558         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9559         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9560         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9561         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9562         * conform/data/libgen.h-data [XPG3]: Likewise.
9563         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9564         * conform/data/ndbm.h-data [XPG3]: Likewise.
9565         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9566         * conform/data/netdb.h-data [XPG3]: Likewise.
9567         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9568         * conform/data/poll.h-data [XPG3]: Likewise.
9569         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9570         * conform/data/strings.h-data [XPG3]: Likewise.
9571         * conform/data/stropts.h-data [XPG3]: Likewise.
9572         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9573         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9574         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9575         Likewise.
9576         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9577         * conform/data/sys/time.h-data [XPG3]: Likewise.
9578         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9579         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9580         * conform/data/sys/un.h-data [XPG3]: Likewise.
9581         * conform/data/syslog.h-data [XPG3]: Likewise.
9582         * conform/data/ucontext.h-data [XPG3]: Likewise.
9583         * conform/data/utmpx.h-data [XPG3]: Likewise.
9584         * conform/data/varargs.h-data [UNIX98]: Enable file.
9585
9586         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9587
9588         * math/libm-test.inc (struct test_f_f_data): Move expected results
9589         into structure for each rounding mode.
9590         (struct test_ff_f_data): Likewise.
9591         (struct test_ff_f_data_nexttoward): Likewise.
9592         (struct test_fi_f_data): Likewise.
9593         (struct test_fl_f_data): Likewise.
9594         (struct test_if_f_data): Likewise.
9595         (struct test_fff_f_data): Likewise.
9596         (struct test_c_f_data): Likewise.
9597         (struct test_f_f1_data): Likewise.
9598         (struct test_fF_f1_data): Likewise.
9599         (struct test_ffI_f1_data): Likewise.
9600         (struct test_c_c_data): Likewise.
9601         (struct test_cc_c_data): Likewise.
9602         (struct test_f_i_data): Likewise.
9603         (struct test_ff_i_data): Likewise.
9604         (struct test_f_l_data): Likewise.
9605         (struct test_f_L_data): Likewise.
9606         (struct test_fFF_11_data): Likewise.
9607         (RM_): New macro.
9608         (RM_FE_DOWNWARD): Likewise.
9609         (RM_FE_TONEAREST): Likewise.
9610         (RM_FE_TOWARDZERO): Likewise.
9611         (RM_FE_UPWARD): Likewise.
9612         (RUN_TEST_LOOP_f_f): Update references to expected results.
9613         (RUN_TEST_LOOP_2_f): Likewise.
9614         (RUN_TEST_LOOP_fff_f): Likewise.
9615         (RUN_TEST_LOOP_c_f): Likewise.
9616         (RUN_TEST_LOOP_f_f1): Likewise.
9617         (RUN_TEST_LOOP_fF_f1): Likewise.
9618         (RUN_TEST_LOOP_fI_f1): Likewise.
9619         (RUN_TEST_LOOP_ffI_f1): Likewise.
9620         (RUN_TEST_LOOP_c_c): Likewise.
9621         (RUN_TEST_LOOP_cc_c): Likewise.
9622         (RUN_TEST_LOOP_f_i): Likewise.
9623         (RUN_TEST_LOOP_f_i_tg): Likewise.
9624         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9625         (RUN_TEST_LOOP_f_b): Likewise.
9626         (RUN_TEST_LOOP_f_b_tg): Likewise.
9627         (RUN_TEST_LOOP_f_l): Likewise.
9628         (RUN_TEST_LOOP_f_L): Likewise.
9629         (RUN_TEST_LOOP_fFF_11): Likewise.
9630         * math/gen-libm-test.pl (parse_args): Output four copies of
9631         expected results for each test.
9632
9633         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9634         (__ASSUME_UTIMES): Remove.
9635         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9636         (__ASSUME_UTIMES): Likewise.
9637
9638         * math/gen-auto-libm-tests.c: Update comment on output format.
9639         (output_for_one_input_case): Generate before-rounding and
9640         after-rounding information as conditions on output flags not
9641         floating-point format.
9642         * math/auto-libm-test-out: Regenerated.
9643         * math/gen-libm-test.pl (cond_value): New function.
9644         (or_cond_value): Use cond_value.
9645         (generate_testfile): Handle conditional exceptions.
9646
9647 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9648
9649         * math/libm-test.inc (max_valid_error): New variable.
9650         (init_max_error): Take new argument specifying whether function
9651         results are exactly determined.  Set max_valid_error and bound
9652         other variables for errors based on this argument.
9653         (set_max_error): Do not record results above max_valid_error.
9654         (check_float_internal): Only accept errors of up to 0.5ulps if
9655         also at most max_valid_error.
9656         (START): Take new argument EXACT and pass it to init_max_error.
9657         (acos_test): Update call to START.
9658         (acos_test_tonearest): Likewise.
9659         (acos_test_towardzero): Likewise.
9660         (acos_test_downward): Likewise.
9661         (acos_test_upward): Likewise.
9662         (acosh_test): Likewise.
9663         (asin_test): Likewise.
9664         (asin_test_tonearest): Likewise.
9665         (asin_test_towardzero): Likewise.
9666         (asin_test_downward): Likewise.
9667         (asin_test_upward): Likewise.
9668         (asinh_test): Likewise.
9669         (atan_test): Likewise.
9670         (atanh_test): Likewise.
9671         (atan2_test): Likewise.
9672         (cabs_test): Likewise.
9673         (cacos_test): Likewise.
9674         (cacosh_test): Likewise.
9675         (carg_test): Likewise.
9676         (casin_test): Likewise.
9677         (casinh_test): Likewise.
9678         (catan_test): Likewise.
9679         (catanh_test): Likewise.
9680         (cbrt_test): Likewise.
9681         (ccos_test): Likewise.
9682         (ccosh_test): Likewise.
9683         (ceil_test): Likewise.
9684         (cexp_test): Likewise.
9685         (cimag_test): Likewise.
9686         (clog_test): Likewise.
9687         (clog10_test): Likewise.
9688         (conj_test): Likewise.
9689         (copysign_test): Likewise.
9690         (cos_test): Likewise.
9691         (cos_test_tonearest): Likewise.
9692         (cos_test_towardzero): Likewise.
9693         (cos_test_downward): Likewise.
9694         (cos_test_upward): Likewise.
9695         (cosh_test): Likewise.
9696         (cosh_test_tonearest): Likewise.
9697         (cosh_test_towardzero): Likewise.
9698         (cosh_test_downward): Likewise.
9699         (cosh_test_upward): Likewise.
9700         (cpow_test): Likewise.
9701         (cproj_test): Likewise.
9702         (creal_test): Likewise.
9703         (csin_test): Likewise.
9704         (csinh_test): Likewise.
9705         (csqrt_test): Likewise.
9706         (ctan_test): Likewise.
9707         (ctan_test_tonearest): Likewise.
9708         (ctan_test_towardzero): Likewise.
9709         (ctan_test_downward): Likewise.
9710         (ctan_test_upward): Likewise.
9711         (ctanh_test): Likewise.
9712         (ctanh_test_tonearest): Likewise.
9713         (ctanh_test_towardzero): Likewise.
9714         (ctanh_test_downward): Likewise.
9715         (ctanh_test_upward): Likewise.
9716         (erf_test): Likewise.
9717         (erfc_test): Likewise.
9718         (exp_test): Likewise.
9719         (exp_test_tonearest): Likewise.
9720         (exp_test_towardzero): Likewise.
9721         (exp_test_downward): Likewise.
9722         (exp_test_upward): Likewise.
9723         (exp10_test): Likewise.
9724         (exp10_test_tonearest): Likewise.
9725         (exp10_test_towardzero): Likewise.
9726         (exp10_test_downward): Likewise.
9727         (exp10_test_upward): Likewise.
9728         (pow10_test): Likewise.
9729         (exp2_test): Likewise.
9730         (expm1_test): Likewise.
9731         (expm1_test_tonearest): Likewise.
9732         (expm1_test_towardzero): Likewise.
9733         (expm1_test_downward): Likewise.
9734         (expm1_test_upward): Likewise.
9735         (fabs_test): Likewise.
9736         (fdim_test): Likewise.
9737         (floor_test): Likewise.
9738         (fma_test): Likewise.
9739         (fma_test_towardzero): Likewise.
9740         (fma_test_downward): Likewise.
9741         (fma_test_upward): Likewise.
9742         (fmax_test): Likewise.
9743         (fmin_test): Likewise.
9744         (fmod_test): Likewise.
9745         (fpclassify_test): Likewise.
9746         (frexp_test): Likewise.
9747         (hypot_test): Likewise.
9748         (ilogb_test): Likewise.
9749         (isfinite_test): Likewise.
9750         (finite_test): Likewise.
9751         (isgreater_test): Likewise.
9752         (isgreaterequal_test): Likewise.
9753         (isinf_test): Likewise.
9754         (isless_test): Likewise.
9755         (islessequal_test): Likewise.
9756         (islessgreater_test): Likewise.
9757         (isnan_test): Likewise.
9758         (isnormal_test): Likewise.
9759         (issignaling_test): Likewise.
9760         (isunordered_test): Likewise.
9761         (j0_test): Likewise.
9762         (j1_test): Likewise.
9763         (jn_test): Likewise.
9764         (ldexp_test): Likewise.
9765         (lgamma_test): Likewise.
9766         (gamma_test): Likewise.
9767         (lrint_test): Likewise.
9768         (lrint_test_tonearest): Likewise.
9769         (lrint_test_towardzero): Likewise.
9770         (lrint_test_downward): Likewise.
9771         (lrint_test_upward): Likewise.
9772         (llrint_test): Likewise.
9773         (llrint_test_tonearest): Likewise.
9774         (llrint_test_towardzero): Likewise.
9775         (llrint_test_downward): Likewise.
9776         (llrint_test_upward): Likewise.
9777         (log_test): Likewise.
9778         (log10_test): Likewise.
9779         (log1p_test): Likewise.
9780         (log2_test): Likewise.
9781         (logb_test): Likewise.
9782         (logb_test_downward): Likewise.
9783         (lround_test): Likewise.
9784         (llround_test): Likewise.
9785         (modf_test): Likewise.
9786         (nearbyint_test): Likewise.
9787         (nextafter_test): Likewise.
9788         (nexttoward_test): Likewise.
9789         (pow_test): Likewise.
9790         (pow_test_tonearest): Likewise.
9791         (pow_test_towardzero): Likewise.
9792         (pow_test_downward): Likewise.
9793         (pow_test_upward): Likewise.
9794         (remainder_test): Likewise.
9795         (drem_test): Likewise.
9796         (remainder_test_tonearest): Likewise.
9797         (drem_test_tonearest): Likewise.
9798         (remainder_test_towardzero): Likewise.
9799         (drem_test_towardzero): Likewise.
9800         (remainder_test_downward): Likewise.
9801         (drem_test_downward): Likewise.
9802         (remainder_test_upward): Likewise.
9803         (drem_test_upward): Likewise.
9804         (remquo_test): Likewise.
9805         (rint_test): Likewise.
9806         (rint_test_tonearest): Likewise.
9807         (rint_test_towardzero): Likewise.
9808         (rint_test_downward): Likewise.
9809         (rint_test_upward): Likewise.
9810         (round_test): Likewise.
9811         (scalb_test): Likewise.
9812         (scalbn_test): Likewise.
9813         (scalbln_test): Likewise.
9814         (signbit_test): Likewise.
9815         (sin_test): Likewise.
9816         (sin_test_tonearest): Likewise.
9817         (sin_test_towardzero): Likewise.
9818         (sin_test_downward): Likewise.
9819         (sin_test_upward): Likewise.
9820         (sincos_test): Likewise.
9821         (sinh_test): Likewise.
9822         (sinh_test_tonearest): Likewise.
9823         (sinh_test_towardzero): Likewise.
9824         (sinh_test_downward): Likewise.
9825         (sinh_test_upward): Likewise.
9826         (sqrt_test): Likewise.
9827         (sqrt_test_tonearest): Likewise.
9828         (sqrt_test_towardzero): Likewise.
9829         (sqrt_test_downward): Likewise.
9830         (sqrt_test_upward): Likewise.
9831         (tan_test): Likewise.
9832         (tan_test_tonearest): Likewise.
9833         (tan_test_towardzero): Likewise.
9834         (tan_test_downward): Likewise.
9835         (tan_test_upward): Likewise.
9836         (tanh_test): Likewise.
9837         (tgamma_test): Likewise.
9838         (trunc_test): Likewise.
9839         (y0_test): Likewise.
9840         (y1_test): Likewise.
9841         (yn_test): Likewise.
9842         (significand_test): Likewise.
9843
9844         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9845         individual tests in comment.
9846         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9847         (prev_max_error): New variable.
9848         (prev_real_max_error): Likewise.
9849         (prev_imag_max_error): Likewise.
9850         (compare_ulp_data): Don't refer to test names in comment.
9851         (find_test_ulps): Remove function.
9852         (find_function_ulps): Likewise.
9853         (find_complex_function_ulps): Likewise.
9854         (init_max_error): Take function name as argument.  Look up ulps
9855         for that function.
9856         (print_ulps): Remove function.
9857         (print_max_error): Use prev_max_error instead of calling
9858         find_function_ulps.
9859         (print_complex_max_error): Use prev_real_max_error and
9860         prev_imag_max_error instead of calling find_complex_function_ulps.
9861         (check_float_internal): Take max_ulp parameter instead of calling
9862         find_test_ulps.  Don't call print_ulps.
9863         (check_float): Update call to check_float_internal.
9864         (check_complex): Update calls to check_float_internal.
9865         (START): Pass argument to init_max_error.
9866         * math/gen-libm-test.pl (%results): Don't include "kind"
9867         information.
9868         (parse_ulps): Don't handle ulps of individual tests.
9869         (print_ulps_file): Likewise.
9870         (output_ulps): Likewise.
9871         * math/README.libm-test: Update.
9872         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9873         individual tests.
9874         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9875         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9876         * sysdeps/arm/libm-test-ulps: Likewise.
9877         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9878         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9879         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9880         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9881         * sysdeps/microblaze/libm-test-ulps: Likewise.
9882         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9883         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9885         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9886         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9887         * sysdeps/sh/libm-test-ulps: Likewise.
9888         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9889         * sysdeps/tile/libm-test-ulps: Likewise.
9890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9891
9892 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9893
9894         * math/libm-test.inc (print_complex_max_error): Check separately
9895         whether real and imaginary errors are within allowed range and
9896         pass 0 to print_complex_function_ulps instead of value within
9897         allowed range.
9898
9899 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9900
9901         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9902         formatting.
9903         (get_handles_fopen): Likewise.
9904         (do_write_test): Likewise.
9905
9906         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9907
9908         * libio/fileops.c (do_ftell): Use cached offset when
9909         available.
9910         * libio/iofwide.c (do_ftell_wide): Likewise.
9911         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9912         _IO_file_attach.
9913         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9914
9915         [BZ #16532]
9916         * libio/libioP.h (get_file_offset): New function.
9917         * libio/fileops.c (get_file_offset): Likewise.
9918         (do_ftell): Likewise.
9919         (_IO_new_file_seekoff): Split out ftell logic.
9920         * libio/wfileops.c (do_ftell_wide): Likewise.
9921         (_IO_wfile_seekoff): Split out ftell logic.
9922         * libio/tst-ftell-active-handler.c: New test case.
9923         * libio/Makefile (tests): Add it.
9924
9925 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9926
9927         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9928         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9929
9930 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9931
9932         [BZ #16639]
9933         * nscd/connections.c (nscd_init): Call do_exit.
9934         (start_threads): Call do_exit and notify_parent.
9935         (begin_drop_privileges): Call do_exit.
9936         (finish_drop_privileges): Likewise.
9937         * nscd/selinux.c (preserve_capabilities): Likewise.
9938         (install_real_capabilities): Likewise.
9939         (nscd_selinux_enabled): Likewise.
9940         (avc_create_thread): Likewise.
9941         (avc_alloc_lock): Likewise.
9942         (nscd_avc_init): Likewise.
9943         * nscd/nscd.c (parent_fd): New static variable.
9944         (main): Create a pipe between parent and child processes.
9945         Skip closing parent_fd.
9946         (monitor_child): New function.
9947         (do_exit): Likewise.
9948         (notify_parent): Likewise.
9949         * nscd/nscd.h (notify_parent): Likewise.
9950         (do_exit): Likewise.
9951
9952 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9953
9954         * malloc/malloc.c (__libc_calloc): Revert last change.
9955
9956 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9957
9958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9959
9960 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9961
9962         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9964         implementation.
9965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9966         (__libc_ifunc_impl_list): Likewise.
9967         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9968         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9969         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9970         * string/strrchr.c: Define STRRCHR.
9971
9972 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9973
9974         * benchtest/bench-strtok.c (simple_strtok): Delete.
9975         (strtok_string): Use as benchmark.
9976         * string/strtok (STRTOK): New macro.
9977
9978 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9979
9980         * manual/threads.texi: Add header and standard comments to all
9981         functions.
9982
9983         * elf/dl-lookup.c (check_match): New function.
9984         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9985         (do_lookup_x): Remove nested function check_match. Use non-nested
9986         function check_match.
9987
9988 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9989
9990         * csu/Makefile (generated, before-compile): Use += rather than =.
9991         * catgets/Makefile (generated, generated-dirs): Likewise.
9992         * debug/Makefile (generated): Likewise.
9993         * dlfcn/Makefile (generated): Likewise.
9994         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9995         * iconvdata/Makefile (before-compile, generated): Likewise.
9996         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9997         * libio/Makefile (generated): Likewise.
9998         * malloc/Makefile (generated): Likewise.
9999         * manual/Makefile (generated, generated-dirs): Likewise.
10000         * misc/Makefile (generated): Likewise.
10001         * posix/Makefile (generated): Likewise.
10002         * resolv/Makefile (generated): Likewise.
10003         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10004         * timezone/Makefile (generated, generated-dirs): Likewise.
10005
10006         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10007
10008 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10009
10010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10011         power8 implementation.
10012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10013         file: POWER8 llround ifunc implementation.
10014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10015         (__lllround): Add POWER8 implementation.
10016         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10017         POWER8 llround implementation.
10018
10019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10020         power8 implementation.
10021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10022         file: POWER8 llrint ifunc implementation.
10023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10024         Add POWER8 implementation.
10025         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10026         POWER8 llrint implementation.
10027
10028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10029         power8 implementation.
10030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10031         file: POWER8 finite ifunc implementation.
10032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10033         Add POWER8 implementation.
10034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10035         Likewise.
10036         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10037         POWER8 finite implementation.
10038         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10039
10040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10041         power8 implementation.
10042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10043         file: POWER8 isinf ifunc implementation.
10044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10045         POWER8 implementation.
10046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10047         Likewise.
10048         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10049         isinf implementation.
10050         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10051
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10053         (INIT_ARCH): Add hwcap2 initialization.
10054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10055         power8 implementation.
10056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10057         file: POWER8 isnan ifunc implementation.
10058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10059         POWER8 implementation.
10060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10061         Likewise.
10062         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10063         isnan implementation.
10064         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10065
10066 2014-02-27  Joey Ye  <joey.ye@arm.com>
10067
10068         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10069         (_FP_NANFRAC_Q): Set to zero.
10070
10071 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072
10073         [BZ #16623]
10074         * math/auto-libm-test-in: New test inputs.
10075         * math/auto-libm-test-out: Regenerate.
10076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10077         and DA.
10078         (__cos): Likewise.
10079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10080
10081 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10082
10083         * scripts/evaluate-test.sh: Take new argument indicating whether
10084         failure is expected.
10085         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10086         indicating whether failure is expected.
10087         * conform/Makefile (test-xfail-run-conformtest): New variable.
10088         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10089         level.
10090         * posix/Makefile (test-xfail-annexc): New variable.
10091         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10092
10093 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10094
10095         * argp/Makefile: Include Makeconfig immediately after defining
10096         subdir.
10097         * assert/Makefile: Likewise.
10098         * benchtests/Makefile: Likewise.
10099         * catgets/Makefile: Likewise.
10100         * conform/Makefile: Likewise.
10101         * crypt/Makefile: Likewise.
10102         * csu/Makefile: Likewise.
10103         (all): Remove target.
10104         * ctype/Makefile: Include Makeconfig immediately after defining
10105         subdir.
10106         * debug/Makefile: Likewise.
10107         * dirent/Makefile: Likewise.
10108         * dlfcn/Makefile: Likewise.
10109         * gmon/Makefile: Likewise.
10110         * gnulib/Makefile: Likewise.
10111         * grp/Makefile: Likewise.
10112         * gshadow/Makefile: Likewise.
10113         * hesiod/Makefile: Likewise.
10114         * hurd/Makefile: Likewise.
10115         (all): Remove target.
10116         * iconvdata/Makefile: Include Makeconfig immediately after
10117         defining subdir.
10118         * inet/Makefile: Likewise.
10119         * intl/Makefile: Likewise.
10120         * io/Makefile: Likewise.
10121         * libio/Makefile: Likewise.
10122         (all): Remove target.
10123         * locale/Makefile: Include Makeconfig immediately after defining
10124         subdir.
10125         * login/Makefile: Likewise.
10126         * mach/Makefile: Likewise.
10127         (all): Remove target.
10128         * malloc/Makefile: Include Makeconfig immediately after defining
10129         subdir.
10130         (all): Remove target.
10131         * manual/Makefile: Include Makeconfig immediately after defining
10132         subdir.
10133         * math/Makefile: Likewise.
10134         * misc/Makefile: Likewise.
10135         * nis/Makefile: Likewise.
10136         * nss/Makefile: Likewise.
10137         * po/Makefile: Likewise.
10138         (all): Remove target.
10139         * posix/Makefile: Include Makeconfig immediately after defining
10140         subdir.
10141         * pwd/Makefile: Likewise.
10142         * resolv/Makefile: Likewise.
10143         * resource/Makefile: Likewise.
10144         * rt/Makefile: Likewise.
10145         * setjmp/Makefile: Likewise.
10146         * shadow/Makefile: Likewise.
10147         * signal/Makefile: Likewise.
10148         * socket/Makefile: Likewise.
10149         * soft-fp/Makefile: Likewise.
10150         * stdio-common/Makefile: Likewise.
10151         * stdlib/Makefile: Likewise.
10152         * streams/Makefile: Likewise.
10153         * string/Makefile: Likewise.
10154         * sunrpc/Makefile: Likewise.
10155         (all): Remove target.
10156         * sysvipc/Makefile: Include Makeconfig immediately after defining
10157         subdir.
10158         * termios/Makefile: Likewise.
10159         * time/Makefile: Likewise.
10160         * timezone/Makefile: Likewise.
10161         (all): Remove target.
10162         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10163         subdir.
10164         * wctype/Makefile: Likewise.
10165
10166 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10167
10168         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10169         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10170         (libc_feholdexcept_setround_mips): Ditto.
10171         (libc_feholdsetround): New.
10172         (libc_feholdsetroundf): New.
10173         (libc_feholdsetroundl): New.
10174         (libc_feupdateenv_test_mips): New.
10175         (libc_feupdateenv_test): New.
10176         (libc_feupdateenv_testf): New.
10177         (libc_feupdateenv_testl): New.
10178         (libc_feresetround): New.
10179         (libc_feresetroundf): New.
10180         (libc_feresetroundl): New.
10181         (libc_fetestexcept_mips): New.
10182         (libc_fetestexcept): New.
10183         (libc_fetestexceptf): New.
10184         (libc_fetestexceptl): New.
10185         (HAVE_RM_CTX): New.
10186         (libc_feholdexcept_setround_mips_ctx): New.
10187         (libc_feholdexcept_setround_ctx): New.
10188         (libc_feholdexcept_setroundf_ctx): New.
10189         (libc_feholdexcept_setroundl_ctx): New.
10190         (libc_fesetenv_mips_ctx): New.
10191         (libc_fesetenv_ctx): New.
10192         (libc_fesetenv_ctxf): New.
10193         (libc_fesetenv_ctxl): New.
10194         (libc_feupdateenv_mips_ctx): New.
10195         (libc_feupdateenv_ctx): New.
10196         (libc_feupdateenvf_ctx): New.
10197         (libc_feupdateenvl_ctx): New.
10198         (libc_feholdsetround_mips_ctx): New.
10199         (libc_feholdsetround_ctx): New.
10200         (libc_feholdsetroundf_ctx): New.
10201         (libc_feholdsetroundl_ctx): New.
10202         (libc_feresetround_mips_ctx): New.
10203         (libc_feresetround_ctx): New.
10204         (libc_feresetroundf_ctx): New.
10205         (libc_feresetroundl_ctx): New.
10206
10207 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10208
10209         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10210
10211         * manual/ipc.texi: New file.
10212         * manual/Makefile (chapters): Add ipc.
10213         * manual/job.texi: Add "Inter-Process Communication" to next.
10214         * manual/process.texi: Add "Inter-Process Communication" to prev.
10215
10216 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10217
10218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10219
10220 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10221
10222         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10223
10224         * manual/arith.texi: Fix spaces after sentences.
10225         * manual/charset.texi: Likewise.
10226         * manual/errno.texi: Likewise.
10227         * manual/install.texi: Likewise.
10228         * manual/llio.texi: Likewise.
10229         * manual/locale.texi: Likewise.
10230         * manual/maint.texi: Likewise.
10231         * manual/math.texi: Likewise.
10232         * manual/memory.texi: Likewise.
10233         * manual/message.texi: Likewise.
10234         * manual/probes.texi: Likewise.
10235         * manual/resource.texi: Likewise.
10236         * manual/signal.texi: Likewise.
10237         * manual/socket.texi: Likewise.
10238         * manual/stdio.texi: Likewise.
10239         * manual/string.texi: Likewise.
10240         * manual/time.texi: Likewise.
10241         * manual/users.texi: Likewise.
10242
10243 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10244
10245         [BZ #16632]
10246         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10247         _DEFAULT_SOURCE is defined.
10248
10249 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10250             Carlos O'Donell  <carlos@redhat.com>
10251
10252         [BZ #16613]
10253         * elf/dl-tls.c (_dl_count_modids): New function.
10254         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10255         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10256         audit library and increment generation counter.
10257         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10258         * elf/tst-audit9.c: New file.
10259         * elf/tst-auditmod9a.c: New file.
10260         * elf/tst-auditmod9b.c: New file.
10261         * elf/Makefile: Add rules to build and run tst-audit9.
10262
10263 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10264
10265         [BZ #15347]
10266         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10267
10268 2014-02-25  Will Newton  <will.newton@linaro.org>
10269
10270         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10271         (__longjmp): Restore sp and lr before restoring callee
10272         saved registers.  Add longjmp and longjmp_target
10273         SystemTap probe point.
10274         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10275         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10276         Define to zero to match jmpbuf layout.
10277         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10278         (__sigsetjmp): Save sp and lr before saving callee
10279         saved registers.  Add setjmp SystemTap probe point.
10280
10281 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10282
10283         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10284
10285 2014-02-24  Andreas Schwab  <schwab@suse.de>
10286
10287         [BZ #15804]
10288         * elf/pldd.c (wait_for_ptrace_stop): New function.
10289         (main): Call it after attaching.
10290
10291 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10292
10293         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10294         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10295         Versions files is now verboten.
10296         * hurd/Versions (libc: GLIBC_2.0):
10297         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10298         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10299         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10300         * mach/Versions: Likewise.
10301
10302         * csu/Versions: Remove unused %include.
10303         * resolv/Versions: Likewise.
10304
10305 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10306
10307         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10308         ($(objpfx)check-local-headers.out): Likewise.
10309         ($(objpfx)begin-end-check.out): Likewise.
10310         * Makerules (check-abi-%.out): Likewise.
10311         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10312         ($(objpfx)test2.cat): Likewise.
10313         ($(objpfx)de/libc.cat): Likewise.
10314         ($(objpfx)test-gencat.out): Likewise.
10315         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10316         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10317         ($(objpfx)noload-mem): Likewise.
10318         ($(objpfx)tst-pathopt.out): Likewise.
10319         ($(objpfx)tst-rtld-load-self.out): Likewise.
10320         ($(objpfx)tst-array1-cmp.out): Likewise.
10321         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10322         ($(objpfx)tst-array2-cmp.out): Likewise.
10323         ($(objpfx)tst-array3-cmp.out): Likewise.
10324         ($(objpfx)tst-array4-cmp.out): Likewise.
10325         ($(objpfx)tst-array5-cmp.out): Likewise.
10326         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10327         ($(objpfx)check-textrel.out): Likewise.
10328         ($(objpfx)check-execstack.out): Likewise.
10329         ($(objpfx)check-localplt.out): Likewise.
10330         ($(objpfx)order2-cmp.out): Likewise.
10331         ($(objpfx)tst-leaks1-mem): Likewise.
10332         ($(objpfx)tst-leaks1-static-mem): Likewise.
10333         ($(objpfx)tst-initorder-cmp.out): Likewise.
10334         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10335         ($(objpfx)tst-unused-dep.out): Likewise.
10336         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10337         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10338         * iconv/Makefile (test-iconvconfig): Likewise.
10339         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10340         ($(objpfx)iconv-test.out): Likewise.
10341         ($(objpfx)tst-tables.out): Likewise.
10342         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10343         ($(objpfx)tst-gettext.out): Likewise.
10344         ($(objpfx)tst-translit.out): Likewise.
10345         ($(objpfx)tst-gettext2.out): Likewise.
10346         ($(objpfx)tst-gettext4.out): Likewise.
10347         ($(objpfx)tst-gettext6.out): Likewise.
10348         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10349         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10350         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10351         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10352         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10353         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10354         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10355         ($(objpfx)wordexp-tst.out): Likewise.
10356         ($(objpfx)annexc.out): Likewise.
10357         ($(objpfx)tst-fnmatch-mem): Likewise.
10358         ($(objpfx)bug-regex2-mem): Likewise.
10359         ($(objpfx)bug-regex14-mem): Likewise.
10360         ($(objpfx)bug-regex21-mem): Likewise.
10361         ($(objpfx)bug-regex31-mem): Likewise.
10362         ($(objpfx)tst-vfork3-mem): Likewise.
10363         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10364         ($(objpfx)tst-pcre-mem): Likewise.
10365         ($(objpfx)tst-boost-mem): Likewise.
10366         ($(objpfx)tst-getconf.out): Likewise.
10367         ($(objpfx)bug-ga2-mem): Likewise.
10368         ($(objpfx)bug-glob2-mem): Likewise.
10369         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10370         ($(objpfx)mtrace-tst-leaks2): Likewise.
10371         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10372         ($(objpfx)tst-printf.out): Likewise.
10373         ($(objpfx)tst-setvbuf1.out): Likewise.
10374         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10375         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10376         ($(objpfx)tst-fmtmsg.out): Likewise.
10377         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10378         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10379
10380         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10381         * bits/sigaction.h [__USE_MISC]: Likewise.
10382         * bits/waitstatus.h: Update #endif comments.
10383         * ctype/ctype.h: Likewise.
10384         * dirent/dirent.h: Likewise.
10385         [__USE_MISC]: Remove redundant conditionals.
10386         * grp/grp.h: Update #endif comments.
10387         [__USE_GNU]: Remove redundant conditionals.
10388         [__USE_MISC]: Likewise.
10389         * inet/netinet/in.h [__USE_GNU]: Likewise.
10390         * io/sys/stat.h [__USE_MISC]: Likewise.
10391         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10392         * libio/bits/stdio.h: Update #endif comments.
10393         [__USE_MISC]: Remove redundant conditionals.
10394         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10395         * libio/stdio.h: Update #endif comments.
10396         [__USE_MISC]: Remove redundant conditionals.
10397         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10398         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10399         * math/math.h: Update #else and #endif comments.
10400         [__USE_MISC]: Remove redundant conditionals.
10401         * misc/sys/uio.h: Update #endif comments.
10402         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10403         * posix/glob.h [__USE_MISC]: Likewise.
10404         * posix/sys/types.h: Update #endif comments.
10405         [__USE_MISC]: Remove redundant conditionals.
10406         * posix/sys/wait.h: Update #endif comments.
10407         [__USE_MISC]: Remove redundant conditionals.
10408         * posix/unistd.h: Update #endif comments.
10409         [__USE_MISC]: Remove redundant conditionals.
10410         * pwd/pwd.h [__USE_GNU]: Likewise.
10411         [__USE_MISC]: Likewise.
10412         * resolv/netdb.h [__USE_GNU]: Likewise.
10413         * signal/signal.h: Update #endif comments.
10414         [__USE_MISC]: Remove redundant conditionals.
10415         * stdlib/stdlib.h: Update #else and #endif comments.
10416         [__USE_MISC]: Remove redundant conditionals.
10417         [__USE_GNU]: Likewise.
10418         * string/bits/string2.h [__USE_MISC]: Likewise.
10419         * string/string.h: Update #endif comments.
10420         [__USE_MISC]: Remove redundant conditionals.
10421         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10422         Likewise.
10423         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10424         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10425         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10426         Likewise.
10427         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10428         Likewise.
10429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10430         comments.
10431         [__USE_MISC]: Remove redundant conditionals.
10432         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10433         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10434         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10435         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10436         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10437         Likewise.
10438         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10439         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10440         Likewise.
10441         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10442         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10443         Likewise.
10444         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10445         Likewise.
10446         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10447         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10448         Likewise.
10449         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10450         Likewise.
10451         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10452         * sysdeps/x86/bits/string.h: Update #endif comments.
10453         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10454         conditionals.
10455         * time/sys/time.h: Update #endif comments.
10456         * time/time.h: Likewise.
10457         [__USE_MISC]: Remove redundant conditionals.
10458
10459 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10460
10461         [BZ #16600]
10462         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10463
10464 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10465
10466         * Versions.def (librt): Add GLIBC_2.17.
10467
10468 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10469
10470         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10471         synonym for _SYS_AUXV_H to allow direct inclusion.
10472         * sysdeps/sparc/bits/hwcap.h: Likewise.
10473         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10474         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10475         * sysdeps/sparc/sysdep.h: Likewise.
10476
10477 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10478
10479         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10480
10481 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10482
10483         * benchtests/bench-strrchr.c: Print length instead of position.
10484
10485 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10486
10487         [BZ #16611]
10488         * sysdeps/unix/sysv/linux/kernel-features.h
10489         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10490         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10491         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10492         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10493         Likewise.
10494         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10495         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10496         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10497         (__ASSUME_SENDMMSG): Define instead of using previous
10498         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10499         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10500         (__ASSUME_SENDMMSG_SYSCALL): Define.
10501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10502         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10503         Likewise.
10504         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10506         Likewise.
10507         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10508         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10509         Likewise.
10510         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10511         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10512         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10513         [__ASSUME_SENDMMSG]: Change conditionals to
10514         [__ASSUME_SENDMMSG_SOCKETCALL].
10515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10516         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10517         Define.
10518         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10519         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10520         Likewise.
10521         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10522         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10523         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10524         [!__ASSUME_SENDMMSG]: Change conditional to
10525         [!__ASSUME_SENDMMSG_SOCKETCALL].
10526         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10527         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10528         Define.
10529
10530         [BZ #16610]
10531         * sysdeps/unix/sysv/linux/kernel-features.h
10532         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10533         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10534         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10535         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10536         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10537         [__i386__ || __sparc__]
10538         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10539         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10540         (__ASSUME_RECVMMSG): Define instead of using previous
10541         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10542         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10543         (__ASSUME_RECVMMSG_SYSCALL): Define.
10544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10545         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10546         Likewise.
10547         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10548         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10549         Likewise.
10550         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10551         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10552         Likewise.
10553         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10554         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10555         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10556         [__ASSUME_RECVMMSG]: Change condition to
10557         [__ASSUME_RECVMMSG_SOCKETCALL].
10558         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10560         Define.
10561         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10563         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10564         Likewise.
10565         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10566         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10567         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10568         [!__ASSUME_RECVMMSG]: Change condition to
10569         [!__ASSUME_RECVMMSG_SOCKETCALL].
10570         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10571         (__ASSUME_RECVMMSG_SYSCALL): Define.
10572
10573         [BZ #16609]
10574         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10575         __powerpc__ || __s390__ || __sh__ || __sparc__]
10576         (__ASSUME_SOCKETCALL): Define.
10577         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10578         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10579         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10580         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10581         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10582         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10583         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10584         (__ASSUME_ACCEPT4): Define instead of using previous
10585         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10586         __powerpc__ || __sparc__ || __s390__)] condition.
10587         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10588         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10589         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10590         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10591         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10592         [!__ASSUME_ACCEPT4]: Change condition to
10593         [!__ASSUME_ACCEPT4_SOCKETCALL].
10594         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10595         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10596         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10598         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10599         __ASSUME_ACCEPT4_SYSCALL.
10600         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10601         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10602         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10603         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10604         __ASSUME_ACCEPT4_SYSCALL.
10605         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10606         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10607         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10608         [__ASSUME_ACCEPT4]: Change condition to
10609         [__ASSUME_ACCEPT4_SOCKETCALL].
10610         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10611         (__ASSUME_SOCKETCALL): Define.
10612         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10614         (__ASSUME_SOCKETCALL): Define.
10615         (__ASSUME_ACCEPT4): Remove.
10616         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10617         Define.
10618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10619         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10620         Likewise.
10621         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10622         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10623
10624         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10625         macro.
10626         (HWCAP_ARM_LPAE): Likewise.
10627         (HWCAP_ARM_EVTSTRM): Likewise.
10628         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10629         Add vpfd32, lpae and evtstrm.
10630         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10631         Increase to 22.
10632
10633 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10634
10635         * math/auto-libm-test-in: Add tests of clog10.
10636         * math/auto-libm-test-out: Regenerated.
10637         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10638         * sysdeps/i386/fpu/libm-test-ulps: Update.
10639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640
10641 2014-02-18  Andreas Schwab  <schwab@suse.de>
10642
10643         [BZ #16574]
10644         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10645         Store non-zero if the second buffer was newly allocated.
10646         (send_dg): Likewise.
10647         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10648         to send_vc and send_dg.
10649         (res_nsend): Pass NULL for ansp2_malloced.
10650         * resolv/res_query.c (__libc_res_nquery): Add parameter
10651         answerp2_malloced and pass it down to __libc_res_nsend.
10652         (res_nquery): Pass additional NULL to __libc_res_nquery.
10653         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10654         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10655         second answer buffer if answerp2_malloced was set.
10656         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10657         (__libc_res_nquerydomain): Add parameter
10658         answerp2_malloced and pass it down to __libc_res_nquery.
10659         (res_nquerydomain): Pass additional NULL to
10660         __libc_res_nquerydomain.
10661         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10662         additional NULL to __libc_res_nsend and __libc_res_nquery.
10663         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10664         additional NULL to __libc_res_nsearch.
10665         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10666         parameter of __libc_res_nsearch to check for separately allocated
10667         second buffer.
10668         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10669         __libc_res_nquery.
10670         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10671         additional NULL to __libc_res_nquery.
10672         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10673         __libc_res_nsearch.
10674         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10675         * include/resolv.h: Update prototypes of __libc_res_nquery,
10676         __libc_res_nsearch, __libc_res_nsend.
10677
10678 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10679
10680         * math/auto-libm-test-in: Add tests of fma.
10681         * math/auto-libm-test-out: Regenerated.
10682         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10683         (fma_towardzero_test_data): Likewise.
10684         (fma_downward_test_data): Likewise.
10685         (fma_upward_test_data): Likewise.
10686         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10687         mpc_mode.
10688         (rounding_modes): Add values for new field.
10689         (func_calc_method): Add value mpfr_fff_f.
10690         (func_calc_desc): Add mpfr_fff_f union field.
10691         (test_function): Add field exact_args.
10692         (FUNC): Add macro argument EXACT_ARGS.
10693         (FUNC_mpfr_f_f): Update call to FUNC.
10694         (FUNC_mpfr_f_f): Likewise.
10695         (FUNC_mpfr_ff_f): Likewise.
10696         (FUNC_mpfr_if_f): Likewise.
10697         (FUNC_mpc_c_f): Likewise.
10698         (FUNC_mpc_c_c): Likewise.
10699         (test_functions): Add fma.  Update calls to FUNC.
10700         (handle_input_arg): Add argument exact_args.
10701         (add_test): Update call to handle_input_arg.
10702         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10703         (output_for_one_input_case): Update call to calc_generic_results.
10704         Recalculate exact zero results in each rounding mode.
10705
10706         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10707         non-negative before setting low bit.
10708         * math/auto-libm-test-in: Mark one asin test possibly having
10709         spurious underflow.
10710         * math/auto-libm-test-out: Regenerated.
10711         * sysdeps/i386/fpu/libm-test-ulps: Update.
10712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10713
10714 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10715
10716         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10717         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10718         ports/sysdeps/unix/sysv/linux/microblaze.
10719         * README: Add missing listing for microblaze*-*-linux-gnu.
10720
10721 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10722
10723         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10724         duplicate code
10725
10726 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10727
10728         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10729         * sysdeps/unix/sysv/linux/ia64: Move directory from
10730         ports/sysdeps/unix/sysv/linux/ia64.
10731         * README: Update listing for ia64-*-linux-gnu.
10732
10733 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10734             Joseph Myers  <joseph@codesourcery.com>
10735
10736         * Makeconfig (test-name): New variable.
10737         (evaluate-test): Likewise.
10738         * Makerules (do-test-clean): Remove .test-result files.
10739         (common-mostlyclean): Likewise.
10740         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10741         * scripts/evaluate-test.sh: New file.
10742
10743 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10744
10745         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10746         separate $(objpfx)tst-fopenloc-cmp.out and
10747         $(objpfx)tst-fopenloc-mem.out targets.
10748         (tests): Update dependencies.
10749         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10750         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10751         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10752         (tst-rxspencer-no-utf8-ARGS): New variable.
10753         (tst-rxspencer-no-utf8-ENV): Likewise.
10754         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10755         instead of $(objpfx)tst-rxspencer-mem.
10756         ($(objpfx)tst-rxspencer-mem): Change target to
10757         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10758         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10759         * posix/tst-rxspencer-no-utf8.c: New file.
10760
10761         * elf/Makefile ($(objpfx)order.out): Remove rule.
10762         [$(run-built-tests) = yes] (tests): Depend on
10763         $(objpfx)order-cmp.out.
10764         ($(objpfx)order-cmp.out): New rule.
10765         [$(run-built-tests) = yes] (tests): Depend on
10766         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10767         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10768         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10769         $(objpfx)tst-array5-static-cmp.out.
10770         ($(objpfx)tst-array1.out): Remove rule.
10771         ($(objpfx)tst-array1-cmp.out): New rule.
10772         ($(objpfx)tst-array1-static.out): Remove rule.
10773         ($(objpfx)tst-array1-static-cmp.out): New rule.
10774         ($(objpfx)tst-array2.out): Remove rule.
10775         ($(objpfx)tst-array2-cmp.out): New rule.
10776         ($(objpfx)tst-array3.out): Remove rule.
10777         ($(objpfx)tst-array3-cmp.out): New rule.
10778         ($(objpfx)tst-array4.out): Remove rule.
10779         ($(objpfx)tst-array4-cmp.out): New rule.
10780         ($(objpfx)tst-array5.out): Remove rule.
10781         ($(objpfx)tst-array5-cmp.out): New rule.
10782         ($(objpfx)tst-array5-static.out): Remove rule.
10783         ($(objpfx)tst-array5-static-cmp.out): New rule.
10784         [$(run-built-tests) = yes] (tests): Depend on
10785         $(objpfx)order2-cmp.out.
10786         ($(objpfx)order2.out): Remove rule.
10787         ($(objpfx)order2-cmp.out): New rule.
10788         ($(objpfx)tst-initorder.out): Remove rule.
10789         [$(run-built-tests) = yes] (tests): Depend on
10790         $(objpfx)tst-initorder-cmp.out.
10791         ($(objpfx)tst-initorder-cmp.out): New rule.
10792         ($(objpfx)tst-initorder2.out): Remove rule.
10793         [$(run-built-tests) = yes] (tests): Depend on
10794         $(objpfx)tst-initorder2-cmp.out.
10795         ($(objpfx)tst-initorder2-cmp.out): New rule.
10796         [$(run-built-tests) = yes] (tests): Depend on
10797         $(objpfx)tst-unused-dep-cmp.out.
10798         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10799         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10800         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10801         on $(objpfx)tst-setvbuf1-cmp.out.
10802         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10803         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10804         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10805         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10806         ($(objpfx)tst-svc.out): Remove rule.
10807         ($(objpfx)tst-svc-cmp.out): New rule.
10808
10809 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10810
10811         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10812         * ctype/ctype.h [__USE_MISC]: Likewise.
10813         * dirent/dirent.h [__USE_MISC]: Likewise.
10814         * grp/grp.h [__USE_MISC]: Likewise.
10815         * io/fcntl.h [__USE_MISC]: Likewise.
10816         * io/sys/stat.h [__USE_MISC]: Likewise.
10817         * libio/stdio.h [__USE_MISC]: Likewise.
10818         * posix/unistd.h [__USE_MISC]: Likewise.
10819         * pwd/pwd.h [__USE_MISC]: Likewise.
10820         * stdlib.h [__USE_MISC]: Likewise.
10821         * string/bits/string2.h [__USE_MISC]: Likewise.
10822         * string/string.h [__USE_MISC]: Likewise.
10823         * time/time.h [__USE_MISC]: Likewise.
10824
10825 2014-02-13  Andreas Schwab  <schwab@suse.de>
10826
10827         [BZ #16574]
10828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10829         second answer buffer if it was separately allocated.
10830
10831 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10832
10833         * sysdeps/mips/math-tests.h: Include <features.h>.
10834         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10835         (ROUNDING_TESTS_long_double): Do not define.
10836         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10837         (EXCEPTION_TESTS_long_double): Likewise.
10838         * sysdeps/mips/mips64/libm-test-ulps: Update.
10839
10840         * include/features.h (__USE_BSD): Remove macro definitions.
10841         (__USE_SVID): Likewise.
10842         (_BSD_SOURCE): Likewise.
10843         (_SVID_SOURCE): Likewise.
10844         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10845         from definition of _DEFAULT_SOURCE.
10846         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10847         [_DEFAULT_SOURCE].
10848         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10849         * bits/mman.h [__USE_BSD]: Likewise.
10850         * bits/termios.h [__USE_BSD]: Likewise.
10851         * bits/waitstatus.h [__USE_BSD]: Likewise.
10852         * ctype/ctype.h [__USE_SVID]: Likewise.
10853         * dirent/dirent.h [__USE_BSD]: Likewise.
10854         * grp/grp.h [__USE_SVID]: Likewise.
10855         [__USE_BSD]: Likewise.
10856         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10857         * io/fcntl.h [__USE_BSD]: Likewise.
10858         * io/ftw.h [__USE_BSD]: Likewise.
10859         * io/sys/stat.h [__USE_BSD]: Likewise.
10860         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10861         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10862         * libio/stdio.h [__USE_SVID]: Likewise.
10863         [__USE_BSD]: Likewise.
10864         * math/math.h [__USE_SVID]: Likewise.
10865         [__USE_BSD]: Likewise.
10866         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10867         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10868         * misc/search.h [__USE_SVID]: Likewise.
10869         * misc/sys/mman.h [__USE_BSD]: Likewise.
10870         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10871         * misc/sys/uio.h [__USE_BSD]: Likewise.
10872         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10873         * posix/glob.h [__USE_BSD]: Likewise.
10874         * posix/regex.h [__USE_BSD]: Likewise.
10875         * posix/sys/types.h [__USE_BSD]: Likewise.
10876         [__USE_SVID]: Likewise.
10877         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10878         * posix/sys/wait.h [__USE_BSD]: Likewise.
10879         [__USE_SVID]: Likewise.
10880         * posix/unistd.h [__USE_BSD]: Likewise.
10881         [__USE_SVID]: Likewise.
10882         * pwd/pwd.h [__USE_SVID]: Likewise.
10883         * resolv/netdb.h [__USE_BSD]: Likewise.
10884         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10885         * signal/signal.h [__USE_BSD]: Likewise.
10886         [__USE_SVID]: Likewise.
10887         * socket/sys/socket.h [__USE_BSD]: Likewise.
10888         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10889         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10890         [__USE_SVID]: Likewise.
10891         * string/bits/string2.h [__USE_BSD]: Likewise.
10892         [__USE_SVID]: Likewise.
10893         * string/bits/string3.h [__USE_BSD]: Likewise.
10894         * string/endian.h [__USE_BSD]: Likewise.
10895         * string/string.h [__USE_SVID]: Likewise.
10896         [__USE_BSD]: Likewise.
10897         * string/strings.h [__USE_BSD]: Likewise.
10898         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10899         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10900         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10901         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10902         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10903         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10904         Likewise.
10905         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10906         Likewise.
10907         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10908         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10909         Likewise.
10910         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10911         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10916         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10917         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10918         Likewise.
10919         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10920         Likewise.
10921         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10922         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10923         * termios/termios.h [__USE_BSD]: Likewise.
10924         * time/sys/time.h [__USE_BSD]: Likewise.
10925         * time/time.h [__USE_BSD]: Likewise.
10926         [__USE_SVID]: Likewise.
10927
10928         * Makefile (subdir_targets): Remove subdir_lint.out.
10929
10930         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10931         (do-tst-printf): Likewise.
10932         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10933         $(objpfx)tst-printf.out.
10934
10935         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10936
10937         * Makerules (check-abi-%): Change target to
10938         $(objpfx)check-abi-%.out.
10939         (check-abi target): Update dependencies.
10940         (check-abi-pattern variable): Redirect output of diff to $@.
10941         (check-abi variable): Likewise.
10942         * elf/Makefile (check-abi): Update dependencies.
10943
10944         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10945         unused.
10946         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10947         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10948         subnormal range.
10949         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10950         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10951         value has largest subnormal exponent.
10952         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10953         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10954         * sysdeps/aarch64/soft-fp/sfp-machine.h
10955         (_FP_TININESS_AFTER_ROUNDING): New macro.
10956         * sysdeps/alpha/soft-fp/sfp-machine.h
10957         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10958         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10959         Likewise.
10960         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10961         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10962         * sysdeps/mips/soft-fp/sfp-machine.h
10963         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10964         * sysdeps/powerpc/soft-fp/sfp-machine.h
10965         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10966         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10967         Likewise.
10968         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10969         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10970         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10971         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10972         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10973         Likewise.
10974
10975 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10976
10977         [BZ #16545]
10978         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10979         model 1.
10980
10981 2014-02-12  Richard Henderson  <rth@redhat.com>
10982
10983         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10984         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10985         * sysdeps/unix/sysv/linux/alpha: Move directory from
10986         ports/sysdeps/unix/sysv/linux/alpha.
10987         * README: Update listing for alpha-*-linux-gnu.
10988
10989 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10990
10991         * include/features.h: Update comment documenting feature test
10992         macros.
10993         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10994         _DEFAULT_SOURCE.
10995         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10996         (_SVID_SOURCE): Likewise.
10997         (_DEFAULT_SOURCE): Update description of default features.
10998         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10999         with _GNU_SOURCE.
11000         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11001         (S_ISVTX): Likewise.
11002         * manual/math.texi (Mathematical Constants): Likewise.
11003         * manual/signal.texi (Interrupted Primitives): Likewise.
11004         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11005         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11006         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11007         Don't refer to _SVID_SOURCE in warning text.
11008
11009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11010
11011         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11012         already defined.
11013         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11014         * sysdeps/mips/dl-lookup.c: Remove.
11015         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11016
11017 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11018
11019         [BZ #16447]
11020         * math/auto-libm-test-in: Add testcase for expl.
11021         * math/auto-libm-test-out: Regenerate.
11022         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11023         calculation of unsafe.
11024         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11025
11026 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11027
11028         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11029         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11030         ports/sysdeps/unix/sysv/linux/aarch64.
11031         * README: Update listing for aarch64*-*-linux-gnu.
11032
11033 2014-02-11  Will Newton  <will.newton@linaro.org>
11034
11035         * manual/probes.texi (Mathematical Function Probes): Use
11036         "triggered" instead of "hit".
11037
11038         * manual/probes.texi (Internal Probes): Add documentation
11039         of setjmp, longjmp and longjmp_target probes.
11040
11041         * include/stap-probe.h: Add comment about probe argument
11042         format.
11043
11044         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11045         definition.  (tr_where, tr_freehook, tr_mallochook,
11046         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11047
11048 2014-02-11  David S. Miller  <davem@davemloft.net>
11049
11050         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11051         processing int_tests.
11052
11053 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11054
11055         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11056         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11057         * sysdeps/unix/sysv/linux/mips: Move directory from
11058         ports/sysdeps/unix/sysv/linux/mips.
11059         * README: Update listing for mips-*-linux-gnu and
11060         mips64-*-linux-gnu.
11061
11062 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11063
11064         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11065         * sysdeps/unix/sysv/linux/m68k: Move directory from
11066         ports/sysdeps/unix/sysv/linux/m68k.
11067         * README: Update listing for m68k-*-linux-gnu.
11068
11069 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11070
11071         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11072         * sysdeps/unix/sysv/linux/generic: Move directory from
11073         ports/sysdeps/unix/sysv/linux/generic.
11074         * sysdeps/unix/sysv/linux/tile: Move directory from
11075         ports/sysdeps/unix/sysv/linux/tile.
11076         * README: Update listing for tile*-*-linux-gnu.
11077
11078 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11079
11080         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11081         __builtin_expect.
11082         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11083         * catgets/open_catalog.c (__open_catalog): Likewise.
11084         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11085         * debug/confstr_chk.c: Likewise.
11086         * debug/fread_chk.c (__fread_chk): Likewise.
11087         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11088         * debug/getgroups_chk.c: Likewise.
11089         * debug/mbsnrtowcs_chk.c: Likewise.
11090         * debug/mbsrtowcs_chk.c: Likewise.
11091         * debug/mbstowcs_chk.c: Likewise.
11092         * debug/memcpy_chk.c: Likewise.
11093         * debug/memmove_chk.c: Likewise.
11094         * debug/mempcpy_chk.c: Likewise.
11095         * debug/memset_chk.c: Likewise.
11096         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11097         * debug/strcat_chk.c (__strcat_chk): Likewise.
11098         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11099         * debug/strncat_chk.c (__strncat_chk): Likewise.
11100         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11101         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11102         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11103         * debug/wcpncpy_chk.c: Likewise.
11104         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11105         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11106         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11107         * debug/wcsncpy_chk.c: Likewise.
11108         * debug/wcsnrtombs_chk.c: Likewise.
11109         * debug/wcsrtombs_chk.c: Likewise.
11110         * debug/wcstombs_chk.c: Likewise.
11111         * debug/wmemcpy_chk.c: Likewise.
11112         * debug/wmemmove_chk.c: Likewise.
11113         * debug/wmempcpy_chk.c: Likewise.
11114         * debug/wmemset_chk.c: Likewise.
11115         * dirent/scandirat.c (SCANDIRAT): Likewise.
11116         * dlfcn/dladdr1.c (dladdr1): Likewise.
11117         * dlfcn/dladdr.c (dladdr): Likewise.
11118         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11119         * dlfcn/dlerror.c (__dlerror): Likewise.
11120         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11121         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11122         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11123         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11124         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11125         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11126         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11127         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11128         Likewise.
11129         * elf/dl-conflict.c: Likewise.
11130         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11131         * elf/dl-dst.h: Likewise.
11132         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11133         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11134         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11135         * elf/dl-init.c (call_init, _dl_init): Likewise.
11136         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11137         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11138         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11139         Likewise.
11140         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11141         Likewise.
11142         * elf/dl-minimal.c (__libc_memalign): Likewise.
11143         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11144         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11145         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11146         * elf/dl-sym.c (do_sym): Likewise.
11147         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11148         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11149         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11150         * elf/dl-writev.h (_dl_writev): Likewise.
11151         * elf/ldconfig.c (search_dir): Likewise.
11152         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11153         (dl_main): Likewise.
11154         * elf/setup-vdso.h (setup_vdso): Likewise.
11155         * grp/compat-initgroups.c (compat_call): Likewise.
11156         * grp/fgetgrent.c (fgetgrent): Likewise.
11157         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11158         * grp/putgrent.c (putgrent): Likewise.
11159         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11160         Likewise.
11161         * hurd/hurdinit.c: Likewise.
11162         * iconvdata/8bit-gap.c (struct): Likewise.
11163         * iconvdata/ansi_x3.110.c : Likewise.
11164         * iconvdata/big5.c : Likewise.
11165         * iconvdata/big5hkscs.c : Likewise.
11166         * iconvdata/cp1255.c: Likewise.
11167         * iconvdata/cp1258.c : Likewise.
11168         * iconvdata/cp932.c : Likewise.
11169         * iconvdata/euc-cn.c: Likewise.
11170         * iconvdata/euc-jisx0213.c : Likewise.
11171         * iconvdata/euc-jp.c: Likewise.
11172         * iconvdata/euc-jp-ms.c : Likewise.
11173         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11174         * iconvdata/gb18030.c : Likewise.
11175         * iconvdata/gbbig5.c (const): Likewise.
11176         * iconvdata/gbgbk.c: Likewise.
11177         * iconvdata/gbk.c : Likewise.
11178         * iconvdata/ibm1364.c : Likewise.
11179         * iconvdata/ibm930.c : Likewise.
11180         * iconvdata/ibm932.c: Likewise.
11181         * iconvdata/ibm933.c : Likewise.
11182         * iconvdata/ibm935.c : Likewise.
11183         * iconvdata/ibm937.c : Likewise.
11184         * iconvdata/ibm939.c : Likewise.
11185         * iconvdata/ibm943.c: Likewise.
11186         * iconvdata/iso_11548-1.c: Likewise.
11187         * iconvdata/iso-2022-cn.c : Likewise.
11188         * iconvdata/iso-2022-cn-ext.c : Likewise.
11189         * iconvdata/iso-2022-jp-3.c: Likewise.
11190         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11191         * iconvdata/iso-2022-kr.c : Likewise.
11192         * iconvdata/iso646.c (gconv_end): Likewise.
11193         * iconvdata/iso_6937-2.c : Likewise.
11194         * iconvdata/iso_6937.c : Likewise.
11195         * iconvdata/iso8859-1.c: Likewise.
11196         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11197         * iconvdata/shift_jisx0213.c : Likewise.
11198         * iconvdata/sjis.c : Likewise.
11199         * iconvdata/t.61.c : Likewise.
11200         * iconvdata/tcvn5712-1.c : Likewise.
11201         * iconvdata/tscii.c: Likewise.
11202         * iconvdata/uhc.c : Likewise.
11203         * iconvdata/unicode.c (gconv_end): Likewise.
11204         * iconvdata/utf-16.c (gconv_end): Likewise.
11205         * iconvdata/utf-32.c (gconv_end): Likewise.
11206         * iconvdata/utf-7.c (base64): Likewise.
11207         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11208         * iconv/gconv_close.c (__gconv_close): Likewise.
11209         * iconv/gconv_open.c (__gconv_open): Likewise.
11210         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11211         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11212         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11213         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11214         (ucs4le_internal_loop_single): Likewise.
11215         * iconv/iconv.c (iconv): Likewise.
11216         * iconv/iconv_close.c: Likewise.
11217         * iconv/loop.c (SINGLE): Likewise.
11218         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11219         * include/atomic.h: Likewise.
11220         * inet/inet6_option.c (option_alloc): Likewise.
11221         * intl/bindtextdom.c (set_binding_values): Likewise.
11222         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11223         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11224         * intl/localealias.c (read_alias_file): Likewise.
11225         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11226         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11227         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11228         * libio/fmemopen.c (fmemopen): Likewise.
11229         * libio/iofgets.c (_IO_fgets): Likewise.
11230         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11231         * libio/iofgetws.c (fgetws): Likewise.
11232         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11233         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11234         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11235         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11236         * locale/findlocale.c (_nl_find_locale): Likewise.
11237         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11238         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11239         Likewise.
11240         * locale/setlocale.c (setlocale): Likewise.
11241         * login/programs/pt_chown.c (main): Likewise.
11242         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11243         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11244         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11245         (mmap, mmap64, mremap, munmap): Likewise.
11246         * math/e_exp2l.c: Likewise.
11247         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11248         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11249         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11250         * math/s_catan.c (__catan): Likewise.
11251         * math/s_catanf.c (__catanf): Likewise.
11252         * math/s_catanh.c (__catanh): Likewise.
11253         * math/s_catanhf.c (__catanhf): Likewise.
11254         * math/s_catanhl.c (__catanhl): Likewise.
11255         * math/s_catanl.c (__catanl): Likewise.
11256         * math/s_ccosh.c (__ccosh): Likewise.
11257         * math/s_ccoshf.c (__ccoshf): Likewise.
11258         * math/s_ccoshl.c (__ccoshl): Likewise.
11259         * math/s_cexp.c (__cexp): Likewise.
11260         * math/s_cexpf.c (__cexpf): Likewise.
11261         * math/s_cexpl.c (__cexpl): Likewise.
11262         * math/s_clog10.c (__clog10): Likewise.
11263         * math/s_clog10f.c (__clog10f): Likewise.
11264         * math/s_clog10l.c (__clog10l): Likewise.
11265         * math/s_clog.c (__clog): Likewise.
11266         * math/s_clogf.c (__clogf): Likewise.
11267         * math/s_clogl.c (__clogl): Likewise.
11268         * math/s_csin.c (__csin): Likewise.
11269         * math/s_csinf.c (__csinf): Likewise.
11270         * math/s_csinh.c (__csinh): Likewise.
11271         * math/s_csinhf.c (__csinhf): Likewise.
11272         * math/s_csinhl.c (__csinhl): Likewise.
11273         * math/s_csinl.c (__csinl): Likewise.
11274         * math/s_csqrt.c (__csqrt): Likewise.
11275         * math/s_csqrtf.c (__csqrtf): Likewise.
11276         * math/s_csqrtl.c (__csqrtl): Likewise.
11277         * math/s_ctan.c (__ctan): Likewise.
11278         * math/s_ctanf.c (__ctanf): Likewise.
11279         * math/s_ctanh.c (__ctanh): Likewise.
11280         * math/s_ctanhf.c (__ctanhf): Likewise.
11281         * math/s_ctanhl.c (__ctanhl): Likewise.
11282         * math/s_ctanl.c (__ctanl): Likewise.
11283         * math/w_pow.c: Likewise.
11284         * math/w_powf.c: Likewise.
11285         * math/w_powl.c: Likewise.
11286         * math/w_scalb.c (sysv_scalb): Likewise.
11287         * math/w_scalbf.c (sysv_scalbf): Likewise.
11288         * math/w_scalbl.c (sysv_scalbl): Likewise.
11289         * misc/error.c (error_tail): Likewise.
11290         * misc/pselect.c (__pselect): Likewise.
11291         * nis/nis_callback.c (__nis_create_callback): Likewise.
11292         * nis/nis_call.c (__nisfind_server): Likewise.
11293         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11294         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11295         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11296         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11297         * nis/nis_lookup.c (nis_lookup): Likewise.
11298         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11299         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11300         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11301         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11302         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11303         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11304         * nis/nss_compat/compat-initgroups.c (add_group)
11305         (internal_getgrent_r): Likewise.
11306         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11307         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11308         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11309         (internal_getspnam_r): Likewise.
11310         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11311         (_nss_nis_getaliasbyname_r): Likewise.
11312         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11313         (_nss_nis_getntohost_r): Likewise.
11314         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11315         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11316         (_nss_nis_getgrgid_r): Likewise.
11317         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11318         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11319         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11320         (_nss_nis_gethostbyname4_r): Likewise.
11321         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11322         (initgroups_netid): Likewise.
11323         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11324         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11325         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11326         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11327         (_nss_nis_getprotobynumber_r): Likewise.
11328         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11329         (_nss_nis_getsecretkey): Likewise.
11330         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11331         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11332         (_nss_nis_getpwuid_r): Likewise.
11333         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11334         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11335         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11336         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11337         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11338         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11339         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11340         Likewise.
11341         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11342         (_nss_nisplus_getntohost_r): Likewise.
11343         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11344         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11345         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11346         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11347         Likewise.
11348         * nis/nss_nisplus/nisplus-initgroups.c
11349         (_nss_nisplus_initgroups_dyn): Likewise.
11350         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11351         (_nss_nisplus_getnetbyaddr_r): Likewise.
11352         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11353         (_nss_nisplus_getprotobynumber_r): Likewise.
11354         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11355         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11356         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11357         Likewise.
11358         * nis/nss_nisplus/nisplus-service.c
11359         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11360         (_nss_nisplus_getservbyport_r): Likewise.
11361         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11362         (_nss_nisplus_getspnam_r): Likewise.
11363         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11364         Likewise.
11365         * nscd/aicache.c (addhstaiX): Likewise.
11366         * nscd/cache.c (cache_search, prune_cache): Likewise.
11367         * nscd/connections.c (register_traced_file, send_ro_fd)
11368         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11369         (main_loop_epoll): Likewise.
11370         * nscd/grpcache.c (addgrbyX): Likewise.
11371         * nscd/hstcache.c (addhstbyX): Likewise.
11372         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11373         * nscd/mem.c (gc, mempool_alloc): Likewise.
11374         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11375         (addinnetgrX): Likewise.
11376         * nscd/nscd-client.h (__nscd_acquire_maplock)
11377         (__nscd_drop_map_ref): Likewise.
11378         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11379         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11380         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11381         Likewise.
11382         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11383         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11384         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11385         (__nscd_get_map_ref): Likewise.
11386         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11387         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11388         Likewise.
11389         * nscd/pwdcache.c (addpwbyX): Likewise.
11390         * nscd/selinux.c (preserve_capabilities): Likewise.
11391         * nscd/servicescache.c (addservbyX): Likewise.
11392         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11393         * posix/fnmatch.c (fnmatch): Likewise.
11394         * posix/getopt.c (_getopt_internal_r): Likewise.
11395         * posix/glob.c (glob, glob_in_dir): Likewise.
11396         * posix/wordexp.c (exec_comm_child): Likewise.
11397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11398         (getanswer_r, gaih_getanswer_slice): Likewise.
11399         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11400         * resolv/res_init.c: Likewise.
11401         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11402         * resolv/res_query.c (__libc_res_nquery): Likewise.
11403         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11404         Likewise.
11405         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11406         * stdio-common/perror.c (perror): Likewise.
11407         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11408         * stdio-common/tmpnam.c (tmpnam): Likewise.
11409         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11410         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11411         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11412         Likewise.
11413         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11414         * stdlib/putenv.c (putenv): Likewise.
11415         * stdlib/setenv.c (__add_to_environ): Likewise.
11416         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11417         * stdlib/strtol_l.c (INTERNAL): Likewise.
11418         * string/memmem.c (memmem): Likewise.
11419         * string/strerror.c (strerror): Likewise.
11420         * string/strnlen.c (__strnlen): Likewise.
11421         * string/test-memmem.c (simple_memmem): Likewise.
11422         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11423         * sunrpc/pm_getport.c (__get_socket): Likewise.
11424         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11425         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11426         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11427         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11428         Likewise.
11429         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11430         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11431         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11432         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11433         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11434         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11435         Likewise.
11436         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11437         Likewise.
11438         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11439         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11440         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11441         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11442         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11444         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11446         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11447         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11448         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11449         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11450         Likewise.
11451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11452         Likewise.
11453         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11454         Likewise.
11455         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11456         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11458         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11459         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11460         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11461         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11462         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11464         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11465         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11466         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11467         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11468         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11469         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11470         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11471         Likewise.
11472         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11473         Likewise.
11474         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11475         Likewise.
11476         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11477         Likewise.
11478         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11480         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11481         Likewise.
11482         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11483         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11484         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11485         * sysdeps/posix/sleep.c: Likewise.
11486         * sysdeps/posix/tempname.c: Likewise.
11487         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11488         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11489         Likewise.
11490         * sysdeps/powerpc/powerpc32/dl-machine.h
11491         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11492         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11494         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11495         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11496         Likewise.
11497         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11498         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11499         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11500         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11501         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11502         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11503         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11504         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11505         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11506         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11507         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11508         (elf_machine_lazy_rel): Likewise.
11509         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11511         (elf_machine_lazy_rel): Likewise.
11512         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11513         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11514         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11515         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11516         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11517         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11518         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11519         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11520         Likewise.
11521         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11522         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11523         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11524         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11525         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11526         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11527         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11528         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11529         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11530         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11531         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11532         Likewise.
11533         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11534         (__posix_fallocate64_l64): Likewise.
11535         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11536         (posix_fallocate): Likewise.
11537         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11538         Likewise.
11539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11540         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11541         (getifaddrs_internal): Likewise.
11542         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11543         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11544         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11545         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11546         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11547         (__posix_fallocate64_l64): Likewise.
11548         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11549         Likewise.
11550         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11552         (__get_clockfreq): Likewise.
11553         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11554         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11555         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11557         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11558         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11559         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11560         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11561         Likewise.
11562         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11563         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11564         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11565         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11566         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11567         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11568         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11569         Likewise.
11570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11571         (posix_fallocate): Likewise.
11572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11573         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11574         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11575         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11576         (elf_machine_rela, elf_machine_rela_relative)
11577         (elf_machine_lazy_rel): Likewise.
11578         * time/asctime.c (asctime_internal): Likewise.
11579         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11580         * time/tzset.c (__tzset_parse_tz): Likewise.
11581         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11582         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11583         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11584         * wcsmbs/wcsmbsload.h: Likewise.
11585
11586         [BZ #15894]
11587         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11588
11589         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11590         (arena_get2): Remove THREAD_STATS conditionals.
11591         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11592         (__malloc_stats, int): Likewise.
11593
11594 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11595
11596         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11597         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11598
11599         * manual/setjmp.texi: Fix typos/grammar errors.
11600
11601         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11602         Only return early when n is <= 0.  Delete unused return statement.
11603
11604         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11605         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11606         * debug/tst-longjmp_chk3.c: New file.
11607
11608         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11609         (test_main): Replace code with set_fortify_handler call.
11610         * debug/test-strcpy_chk.c: Likewise.
11611         * debug/tst-chk1.c: Likewise.
11612         * debug/tst-longjmp_chk.c: Likewise.
11613         * test-skeleton.c: Include fcntl.h & paths.h
11614         (set_fortify_handler): Define.
11615
11616         * debug/tst-longjmp_chk.c: Add header comment and include
11617         ../test-skeleton.c.
11618         (do_test): Mark static.
11619         (TEST_FUNCTION): Define.
11620
11621         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11622         (IP_PMTUDISC_INTERFACE): Likewise.
11623         (IP_MULTICAST_IF): Likewise.
11624         (IP_MULTICAST_TTL): Likewise.
11625         (IP_MULTICAST_LOOP): Likewise.
11626         (IP_ADD_MEMBERSHIP): Likewise.
11627         (IP_DROP_MEMBERSHIP): Likewise.
11628         (IP_UNBLOCK_SOURCE): Likewise.
11629         (IP_BLOCK_SOURCE): Likewise.
11630         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11631         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11632         (IP_MSFILTER): Likewise.
11633         (MCAST_JOIN_GROUP): Likewise.
11634         (MCAST_BLOCK_SOURCE): Likewise.
11635         (MCAST_UNBLOCK_SOURCE): Likewise.
11636         (MCAST_LEAVE_GROUP): Likewise.
11637         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11638         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11639         (MCAST_MSFILTER): Likewise.
11640         (IP_MULTICAST_ALL): Likewise.
11641         (IP_UNICAST_IF): Likewise.
11642
11643         * timezone/Makefile: Delete $(have-ksh) check.
11644         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11645         * timezone/tzselect.ksh: Add +x mode bits.
11646
11647         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11648         (ANON_INODE_FS_MAGIC): Likewise.
11649         (BDEVFS_MAGIC): Likewise.
11650         (BINFMTFS_MAGIC): Likewise.
11651         (BTRFS_TEST_MAGIC): Likewise.
11652         (CRAMFS_MAGIC_WEND): Likewise.
11653         (DEBUGFS_MAGIC): Likewise.
11654         (ECRYPTFS_SUPER_MAGIC): Likewise.
11655         (EXT3_SUPER_MAGIC): Likewise.
11656         (EXT4_SUPER_MAGIC): Likewise.
11657         (FUTEXFS_SUPER_MAGIC): Likewise.
11658         (HOSTFS_SUPER_MAGIC): Likewise.
11659         (HUGETLBFS_MAGIC): Likewise.
11660         (MINIX3_SUPER_MAGIC): Likewise.
11661         (MTD_INODE_FS_MAGIC): Likewise.
11662         (NILFS_SUPER_MAGIC): Likewise.
11663         (OPENPROM_SUPER_MAGIC): Likewise.
11664         (PIPEFS_MAGIC): Likewise.
11665         (PSTOREFS_MAGIC): Likewise.
11666         (QNX6_SUPER_MAGIC): Likewise.
11667         (RAMFS_MAGIC): Likewise.
11668         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11669         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11670         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11671         (SECURITYFS_MAGIC): Likewise.
11672         (SELINUX_MAGIC): Likewise.
11673         (SMACK_MAGIC): Likewise.
11674         (SOCKFS_MAGIC): Likewise.
11675         (SQUASHFS_MAGIC): Likewise.
11676         (STACK_END_MAGIC): Likewise.
11677         (TMPFS_MAGIC): Likewise.
11678         (USBDEVICE_SUPER_MAGIC): Likewise.
11679         (V9FS_MAGIC): Likewise.
11680         (XENFS_SUPER_MAGIC): Likewise.
11681         (CRAMFS_MAGIC): Fix typo in comment.
11682         (EXT2_SUPER_MAGIC): Update comment.
11683         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11684
11685 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11686
11687         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11688         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11689         * sysdeps/unix/sysv/linux/arm: Move directory from
11690         ports/sysdeps/unix/sysv/linux/arm.
11691         * README: Update listing for arm-*-linux-gnueabi.
11692
11693         * README: Remove mention of am33.
11694
11695 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11696
11697         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11698         than the comma operator, to avoid "rhs of comma has no effect"
11699         compiler warnings.
11700         (__sigfillset, __sigandset, __sigorset): Likewise.
11701         * include/signal.h (__sigemptyset): Likewise.
11702         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11703
11704 2014-02-07  Allan McRae  <allan@archlinux.org>
11705
11706         * version.h (RELEASE): Set to "development".
11707         (VERSION): Set to "2.19.90"
11708         * NEWS: Add 2.20 section.
11709
11710 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11711
11712         [BZ #16529]
11713         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11714
11715 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11716
11717         * manual/contrib.texi: Update entry for Carlos O'Donell,
11718         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11719
11720 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11721
11722         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11723
11724         * sysdeps/unix/sysv/linux/kernel-features.h
11725         [__LINUX_KERNEL_VERSION >= 0x020621]
11726         (__ASSUME_PROC_PID_TASK_COMM): Define.
11727
11728 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11729
11730         [BZ #16398]
11731         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11732         conversion when destination buffer does not have enough space.
11733         * libio/tst-ftell-partial-wide.c: New test case.
11734         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11735
11736         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11737         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11738         Leonard and Allan McRae.
11739
11740 2014-02-04  David S. Miller  <davem@davemloft.net>
11741
11742         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11743         32-bit.
11744
11745 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11746
11747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11748         New file
11749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11750         New file
11751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11752         New file.
11753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11754         New file.
11755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11756         New file.
11757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11758         New file.
11759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11760         New file.
11761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11762         New file.
11763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11764         New file.
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11766         New file.
11767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11768         New file.
11769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11770         New file.
11771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11772         New file.
11773
11774 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11775
11776         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11777         * shlib-versions: Likewise.
11778
11779 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11781
11782         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11783         (abilist-pattern): New variable, set to %-le.abilist.
11784
11785         * Makerules (abilist-pattern): New variable.
11786         (vpath): Use $(abilist-pattern) in place of %.abilist.
11787         (check-abi-% pattern rule): Likewise.
11788         (check-abi, update-abi): Likewise.
11789
11790 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11791
11792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11793
11794 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11795
11796         * manual/startup.texi: Add next, previous, and top entries for
11797         the `Program Arguments' and `Environment Variables' nodes.
11798
11799 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11800
11801         * manual/macros.texi: Add comments before MTASC-safety macros.
11802
11803         * manual/users.texi: Document MTASC-safety properties.
11804
11805         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11806         (pthread_getspecific, pthread_setspecific): Format with
11807         @deftypefun, and add @safety note.
11808         * manual/signal.texi: Move comments that analyze the above
11809         functions to their home place.
11810
11811 2014-02-03  Allan McRae  <allan@archlinux.org>
11812
11813         * po/sl.po: Update Slovenian translation from translation project.
11814
11815 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11816
11817         * manual/time.texi (timegm): Add missing blank after @c.
11818         Reported by Joseph Myers <joseph@codesourcery.com>.
11819
11820 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11821
11822         * manual/check-safety.sh: New.
11823         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11824
11825         * manual/terminal.texi: Document MTASC-safety properties.
11826
11827         * manual/filesys.texi: Document MTASC-safety properties.
11828
11829         * manual/errno.texi: Document MTASC-safety properties.
11830
11831         * manual/intro.texi: Document safety identifiers and
11832         conditionals.
11833
11834         * manual/string.texi (wcstok): Fix prototype.
11835         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11836
11837         * manual/time.texi: Document MTASC-safety properties.
11838
11839         * manual/string.texi: Document MTASC-safety properties.
11840
11841         * manual/threads.texi: Document MTASC-safety properties.
11842
11843         * manual/stdio.texi: Document MTASC-safety properties.
11844
11845         * manual/syslog.texi: Document MTASC-safety properties.
11846
11847         * manual/sysinfo.texi: Document MTASC-safety properties.
11848
11849         * manual/startup.texi: Document MTASC-safety properties.
11850
11851         * manual/socket.texi: Document MTASC-safety properties.
11852
11853         * manual/signal.texi: Document MTASC-safety properties.
11854
11855 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11856
11857         * manual/setjmp.texi: Document MTASC-safety properties.
11858
11859         * manual/search.texi: Document MTASC-safety properties.
11860
11861         * manual/resource.texi: Document MTASC-safety properties.
11862
11863         * manual/process.texi: Document MTASC-safety properties.
11864
11865         * manual/platform.texi: Document MTASC-safety properties.
11866
11867         * manual/pipe.texi: Document MTASC-safety properties.
11868
11869         * manual/pattern.texi: Document MTASC-safety properties.
11870
11871         * manual/message.texi: Document MTASC-safety properties.
11872
11873         [BZ #12751]
11874         * manual/memory.texi: Document MTASC-safety properties.
11875
11876         * manual/math.texi: Document MTASC-safety properties.
11877
11878         * manual/locale.texi: Document MTASC-safety properties.
11879
11880         * manual/llio.texi: Document MTASC-safety properties.
11881
11882         * manual/libdl.texi: New.
11883
11884         * manual/lang.texi: Document MTASC-safety properties.
11885
11886         * manual/job.texi: Document MTASC-safety properties.
11887
11888         * manual/getopt.texi: Document MTASC-safety properties.
11889
11890         * manual/ctype.texi: Document MTASC-safety properties.
11891
11892 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11893
11894         [BZ #16046]
11895         * csu/libc-tls.c (static_map): Remove variable.
11896         (__libc_setup_tls): Use main executable's link map for TLS data.
11897         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11898         casing for LM_ID_BASE and GL(dl_nns).
11899         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11900         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11901         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11902         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11903         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11904         member.
11905         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11906         l_phnum members.
11907
11908 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11909
11910         * manual/debug.texi: Document MTASC-safety properties.
11911
11912 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11913
11914         [BZ #16510]
11915         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11916         of __x86_64__ when disabling x87 inline functions.
11917
11918 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11919
11920         * manual/charset.texi: Document MTASC-safety properties.
11921
11922         * manual/crypt.texi: Document MTASC-safety properties.
11923
11924         * manual/conf.texi: Document MTASC-safety properties.
11925
11926         * manual/arith.texi: Document MTASC-safety properties.
11927
11928         * manual/argp.texi: Document MTASC-safety properties.
11929
11930         * manual/macros.texi: Introduce macros to document multi
11931         thread, asynchronous signal and asynchronous cancellation
11932         safety properties.
11933         * manual/intro.texi: Introduce the properties themselves.
11934
11935 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11936
11937         * sysdeps/sh/sh4/Makefile: New file.
11938
11939 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11940
11941         * math/gen-libm-test.pl ($srcdir): New variable.
11942         ($auto_input): Use it.
11943
11944 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11945
11946         [BZ #16506]
11947         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11948         access beyond array bounds when parsing netgroups file.
11949
11950         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11951         the old buffer before realloc.
11952
11953 2014-01-27  Allan McRae  <allan@archlinux.org>
11954
11955         * po/fr.po: Update French translation from translation project.
11956
11957 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11958
11959         * sysdeps/sh/libm-test-ulps: Regenerate.
11960
11961 2014-01-24  David S. Miller  <davem@davemloft.net>
11962
11963         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11964
11965 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11966
11967         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11968         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11969
11970 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11971
11972         [BZ #16474]
11973         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11974         string pointers after reallocation.
11975
11976 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11977
11978         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11979         __SH4A__ instead of __SH_FPU_ANY__.
11980
11981 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11982
11983         * sysdeps/sh/fpu_control.h: New file.
11984         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11985         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11986         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11987         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11988         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11989         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11990         * sysdeps/sh/sys/ucontext.h: Remove.
11991         * sysdeps/sh/sys: Remove directory.
11992
11993 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11994
11995         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11996         s390/sys/ucontext.h.
11997         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11998         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11999
12000 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12001
12002         [BZ #15605]
12003         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12004
12005 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12006
12007         [BZ#16431]
12008         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12009         Adjust the vDSO correctly for internal calls.
12010         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12011
12012 2014-01-20  Allan McRae  <allan@archlinux.org>
12013
12014         * po/ca.po: Update Catalan translation from translation project.
12015
12016 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12017
12018         * sysdeps/s390/sotruss-lib.c: New file.
12019
12020 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12021
12022         [BZ#16430]
12023         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12024         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12025         local calls issues by not having a PLT stub required for IFUNC calls.
12026         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12027
12028 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12029
12030         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12031         * math/test-fpucw-static.c: Likewise.
12032
12033 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12034
12035         [BZ #16453]
12036         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12037
12038 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12039
12040         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12041         implementation for powerpc.
12042
12043 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12044
12045         [BZ #14782]
12046         * sysdeps/posix/system.c (__libc_system): Do not enable
12047         asynchronous cancellation.
12048
12049 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12050
12051         [BZ #16427]
12052         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12053         handling only for numbers special also in the IEEE case.
12054
12055 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12056
12057         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12058
12059 2014-01-11  Allan McRae  <allan@archlinux.org>
12060
12061         * po/bg.po: Update Bulgarian translation from translation project.
12062
12063         * po/de.po: Update German translation from translation project.
12064
12065 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12066
12067         * sysdeps/generic/gcc-compat.h: New file.
12068
12069 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12070
12071         * benchtests/asin-inputs: Correct slow inputs.
12072         * benchtests/acos-inputs: Likewise.
12073
12074 2014-01-10  Allan McRae  <allan@archlinux.org>
12075
12076         * po:sv.po: Update Swedish translation from translation project.
12077
12078         * po/vi.po: Update Vietnamese translation from translation project.
12079
12080         * po/eo.po: Update Esperanto translation from translation project.
12081
12082         * po/cs.po: Update Czech translation from translation project.
12083
12084         * po/nl.po: Update Dutch translation from translation project.
12085
12086         * po/pl.po: Update Polish translation from translation project.
12087
12088         * po/ru.po: Update Russian translation from translation project.
12089
12090         * po/uk.po: Update Ukrainian translation from translation project.
12091
12092 2014-01-08  Brooks Moses  <bmoses@google.com>
12093
12094         * elf/dl-load.c: Fix comment typo.
12095
12096 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12097
12098         * po/header.pot: Rename to...
12099         * po/pot.header: ... this.
12100         * po/Makefile: Use pot.header.
12101
12102 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12103             Maxim Kuvyrkov  <maxim@kugelworks.com>
12104
12105         [BZ #16394]
12106         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12107         SRC and DEST against LEN.
12108
12109 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12110
12111         [BZ #16414]
12112         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12113         implementation.
12114         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12115
12116 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12117
12118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12119
12120 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12121
12122         [BZ #16408]
12123         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12124         for large positive arguments.
12125
12126 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12127
12128         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12129
12130         * math/auto-libm-test-in: Mark various tests with
12131         xfail-rounding:ldbl-128ibm.
12132         * math/auto-libm-test-out: Regenerated.
12133
12134         [BZ #16407]
12135         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12136         Increase overflow threshold.
12137
12138 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12139
12140         [BZ #14286]
12141         * stdio-common/vfprintf.c: Check for integer overflow.
12142
12143 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12144
12145         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12146         the first argument and return value of __tls_get_addr_internal.
12147
12148 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12149
12150         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12151         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12152
12153 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12154
12155         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12156         * sysdeps/s390/rtld-global-offsets.sym: New file.
12157         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12158         GLIBC_2.19 symbol.
12159         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12162         ... this.
12163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12165         ... this.
12166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12167         Regenerate.
12168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12169         Regenerate.
12170         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12171         halfs of GPRs for high_gprs contexts.
12172         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12173         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12174         field.
12175         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12176         uc_flags field.
12177         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12178         64 bit versions:
12179         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12180         for high GPRs (uc_high_gprs) and for future extensions
12181         (__reserved).
12182         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12183         for future extensions (__reserved).
12184         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12185         64 bit versions:
12186         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12187         SC_HIGHGPRS offset definition.
12188         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12189         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12190
12191         * Versions.def: Add GLIBC_2.19 for libpthread.
12192         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12193         siglongjmp for libpthread with GLIBC_2.19 symver.
12194         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12195         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12196         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12197         * sysdeps/s390/__longjmp.c: New file.
12198         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12199         * sysdeps/s390/longjmp.c: New file.
12200         * sysdeps/s390/setjmp.S: New file.
12201         * sysdeps/s390/sigjmp.S: New file.
12202         * sysdeps/s390/v1-longjmp.c: New file.
12203         * sysdeps/s390/v1-setjmp.h: New file.
12204         * sysdeps/s390/v1-sigjmp.c: New file.
12205         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12206         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12207         GLIBC_2.19 version.
12208         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12209         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12210         versioned symbols for ____longjmp_chk.
12211         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12214         Regenerate.
12215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12216         Regenerate.
12217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12218         Regenerate.
12219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12220         Regenerate.
12221         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12222         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12223         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12224         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12225         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12226         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12227         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12228         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12229         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12230         * sysdeps/s390/rtld-__longjmp.c: New file.
12231         * sysdeps/s390/rtld-setjmp.S: New file.
12232
12233 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12234
12235         [BZ #16400]
12236         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12237         Return -__logl (x) for small positive arguments without evaluating
12238         a polynomial.
12239
12240 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12241
12242         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12243         Rename to ...
12244         (__ptrace_peeksiginfo_args): ... this.
12245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12246         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12247         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12248
12249 2014-01-06  Allan McRae  <allan@archlinux.org>
12250
12251         * inet/netinet/in.h: Fix typo in comment.
12252
12253 2014-01-05  Andreas Jaeger  <aj@suse.de>
12254
12255         * sysdeps/i386/fpu/libm-test-ulps: Update.
12256
12257 2014-01-05  Allan McRae  <allan@archlinux.org>
12258
12259         * po/libc.pot: Regenerated.
12260
12261         * malloc/memusagestat.c: Fix gettext call formatting.
12262
12263 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12264
12265         * nscd/nscd.c: Improve usage() output.
12266
12267 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12268
12269         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12270         * sysdeps/unix/sysv/linux/configure: Regenerated.
12271         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12272         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12273
12274 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12275
12276         [BZ #16390]
12277         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12278         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12279
12280 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12281
12282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12283         extra tokens at end of #undef directive.
12284         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12285         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12287
12288 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12289
12290         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12291
12292         * math/auto-libm-test-in: Mark various tests with
12293         xfail-rounding:ldbl-128ibm.
12294         * math/auto-libm-test-out: Regenerated.
12295
12296 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12297
12298         [BZ #16386]
12299         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12300         numbers with subnormal high part when calculating exponent.
12301
12302         [BZ #16385]
12303         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12304         fabs.
12305
12306         [BZ #16384]
12307         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12308         M_LN2l.
12309         (__ieee754_acoshl): Use __log1pl not __log1p.
12310
12311 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12312
12313         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12314         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12315         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12316         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12317         (reused_arena, arena_get2): Convert to GNU style.
12318         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12319         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12320         (memalign_check, __malloc_set_state): Likewise.
12321         * malloc/mallocbug.c (main): Likewise.
12322         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12323         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12324         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12325         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12326         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12327         (__posix_memalign, malloc_info): Likewise.
12328         * malloc/malloc.h: Likewise.
12329         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12330         (mallochook, memalignhook, reallochook, mabort): Likewise.
12331         * malloc/mcheck.h: Likewise.
12332         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12333         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12334         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12335         * malloc/morecore.c (__default_morecore): Likewise.
12336         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12337         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12338         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12339         (print_and_abort): Likewise.
12340         * malloc/obstack.h: Likewise.
12341         * malloc/set-freeres.c (__libc_freeres): Likewise.
12342         * malloc/tst-mallocstate.c (main): Likewise.
12343         * malloc/tst-mtrace.c (main): Likewise.
12344         * malloc/tst-realloc.c (do_test): Likewise.
12345
12346 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12347
12348         [BZ #16366]
12349         * nscd/netgroupcache.c (do_notfound): New function.
12350         (addgetnetgrentX): Use it.
12351
12352         [BZ # 16365]
12353         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12354         NSS_STATUS_NOTFOUND.
12355
12356 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12357
12358         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12360
12361 2014-01-01  Allan McRae  <allan@archlinux.org>
12362
12363         * scripts/update-copyrights: Update configure input file suffix.
12364
12365         * NEWS: Update copyright year.
12366         * catgets/gencat.c: Likewise.
12367         * csu/version.c: Likewise.
12368         * debug/catchsegv.sh: Likewise.
12369         * debug/pcprofiledump.c: Likewise.
12370         * debug/xtrace.sh: Likewise.
12371         * elf/ldconfig.c: Likewise.
12372         * elf/ldd.bash.in: Likewise.
12373         * elf/pldd.c: Likewise.
12374         * elf/sotruss.ksh: Likewise.
12375         * elf/sprof.c: Likewise.
12376         * iconv/iconv_prog.c: Likewise.
12377         * iconv/iconvconfig.c: Likewise.
12378         * locale/programs/locale.c: Likewise.
12379         * locale/programs/localedef.c: Likewise.
12380         * login/programs/pt_chown.c: Likewise.
12381         * malloc/memusage.sh: Likewise.
12382         * malloc/memusagestat.c: Likewise.
12383         * malloc/mtrace.pl: Likewise.
12384         * manual/libc.texinfo: Likewise.
12385         * nscd/nscd.c: Likewise.
12386         * nss/getent.c: Likewise.
12387         * nss/makedb.c: Likewise.
12388         * posix/getconf.c: Likewise.
12389         * scripts/test-installation.pl: Likewise.
12390
12391         * All files with FSF copyright notices: Update copyright dates
12392         using scripts/update-copyrights.
12393         * intl/plural.c: Regenerated.
12394         * locale/programs/charmap-kw.h: Likewise.
12395         * locale/programs/locfile-kw.h: Likewise.
12396
12397 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12398
12399         * sysdeps/unix/sysv/linux/configure: Regenerated.
12400         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12401         the linux/fanotify.h header.
12402         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12403         HAVE_LINUX_FANOTIFY_H is defined.
12404
12405 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12406
12407         * benchtests/cos-inputs: New inputs.
12408         * benchtests/sin-inputs: Likewise.
12409
12410         * benchtests/atan-inputs: New inputs. Fix name of multiple
12411         precision fallback inputs.
12412
12413         * benchtests/atanh-inputs: New inputs.
12414         * benchtests/tanh-inputs: Likewise.
12415
12416         * benchtests/acosh-inputs: New inputs.
12417         * benchtests/asinh-inputs: Likewise.
12418
12419         * benchtests/cosh-inputs: New inputs.
12420         * benchtests/sinh-inputs: Likewise.
12421
12422         * benchtests/acos-inputs: Add more inputs.
12423         * benchtests/asin-inputs: Likewise.
12424
12425 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12426
12427         [BZ #16375]
12428         * manual/arith.texi: Fix spelling.
12429         * manual/charset.texi: Likewise.
12430         * manual/errno.texi: Likewise.
12431         * manual/filesys.texi: Likewise.
12432         * manual/lang.texi: Likewise.
12433         * manual/llio.texi: Likewise.
12434         * manual/locale.texi: Likewise.
12435         * manual/message.texi: Likewise.
12436         * manual/resource.texi: Likewise.
12437         * manual/search.texi: Likewise.
12438         * manual/setjmp.texi: Likewise.
12439         * manual/stdio.texi: Likewise.
12440         * manual/string.texi: Likewise.
12441         * manual/sysinfo.texi: Likewise.
12442         * manual/time.texi: Likewise.
12443
12444 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12445
12446         * po/sl.po: New file.
12447
12448 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12449
12450         * .gitignore: Add core/.gdbinit/.gdb_history.
12451
12452 2013-12-27  Allan McRae  <allan@archlinux.org>
12453
12454         [BZ #16369]
12455         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12456         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12457
12458 2013-12-24  Brooks Moses  <bmoses@google.com>
12459
12460         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12461         all compilers that claim C++98 compliance, not just GCC.
12462         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12463         Likewise.
12464
12465 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12466
12467         * NEWS: Restore accidentally deleted bug-fix entries.
12468
12469 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12470             Ondřej Bílka  <neleai@seznam.cz>
12471
12472         [BZ #15073]
12473         * malloc/malloc.c (_int_free): Perform sanity check only if we
12474         have_lock.
12475
12476 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12477
12478         [BZ #12986]
12479         * manual/stdio.texi (String Input Conversions): Clarify that character
12480         classes are not supported.
12481
12482 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12483
12484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12485
12486 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12487
12488         [BZ #16337]
12489         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12490         Calculate results for small negative arguments directly rather
12491         than using reflection formula with special underflow handling.
12492
12493         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12494         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12495         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12496         (fchflags): Likewise.
12497         (revoke): Likewise.
12498         (setlogin): Likewise.
12499         (sigaltstack): Likewise.
12500         (wait4): Likewise.
12501         (sigblock): Remove.
12502         (sigsetmask): Likewise.
12503         (wait3): Likewise.
12504         (waitpid): Likewise.
12505         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12506         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12507         file.
12508         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12509         * sysdeps/unix/bsd/Makefile: ... here.
12510         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12511         * sysdeps/unix/bsd/Versions: ... here.
12512         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12513         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12514         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12515         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12516         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12517         * sysdeps/unix/bsd/sigblock.c: ... here.
12518         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12519         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12520         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12521         * sysdeps/unix/bsd/sigvec.c: ... here.
12522         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12523         * sysdeps/unix/bsd/tcdrain.c: ... here.
12524         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12525         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12526         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12527         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12528         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12529         * sysdeps/unix/bsd/wait.c: ... here.
12530         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12531         * sysdeps/unix/bsd/wait3.c: ... here.
12532         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12533         * sysdeps/unix/bsd/waitpid.c: ... here.
12534
12535 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12536
12537         [BZ #16356]
12538         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12539         round-to-nearest for [!USE_AS_EXPM1L].
12540         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12541         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12542         more tests of exp and exp10.  Expect some exp10 tests to miss
12543         exceptions or fail in directed rounding modes.
12544         * math/auto-libm-test-out: Regenerated.
12545         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12546         (exp10_test_tonearest): New function.
12547         (exp10_towardzero_test_data): New array.
12548         (exp10_test_towardzero): New function.
12549         (exp10_downward_test_data): New array.
12550         (exp10_test_downward): New function.
12551         (exp10_upward_test_data): New array.
12552         (exp10_test_upward): New function.
12553         (main): Call the new functions.
12554         * sysdeps/i386/fpu/libm-test-ulps: Update.
12555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12556
12557 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12558
12559         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12560         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12561         * math/auto-libm-test-out: Regenerated.
12562         * math/libm-test.inc (acosh_test_data): Add more tests.
12563         (atanh_test_data): Likewise.
12564         (ceil_test_data): Likewise.
12565         (copysign_test_data): Likewise.
12566         * sysdeps/i386/fpu/libm-test-ulps: Update.
12567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568
12569         * timezone/checktab.awk: Update from tzcode 2013i.
12570         * timezone/private.h: Likewise.
12571         * timezone/scheck.c: Likewise.
12572         * timezone/tzfile.h: Likewise.
12573         * timezone/tzselect.ksh: Likewise.
12574         * timezone/zdump.c: Likewise.
12575         * timezone/zic.c: Likewise.
12576
12577         * math/auto-libm-test-in: Add tests of cpow.
12578         * math/auto-libm-test-out: Regenerated.
12579         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12580         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12581         mpc_cc_c.
12582         (func_calc_desc): Add mpc_cc_c union field.
12583         (test_functions): Add cpow.
12584         (special_fill_2pi): New function.
12585         (special_real_inputs): Add 2pi.
12586         (calc_generic_results): Handle mpc_cc_c.
12587         * sysdeps/i386/fpu/libm-test-ulps: Update.
12588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12589
12590         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12591         csqrt, ctan and ctanh.
12592         * math/auto-libm-test-out: Regenerated.
12593         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12594         (TEST_COND_x86): Likewise.
12595         (ccos_test_data): Use AUTO_TESTS_c_c.
12596         (ccosh_test_data): Likewise.
12597         (cexp_test_data): Likewise.
12598         (clog_test_data): Likewise.
12599         (csqrt_test_data): Likewise.
12600         (ctan_test_data): Likewise.
12601         (ctan_tonearest_test_data): Likewise.
12602         (ctan_towardzero_test_data): Likewise.
12603         (ctan_downward_test_data): Likewise.
12604         (ctan_upward_test_data): Likewise.
12605         (ctanh_test_data): Likewise.
12606         (ctanh_tonearest_test_data): Likewise.
12607         (ctanh_towardzero_test_data): Likewise.
12608         (ctanh_downward_test_data): Likewise.
12609         (ctanh_upward_test_data): Likewise.
12610         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12611         mpc_c_c.
12612         (func_calc_desc): Add mpc_c_c union field.
12613         (FUNC_mpc_c_c): New macro.
12614         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12615         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12616         ctanh.
12617         (special_fill_min_subnorm_p120): New function.
12618         (special_real_inputs): Add min_subnorm_p120.
12619         (calc_generic_results): Handle mpc_c_c.
12620         * sysdeps/i386/fpu/libm-test-ulps: Update.
12621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622
12623 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624
12625         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12626         (do_sin_slow): New functions.
12627         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12628         (cslow2, csloww1, csloww2): Use the new functions.
12629
12630         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12631         Use M to change sign of result instead of X.  Assume X is
12632         positive.
12633         (csloww1): Likewise.
12634         (__sin): Adjust.
12635         (__cos): Adjust.
12636
12637         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12638         arguments A and DA.
12639         (__sin): Adjust.
12640         (__cos): Likewise.
12641
12642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12643         (__cos): Likewise.
12644         (sloww1): Don't adjust sign of DX.
12645         (csloww1): Likewise.
12646         (sloww2): Use X directly and don't adjust sign of DX.
12647         (csloww2): Likewise.
12648
12649 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12650
12651         * math/auto-libm-test-in: Add tests of cabs and carg.
12652         * math/auto-libm-test-out: Regenerated.
12653         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12654         (carg_test_data): Likewise.
12655         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12656         mpc_c_f.
12657         (func_calc_desc): Add mpc_c_f union field.
12658         (test_functions): Add cabs and carg.
12659         (calc_generic_results): Handle mpc_c_f.
12660
12661         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12662         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12663         as a macro and a compat symbol.
12664         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12665         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12666         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12667         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12668         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12670         not use .hidden.
12671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12672         Likewise.
12673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12674         Likewise.
12675         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12676         Likewise.
12677         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12678         Likewise.
12679         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12680         Likewise.
12681         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12682         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12683         from GLIBC_2.3.2.
12684
12685 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12686
12687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12688
12689 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12690
12691         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12692         trailing whitespace removed.
12693         * scripts/config.guess: Update to version 2013-11-29.
12694         * scripts/config.sub: Update to version 2013-10-01.
12695
12696         * math/auto-libm-test-in: Add tests of sincos.
12697         * math/auto-libm-test-out: Regenerated.
12698         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12700         mpfr_f_11.
12701         (func_calc_desc): Add mpfr_f_11 union field.
12702         (test_functions): Add sincos.
12703         (calc_generic_results): Handle mpfr_f_11.
12704         * sysdeps/i386/fpu/libm-test-ulps: Update.
12705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12706
12707 2013-12-19  Andreas Schwab  <schwab@suse.de>
12708
12709         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12710         CALL_MCOUNT.
12711         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12712         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12713         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12714
12715 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12716
12717         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12718         * sysdeps/i386/fpu/libm-test-ulps: Update.
12719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720
12721         [BZ #16293]
12722         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12723         round-to-nearest mode when using frndint.
12724         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12725         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12727         Likewise.
12728         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12729         sinh test to fail.
12730         * math/auto-libm-test-out: Regenerated.
12731         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12732         (TEST_COND_x86): Likewise.
12733         (expm1_tonearest_test_data): New array.
12734         (expm1_test_tonearest): New function.
12735         (expm1_towardzero_test_data): New array.
12736         (expm1_test_towardzero): New function.
12737         (expm1_downward_test_data): New array.
12738         (expm1_test_downward): New function.
12739         (expm1_upward_test_data): New array.
12740         (expm1_test_upward): New function.
12741         (main): Run the new test functions.
12742         * sysdeps/i386/fpu/libm-test-ulps: Update.
12743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12744
12745         * include/features.h: Update comment documenting feature test
12746         macros.  Mention _DEFAULT_SOURCE in comment.
12747         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12748         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12749         _BSD_SOURCE and _SVID_SOURCE.
12750         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12751         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12752         !_SVID_SOURCE]: Likewise.
12753         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12754         (__USE_POSIX_IMPLICITLY): Define.
12755         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12756         (_POSIX_SOURCE): Undefine and redefine.
12757         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12758         (_POSIX_C_SOURCE): Likewise.
12759         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12760         (Feature Test Macros): Update documentation of default features.
12761
12762 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12763
12764         * benchtests/Makefile: Add bench-strtok.
12765         * benchtests/bench-strtok.c: New file: strtok benchtest.
12766
12767 2013-12-19  Allan McRae  <allan@archlinux.org>
12768
12769         * manual/install.texi: Suppress menu for plain text output.
12770         * INSTALL: Regenerated.
12771
12772 2013-12-18  Brooks Moses  <bmoses@google.com>
12773
12774         [BZ #15846]
12775         * misc/getauxval.c: Include errno.h.
12776         (__getauxval): Set errno to ENOENT if the requested type is not
12777         found.
12778         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12779         don't declare with __attribute_const__.
12780         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12781         * manual/startup.texi: Document that getauxval sets errno.
12782
12783 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12784
12785         * math/auto-libm-test-in: Add tests of jn and yn.
12786         * math/auto-libm-test-out: Regenerated.
12787         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12788         (yn_test_data): Likewise.
12789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12790         mpfr_if_f.
12791         (func_calc_desc): Add mpfr_if_f union field.
12792         (FUNC_mpfr_if_f): New macro.
12793         (test_functions): Add jn and yn.
12794         (calc_generic_results): Assert type of second input for
12795         mpfr_ff_f.  Handle mpfr_if_f.
12796         (output_for_one_input_case): Disable all checking for arguments
12797         fitting floating-point types in case of an integer argument.
12798         * sysdeps/i386/fpu/libm-test-ulps: Update.
12799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12800
12801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12802         Don't expect fegetround reference in libm.so.
12803
12804 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12805
12806         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12807         $(config-cflags-nofma).
12808
12809 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12810
12811         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12812         * math/auto-libm-test-out: Regenerated.
12813
12814         [BZ #16338]
12815         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12816         to determine exponent and adjust argument to have exponent of -1.
12817         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12818         log2.
12819         * math/auto-libm-test-out: Regenerated.
12820         * sysdeps/i386/fpu/libm-test-ulps: Update.
12821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12822
12823 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12824
12825         * manual/probes.texi: Remove cases when per-thread arenas are
12826         disabled.
12827
12828 2013-12-18  Andreas Schwab  <schwab@suse.de>
12829
12830         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12831         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12832         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12833         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12834         * sysdeps/i386/i686/multiarch/Makefile: Update.
12835         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12836
12837 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12838
12839         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12840         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12841
12842 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12843
12844         [BZ #15968]
12845         Support TZ transition times < 00:00:00.
12846         This is needed for version-3 tz-format files; it supports time
12847         stamps past 2037 for America/Godthab (the only entry in the tz
12848         database for which this change is relevant).
12849         * manual/time.texi (TZ Variable): Document transition times
12850         from -167:59:59 through -00:00:01.
12851         * time/tzset.c (tz_rule): Time of day is now signed.
12852         (__tzset_parse_tz): Parse negative time of day.
12853
12854         Document TZ transition times >= 25:00:00.
12855         * manual/time.texi (TZ Variable): Document transition times from
12856         25:00:00 through 167:59:59.  These are already supported, and this
12857         support will help with version-3 tz-format files.
12858
12859         * manual/time.texi (TZ Variable): Modernize North America example
12860         to reflect current (i.e., 2007-and-later) daylight saving rules.
12861
12862         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12863
12864 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12865
12866         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12867         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12868         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12869         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12870         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12871         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12872         * sysdeps/unix/bsd/clock.c: Likewise.
12873         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12874         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12875         * sysdeps/unix/bsd/init-posix.c: Likewise.
12876         * sysdeps/unix/bsd/poll.c: Likewise.
12877         * sysdeps/unix/bsd/ptsname.c: Likewise.
12878         * sysdeps/unix/bsd/seekdir.c: Likewise.
12879         * sysdeps/unix/bsd/setegid.c: Likewise.
12880         * sysdeps/unix/bsd/seteuid.c: Likewise.
12881         * sysdeps/unix/bsd/setgid.c: Likewise.
12882         * sysdeps/unix/bsd/setrgid.c: Likewise.
12883         * sysdeps/unix/bsd/setruid.c: Likewise.
12884         * sysdeps/unix/bsd/setsid.c: Likewise.
12885         * sysdeps/unix/bsd/setuid.c: Likewise.
12886         * sysdeps/unix/bsd/sigaction.c: Likewise.
12887         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12888         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12889         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12890         * sysdeps/unix/bsd/telldir.c: Likewise.
12891         * sysdeps/unix/bsd/times.c: Likewise.
12892         * sysdeps/unix/bsd/usleep.c: Likewise.
12893
12894         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12895         ($(objpfx)libbsd-compat.a): Remove rule.
12896
12897         * include/features.h (__FAVOR_BSD): Do not define.
12898         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12899         features conflicting with POSIX.
12900         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12901         (_BSD_SOURCE): Remove description of not being a subset of other
12902         feature test macros.
12903         * manual/job.texi (getpgrp): Do not document BSD version.
12904         (getpgid): Do not document by reference to BSD getpgrp.
12905         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12906         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12907         * signal/signal.h [__FAVOR_BSD]: Likewise.
12908         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12909         instead of making contents conditional on [__FAVOR_BSD].
12910         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12911
12912 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12913
12914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12915
12916 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12917
12918         [BZ #16314]
12919         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12920         values below 2**-450, not 2**-500.
12921         * math/auto-libm-test-in: Don't allow spurious underflow from
12922         hypot.
12923         * math/auto-libm-test-out: Regenerated.
12924
12925         [BZ #16316]
12926         [BZ #16330]
12927         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12928         values of ha and hb and sort them after adjusting subnormal
12929         arguments.
12930         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12931         Likewise.
12932         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12933         values of ea and eb and sort them after adjusting subnormal
12934         arguments.
12935         * math/auto-libm-test-in: Do not expect some hypot tests of
12936         subnormals to fail.  Add more hypot tests.
12937         * math/auto-libm-test-out: Regenerated.
12938
12939 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12940
12941         [BZ #13304]
12942         * sysdeps/sh/s_fma.c: New file.
12943         * sysdeps/sh/s_fmaf.c: New file.
12944         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12945         version.
12946         * sysdeps/sh/Implies: Add sh/soft-fp.
12947
12948 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12949
12950         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12951         level of indirection to members `objname', `errstring', `malloced'.
12952         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12953         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12954         it as the __longjmp argument (just pass 1 instead).
12955         (_dl_catch_error): Initialize C with argument pointers and address of
12956         volatile local ERRCODE rather than copying values out of C at return.
12957
12958 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12959
12960         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12961         * math/auto-libm-test-out: Regenerated.
12962         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12963         (hypot_test_data): Likewise.
12964         (pow_test_data): Likewise.
12965         (pow_tonearest_test_data): Likewise.
12966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12967         mpfr_ff_f.
12968         (func_calc_desc): Add mpfr_ff_f union field.
12969         (FUNC_mpfr_ff_f): New macro.
12970         (test_functions): Add atan2, hypot and pow.
12971         (special_fill_min): New function.
12972         (special_fill_minus_min): Likewise.
12973         (special_fill_min_subnorm): Likewise.
12974         (special_fill_minus_min_subnorm): Likewise.
12975         (special_real_inputs): Add min, -min, min_subnorm and
12976         -min_subnorm.
12977         (calc_generic_results): Handle mpfr_ff_f.
12978         * sysdeps/i386/fpu/libm-test-ulps: Update.
12979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12980
12981 2013-12-16  Will Newton  <will.newton@linaro.org>
12982
12983         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12984         (Aligned Memory Blocks): Add documentation for aligned_alloc
12985         and suggest it as an alternative to posix_memalign.
12986         (Hooks for Malloc): Document __memalign_hook is also called
12987         for aligned_alloc.  (Summary of Malloc): Add summary for
12988         aligned alloc.  Document __memalign_hook is also called
12989         for aligned_alloc.
12990
12991 2013-12-16  Will Newton  <will.newton@linaro.org>
12992
12993         * manual/memory.texi (Malloc Examples): Clarify default
12994         alignment documentation.  Suggest posix_memalign rather
12995         than memalign or valloc.
12996         (Aligned Memory Blocks): Remove suggestion to use memalign
12997         or valloc.  Remove obsolete comment about BSD.
12998         Document memalign errno values and mark the function obsolete.
12999         Document posix_memalign returned error codes.  Mark valloc
13000         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13001         called for posix_memalign and valloc.
13002         (Summary of Malloc): Add posix_memalign to function summary.
13003         __memalign_hook is also called for posix_memalign and valloc.
13004
13005 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13006
13007         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13008         TAYLOR_SIN.
13009         (__sin): Adjust.
13010         (__cos): Likewise.
13011         (sloww): Use mynumber union.  Expand ternary operator into
13012         if-else statements.
13013         (cslow): use mynumber union.
13014
13015 2013-12-16  Allan McRae  <allan@archlinux.org>
13016
13017         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13018         * configure: Regenerated.
13019
13020         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13021
13022         [BZ #14120]
13023         * configure.ac: Added --enable-maintainer-mode. Check for
13024         autoconf when enabled.
13025         * configure: Regenerated.
13026
13027         * nscd/nscd.service: New file.
13028         * nscd/nscd.tmpfiles: New file.
13029
13030 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13031
13032         [BZ #12100]
13033         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13034         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13035         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13036         (strstr): Add __strstr_sse2_unaligned ifunc.
13037         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13038         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13039         (strcasestr): Remove __strcasestr_sse42 ifunc.
13040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13043
13044 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13045
13046         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13047         * sysdeps/sh/bits/fenv.h: ... here.
13048         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13049
13050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13051
13052         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13053
13054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13055         hypotf multiarch implementations.
13056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13059         multiarch hypot for PPC64.
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13063         multiarch hypotf for PPC64.
13064
13065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13066         modff multiarch implementations.
13067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13070         multiarch modf for PPC64.
13071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13074         multiarch modff for PPC64.
13075
13076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13077         and logl multiarch implementations.
13078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13081         multiarch logb for PPC64.
13082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13085         multiarch logb for PPC64.
13086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13089         multiarch logb for PPC64.
13090
13091         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13092         isinff multiarch implementation.
13093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13094         file.
13095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13097         multiarch isinf for PPC64.
13098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13099         file.
13100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13101         multiarch isinff for PPC64.
13102
13103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13104         finitef multiarch implementation.
13105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13106         file.
13107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13109         multiarch finite for PPC64.
13110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13111         file.
13112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13113         multiarch finitef for PPC64.
13114
13115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13116         lrint multiarch implementation.
13117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13118         file.
13119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13121         multiarch llrint for PPC64.
13122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13123         multiarch lrint for PPC64.
13124
13125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13126         copysignf multiarch implementation.
13127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13128         file.
13129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13130         file.
13131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13132         multiarch copysign for PPC64.
13133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13134         multiarch copysignf for PPC64.
13135
13136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13137         multiarch implementation.
13138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13139         file.
13140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13141         file.
13142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13143         file.
13144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13145         file.
13146         multiarch llround for PPC64.
13147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13148         multiarch trunc for PPC64.
13149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13150         multiarch truncf for PPC64.
13151
13152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13153         multiarch implementation.
13154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13155         file.
13156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13157         file.
13158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13159         file.
13160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13161         file.
13162         multiarch llround for PPC64.
13163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13164         multiarch round for PPC64.
13165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13166         multiarch roundf for PPC64.
13167
13168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13169         multiarch implementation.
13170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13171         file.
13172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13173         file.
13174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13175         file.
13176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13177         file.
13178         multiarch llround for PPC64.
13179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13180         multiarch floor for PPC64.
13181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13182         multiarch floorf for PPC64.
13183
13184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13185         multiarch implementation.
13186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13187         file.
13188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13189         file.
13190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13191         file.
13192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13193         file.
13194         multiarch llround for PPC64.
13195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13196         multiarch ceil for PPC64.
13197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13198         multiarch ceilf for PPC64.
13199
13200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13201         multiarch implementation.
13202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13203         file.
13204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13205         file.
13206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13207         file.
13208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13209         multiarch llround for PPC64.
13210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13211         multiarch lround for PPC64.
13212
13213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13214         multiarch implementation.
13215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13218         file.
13219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13222         multiarch isnan for PPC64.
13223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13224         multiarch isnanf for PPC64.
13225
13226         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13227         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13228         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13229         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13230         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13232
13233         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13234         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13235         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13236         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13237
13238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13239         multiarch implementations.
13240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13241         (__libc_ifunc_impl_list): Likewise.
13242         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13245         multiarch stpcpy for PPC64.
13246
13247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13248         multiarch implementations.
13249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13250         (__libc_ifunc_impl_list): Likewise.
13251         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13252         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13253         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13254         multiarch strcpy for PPC64.
13255
13256         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13257         redefine function name.
13258         (_wordcopy_fwd_dest_aligned): Likewise.
13259         (_wordcopy_bwd_aligned): Likewise.
13260         (_wordcopy_bwd_dest_aligned): Likewise.
13261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13262         multiarch implementations.
13263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13264         (__libc_ifunc_impl_list): Likewise.
13265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13266         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13267         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13268         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13269         multiarch wcscpy for PPC64.
13270
13271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13272         multiarch implementations.
13273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13274         (__libc_ifunc_impl_list): Likewise.
13275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13276         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13277         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13278         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13279         multiarch wcscpy for PPC64.
13280
13281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13282         multiarch implementations.
13283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13284         (__libc_ifunc_impl_list): Likewise.
13285         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13286         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13287         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13288         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13289         multiarch wcsrchr for PPC64.
13290
13291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13292         multiarch implementations.
13293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13294         (__libc_ifunc_impl_list): Likewise.
13295         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13296         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13297         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13298         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13299         multiarch wcschr for PPC64.
13300
13301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13302         multiarch implementations.
13303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13304         (__libc_ifunc_impl_list): Likewise.
13305         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13306         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13307         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13308         multiarch strchrnul for PPC64.
13309
13310         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13311         implementations.
13312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13313         (__libc_ifunc_impl_list): Likewise.
13314         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13315         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13316         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13317         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13318         strchr for PPC64.
13319
13320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13321         implementations.
13322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13323         (__libc_ifunc_impl_list): Likewise.
13324         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13325         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13326         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13328         strncmp for PPC64.
13329
13330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13331         multiarch implementations.
13332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13333         (__libc_ifunc_impl_list): Likewise.
13334         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13335         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13336         strncasecmp for PPC64.
13337         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13338         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13339         multiarch strncasecmp_l for PPC64.
13340
13341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13342         multiarch implementations.
13343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13344         (__libc_ifunc_impl_list): Likewise.
13345         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13346         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13347         multiarch strcasecmp for PPC64.
13348         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13349         file.
13350         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13351         multiarch strcasecmp_l for PPC64.
13352
13353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13354         implementations.
13355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13356         (__libc_ifunc_impl_list): Likewise.
13357         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13358         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13359         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13360         strnlen for PPC64.
13361
13362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13363         implementations.
13364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13365         (__libc_ifunc_impl_list): Likewise.
13366         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13367         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13368         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13369         strlen for PPC64.
13370
13371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13372         implementations.
13373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13374         (__libc_ifunc_impl_list): Likewise.
13375         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13376         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13377         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13378         rawmemrchr for PPC64.
13379
13380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13381         implementation.
13382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13383         (__libc_ifunc_impl_list): Likewise.
13384         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13385         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13386         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13387         memrchr for PPC64.
13388
13389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13390         implementation.
13391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13392         (__libc_ifunc_impl_list): Likewise.
13393         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13394         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13395         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13396         memchr for PPC64.
13397
13398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13399         implementation.
13400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13401         (__libc_ifunc_impl_list): Likewise.
13402         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13403         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13404         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13405         mempcpy for PPC64.
13406
13407         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13408         avoid cretion of __bzero symbol.
13409         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13410         Likewise.
13411         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13412         Likewise.
13413         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13414         Likewise.
13415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13416         multiarch implementations.
13417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13418         (__libc_ifunc_impl_list): Likewise.
13419         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13420         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13421         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13422         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13423         bzero for PPC32.
13424         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13425         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13426         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13427         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13428         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13429         memset for PPC64.
13430         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13431
13432         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13434         implementations.
13435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13436         (__libc_ifunc_impl_list): Likewise.
13437         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13438         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13439         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13440         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13441         memcmp for PPC64.
13442
13443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13444         multiarch for POWER/PPC64.
13445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13446         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13448         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13449         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13450         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13452         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13453         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13454         memcpy for PPC64.
13455
13456         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13457         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13458         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13459         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13460         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13461         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13462         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13463         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13464         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13465         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13466         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13467         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13468         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13469         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13470         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13478
13479 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13480
13481         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13482
13483 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13484
13485         * benchtests/Makefile (bench): Add exp2 and log2.
13486         (LDLIBS-bench-exp2): Add -lm.
13487         (LDLIBS-bench-log2): Likewise.
13488         * benchtests/exp2-inputs: New inputs file.
13489         * benchtests/log2-inputs: New inputs file.
13490         * benchtests/log-inputs: Add new inputs.
13491         * benchtests/tan-inputs: Likewise.
13492
13493 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13494
13495         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13496         definition...
13497         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13498         (csloww2): ... from here.
13499
13500         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13501         instead of structures.
13502         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13503         (POLYNOMIAL): Likewise.
13504         (TAYLOR_SLOW): Likewise.
13505         (__sin): Likewise.
13506         (__cos): Likewise.
13507         (slow1): Likewise.
13508         (slow2): Likewise.
13509         (sloww): Likewise.
13510         (sloww1); Likewise.
13511         (sloww2): Likewise.
13512         (bsloww1): Likewise.
13513         (bsloww2): Likewise.
13514         (cslow2): Likewise.
13515         (csloww): Likewise.
13516         (csloww1): Likewise.
13517         (csloww2): Likewise.
13518
13519 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13520
13521         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13522         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13523         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13524         * malloc/hooks.c (realloc_check): Likewise.
13525
13526         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13527         * malloc/arena.c: Remove PER_THREAD conditional.
13528         [!PER_THREAD]: Remove code.
13529         (ptmalloc_unlock_all2): Likewise.
13530         (ptmalloc_init): Likewise.
13531         (_int_new_arena): Likewise.
13532         (arena_get2): Likewise.
13533         * malloc/hooks.c (__malloc_get_state): Likewise.
13534         (__malloc_set_state): Likewise.
13535         * malloc/malloc.c: Likewise.
13536         (struct malloc_state): Likewise.
13537         (struct malloc_par): Likewise.
13538         (__libc_realloc): Likewise.
13539         (__libc_mallopt): Likewise.
13540
13541 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13542
13543         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13544
13545 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13546
13547         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13548         macro to a function.  Check for zero perturb_byte.
13549         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13550
13551         * malloc/malloc.c: (force_reg): Remove.
13552         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13553         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13554         force_reg by atomic_forced_read.
13555         * malloc/arena.c (ptmalloc_init): Likewise.
13556         * malloc/hooks.c (top_check): Likewise.
13557
13558 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13559
13560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13561
13562 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13563
13564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13565
13566 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13567
13568         * math/auto-libm-test-in: Add tests of lgamma.
13569         * math/auto-libm-test-out: Regenerated.
13570         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13571         (M_LOG_2_SQRT_PIl): Likewise.
13572         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13573         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13574         mpfr_f_f1.
13575         (func_calc_desc): Add mpfr_f_f1 union field.
13576         (ARGS1): New macro.
13577         (ARGS2): Likewise.
13578         (ARGS3): Likewise.
13579         (ARGS4): Likewise.
13580         (RET1): Likewise.
13581         (RET2): Likewise.
13582         (CALC): Likewise.
13583         (FUNC): Likewise.
13584         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13585         (test_functions): Add lgamma.
13586         (calc_generic_results): Handle mpfr_f_f1.
13587         * sysdeps/i386/fpu/libm-test-ulps: Update.
13588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13589
13590 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13591
13592         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13593         __mpn_add_n for PowerPC64/POWER7.
13594         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13595         __mpn_sub_n for PowerPC64/POWER7.
13596
13597         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13598         __mpn_addmul_1 for PowerPC64.
13599         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13600         __mpn_submul_1 for PowerPC64.
13601         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13602         for PowerPC64.
13603         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13604         for PowerPC64.
13605
13606 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13607
13608         [BZ #15089]
13609         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13610
13611 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13612
13613         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13614
13615         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13616         add multiarch folders.
13617         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13618         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13619         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13620         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13621         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13622         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13623         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13624         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13625         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13626         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13627         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13634
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13636         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13638         New file.
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13640         New file.
13641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13642         multiarch __ieee754_hypot for PowerPC32.
13643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13644         New file.
13645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13646         New file.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13648         multiarch __ieee754_hypotf for PowerPC32.
13649
13650         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13651         long_double_symbol only if __logbl is defined.
13652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13653         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13654         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13655         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13656         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13657         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13658         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13659         path for implementation.
13660         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13661         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13663         logb, and logbl multiarch implementations for PowerPC32.
13664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13665         file.
13666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13667         file.
13668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13669         multiarch logb for PowerPC32.
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13671         file.
13672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13673         file.
13674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13675         multiarch logbf for PowerPC32.
13676         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13678         file.
13679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13680         multiarch logbl implementation for PowerPC32.
13681
13682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13683         and modff multiarch implementations.
13684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13685         New file.
13686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13687         New file.
13688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13689         multiarch modf for PowerPC32.
13690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13691         New file.
13692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13693         New file.
13694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13695         multiarch modff for PowerPC32.
13696
13697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13698         and lrintf multiarch implementations.
13699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13700         New file.
13701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13702         New file.
13703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13704         multiarch lrint for PowerPC32.
13705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13706         file: multiarch lrintf for PowerPC32.
13707
13708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13709         and lroundf multiarch implementations.
13710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13711         New file.
13712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13713         New file.
13714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13715         New file.
13716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13717         multiarch lround for PowerPC32.
13718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13719         file: multiarch lroundf for PowerPC32.
13720
13721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13722         copysign and copysignf multiarch implementations.
13723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13724         New file.
13725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13726         New file.
13727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13728         file: multiarch copysign for PowerPC32.
13729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13730         file: multiarch copysignf for PowerPC32.
13731
13732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13733         and truncf multiarch implementations.
13734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13735         New file.
13736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13737         file.
13738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13739         multiarch trunc for PowerPC32.
13740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13741         New file.
13742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13743         New file.
13744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13745         multiarch truncf for PowerPC32.
13746
13747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13748         and roundf multiarch implementations.
13749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13750         New file.
13751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13752         file.
13753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13754         multiarch round for PowerPC32.
13755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13756         New file.
13757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13758         New file.
13759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13760         multiarch roundf for PowerPC32.
13761
13762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13763         and floorf multiarch implementations.
13764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13765         New file.
13766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13767         file.
13768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13769         multiarch floor for PowerPC32.
13770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13771         New file.
13772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13773         New file.
13774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13775         multiarch floorf for PowerPC32.
13776
13777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13778         and ceilf multiarch implementations.
13779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13780         New file.
13781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13782         file.
13783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13784         multiarch ceil for PowerPC32.
13785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13786         New file.
13787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13788         file.
13789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13790         multiarch ceilf for PowerPC32.
13791
13792         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13793         is defined.
13794         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13795         FINITEF is defined.
13796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13797         and finitef multiarch implementations.
13798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13799         New file.
13800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13801         file.
13802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13803         multiarch finite for PowerPC32.
13804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13805         New file.
13806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13807         file: multiarch finitef for PowerPC32.
13808
13809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13810         and isinff multiarch implementations.
13811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13812         file.
13813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13814         file.
13815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13816         multiarch isinf for PowerPC32.
13817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13818         New file.
13819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13820         multiarch isinff for PowerPC32.
13821
13822         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13823         alias when __isnan is defined.
13824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13825         and isnanf multiarch implementations.
13826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13827         file.
13828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13829         file.
13830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13831         file.
13832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13833         file.
13834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13835         multiarch isnan for PowerPC32.
13836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13837         New file.
13838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13839         New file.
13840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13841         multiarch isnanf for PowerPC32.
13842
13843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13844         and sqrtf multiarch implementations.
13845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13848         file.
13849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13850         multiarch sqrt for PowerPC32.
13851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13852         file.
13853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13856         multiarch sqrtf for PowerPC32.
13857
13858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13859         and llroundf multiarch implementations.
13860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13861         New file.
13862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13863         New file.
13864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13865         New file.
13866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13867         file: multiarch llround for PowerPC32.
13868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13869         file: multiarch llroundf for PowerPC32.
13870
13871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13872         multiarch PowerPC32 fpu implementations.
13873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13874         New file.
13875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13876         New file.
13877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13878         multiarch llrint for PowerPC32.
13879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13880         New file.
13881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13882         New file.
13883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13884         file.
13885
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13887
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13889         file.
13890         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13891         file.
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13893         file.
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13895         multiarch wordcopy for PPC32.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13897         wordcopy objects.
13898         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13899         (__libc_ifunc_impl_list): Likewise.
13900         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13901         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13903         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13904         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13905         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13906
13907         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13909         file.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13911         file.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13913         file.
13914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13915         multiarch wcscpy for PPC32.
13916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13917         multiarch objects.
13918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13919         (__libc_ifunc_impl_list): Likewise.
13920         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13921         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13922         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13923         sysdeps/powerpc/power6/wcscpy.c.
13924
13925         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13927         file.
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13929         file.
13930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13931         file.
13932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13933         multiarch wcsrchr for PPC32.
13934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13935         multiarch objects.
13936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13937         (__libc_ifunc_impl_list): Likewise.
13938         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13939         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13940         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13941         sysdeps/powerpc/power6/wcsrchr.c.
13942
13943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13944         file.
13945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13946         file.
13947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13949         multiarch wcschr for PPc32.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13951         multiarch objects.
13952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13953         (__libc_ifunc_impl_list): Likewise.
13954         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13955         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13956         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13957         sysdeps/powerpc/power6/wcschr.c.
13958
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13960         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13961         file.
13962         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13963         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13964         file: multiarch strchr for PPC32.
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13966         multiarch objects.
13967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13968         (__libc_ifunc_impl_list): Likewise.
13969
13970         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13971         name.
13972         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13973         file.
13974         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13975         file.
13976         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13977         multiarch strchrnul for PPC32.
13978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13979         multiarch objects.
13980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13981         (__libc_ifunc_impl_list): Likewise.
13982
13983         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13984         file.
13985         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13986         multiarch strncasecmp for PPC32.
13987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13988         file.
13989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13990         multiarch strncasecmp_l for PPC32.
13991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13992         strncasecmp multiarch objects.
13993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13994         (__libc_ifunc_impl_list): Likewise.
13995
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13997         file.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13999         multiarch strncasecmp for PPC32.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14001         New file.
14002         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14003         multiarch strcasecmp_l for PPC32.
14004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14005         multiarch objects.
14006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14007         (__libc_ifunc_impl_list): Likewise.
14008
14009         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14010         file.
14011         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14012         file.
14013         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14014         multiarch strncmp for PPC32.
14015         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14016         multiarch objects.
14017         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14018         (__libc_ifunc_impl_list): Likewise.
14019
14020         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14021         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14022         file.
14023         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14024         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14026         multiarch objects.
14027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14028         (__libc_ifunc_impl_list): Likewise.
14029
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14031         file.
14032         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14033         file.
14034         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14036         multiarch objects.
14037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14038         (__libc_ifunc_impl_list): Likewise.
14039
14040         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14041         file.
14042         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14043         file.
14044         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14045         multiarch rawmemchr for PPC32.
14046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14047         multiarch objects.
14048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14049         (__libc_ifunc_impl_list): Likewise.
14050
14051         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14052         file.
14053         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14054         file.
14055         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14056         file: memrchr multiarch for PPC32.
14057         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14058         multiarch objects.
14059         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14060         (__libc_ifunc_impl_list): Likewise.
14061
14062         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14063         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14064         file.
14065         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14066         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14067         multiarch memchr for PPC32.
14068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14069         multiarch objects.
14070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14071         (__libc_ifunc_impl_list): Likewise.
14072
14073         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14074         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14075         file.
14076         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14077         file.
14078         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14079         file: multiarch mempcpy for PPC32.
14080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14081         multiarch objects.
14082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14083         (__libc_ifunc_impl_list): Likewise.
14084
14085         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14086         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14087         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14088         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14089         multiarch bzero for PPC32.
14090         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14091         file.
14092         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14093         file.
14094         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14095         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14096         file: multiarch memset for PPC32.
14097         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14099         memset multiarch objects.
14100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14101         (__libc_ifunc_impl_list): Likewise.
14102
14103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14104         file.
14105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14107         memcmp for PPC32.
14108         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14110         multiarch objects.
14111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14112         (__libc_ifunc_impl_list): Likewise.
14113
14114         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14117         file.
14118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14119         file.
14120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14121         file.
14122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14123         multiarch memcpy for PPC32.
14124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14125         multiarch objects.
14126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14127         (__libc_ifunc_impl_list): Likewise.
14128
14129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14130         support multiarch for POWER/PPC32.
14131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14132         Likewise.
14133         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14135         Implies file to make multiarch folder appers before the fpu and
14136         default folder for power4 configuration.
14137
14138 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14139
14140         * scripts/bench.pl: Append volatile keyword to type.
14141
14142 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14143
14144         * sysdeps/sh/sotruss-lib.c: New file.
14145         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14146
14147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14148
14149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14150
14151 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14152
14153         [BZ #6810]
14154         * math/w_tgamma.c: Include <errno.h>.
14155         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14156         * math/w_tgammaf.c: Include <errno.h>.
14157         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14158         * math/w_tgammal.c: Include <errno.h>.
14159         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14160         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14161         underflow.  Add more tgamma tests.
14162         * math/auto-libm-test-out: Regenerated.
14163         * sysdeps/i386/fpu/libm-test-ulps: Update.
14164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14165
14166         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14167         sin, sinh, tan, tanh, tgamma, y0 and y1.
14168         * math/auto-libm-test-out: Regenerated.
14169         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14170         (TEST_COND_x86): Likewise.
14171         (M_E2l): Remove macro.
14172         (M_E3l): Likewise.
14173         (M_2_SQRT_PIl): Likewise.
14174         (M_SQRT_PIl): Likewise.
14175         (M_1_DIV_El): Likewise.
14176         (log_test_data): Use AUTO_TESTS_f_f.
14177         (log10_test_data): Likewise.
14178         (log1p_test_data): Likewise.
14179         (log2_test_data): Likewise.
14180         (sin_test_data): Likewise.
14181         (sin_tonearest_test_data): Likewise.
14182         (sin_towardzero_test_data): Likewise.
14183         (sin_downward_test_data): Likewise.
14184         (sin_upward_test_data): Likewise.
14185         (sinh_test_data): Likewise.
14186         (sinh_tonearest_test_data): Likewise.
14187         (sinh_towardzero_test_data): Likewise.
14188         (sinh_downward_test_data): Likewise.
14189         (sinh_upward_test_data): Likewise.
14190         (tan_test_data): Likewise.
14191         (tan_tonearest_test_data): Likewise.
14192         (tan_towardzero_test_data): Likewise.
14193         (tan_downward_test_data): Likewise.
14194         (tan_upward_test_data): Likewise.
14195         (tanh_test_data): Likewise.
14196         (tgamma_test_data): Likewise.
14197         (y0_test_data): Likewise.
14198         (y1_test_data): Likewise.
14199         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14200         (special_real_inputs): Add pi/4.
14201         * sysdeps/i386/fpu/libm-test-ulps: Update.
14202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14203
14204 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14205
14206         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14207         "longjmp_target" static probes.
14208         (__longjmp): Rename to __longjmp_symbol.
14209         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14210         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14211         on which longjmp to generate.
14212         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14213         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14214         probe.
14215         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14216         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14217         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14218         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14219         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14220         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14222         __longjmp_symbol based on which __longjmp to generate.
14223         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14224         probe.
14225         (setjmp): Rename to setjmp_symbol.
14226         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14227         (_setjmp): Rename to _setjmp_symbol.
14228         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14229         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14230         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14231         which setjmp to generate.
14232         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14233         "longjmp_target" static probes.
14234
14235 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14236
14237         * benchtests/README: Add note about output arguments.
14238         * benchtests/bench-sincos.c: Remove file.
14239         * benchtests/sincos-inputs: New file.
14240         * scripts/bench.pl: Identify output arguments and define
14241         static variables for them.
14242
14243         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14244
14245         [BZ #15941]
14246         * Makefile (INSTALL): Add install-plain.texi as the primary
14247         dependency.
14248         * manual/install-plain.texi: New file.
14249         * manual/install.texi: Include node directive only for
14250         non-plaintext output.
14251
14252 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14253
14254         * stdlib/longlong.h: Update from GCC.
14255
14256         [BZ #6807]
14257         [BZ #15901]
14258         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14259         * math/w_j0f.c (y0f): Likewise.
14260         * math/w_j0l.c (__y0l): Likewise.
14261         * math/w_j1.c (y1): Likewise.
14262         * math/w_j1f.c (y1f): Likewise.
14263         * math/w_j1l.c (__y1l): Likewise
14264         * math/w_jn.c (yn): Likewise.
14265         * math/w_jnf.c (ynf): Likewise.
14266         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14267         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14268         value for Bessel function domain errors outside _SVID_ mode.
14269         Adjust sign of return value for yn (negative integer, 0).
14270         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14271         by zero in return for negative x and set sign appropriately for
14272         negative n.
14273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14274         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14275         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14276         expectations in error cases.
14277         (y1_test_data): Likewise.
14278         (yn_test_data): Likewise.
14279         * sysdeps/i386/fpu/libm-test-ulps: Update.
14280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14281
14282 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14283
14284         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14285         "64" to "64-v1".  Add "64-v2".
14286         (abi-64-options): Rename to ...
14287         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14288         (abi-64-condition): Rename to ...
14289         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14290         (abi-64-ld-soname): Rename to ...
14291         (abi-64-v1-ld-soname): ... this.
14292         (abi-64-v2-options): Define.
14293         (abi-64-v2-condition): Likewise.
14294         (abi-64-v2-ld-soname): Likewise.
14295         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14296         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14300
14301 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14302             Alan Modra  <amodra@gmail.com>
14303
14304         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14305         New versions for use with the ELFv2 ABI.
14306         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14307         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14308         declaration.
14309         (struct La_ppc64v2_retval): Likewise.
14310         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14311         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14312         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14313         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14314         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14315         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14316         Do not save or restore CR.
14317         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14318         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14319         return values for ELFv2 ABI.  Fix location of FPR return registers.
14320         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14321         updated values for _CALL_ELF == 2.
14322         (La_regs, La_retval, int_retval): Likewise.
14323
14324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14325
14326         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14327         (FRAME_MIN_SIZE_PARM): Likewise.
14328         (FRAME_BACKCHAIN): Likewise.
14329         (FRAME_CR_SAVE): Likewise.
14330         (FRAME_LR_SAVE): Likewise.
14331         (FRAME_TOC_SAVE): Likewise.
14332         (FRAME_PARM_SAVE): Likewise.
14333         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14334         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14335         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14336         (call_mcount_parm_offset): New macro.
14337         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14338         (PROF): Use symbolic stack frame offsets.
14339         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14340         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14341         Redefine in terms of FRAME_MIN_SIZE.
14342         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14343         (_dl_profile_resolve): Likewise.  Update comment.
14344         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14345         symbols stack frame offsets.
14346         (__sigsetjmp): Likewise.
14347         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14348         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14349         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14350         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14351
14352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14353         (FRAME_BACKCHAIN): Remove.
14354         (FRAME_CR_SAVE): Likewise.
14355         (FRAME_LR_SAVE): Likewise.
14356         (FRAME_COMPILER_DW): Likewise.
14357         (FRAME_LINKER_DW): Likewise.
14358         (FRAME_TOC_SAVE): Likewise.
14359         (FRAME_PARM_SAVE): Likewise.
14360         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14361         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14362         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14364         (CHECK_SP): Use symbolic stack frame offsets.
14365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14366         zone" instead of caller's parameter save area for temp storage.
14367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14368         Likewise.  Also, use symbolic stack frame offsets.
14369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14370         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14371         our own stack frame instead of the caller's.
14372         (__socket): Use symbolic stack frame offsets.
14373
14374 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14375             Alan Modra  <amodra@gmail.com>
14376
14377         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14378         Define.
14379         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14380         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14381         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14382         New function.
14383         (elf_machine_fixup_plt): Call it.
14384         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14385         reloc arguments.
14386         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14387         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14388         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14389         r2 before calling target.
14390
14391 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14392             Alan Modra  <amodra@gmail.com>
14393
14394         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14395         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14396         versions of macros to support ELFv2 ABI.
14397         (LOCALENTRY): New macro.
14398         (ENTRY, EALIGN): Use it.
14399         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14400         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14401         fall through into ENTRY entry point.
14402         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14403         Only define if _CALL_ELF != 2.
14404
14405         (elf_machine_matches_host): Verify ABI version matches.
14406         (RTLD_START): Use LOCALENTRY.
14407         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14408         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14409         (PLT_ENTRY_WORDS): New macro.
14410         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14411         (elf_machine_runtime_setup): Support ELFv2 ABI.
14412         (elf_machine_fixup_plt): Likewise.
14413         (elf_machine_plt_conflict): Likewise.
14414         (resolve_ifunc): Likewise.
14415         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14416         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14417         Likewise.
14418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14419         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14421         (makecontext): Support ELFv2 ABI.
14422         * elf/elf.h (EF_PPC64_ABI): Define.
14423
14424 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14425
14426         * sysdeps/powerpc/powerpc64/sysdep.h
14427         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14428         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14429         (ENTRY) [ASSEMBLER]: ... but instead here ...
14430         (EALIGN) [ASSEMBLER]: ... and here.
14431         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14432         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14433         (ENTRY_2) [!ASSEMBLER]: Use it.
14434         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14435         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14436         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14437         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14438         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14440         Use PPC64_LOAD_FUNCPTR.
14441
14442         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14443
14444 2013-12-04  Alan Modra  <amodra@gmail.com>
14445
14446         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14447         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14448         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14449         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14450
14451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14452         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14453         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14454         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14455         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14456         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14457
14458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14459
14460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14461         (__makecontext): Fix incorrect CFI when backtracing out of
14462         context created via makecontext.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14464         (__setcontext): Fix incorrect CFI during switch to new context.
14465         (__novec_setcontext): Likewise.
14466
14467 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14468
14469         [BZ #4772]
14470         * time/strptime_l.c (__strptime_internal): Allow modifiers
14471         in strptime.
14472         * time/tst-strptime.c (day_tests): Add testcase.
14473
14474 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14475
14476         * scripts/bench.pl: Skip over blank lines.
14477
14478 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14479
14480         [BZ #926]
14481         * manual/time.texi (Calendar Time): Clarify what timezone functions
14482         use.
14483
14484 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14485
14486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14487
14488 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14489
14490         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14491         implementation.
14492         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14493         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14494         * debug/memset_chk.c (__memset_chk): Likewise.
14495         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14496         * debug/strncpy_chk.c: Likewise.
14497
14498 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14499
14500         [BZ #15268]
14501         [BZ #15425]
14502         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14503         (__ieee754_exp): For possibly underflowing results, check size of
14504         result and force underflow exception if required.
14505         * math/auto-libm-test-in: Add more tests of exp.
14506         * math/auto-libm-test-out: Regenerated.
14507         * sysdeps/i386/fpu/libm-test-ulps: Update.
14508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14509
14510         [BZ #16283]
14511         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14512         * math/w_exp2f.c (__exp2f): Likewise.
14513         * math/w_exp2l.c (__exp2l): Likewise.
14514         * math/auto-libm-test-in: Do not allow missing errno on exp2
14515         underflow.
14516         * math/auto-libm-test-out: Regenerated.
14517
14518 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14519
14520         [BZ #16274]
14521         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14522         handle filename validation.
14523         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14524         (do_open): Delete.
14525
14526 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14527
14528         [BZ #6786]
14529         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14530         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14531         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14532         <float.h>.
14533         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14534         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14535         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14536         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14537         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14538         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14539         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14540         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14541         Add more erfc tests.
14542         * math/auto-libm-test-out: Regenerated.
14543         * sysdeps/i386/fpu/libm-test-ulps: Update.
14544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14545
14546         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14547         exp2, expm1, j0 and j1.
14548         * math/auto-libm-test-out: Regenerated.
14549         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14550         (erfc_test_data): Likewise.
14551         (exp_test_data): Likewise.
14552         (exp_tonearest_test_data): Likewise.
14553         (exp_towardzero_test_data): Likewise.
14554         (exp_downward_test_data): Likewise.
14555         (exp_upward_test_data): Likewise.
14556         (exp10_test_data): Likewise.
14557         (exp2_test_data): Likewise.
14558         (expm1_test_data): Likewise.
14559         (j0_test_data): Likewise.
14560         (j1_test_data): Likewise.
14561         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14562         (input_flag_type): Add flag_xfail_rounding.
14563         (input_flags): Add xfail-rounding.
14564         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14565         (output_for_one_input_case): Handle flag_xfail_rounding.
14566         * sysdeps/i386/fpu/libm-test-ulps: Update.
14567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14568
14569 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14570
14571         [BZ #16289]
14572         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14573         division by 0.
14574
14575 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14576
14577         [BZ #16195]
14578         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14579         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14580         (STAP_PROBE0): New macro.
14581         (STAP_PROBE1): Likewise.
14582         (STAP_PROBE2): Likewise.
14583         (STAP_PROBE3): Likewise.
14584         (STAP_PROBE4): Likewise.
14585
14586 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14587
14588         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14589
14590 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14591
14592         * benchtests/Makefile (bench): Add sqrt.
14593         (LDLIBS-bench-sqrt): New.
14594         * benchtests/sqrt-input: New.
14595
14596 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14597
14598         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14599         (GAIH_EAI): Likewise.
14600         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14601         (gaih_inet): Likewise.
14602         (getaddrinfo): Don't use GAIH_EAI.
14603
14604         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14605         (struct gaih): Remove definition.
14606
14607 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14608
14609         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14610         Use HERRNOP directly.
14611
14612 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14613
14614         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14615
14616 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14617
14618         * math/gen-auto-libm-tests.c (test_functions): Add more
14619         single-argument functions.
14620         (special_fill_pi_2): New function.
14621         (special_fill_minus_pi_2): Likewise.
14622         (special_fill_pi_6): Likewise.
14623         (special_fill_minus_pi_6): Likewise.
14624         (special_fill_pi_3): Likewise.
14625         (special_fill_2pi_3): Likewise.
14626         (special_fill_e): Likewise.
14627         (special_fill_1_e): Likewise.
14628         (special_fill_e_minus_1): Likewise.
14629         (special_real_inputs): Add more special inputs.
14630         (output_for_one_input_case): Do not require ERANGE on underflow to
14631         zero if round-to-nearest result does not underflow to zero, unless
14632         exact results required.
14633         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14634         atan, atanh, cbrt, cos and cosh.
14635         * math/auto-libm-test-out: Regenerated.
14636         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14637         (acos_tonearest_test_data): Likewise.
14638         (acos_towardzero_test_data): Likewise.
14639         (acos_downward_test_data): Likewise.
14640         (acos_upward_test_data): Likewise.
14641         (acosh_test_data): Likewise.
14642         (asin_test_data): Likewise.
14643         (asin_tonearest_test_data): Likewise.
14644         (asin_towardzero_test_data): Likewise.
14645         (asin_upward_test_data): Likewise.
14646         (asinh_test_data): Likewise.
14647         (atan_test_data): Likewise.
14648         (atanh_test_data): Likewise.
14649         (cbrt_test_data): Likewise.
14650         (cos_test_data): Likewise.
14651         (cos_tonearest_test_data): Likewise.
14652         (cos_towardzero_test_data): Likewise.
14653         (cos_downward_test_data): Likewise.
14654         (cos_upward_test_data): Likewise.
14655         (cosh_test_data): Likewise.
14656         (cosh_tonearest_test_data): Likewise.
14657         (cosh_towardzero_test_data): Likewise.
14658         (cosh_downward_test_data): Likewise.
14659         (cosh_upward_test_data): Likewise.
14660         * sysdeps/i386/fpu/libm-test-ulps: Update.
14661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14662
14663 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14664
14665         [BZ #6787]
14666         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14667         * math/w_exp10f.c (__exp10f): Likewise.
14668         * math/w_exp10l.c (__exp10l): Likewise.
14669         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14670         errno settings in existing tests.
14671
14672         [BZ #14032]
14673         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14674         precision control set to double precision.
14675         * sysdeps/i386/fpu/w_sqrt.c: New file.
14676         * math/auto-libm-test-in: Add more tests.
14677         * math/auto-libm-test-out: Update.
14678
14679         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14680         (sqrt_test_tonearest): New function.
14681         (sqrt_towardzero_test_data): New variable.
14682         (sqrt_test_towardzero): New function.
14683         (sqrt_downward_test_data): New variable.
14684         (sqrt_test_downward): New function.
14685         (sqrt_upward_test_data): New variable.
14686         (sqrt_test_upward): New function.
14687         (main): Call the new functions.
14688
14689         * math/gen-auto-libm-tests.c: New file.
14690         * math/auto-libm-test-in: Likewise.
14691         * math/auto-libm-test-out: New generated file.
14692         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14693         variables.
14694         (%beautify): Add generated representations of zero.
14695         (top level): Set $auto_input and call parse_auto_input.
14696         (beautify): Remove trailing "f" from hex float constants.
14697         (parse_args): Handle XFAIL_TEST.
14698         (convert_condition): New function.
14699         (or_value): Likewise.
14700         (or_cond_value): Likewise.
14701         (generate_testfile): Handle AUTO_TESTS_* lines.
14702         (parse_auto_input): New function.
14703         * math/libm-test.inc (XFAIL_TEST): New macro.
14704         (ERRNO_UNCHANGED): Update value.
14705         (ERRNO_EDOM): Likewise.
14706         (ERRNO_ERANGE): Likewise.
14707         (IGNORE_RESULT): Likewise.
14708         (TEST_COND_flt_32): New macro.
14709         (TEST_COND_dbl_64): Likewise.
14710         (TEST_COND_ldbl_96_intel): Likewise.
14711         (TEST_COND_ldbl_96_m68k): Likewise.
14712         (TEST_COND_ldbl_128): Likewise.
14713         (TEST_COND_ldbl_128ibm): Likewise.
14714         (TEST_COND_long32): Likewise.
14715         (TEST_COND_long64): Likewise.
14716         (TEST_COND_before_rounding): Likewise.
14717         (TEST_COND_after_rounding): Likewise.
14718         (enable_test): Handle XFAIL_TEST flag.
14719         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14720         with finite results.
14721         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14722         auto-libm-test-out.
14723
14724 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14725             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14726
14727         [BZ #16214]
14728         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14729         __tls_get_addr_internal instead of __tls_get_offset in order to
14730         avoid GOT pointer dependency.  Make rtld export
14731         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14732         __tls_get_addr since we are a __tls_get_offset platform.
14733         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14734         GOT pointer being set up before.
14735         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14736
14737 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14738
14739         * manual/math.texi (Errors in Math Functions): Document accuracy
14740         goals.
14741
14742         [BZ #15004]
14743         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14744         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14745         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14746         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14747         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14748         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14749         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14750         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14751         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14752         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14753         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14754         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14755         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14756         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14757         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14758         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14759
14760         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14761         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14762         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14763         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14764         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14765         Likewise.
14766         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14767         Likewise.
14768         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14769         Likewise.
14770         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14771         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14772         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14773         atomic-feupdateenv and flt-rounds.
14774         * sysdeps/powerpc/nofpu/Versions (libc): Add
14775         __atomic_feholdexcept, __atomic_feclearexcept,
14776         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14777         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14778         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14779         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14780         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14781         here.
14782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14783         Update.
14784
14785         * manual/arith.texi (FP Exceptions): Document that exceptions may
14786         not be raised when matherr is used.
14787         (Math Error Reporting): Document overflow in directed rounding
14788         modes.  Document that errno may not be set when finite values are
14789         returned on overflow.  Document intent to set errno on underflow
14790         only for underflow to zero.
14791
14792         [BZ #16271]
14793         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14794         round-to-nearest then adjust result for other rounding modes.
14795         * include/fenv.h (fegetround): Use libm_hidden_proto.
14796         * math/fegetround.c (fegetround): Use libm_hidden_def.
14797         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14798         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14799         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14801         Likewise.
14802         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14803         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14804         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14805         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14806
14807 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808
14809         [BZ #16077]
14810         * nss/Versions (libnss_files): Add
14811         _nss_files_gethostbyname3_r.
14812         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14813         New function.
14814         (HOST_DB_LOOKUP): Remove macro.
14815         (_nss_files_gethostbyname_r): Implement function without the
14816         HOST_DB_LOOKUP macro.
14817         (_nss_files_gethostbyname2_r): Likewise.
14818
14819 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14820
14821         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14822
14823 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14824
14825         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14826         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14827         warning.
14828
14829 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14830
14831         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14832         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14833         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14834         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14835         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14836         __fe_nomask_env_priv and attribute_hidden.
14837         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14838         (libc_feupdateenv_test_ppc): Likewise.
14839         (libc_feresetround_ppc): Likewise.
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14841         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14842         compat_symbol macro.
14843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14844         (__fe_nomask_env): Likewise.
14845         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14846
14847 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14848
14849         * string/Makefile: Remove ifunc tests.
14850         * string/test-string.h: Define TEST_IFUNC.
14851         * string/test-bcopy-ifunc.c: Remove.
14852         * string/test-bzero-ifunc.c: Likewise.
14853         * string/test-memccpy-ifunc.c: Likewise.
14854         * string/test-memchr-ifunc.c: Likewise.
14855         * string/test-memcmp-ifunc.c: Likewise.
14856         * string/test-memcpy-ifunc.c: Likewise.
14857         * string/test-memmem-ifunc.c: Likewise.
14858         * string/test-memmove-ifunc.c: Likewise.
14859         * string/test-mempcpy-ifunc.c: Likewise.
14860         * string/test-memrchr-ifunc.c: Likewise.
14861         * string/test-memset-ifunc.c: Likewise.
14862         * string/test-rawmemchr-ifunc.c: Likewise.
14863         * string/test-stpcpy-ifunc.c: Likewise.
14864         * string/test-stpncpy-ifunc.c: Likewise.
14865         * string/test-strcasecmp-ifunc.c: Likewise.
14866         * string/test-strcasestr-ifunc.c: Likewise.
14867         * string/test-strcat-ifunc.c: Likewise.
14868         * string/test-strchr-ifunc.c: Likewise.
14869         * string/test-strchrnul-ifunc.c: Likewise.
14870         * string/test-strcmp-ifunc.c: Likewise.
14871         * string/test-strcpy-ifunc.c: Likewise.
14872         * string/test-strcspn-ifunc.c: Likewise.
14873         * string/test-strlen-ifunc.c: Likewise.
14874         * string/test-strncasecmp-ifunc.c: Likewise.
14875         * string/test-strncat-ifunc.c: Likewise.
14876         * string/test-strncmp-ifunc.c: Likewise.
14877         * string/test-strncpy-ifunc.c: Likewise.
14878         * string/test-strnlen-ifunc.c: Likewise.
14879         * string/test-strpbrk-ifunc.c: Likewise.
14880         * string/test-strrchr-ifunc.c: Likewise.
14881         * string/test-strspn-ifunc.c: Likewise.
14882         * string/test-strstr-ifunc.c: Likewise.
14883
14884 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14885
14886         * benchtests/Makefile: Remove ifunc tests.
14887         * benchtests/bench-string.h: Define TEST_IFUNC.
14888         * benchtests/bench-bcopy-ifunc.c: Remove.
14889         * benchtests/bench-bzero-ifunc.c: Likewise.
14890         * benchtests/bench-memccpy-ifunc.c: Likewise.
14891         * benchtests/bench-memchr-ifunc.c: Likewise.
14892         * benchtests/bench-memcmp-ifunc.c: Likewise.
14893         * benchtests/bench-memcpy-ifunc.c: Likewise.
14894         * benchtests/bench-memmem-ifunc.c: Likewise.
14895         * benchtests/bench-memmove-ifunc.c: Likewise.
14896         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14897         * benchtests/bench-memrchr-ifunc.c: Likewise.
14898         * benchtests/bench-memset-ifunc.c: Likewise.
14899         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14900         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14901         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14902         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14903         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14904         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14905         * benchtests/bench-strcat-ifunc.c: Likewise.
14906         * benchtests/bench-strchr-ifunc.c: Likewise.
14907         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14908         * benchtests/bench-strcmp-ifunc.c: Likewise.
14909         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14910         * benchtests/bench-strcpy-ifunc.c: Likewise.
14911         * benchtests/bench-strcspn-ifunc.c: Likewise.
14912         * benchtests/bench-strlen-ifunc.c: Likewise.
14913         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14914         * benchtests/bench-strncat-ifunc.c: Likewise.
14915         * benchtests/bench-strncmp-ifunc.c: Likewise.
14916         * benchtests/bench-strncpy-ifunc.c: Likewise.
14917         * benchtests/bench-strnlen-ifunc.c: Likewise.
14918         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14919         * benchtests/bench-strrchr-ifunc.c: Likewise.
14920         * benchtests/bench-strsep-ifunc.c: Likewise.
14921         * benchtests/bench-strspn-ifunc.c: Likewise.
14922         * benchtests/bench-strstr-ifunc.c: Likewise.
14923
14924 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14925
14926         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14927
14928 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14929
14930         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14931         * rt/aio.h: Likewise.
14932         * sysdeps/gnu/bits/utmp.h: Likewise.
14933         * sysdeps/gnu/bits/utmpx.h: Likewise.
14934         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14935         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14936         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14937         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14938         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14939         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14940         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14941         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14942         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14943         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14944         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14945         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14946         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14948         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14949         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14950         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14951         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14952         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14953         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14954         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14955         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14956         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14957         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14958         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14960         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14961         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14962         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14963         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14964         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14965         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14966         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14967         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14968         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14969         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14970         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14971         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14972         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14973         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14974         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14975         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14976
14977 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14978
14979         [BZ #16245]
14980         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14981         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14982
14983 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14984
14985         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14986         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14987         Likewise.
14988
14989 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14990
14991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14992         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14993         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14994         (__fesetround): Remove define.
14995         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14996         rounding and exceptions handling.
14997         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14998         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14999         (__fe_nomask_env): Likewise.
15000         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15001         __fegetround instead of fegetround.
15002         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15003         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15004
15005 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15006
15007         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15008         it's there.
15009
15010         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15011
15012 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15013
15014         [BZ #11157]
15015         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15016         (encrypt_r): Likewise.
15017         * malloc/obstack.h (obstack_free): Likewise.
15018         * posix/unistd.h (encrypt): Likewise.
15019
15020 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15021
15022         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15023         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15024         DL_CALL_DT_FINI() that call the functions directly.
15025         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15026         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15027         * elf/dl-fini.c: Likewise.
15028
15029 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15030
15031         * malloc/hooks.c (memalign_check): Add alignment rounding.
15032         * malloc/malloc.c (_mid_memalign): New function.
15033         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15034         Implement by calling _mid_memalign.
15035         * manual/probes.texi (Memory Allocation Probes): Remove
15036         memory_valloc_retry and memory_pvalloc_retry.
15037
15038 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15039
15040         * locale/programs/locarchive.c (open_archive): Add const
15041         qualifier to ARCHIVEFNAME and copy default fname to
15042         DEFAULT_FNAME.
15043
15044         [BZ #15601]
15045         * libio/tst-widetext.input: Rename Oriya to Odia.
15046         * locale/iso-639.def: Likewise.
15047
15048         * manual/probes.texi (Mathematical Function Probes): Add
15049         documentation for sin, cos, asin and acos probes.
15050         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15051         (__sin32): Add slowasin probe.
15052         (__cos32): Add slowacos probe.
15053         (__mpsin): Add slowsin probe.
15054         (__mpcos): Add slowcos probe.
15055
15056 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15057
15058         [BZ #15483]
15059         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15060         thread-local __sim_exceptions_thread and global
15061         __sim_exceptions_global.
15062         (__sim_disabled_exceptions): Change to thread-local
15063         __sim_disabled_exceptions_thread and global
15064         __sim_disabled_exceptions_global.
15065         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15066         and global __sim_round_mode_global.
15067         (__simulate_exceptions): Use thread-local floating-point state and
15068         set global state from it as needed.
15069         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15070         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15071         __sim_round_mode_thread.
15072         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15073         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15074         and global __sim_exceptions_global.
15075         (__sim_disabled_exceptions): Change to thread-local
15076         __sim_disabled_exceptions_thread and global
15077         __sim_disabled_exceptions_global.
15078         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15079         and global __sim_round_mode_global.
15080         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15081         (SIM_SET_GLOBAL): Likewise.
15082         * sysdeps/powerpc/soft-fp/sfp-machine.h
15083         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15084         __sim_round_mode_thread.
15085         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15086         __sim_disabled_exceptions_thread.
15087         (__sim_exceptions): Change to __sim_exceptions_thread.
15088         (__sim_disabled_exceptions): Change to
15089         __sim_disabled_exceptions_thread.
15090         (__sim_round_mode): Change to __sim_round_mode_thread.
15091         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15092         thread-local floating-point state and set global state from it as
15093         needed.
15094         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15095         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15096         (__sim_disabled_exceptions): Remove extern declaration.
15097         (feenableexcept): Use thread-local floating-point state and set
15098         global state from it as needed.
15099         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15100         extern declaration.
15101         (__sim_disabled_exceptions): Likewise.
15102         (__sim_round_mode): Likewise.
15103         (__fegetenv): Use thread-local floating-point state.
15104         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15105         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15106         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15107         floating-point state and set global state from it as needed.
15108         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15109         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15110         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15111         Likewise.
15112         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15113         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15114         Likewise.
15115         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15116         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15117         Use __sim_round_mode_thread.
15118         * math/test-fenv-tls.c: New file.
15119         * math/Makefile (tests): Add test-fenv-tls.
15120         ($(objpfx)test-fenv-tls): Depend on
15121         $(common-objpfx)nptl/libpthread.so.
15122
15123 2013-11-19  Andreas Schwab  <schwab@suse.de>
15124
15125         * locale/programs/locale.c (show_info): Decode wordarray elements.
15126         * locale/categories.def (LC_MONETARY): Add element for
15127         _NL_MONETARY_CRNCYSTR.
15128         * locale/C-monetary.c (conversion_rate): New variable.
15129         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15130         element.
15131
15132 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15133
15134         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15135         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15136
15137 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15138
15139         * elf/Makefile (tst-auxv): New test.
15140         * elf/tst-auxv.c: New
15141         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15142
15143 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15144
15145         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15146         (hidden_proto): Caller changed.
15147         (hidden_tls_proto): New macro.
15148         (libc_hidden_tls_proto): Likewise.
15149         (rtld_hidden_tls_proto): Likewise.
15150         (libm_hidden_tls_proto): Likewise.
15151         (libresolv_hidden_tls_proto): Likewise.
15152         (librt_hidden_tls_proto): Likewise.
15153         (libdl_hidden_tls_proto): Likewise.
15154         (libnss_files_hidden_tls_proto): Likewise.
15155         (libnsl_hidden_tls_proto): Likewise.
15156         (libnss_nisplus_hidden_tls_proto): Likewise.
15157         (libutil_hidden_tls_proto): Likewise.
15158
15159 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15160
15161         [BZ #10253]
15162         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15163         (decompose_rpath): Defer expansion to fillin_rpath.
15164         (_dl_init_paths): Pass linkmap to fillin_rpath.
15165
15166 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15167
15168         * benchtests/Makefile: Add strsep.
15169         * benchtests/bench-strsep.c: New file: strsep benchtest.
15170         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15171
15172 2013-11-18  Andreas Schwab  <schwab@suse.de>
15173
15174         * locale/programs/locale.c (show_info) [case byte]: Check for
15175         '\377' instead of '\177'.
15176         * locale/C-monetary.c (not_available): Always use "\377".
15177         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15178         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15179         detect unavailable sign_posn locale elements.
15180         * locale/localeconv.c (__localeconv): For grouping and
15181         mon_grouping handle "\177" and "\377" like no grouping.
15182         (INT_ELEM): New macro.  Use it to set all numeric members.
15183         * locale/programs/ld-monetary.c (monetary_read)
15184         <tok_mon_grouping>: Normalize single -1 to the empty string.
15185         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15186         Likewise.
15187
15188 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15189
15190         [BZ #16055]
15191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15192         when we match (nil).
15193         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15194
15195 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15196
15197         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15198         (NO_TEST_INLINE): Update value.
15199         (ERRNO_UNCHANGED): Likewise.
15200         (ERRNO_EDOM): Likewise.
15201         (ERRNO_ERANGE): Likewise.
15202         (IGNORE_RESULT): Likewise.
15203         (check_float_internal): Check signs of NaN results if
15204         TEST_NAN_SIGN used.
15205         (check_complex): Pass TEST_NAN_SIGN flag through to second
15206         check_float_internal call.
15207         (copysign_test_data): Add tests with quiet NaNs as second
15208         argument.  Use TEST_NAN_SIGN.
15209         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15210         TEST_NAN_SIGN.
15211         (signbit_test_data): Add tests of quiet NaN argument.
15212         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15213
15214         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15215         $ignore_result.
15216         (parse_args): Handle function results specified as IGNORE.
15217         * math/libm-test.inc (IGNORE_RESULT): New macro.
15218         (check_float_internal): Do not check numerical result if flag
15219         IGNORE_RESULT set.
15220         (check_complex): Pass through IGNORE_RESULT to second
15221         check_float_internal call.
15222         (check_int): Do not check numerical result if flag IGNORE_RESULT
15223         set.
15224         (check_long): Likewise.
15225         (check_bool): Likewise.
15226         (check_longlong): Likewise.
15227         (lrint_test_data): Add tests of infinite and NaN arguments.
15228         (lrint_tonearest_test_data): Likewise.
15229         (lrint_towardzero_test_data): Likewise.
15230         (lrint_downward_test_data): Likewise.
15231         (lrint_upward_test_data): Likewise.
15232         (llrint_test_data): Likewise.
15233         (llrint_tonearest_test_data): Likewise.
15234         (llrint_towardzero_test_data): Likewise.
15235         (llrint_downward_test_data): Likewise.
15236         (llrint_upward_test_data): Likewise.
15237         (lround_test_data): Likewise.
15238         (llround_test_data): Likewise.
15239
15240         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15241         (ERRNO_UNCHANGED): Update value.
15242         (ERRNO_EDOM): Likewise.
15243         (ERRNO_ERANGE): Likewise.
15244         (NO_TEST_INLINE_FLOAT): New macro.
15245         (NO_TEST_INLINE_DOUBLE): Likewise.
15246         (enable_test): New function.
15247         (RUN_TEST_f_f): Check enable_test before running test.
15248         (RUN_TEST_2_f): Likewise.
15249         (RUN_TEST_fff_f): Likewise.
15250         (RUN_TEST_c_f): Likewise.
15251         (RUN_TEST_f_f1): Likewise.
15252         (RUN_TEST_fF_f1): Likewise.
15253         (RUN_TEST_fI_f1): Likewise.
15254         (RUN_TEST_ffI_f1): Likewise.
15255         (RUN_TEST_c_c): Likewise.
15256         (RUN_TEST_cc_c): Likewise.
15257         (RUN_TEST_f_i): Likewise.
15258         (RUN_TEST_f_i_tg): Likewise.
15259         (RUN_TEST_ff_i_tg): Likewise.
15260         (RUN_TEST_f_b): Likewise.
15261         (RUN_TEST_f_b_tg): Likewise.
15262         (RUN_TEST_f_l): Likewise.
15263         (RUN_TEST_f_L): Likewise.
15264         (RUN_TEST_fFF_11): Likewise.
15265         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15266         conditionals.
15267         (cosh_test_data): Likewise.
15268         (exp_test_data): Likewise.
15269         (expm1_test_data): Likewise.
15270         (hypot_test_data): Likewise.
15271         (pow_test_data): Likewise.
15272         (sinh_test_data): Likewise.
15273         (tanh_test_data): Likewise.
15274         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15275         flags argument.
15276
15277         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15278         tests with quiet NaN input and output.
15279         (acosh_test_data): Likewise.
15280         (asin_test_data): Likewise.
15281         (asinh_test_data): Likewise.
15282         (atan_test_data): Likewise.
15283         (atanh_test_data): Likewise.
15284         (atan2_test_data): Likewise.
15285         (cbrt_test_data): Likewise.
15286         (cos_test_data): Likewise.
15287         (cosh_test_data): Likewise.
15288         (erf_test_data): Likewise.
15289         (erfc_test_data): Likewise.
15290         (exp_test_data): Likewise.
15291         (exp10_test_data): Likewise.
15292         (exp2_test_data): Likewise.
15293         (expm1_test_data): Likewise.
15294         (hypot_test_data): Likewise.
15295         (j0_test_data): Likewise.
15296         (j1_test_data): Likewise.
15297         (jn_test_data): Likewise.
15298         (lgamma_test_data): Likewise.
15299         (log_test_data): Likewise.
15300         (log10_test_data): Likewise.
15301         (log1p_test_data): Likewise.
15302         (log2_test_data): Likewise.
15303         (pow_test_data): Likewise.
15304         (scalb_test_data): Likewise.
15305         (sin_test_data): Likewise.
15306         (sincos_test_data): Likewise.
15307         (sinh_test_data): Likewise.
15308         (tan_test_data): Likewise.
15309         (tanh_test_data): Likewise.
15310         (tgamma_test_data): Likewise.
15311         (y0_test_data): Likewise.
15312         (y1_test_data): Likewise.
15313         (yn_test_data): Likewise.
15314
15315         [BZ #16167]
15316         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15317         argument being NaN and avoid computations with second argument in
15318         that case.
15319         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15320         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15321         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15322
15323 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15324
15325         * locale/iso-639.def: Add Chitwani Tharu (the).
15326
15327 2013-11-14  Andreas Schwab  <schwab@suse.de>
15328
15329         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15330         word instead of empty string.
15331
15332 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15333
15334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15335         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15337         (__fe_nomask_env): Likewise.
15338
15339 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15340
15341         * benchtests/bench-timing.h: Include time.h.
15342
15343 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15344
15345         [BZ #15997]
15346         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15347         to 3.4.0 for x32.
15348         * sysdeps/unix/sysv/linux/configure: Regenerated.
15349
15350 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15351
15352         [BZ #16151]
15353         * stdlib/strtod_l.c (round_and_return): Do not consider
15354         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15355         exponent one less than half the least subnormal exponent.
15356         * stdlib/test-strtod-round-data: Add more tests.
15357         * stdlib/tst-strtod-round.c (tests): Regenerated.
15358
15359 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15360
15361         [BZ #14143]
15362         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15363         (__fe_mask_env): Likewise.
15364         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15365         libm_hidden_proto and add function prototype.
15366         (__fe_mask_env): Add function prototype.
15367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15368         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15370         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15372         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15373
15374 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15375
15376         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15377         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15378
15379 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15380
15381         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15382         of htab_find_slot().
15383
15384 2013-11-11  David S. Miller  <davem@davemloft.net>
15385
15386         [BZ #16150]
15387         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15388         symbol in the non-vis3 case in static builds.
15389         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15390         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15391         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15392         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15393
15394 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15395
15396         [BZ #387]
15397         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15398         it is empty.
15399
15400 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15401
15402         * benchtests/Makefile: Add bench-strtod.
15403         * benchtests/bench-strtod.c: New file: strtod benchtest
15404
15405 2013-11-11  Andreas Schwab  <schwab@suse.de>
15406
15407         [BZ #16153]
15408         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15409         terminating NUL in key length.
15410
15411 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15412
15413         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15414         Add artificial ODP entry for vDSO symbol for PPC64.
15415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15416         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15417
15418 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15419
15420         [BZ #15374]
15421         * nss/getent.c (services_keys): Recognize services starting with digit.
15422
15423 2013-11-06  David S. Miller  <davem@davemloft.net>
15424
15425         [BZ #15985]
15426         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15427         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15428
15429 2013-11-06  Will Newton  <will.newton@linaro.org>
15430
15431         * manual/memory.texi (Malloc Examples): Remove register
15432         keyword from examples.
15433
15434 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15435
15436         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15437
15438 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15439
15440         [BZ #6981]
15441         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15442         depending on [__GCC_IEC_559 > 0].
15443         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15444         depending on [__GCC_IEC_559_COMPLEX > 0].
15445
15446 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15447
15448         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15449         to iso-639.def.
15450
15451 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15452
15453         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15454
15455 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15456
15457         [BZ #16112]
15458         * malloc/malloc (malloc_info): Do not handle first bin as
15459         special case.
15460
15461 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15462
15463         * locale/iso-639.def: Add Central Nahuatl (nhn).
15464
15465 2013-11-01  Bruno Haible  <bruno@clisp.org>
15466
15467         [BZ #7003]
15468         * manual/math.texi (BSD Random): Specify range upper bound as
15469         in POSIX.
15470
15471 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15472
15473         * locale/iso-639.def: Add Meadow Mari (mhr).
15474
15475 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15476
15477         [BZ #14752], [BZ #15763]
15478         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15479         Validate name.
15480         * rt/tst_shm.c: Add test for escaping directory.
15481
15482 2013-10-31  Andreas Schwab  <schwab@suse.de>
15483
15484         [BZ #15917]
15485         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15486         followed by 'x' as part of digit sequence.
15487         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15488
15489 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15490
15491         [BZ #16037]
15492         * configure.ac: allow GNU Make 4.0 and greater.
15493         * configure: Regenerated.
15494
15495 2013-10-30  Will Newton  <will.newton@linaro.org>
15496
15497         [BZ #16038]
15498         * malloc/hooks.c (memalign_check): Limit alignment to the
15499         maximum representable power of two.
15500         * malloc/malloc.c (__libc_memalign): Likewise.
15501         * malloc/tst-memalign.c (do_test): Add test for very
15502         large alignment values.
15503         * malloc/tst-posix_memalign.c (do_test): Likewise.
15504
15505 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15506
15507         [BZ #11087]
15508         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15509         (munmap_chunk): Likewise.
15510         (mremap_chunk): Likewise.
15511
15512 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15513
15514         [BZ #15799]
15515         * stdlib/div.c (div): Remove obsolete code.
15516         * stdlib/ldiv.c (ldiv): Likewise.
15517         * stdlib/lldiv.c (lldiv): Likewise.
15518
15519 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15520
15521         [BZ #16071]
15522         * nss/nss_files/files-XXX.c (get_contents_ret): New
15523         enumerator.
15524         (get_contents): New function.
15525         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15526
15527 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15528
15529         * configure.in: Moved to ...
15530         * configure.ac: ... here. Change reference to configure.in
15531         to configure.ac.
15532         * sysdeps/arm/preconfigure.ac: ... here.
15533         configure.in to configure.ac.
15534         * sysdeps/gnu/configure.in: Moved to ...
15535         * sysdeps/gnu/configure.ac: ... here.
15536         * sysdeps/i386/configure.in: Moved to ...
15537         * sysdeps/i386/configure.ac: ... here.
15538         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15539         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15540         * sysdeps/mach/configure.in: Moved to ...
15541         * sysdeps/mach/configure.ac: ... here.
15542         * sysdeps/mach/hurd/configure.in: Moved to ...
15543         * sysdeps/mach/hurd/configure.ac: ... here.
15544         * sysdeps/powerpc/configure.in: Moved to ...
15545         * sysdeps/powerpc/configure.ac: ... here.
15546         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15547         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15548         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15549         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15550         * sysdeps/s390/s390-32/configure.in: Moved to ...
15551         * sysdeps/s390/s390-32/configure.ac: ... here.
15552         * sysdeps/s390/s390-64/configure.in: Moved to ...
15553         * sysdeps/s390/s390-64/configure.ac: ... here.
15554         * sysdeps/sh/configure.in: Moved to ...
15555         * sysdeps/sh/configure.ac: ... here.
15556         * sysdeps/sparc/configure.in: Moved to ...
15557         * sysdeps/sparc/configure.ac: ... here.
15558         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15559         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15560         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15561         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15562         * sysdeps/x86_64/configure.in: Moved to ...
15563         * sysdeps/x86_64/configure.ac: ... here.
15564         * sysdeps/x86_64/preconfigure.in: Moved to ...
15565         * sysdeps/x86_64/preconfigure.ac: ... here.
15566         * aclocal.m4: Change reference to configure.in to configure.ac.
15567         * config.h.in: Likewise.
15568         * manual/install.texi: Likewise.
15569         * manual/maint.texi: Likewise.
15570         * Makefile: Likewise.
15571         * malloc/Makefile: Likewise.
15572         * nscd/Makefile: Likewise.
15573         * Makeconfig: Change reference to configure.in and
15574         preconfigure.in to configure.ac and preconfigure.ac
15575         respectively.
15576         * INSTALL: Regenerated.
15577         * configure: Likewise.
15578         * sysdeps/gnu/configure: Likewise.
15579         * sysdeps/i386/configure: Likewise.
15580         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15581         * sysdeps/mach/configure: Likewise.
15582         * sysdeps/mach/hurd/configure: Likewise.
15583         * sysdeps/powerpc/configure: Likewise.
15584         * sysdeps/powerpc/powerpc32/configure: Likewise.
15585         * sysdeps/powerpc/powerpc64/configure: Likewise.
15586         * sysdeps/s390/s390-32/configure: Likewise.
15587         * sysdeps/s390/s390-64/configure: Likewise.
15588         * sysdeps/sh/configure: Likewise.
15589         * sysdeps/sparc/configure: Likewise.
15590         * sysdeps/unix/sysv/linux/configure: Likewise.
15591         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15592         * sysdeps/x86_64/configure: Likewise.
15593         * sysdeps/x86_64/preconfigure: Likewise.
15594
15595 2013-10-29  Andreas Schwab  <schwab@suse.de>
15596
15597         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15598
15599 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15600
15601         * benchtests/pow-inputs: Add new inputs.
15602
15603         * benchtests/exp-inputs: Add new inputs.
15604
15605         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15606         conditional check for return value.
15607         (__cos32): Likewise.
15608
15609 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15610
15611         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15612         to provide a boost for large inputs with word alignment.
15613         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15614         implementation based on optimized PPC64 strcpy.
15615         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15616         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15617         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15618         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15619
15620 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15621
15622         [BZ #2801]
15623         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15624
15625 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15626
15627         [BZ #14876]
15628         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15629         * time/tst-strptime.c (day_tests): Add testcase.
15630
15631 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15632
15633         [BZ #14029]
15634         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15635
15636 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15637
15638         [BZ #16074]
15639         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15640         MAP_FAILED on error.
15641
15642 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15643
15644         [BZ #16072]
15645         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15646         heap for large requests.
15647
15648 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15649
15650         [BZ #9954]
15651         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15652         result if the result has no associated interface.
15653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15654         interface for all 127.X.Y.Z addresses.
15655
15656 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15657
15658         * locale/iso-639.def: Add Ligurian (lij)
15659
15660 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15661
15662         [BZ #15825]
15663         * sunrpc/rpc_main.c: Document rpcgen -5.
15664
15665 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15666
15667         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15668
15669 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15670
15671         [BZ #10278]
15672         * posix/glob.c: Match only directories when trailing slash is present.
15673         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15674         (main): Add testcase.
15675
15676 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15677
15678         [BZ #15670]
15679         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15680
15681 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15682
15683         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15684         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15685         AUTH_DES and cindex for FIPS 140-2.
15686         (DES Encryption): Add cindex FIPS 46-3.
15687
15688         * locale/locarchive.h (struct locarhandle): Add fname.
15689         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15690         if an optional argument was specified to --list-archive,
15691         otherwise NULL.
15692         * locale/programs/locarchive.c (show_archive_content): Take new
15693         argument fname and pass it via ah.fname to open_archive.
15694         * locale/programs/localedef.h: Update decl.
15695         (open_archive): If AH->fname is non-null, open that file
15696         rather than the default file name, and don't ignore ENOENT.
15697         (create_archive): Set AH.fname to NULL.
15698         (delete_locales_from_archive): Likewise.
15699         (add_locales_to_archive): Likewise.
15700         * locale/programs/locfile.c (write_all_categories): Likewise.
15701
15702 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15703             Aldy Hernandez  <aldyh@redhat.com>
15704
15705         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15706         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15707         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15708         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15709         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15710         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15711         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15712         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15713         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15714         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15715         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15716         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15717         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15718         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15719         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15720         Likewise.
15721         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15722         Likewise.
15723         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15724         Likewise.
15725         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15726         Likewise.
15727         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15728         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15729         Likewise.
15730         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15731         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15732         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15733         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15734         Likewise.
15735         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15736         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15737         * sysdeps/powerpc/preconfigure: Likewise.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15739         Likewise.
15740         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15741         Replace contents of file by #include of <fenv_libc.h>.
15742         * sysdeps/powerpc/soft-fp/sfp-machine.h
15743         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15744         and <sys/prctl.h>.
15745         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15746         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15752         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15753         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15754         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15755         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15758         Allow copysignl PLT reference to be missing.
15759
15760 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15761             Joseph Myers  <joseph@codesourcery.com
15762
15763         [BZ #15948]
15764         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15765         single character.
15766         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15767
15768 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15769
15770         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15771         * elf/tst-tls1.c: Likewise.
15772         * elf/tst-tls10.h: Likewise.
15773         * elf/tst-tls14.c: Likewise.
15774         * elf/tst-tls2.c: Likewise.
15775         * elf/tst-tls3.c: Likewise.
15776         * elf/tst-tls4.c: Likewise.
15777         * elf/tst-tls5.c: Likewise.
15778         * elf/tst-tls6.c: Likewise.
15779         * elf/tst-tls7.c: Likewise.
15780         * elf/tst-tls8.c: Likewise.
15781         * elf/tst-tls9.c: Likewise.
15782         * elf/tst-tlsmod1.c: Likewise.
15783         * elf/tst-tlsmod13.c: Likewise.
15784         * elf/tst-tlsmod13a.c: Likewise.
15785         * elf/tst-tlsmod14a.c: Likewise.
15786         * elf/tst-tlsmod16a.c: Likewise.
15787         * elf/tst-tlsmod16b.c: Likewise.
15788         * elf/tst-tlsmod2.c: Likewise.
15789         * elf/tst-tlsmod3.c: Likewise.
15790         * elf/tst-tlsmod4.c: Likewise.
15791         * elf/tst-tlsmod5.c: Likewise.
15792         * elf/tst-tlsmod6.c: Likewise.
15793
15794 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15795
15796         [BZ #12486]
15797         * malloc/malloc.c: remove checks for statistics.
15798
15799 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15800
15801         [BZ #15277]
15802         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15803         * inet/tst-network.c: Add testcase.
15804
15805 2013-10-17  Andreas Schwab  <schwab@suse.de>
15806
15807         [BZ #15218]
15808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15809         to determine canonical name.
15810
15811 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15812
15813         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15814         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15816         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15818         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15819         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15820         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15821         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15822         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15823         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15824         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15825         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15826         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15827         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15828         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15830         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15831         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15832         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15833         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15834         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15835         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15836         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15837         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15838         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15839         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15840         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15841         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15842         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15843         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15844         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15845         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15846         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15847         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15848         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15849         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15850         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15851         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15852         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15853         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15854         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15855         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15856         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15857         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15858         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15859         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15860         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15861         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15862         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15863         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15864         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15865         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15866         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15867         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15868         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15869         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15870         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15871
15872 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15873
15874         [BZ #16041]
15875         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15876         make result into a quiet NaN.
15877
15878 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15879
15880         * soft-fp/adddf3.c: Fix horizontal whitespace.
15881         * soft-fp/addsf3.c: Likewise.
15882         * soft-fp/addtf3.c: Likewise.
15883         * soft-fp/divdf3.c: Likewise.
15884         * soft-fp/divsf3.c: Likewise.
15885         * soft-fp/divtf3.c: Likewise.
15886         * soft-fp/double.h: Likewise.
15887         * soft-fp/eqdf2.c: Likewise.
15888         * soft-fp/eqsf2.c: Likewise.
15889         * soft-fp/eqtf2.c: Likewise.
15890         * soft-fp/extenddftf2.c: Likewise.
15891         * soft-fp/extended.h: Likewise.
15892         * soft-fp/extendsfdf2.c: Likewise.
15893         * soft-fp/extendsftf2.c: Likewise.
15894         * soft-fp/extendxftf2.c: Likewise.
15895         * soft-fp/fixdfdi.c: Likewise.
15896         * soft-fp/fixdfsi.c: Likewise.
15897         * soft-fp/fixdfti.c: Likewise.
15898         * soft-fp/fixsfdi.c: Likewise.
15899         * soft-fp/fixsfsi.c: Likewise.
15900         * soft-fp/fixsfti.c: Likewise.
15901         * soft-fp/fixtfdi.c: Likewise.
15902         * soft-fp/fixtfsi.c: Likewise.
15903         * soft-fp/fixtfti.c: Likewise.
15904         * soft-fp/fixunsdfdi.c: Likewise.
15905         * soft-fp/fixunsdfsi.c: Likewise.
15906         * soft-fp/fixunsdfti.c: Likewise.
15907         * soft-fp/fixunssfdi.c: Likewise.
15908         * soft-fp/fixunssfsi.c: Likewise.
15909         * soft-fp/fixunssfti.c: Likewise.
15910         * soft-fp/fixunstfdi.c: Likewise.
15911         * soft-fp/fixunstfsi.c: Likewise.
15912         * soft-fp/fixunstfti.c: Likewise.
15913         * soft-fp/floatdidf.c: Likewise.
15914         * soft-fp/floatdisf.c: Likewise.
15915         * soft-fp/floatditf.c: Likewise.
15916         * soft-fp/floatsidf.c: Likewise.
15917         * soft-fp/floatsisf.c: Likewise.
15918         * soft-fp/floatsitf.c: Likewise.
15919         * soft-fp/floattidf.c: Likewise.
15920         * soft-fp/floattisf.c: Likewise.
15921         * soft-fp/floattitf.c: Likewise.
15922         * soft-fp/floatundidf.c: Likewise.
15923         * soft-fp/floatundisf.c: Likewise.
15924         * soft-fp/floatunditf.c: Likewise.
15925         * soft-fp/floatunsidf.c: Likewise.
15926         * soft-fp/floatunsisf.c: Likewise.
15927         * soft-fp/floatunsitf.c: Likewise.
15928         * soft-fp/floatuntidf.c: Likewise.
15929         * soft-fp/floatuntisf.c: Likewise.
15930         * soft-fp/floatuntitf.c: Likewise.
15931         * soft-fp/fmadf4.c: Likewise.
15932         * soft-fp/fmasf4.c: Likewise.
15933         * soft-fp/fmatf4.c: Likewise.
15934         * soft-fp/gedf2.c: Likewise.
15935         * soft-fp/gesf2.c: Likewise.
15936         * soft-fp/getf2.c: Likewise.
15937         * soft-fp/ledf2.c: Likewise.
15938         * soft-fp/lesf2.c: Likewise.
15939         * soft-fp/letf2.c: Likewise.
15940         * soft-fp/muldf3.c: Likewise.
15941         * soft-fp/mulsf3.c: Likewise.
15942         * soft-fp/multf3.c: Likewise.
15943         * soft-fp/negdf2.c: Likewise.
15944         * soft-fp/negsf2.c: Likewise.
15945         * soft-fp/negtf2.c: Likewise.
15946         * soft-fp/op-1.h: Likewise.
15947         * soft-fp/op-2.h: Likewise.
15948         * soft-fp/op-4.h: Likewise.
15949         * soft-fp/op-8.h: Likewise.
15950         * soft-fp/op-common.h: Likewise.
15951         * soft-fp/quad.h: Likewise.
15952         * soft-fp/single.h: Likewise.
15953         * soft-fp/soft-fp.h: Likewise.
15954         * soft-fp/sqrtdf2.c: Likewise.
15955         * soft-fp/sqrtsf2.c: Likewise.
15956         * soft-fp/sqrttf2.c: Likewise.
15957         * soft-fp/subdf3.c: Likewise.
15958         * soft-fp/subsf3.c: Likewise.
15959         * soft-fp/subtf3.c: Likewise.
15960         * soft-fp/truncdfsf2.c: Likewise.
15961         * soft-fp/trunctfdf2.c: Likewise.
15962         * soft-fp/trunctfsf2.c: Likewise.
15963         * soft-fp/trunctfxf2.c: Likewise.
15964         * soft-fp/unorddf2.c: Likewise.
15965         * soft-fp/unordsf2.c: Likewise.
15966         * soft-fp/unordtf2.c: Likewise.
15967
15968 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15969
15970         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15971         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15972
15973 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15974
15975         * elf/dl-libc.c: Clear initfini list after freeing.
15976
15977 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15978
15979         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15980         * soft-fp/addsf3.c: Likewise.
15981         * soft-fp/addtf3.c: Likewise.
15982         * soft-fp/divdf3.c: Likewise.
15983         * soft-fp/divsf3.c: Likewise.
15984         * soft-fp/divtf3.c: Likewise.
15985         * soft-fp/double.h: Likewise.
15986         * soft-fp/eqdf2.c: Likewise.
15987         * soft-fp/eqsf2.c: Likewise.
15988         * soft-fp/eqtf2.c: Likewise.
15989         * soft-fp/extenddftf2.c: Likewise.
15990         * soft-fp/extended.h: Likewise.
15991         * soft-fp/extendsfdf2.c: Likewise.
15992         * soft-fp/extendsftf2.c: Likewise.
15993         * soft-fp/extendxftf2.c: Likewise.
15994         * soft-fp/fixdfdi.c: Likewise.
15995         * soft-fp/fixdfsi.c: Likewise.
15996         * soft-fp/fixdfti.c: Likewise.
15997         * soft-fp/fixsfdi.c: Likewise.
15998         * soft-fp/fixsfsi.c: Likewise.
15999         * soft-fp/fixsfti.c: Likewise.
16000         * soft-fp/fixtfdi.c: Likewise.
16001         * soft-fp/fixtfsi.c: Likewise.
16002         * soft-fp/fixtfti.c: Likewise.
16003         * soft-fp/fixunsdfdi.c: Likewise.
16004         * soft-fp/fixunsdfsi.c: Likewise.
16005         * soft-fp/fixunsdfti.c: Likewise.
16006         * soft-fp/fixunssfdi.c: Likewise.
16007         * soft-fp/fixunssfsi.c: Likewise.
16008         * soft-fp/fixunssfti.c: Likewise.
16009         * soft-fp/fixunstfdi.c: Likewise.
16010         * soft-fp/fixunstfsi.c: Likewise.
16011         * soft-fp/fixunstfti.c: Likewise.
16012         * soft-fp/floatdidf.c: Likewise.
16013         * soft-fp/floatdisf.c: Likewise.
16014         * soft-fp/floatditf.c: Likewise.
16015         * soft-fp/floatsidf.c: Likewise.
16016         * soft-fp/floatsisf.c: Likewise.
16017         * soft-fp/floatsitf.c: Likewise.
16018         * soft-fp/floattidf.c: Likewise.
16019         * soft-fp/floattisf.c: Likewise.
16020         * soft-fp/floattitf.c: Likewise.
16021         * soft-fp/floatundidf.c: Likewise.
16022         * soft-fp/floatundisf.c: Likewise.
16023         * soft-fp/floatunsidf.c: Likewise.
16024         * soft-fp/floatunsisf.c: Likewise.
16025         * soft-fp/floatuntidf.c: Likewise.
16026         * soft-fp/floatuntisf.c: Likewise.
16027         * soft-fp/floatuntitf.c: Likewise.
16028         * soft-fp/fmadf4.c: Likewise.
16029         * soft-fp/fmasf4.c: Likewise.
16030         * soft-fp/fmatf4.c: Likewise.
16031         * soft-fp/gedf2.c: Likewise.
16032         * soft-fp/gesf2.c: Likewise.
16033         * soft-fp/getf2.c: Likewise.
16034         * soft-fp/ledf2.c: Likewise.
16035         * soft-fp/lesf2.c: Likewise.
16036         * soft-fp/letf2.c: Likewise.
16037         * soft-fp/muldf3.c: Likewise.
16038         * soft-fp/mulsf3.c: Likewise.
16039         * soft-fp/multf3.c: Likewise.
16040         * soft-fp/negdf2.c: Likewise.
16041         * soft-fp/negsf2.c: Likewise.
16042         * soft-fp/negtf2.c: Likewise.
16043         * soft-fp/op-1.h: Likewise.
16044         * soft-fp/op-2.h: Likewise.
16045         * soft-fp/op-4.h: Likewise.
16046         * soft-fp/op-8.h: Likewise.
16047         * soft-fp/op-common.h: Likewise.
16048         * soft-fp/quad.h: Likewise.
16049         * soft-fp/single.h: Likewise.
16050         * soft-fp/soft-fp.h: Likewise.
16051         * soft-fp/sqrtdf2.c: Likewise.
16052         * soft-fp/sqrtsf2.c: Likewise.
16053         * soft-fp/sqrttf2.c: Likewise.
16054         * soft-fp/subdf3.c: Likewise.
16055         * soft-fp/subsf3.c: Likewise.
16056         * soft-fp/subtf3.c: Likewise.
16057         * soft-fp/truncdfsf2.c: Likewise.
16058         * soft-fp/trunctfdf2.c: Likewise.
16059         * soft-fp/trunctfsf2.c: Likewise.
16060         * soft-fp/trunctfxf2.c: Likewise.
16061         * soft-fp/unorddf2.c: Likewise.
16062         * soft-fp/unordsf2.c: Likewise.
16063         * soft-fp/unordtf2.c: Likewise.
16064
16065 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16066
16067         [BZ #15672]
16068         * misc/error.c (error_tail): Fix possible buffer overflow.
16069
16070 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16071
16072         [BZ #13028]
16073         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16074         address.
16075
16076 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16077
16078         [BZ #832]
16079         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16080         testing pipefail option.
16081
16082 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16083
16084         * soft-fp/double.h: Indent preprocessor directives inside #if.
16085         * soft-fp/extended.h: Likewise.
16086         * soft-fp/op-2.h: Likewise.
16087         * soft-fp/op-4.h: Likewise.
16088         * soft-fp/op-common.h: Likewise.
16089         * soft-fp/quad.h: Likewise.
16090         * soft-fp/single.h: Likewise.
16091         * soft-fp/soft-fp.h: Likewise.
16092
16093 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16094
16095         * iconv/iconv_prog.c: Fix typos.
16096         * stdio-common/psiginfo-data.h: Likewise.
16097
16098 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16099
16100         [BZ #15764]
16101         * locale/setlocale.c: Fix typo.
16102
16103 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16104
16105         [BZ #16036]
16106         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16107         signaling NaN arguments.
16108         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16109         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16110
16111         [BZ #14910]
16112         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16113         unordered operands.
16114         * soft-fp/gesf2.c (__gesf2): Likewise.
16115         * soft-fp/getf2.c (__getf2): Likewise.
16116         * soft-fp/ledf2.c (__ledf2): Likewise.
16117         * soft-fp/lesf2.c (__lesf2): Likewise.
16118         * soft-fp/letf2.c (__letf2): Likewise.
16119
16120         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16121         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16122         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16123         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16124         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16125         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16126         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16127         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16128         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16129         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16130         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16131         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16132         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16133         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16134         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16135         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16136         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16137         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16138         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16139         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16140         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16141         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16142         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16143         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16144         * soft-fp/floattidf.c (__floattidf): Likewise.
16145         * soft-fp/floattisf.c (__floattisf): Likewise.
16146         * soft-fp/floattitf.c (__floattitf): Likewise.
16147         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16148         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16149         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16150         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16151         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16152         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16153         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16154         * soft-fp/gesf2.c (__gesf2): Likewise.
16155         * soft-fp/getf2.c (__getf2): Likewise.
16156         * soft-fp/ledf2.c (__ledf2): Likewise.
16157         * soft-fp/lesf2.c (__lesf2): Likewise.
16158         * soft-fp/letf2.c (__letf2): Likewise.
16159
16160         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16161         Undefine and redefine.
16162         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16163         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16164         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16165         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16166         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16167         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16168         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16169         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16170         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16171         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16172         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16173         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16174         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16175         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16176         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16177
16178         [BZ #16032]
16179         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16180         without decrementing exponent if mantissa >= that for the
16181         denominator, not >.
16182         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16183         denominator, not >.  Decrement exponent in < case instead of
16184         incrementing in >= case.
16185         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16186         without decrementing exponent if mantissa >= that for the
16187         denominator, not >.
16188
16189         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16190         computing saturated result for unsigned overflow.
16191
16192 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16193             Jeff Law  <law@redhat.com>
16194
16195         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16196         (atan2Mp): Add systemtap probe marker.
16197         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16198         (__ieee754_log): Add systemtap probe marker.
16199         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16200         (atanMp): Add systemtap probe marker.
16201         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16202         (tanMp): Add systemtap probe marker.
16203         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16204         (__slowexp): Add systemtap probe marker.
16205         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16206         (__slowpow): Add systemtap probe marker.
16207         * manual/probes.texi: Document probes.
16208
16209 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16210
16211         [BZ #15362]
16212         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16213         written.
16214         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16215         written.
16216         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16217         written to buffer but not flushed.
16218         * libio/iofwrite_u.c:  Likewise.
16219         * libio/iopadn.c:  Return bytes returned even if EOF was
16220         encountered.
16221         * libio/iowpadn.c:  Likewise.
16222         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16223         if _IO_padn does not write the whole buffer.
16224         [!COMPILE_WPRINTF] (PAD): Likewise.
16225
16226 2013-10-10  David S. Miller  <davem@davemloft.net>
16227
16228         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16229         directory block.
16230
16231 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16232
16233         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16234         instead of FSF address.
16235         * soft-fp/fixdfti.c: Likewise.
16236         * soft-fp/fixsfti.c: Likewise.
16237         * soft-fp/fixtfti.c: Likewise.
16238         * soft-fp/fixunsdfti.c: Likewise.
16239         * soft-fp/fixunssfti.c: Likewise.
16240         * soft-fp/fixunstfti.c: Likewise.
16241         * soft-fp/floattidf.c: Likewise.
16242         * soft-fp/floattisf.c: Likewise.
16243         * soft-fp/floattitf.c: Likewise.
16244         * soft-fp/floatuntidf.c: Likewise.
16245         * soft-fp/floatuntisf.c: Likewise.
16246         * soft-fp/floatuntitf.c: Likewise.
16247         * soft-fp/trunctfxf2.c: Likewise.
16248
16249         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16250         * soft-fp/fixdfti.c: Likewise.
16251         * soft-fp/fixsfti.c: Likewise.
16252         * soft-fp/fixtfti.c: Likewise.
16253         * soft-fp/fixunsdfti.c: Likewise.
16254         * soft-fp/fixunssfti.c: Likewise.
16255         * soft-fp/fixunstfti.c: Likewise.
16256         * soft-fp/floattidf.c: Likewise.
16257         * soft-fp/floattisf.c: Likewise.
16258         * soft-fp/floattitf.c: Likewise.
16259         * soft-fp/floatuntidf.c: Likewise.
16260         * soft-fp/floatuntisf.c: Likewise.
16261         * soft-fp/floatuntitf.c: Likewise.
16262         * soft-fp/trunctfxf2.c: Likewise.
16263
16264 2013-10-10  David S. Miller  <davem@davemloft.net>
16265
16266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16267
16268 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16269
16270         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16271         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16272         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16273         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16274         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16275         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16276         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16277
16278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16279         for NaNs before doing comparisons on argument.
16280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16281         Likewise.
16282
16283 2013-10-10  Will Newton  <will.newton@linaro.org>
16284
16285         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16286         passed to _int_memalign does not overflow.
16287
16288 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16289
16290         * scripts/bench.pl: Add include-sources directive.
16291         * benchtests/README: Update documentation.
16292
16293 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16294
16295         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16296         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16297         instead of FP_INIT_ROUNDMODE.
16298         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16299         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16300
16301         [BZ #16034]
16302         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16303         copy class of input value.
16304         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16305         not handle exceptions.
16306         * soft-fp/negsf2.c (__negsf2): Likewise.
16307         * soft-fp/negtf2.c (__negtf2): Likewise.
16308         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16309
16310 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16311
16312         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16313         semicolon.  From Linux kernel.
16314
16315 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16316
16317         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16318
16319 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16320
16321         [BZ #156]
16322         * manual/socket.texi: Added statement about buffer
16323         for gethostbyname2_r.
16324
16325 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16326
16327         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16328         Use .p2align directive instead, throughout.
16329         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16330         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16331         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16334         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16335         * sysdeps/x86_64/strchr.S: Likewise.
16336         * sysdeps/x86_64/strrchr.S: Likewise.
16337
16338 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16339
16340         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16341
16342         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16343
16344         * sysdeps/generic/math_private.h (__mpsin1): Remove
16345         declaration.
16346         (__mpcos1): Likewise.
16347         (__mpsin): New argument __range_reduce.
16348         (__mpcos): Likewise.
16349         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16350         (slow): Use __mpsin and __mpcos.
16351         (slow1): Likewise.
16352         (slow2): Likewise.
16353         (sloww): Likewise.
16354         (sloww1): Likewise.
16355         (sloww2): Likewise.
16356         (bsloww): Likewise.
16357         (bsloww1): Likewise.
16358         (bsloww2): Likewise.
16359         (cslow2): Likewise.
16360         (csloww): Likewise.
16361         (csloww1): Likewise.
16362         (csloww2): Likewise.
16363         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16364         range_reduce.  Merge in __mpsin1.
16365         (__mpcos): Likewise.
16366         (__mpsin1): Remove.
16367         (__mpcos1): Likewise.
16368
16369 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16370
16371         * locale/loadlocale.c (_nl_intern_locale_data): Use
16372         LOCFILE_ALIGNED_P.
16373         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16374         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16375         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16376         obstack data is appropriately aligned.
16377         (obstack_int32_grow_fast): Likewise.
16378         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16379         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16380         (add_locale_uint32_array): Likewise.
16381
16382 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16383
16384         * benchtests/Makefile: Remove ARGLIST and RET variables.
16385         ($(objpfx)bench-%.c): Pass only function name to the script.
16386         * benchtests/README: Update documentation.
16387         * benchtests/acos-inputs: Add new directives.
16388         * benchtests/acosh-inputs: Likewise.
16389         * benchtests/asin-inputs: Likewise.
16390         * benchtests/asinh-inputs: Likewise.
16391         * benchtests/atan-inputs: Likewise.
16392         * benchtests/atanh-inputs: Likewise.
16393         * benchtests/cos-inputs: Likewise.
16394         * benchtests/cosh-inputs: Likewise.
16395         * benchtests/exp-inputs: Likewise.
16396         * benchtests/log-inputs: Likewise.
16397         * benchtests/pow-inputs: Likewise.
16398         * benchtests/rint-inputs: Likewise.
16399         * benchtests/sin-inputs: Likewise.
16400         * benchtests/sinh-inputs: Likewise.
16401         * benchtests/tan-inputs: Likewise.
16402         * benchtests/tanh-inputs: Likewise.
16403         * scripts/bench.pl: Add support for new directives.
16404
16405 2013-10-07  Alan Modra  <amodra@gmail.com>
16406
16407         * README: Fix careless merge.
16408
16409 2013-10-05  Alan Modra  <amodra@gmail.com>
16410
16411         * NEWS: Mention powerpc64le support and bugs fixed.
16412         * README: Both big-endian and little-endian powerpc64 supported.
16413
16414 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16415
16416         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16417         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16418         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16419         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16420
16421 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16422
16423         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16424         match prototype.
16425
16426 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16427
16428         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16429         Move -mhard-float appending from
16430         ports/sysdeps/powerpc/powerpc32/Makefile.
16431         [$(with-fp) = yes] (ASFLAGS): Likewise.
16432         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16433         * sysdeps/powerpc/nofpu: Move directory from
16434         ports/sysdeps/powerpc/nofpu.
16435         * sysdeps/powerpc/soft-fp: Move directory from
16436         ports/sysdeps/powerpc/soft-fp.
16437         * sysdeps/powerpc/powerpc32/405: Move directory from
16438         ports/sysdeps/powerpc/powerpc32/405.
16439         * sysdeps/powerpc/powerpc32/440: Move directory from
16440         ports/sysdeps/powerpc/powerpc32/440.
16441         * sysdeps/powerpc/powerpc32/464: Move directory from
16442         ports/sysdeps/powerpc/powerpc32/464.
16443         * sysdeps/powerpc/powerpc32/476: Move directory from
16444         ports/sysdeps/powerpc/powerpc32/476.
16445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16446         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16448         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16450         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16452         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16454         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16455         * README: Update for powerpc-*-linux-gnu software floating point
16456         support in libc.
16457
16458         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16459         case to powerpc/powerpc32*.
16460         * sysdeps/unix/sysv/linux/configure: Regenerated.
16461
16462         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16463         (_FPU_MASK_OM): Define as 0x04.
16464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16466         0x00c10080.
16467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16468         0x0000003c.
16469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16470
16471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16472         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16473         getcontext_e500.
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16475         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16476         setcontext_e500.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16478         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16479         and setcontext_e500.
16480
16481 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16482
16483         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16484
16485 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16486
16487         * manual/threads.texi (Default Thread Attributes): Fix typo.
16488
16489 2013-10-04  Will Newton  <will.newton@linaro.org>
16490
16491         * malloc/Makefile: Add tst-memalign.
16492         * malloc/tst-memalign.c: New file.
16493
16494         * malloc/tst-posix_memalign.c: Add comments.
16495         (do_test): Add comments and call free on all potentially
16496         allocated pointers. Add space after cast.
16497
16498         * malloc/tst-pvalloc.c: Add comments.
16499         (do_test): Add comments and call free on all potentially
16500         allocated pointers. Remove duplicate check for NULL pointer.
16501         Add space after cast.
16502
16503         * malloc/tst-valloc.c: Add comments.
16504         (do_test): Add comments and call free on all potentially
16505         allocated pointers. Remove duplicate check for NULL pointer.
16506         Add space after cast.
16507
16508 2013-10-04  Alan Modra  <amodra@gmail.com>
16509
16510         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16511         Use stdint types in rather than __attribute__((mode())).
16512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16513
16514 2013-10-04  Alan Modra  <amodra@gmail.com>
16515
16516         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16517         Correct handling of unaligned relocs for little-endian.
16518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16519
16520 2013-10-04  Alan Modra  <amodra@gmail.com>
16521
16522         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16523         * configure: Regenerate.
16524         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16525         * shlib-versions: Likewise.
16526
16527 2013-10-04  Alan Modra  <amodra@gmail.com>
16528
16529         * string/tester.c (test_memrchr): Increment reported test cycle.
16530
16531 2013-10-04  Alan Modra  <amodra@gmail.com>
16532
16533         * string/test-memcpy.c (do_one_test): When reporting errors, print
16534         string address and don't overrun end of string.
16535
16536 2013-10-04  Alan Modra  <amodra@gmail.com>
16537
16538         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16539         insrdi.  Make better use of reg selection to speed exit slightly.
16540         Schedule entry path a little better.  Remove useless "are we done"
16541         checks on entry to main loop.  Handle wrapping around zero address.
16542         Correct main loop count.  Handle single left-over word from main
16543         loop inline rather than by using loop_small.  Remove extra word
16544         case in loop_small caused by wrong loop count.  Add little-endian
16545         support.
16546         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16547         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16548         cache hint.
16549         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16550         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16551         support.  Avoid rlwimi.
16552         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16553
16554 2013-10-04  Alan Modra  <amodra@gmail.com>
16555
16556         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16557         insrdi.  Formatting.
16558         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16559         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16560         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16561         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16562         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16563         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16564
16565 2013-10-04  Alan Modra  <amodra@gmail.com>
16566
16567         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16568         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16569         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16570         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16571         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16572         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16574         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16575         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16576         use of regs.  Use power7 mtocrf.  Tidy function tails.
16577
16578 2013-10-04  Alan Modra  <amodra@gmail.com>
16579
16580         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16581         Formatting.  Consistently use rXXX register defines or rN defines.
16582         Use early exit labels that avoid restoring unused non-volatile regs.
16583         Make cr field use more consistent with rWORDn compares.  Rename
16584         regs used as shift registers for unaligned loop, using rN defines
16585         for short lifetime/multiple use regs.
16586         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16587         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16588         addi 1,1,64 to pop stack frame.  Simplify return value code.
16589         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16590
16591 2013-10-04  Alan Modra  <amodra@gmail.com>
16592
16593         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16594         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16595         rather than rlwimi.
16596         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16597         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16598         little-endian support.  Correct typos.
16599         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16600         rather than rlwimi.
16601         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16602         in loop and entry code to keep "and." results.
16603         (strchr): Add little-endian support.  Comment.  Move cntlzd
16604         earlier in tail.
16605         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16606
16607 2013-10-04  Alan Modra  <amodra@gmail.com>
16608
16609         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16610         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16611         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16612         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16613
16614 2013-10-04  Alan Modra  <amodra@gmail.com>
16615
16616         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16617         (rTMP): Define as r11.
16618         (strcmp): Add little-endian support.  Optimise tail.
16619         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16620         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16621         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16625         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16626
16627 2013-10-04  Alan Modra  <amodra@gmail.com>
16628
16629         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16630         little-endian support.  Remove unnecessary "are we done" tests.
16631         Handle "s" wrapping around zero and extremely large "size".
16632         Correct main loop count.  Handle single left-over word from main
16633         loop inline rather than by using small_loop.  Correct comments.
16634         Delete "zero" tail, use "end_max" instead.
16635         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16636
16637 2013-10-04  Alan Modra  <amodra@gmail.com>
16638
16639         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16640         support.  Don't branch over align.
16641         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16642         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16643         support.  Rearrange tmp reg use to suit.  Comment.
16644         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16645
16646 2013-10-04  Alan Modra  <amodra@gmail.com>
16647
16648         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16649
16650 2013-10-04  Alan Modra  <amodra@gmail.com>
16651
16652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16653         conditional form of branch and link when obtaining pc.
16654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16655
16656 2013-10-04  Alan Modra  <amodra@gmail.com>
16657
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16659         HIWORD/LOWORD.
16660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16662
16663 2013-10-04  Alan Modra  <amodra@gmail.com>
16664
16665         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16666         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16667         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16668         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16669         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16670         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16671         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16672         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16673         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16674         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16675
16676 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16677             Alistair Popple <alistair@ozlabs.au.ibm.com>
16678             Alan Modra <amodra@gmail.com>
16679
16680         [BZ #15723]
16681         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16683         _dl_hwcap access for little-endian.
16684         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16685         destroy vmx regs when saving unaligned.
16686         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16687         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16688         destroy vmx regs when saving unaligned.
16689
16690 2013-10-04  Alan Modra  <amodra@gmail.com>
16691
16692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16693         Don't use a union to pack hi/low value.
16694
16695 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16696
16697         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16698         for little-endian.
16699         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16700         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16701         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16702         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16703         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16704
16705 2013-10-04  Alan Modra  <amodra@gmail.com>
16706
16707         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16708         constants to usual value for .cst8 section, and remove redundant
16709         high address load.
16710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16711         constant for 0x1p52.  Load little-endian words of double from
16712         correct stack offsets.
16713
16714 2013-10-04  Alan Modra  <amodra@gmail.com>
16715
16716         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16717         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16718         words of double from correct stack offsets.
16719         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16720         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16721         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16723         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16724         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16725         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16726         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16728         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16729         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16730         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16731         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16732         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16733         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16734         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16735         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16736
16737 2013-10-04  Alan Modra  <amodra@gmail.com>
16738
16739         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16740         64-bit int/double union.
16741         (_FPU_SETCW): Likewise.
16742         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16743         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16744
16745 2013-10-04  Alan Modra  <amodra@gmail.com>
16746
16747         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16748         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16749
16750 2013-10-04  Alan Modra  <amodra@gmail.com>
16751
16752         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16753         use vector int constants.
16754         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16755
16756 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16757
16758         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16759         array with long long.
16760         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16761         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16762         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16763         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16764         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16765         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16766         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16767         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16768         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16769         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16770         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16771         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16772         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16773
16774 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16775
16776         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16777         (__signbit): Likewise.  Correct for little-endian.
16778         (__signbitl): Call __signbit.
16779         (lrint): Correct for little-endian.
16780         (lrintf): Call lrint.
16781
16782 2013-10-04  Alan Modra  <amodra@gmail.com>
16783
16784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16785         union 32-bit int array member with 64-bit int array.
16786         (t515, tm256): Double rather than long double.
16787         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16788
16789 2013-10-04  Alan Modra  <amodra@gmail.com>
16790
16791         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16792         Delete.
16793         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16794         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16795         version of math_ldbl.h.
16796
16797 2013-10-04  Alan Modra  <amodra@gmail.com>
16798
16799         [BZ #15734], [BZ #15735]
16800         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16801         all uses of ieee875 long double macros and unions.  Simplify test
16802         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16803         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16804         normalize after ldbl_extract_mantissa, and don't add hidden bit
16805         already handled.  Don't treat low word of ieee854 mantissa like
16806         low word of IBM long double and mask off bit when testing for
16807         zero.
16808         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16809         all uses of ieee875 long double macros and unions.  Simplify tests
16810         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16811         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16812         two1022, instead use their values.  Recognise that tests for large
16813         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16815         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16816         test for 0.0L and nan.  Correct negation.
16817         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16818         ieee875 long double macros and unions.  Correct output for large
16819         magnitude x.  Correct absolute value calculation.
16820         (__erfcl): Likewise.
16821         * math/libm-test.inc: Add tests for errors discovered in IBM long
16822         double versions of fmodl, remainderl, erfl and erfcl.
16823
16824 2013-10-04  Alan Modra  <amodra@gmail.com>
16825
16826         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16827         all uses of ieee854 long double macros and unions.  Simplify tests
16828         for long doubles that are fully specified by the high double.
16829         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16830         Likewise.
16831         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16832         Remove dead code too.
16833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16834         (__ieee754_ynl): Likewise.
16835         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16838         Remove dead code too.
16839         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16840         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16841         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16842         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16843         Simplify.
16844         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16845         Simplify.
16846         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16847         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16848         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16849         Comment on variable precision.
16850         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16851         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16852         Likewise.
16853         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16854         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16856         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16857         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16858
16859 2013-10-04  Alan Modra  <amodra@gmail.com>
16860
16861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16862         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16863         all uses of ieee854 long double macros and unions.
16864         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16865         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16867         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16868         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16869         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16870         Likewise.
16871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16872         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16873         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16874         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16877         Simplify sign and nan test too.
16878         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16879         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16880         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16881         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16882         Likewise.
16883         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16884         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16885         Likewise.
16886         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16887         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16888         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16892
16893 2013-10-04  Alan Modra  <amodra@gmail.com>
16894
16895         * stdio-common/printf_size.c (__printf_size): Don't use
16896         union ieee854_long_double in fpnum union.
16897         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16898         signbit macro to retrieve sign from long double.
16899         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16900         retrieve sign from long double.
16901         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16902         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16903         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16904         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16905         * math/test-misc.c (main): Don't use union ieee854_long_double.
16906
16907 2013-10-04  Alan Modra  <amodra@gmail.com>
16908
16909         [BZ #15680]
16910         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16911         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16912         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16913         calculation.  Remove unnecessary test for denormal exponent.
16914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16915         Correct handling of denormals.  Avoid undefined shift behaviour.
16916         Correct normalisation of low mantissa when low double is denormal.
16917         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16918         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16919         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16920         Correct normalisation of low mantissa.  Test for overflow of high
16921         mantissa and normalise.
16922         (ldbl_nearbyint): Use more readable constant for two52.
16923         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16924         (__mpn_construct_long_double): Fix test for overflow of high
16925         mantissa and correct normalisation.  Avoid undefined shift.
16926
16927 2013-10-04  Alan Modra  <amodra@gmail.com>
16928
16929         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16930         (union ibm_extended_long_double): Define as an array of ieee754_double.
16931         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16932         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16933         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16934         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16935         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16936         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16937         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16938         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16939         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16940         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16941         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16942
16943 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16944
16945         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16946         page size instead of calling getpagesize.
16947
16948         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16949         (LOCFILE_ALIGN_MASK): Likewise.
16950         (LOCFILE_ALIGN_UP): Likewise.
16951         (LOCFILE_ALIGNED_P): Likewise.
16952         * locale/programs/ld-collate.c (collate_output): Use the new
16953         macros instead of __alignof__ (int32_t).
16954         * locale/weight.h (findidx): Likewise.
16955
16956 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16957
16958         [BZ #431]
16959         * manual/string.texi: Fix strncat and wcsncat.
16960
16961 2013-10-03  Brooks Moses  <bmoses@google.com>
16962
16963         [BZ #15915]
16964         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16965         * Makerules: ...here, and adjust associated comments.
16966
16967 2013-10-02  Will Newton  <will.newton@linaro.org>
16968
16969         * malloc/Makefile: Add tst-pvalloc.
16970         * malloc/tst-pvalloc.c: New file.
16971
16972 2013-10-02  Will Newton  <will.newton@linaro.org>
16973
16974         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16975         improve test coverage.
16976
16977 2013-10-02  Will Newton  <will.newton@linaro.org>
16978
16979         * malloc/Makefile: Add tst-posix_memalign.
16980         * malloc/tst-posix_memalign.c: New file.
16981
16982 2013-10-01  Eric Blake  <eblake@redhat.com>
16983
16984         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16985         Use __THROWNL rather than __THROW on static functions.
16986
16987 2013-09-30  Petr Machata  <pmachata@redhat.com>
16988
16989         * elf/elf.h (R_AARCH64_ABS16): New macro.
16990         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16991         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16992         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16993         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16994         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16995         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16996         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16997         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16998         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16999         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17000         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17001         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17002         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17003         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17004         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17005         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17006         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17007         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17008         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17009         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17010         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17011         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17012         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17013         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17014         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17015         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17016         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17017         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17018         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17019         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17020         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17021         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17022         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17023         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17024         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17025         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17026         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17027         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17028         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17029         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17030         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17031         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17032         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17033         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17034         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17035         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17036         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17037         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17038         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17039         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17040         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17041         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17042         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17043         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17044         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17045         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17046         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17047         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17048         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17049         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17050         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17051         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17052         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17053         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17054         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17055         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17056         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17057         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17058         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17059         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17060         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17061         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17062         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17063         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17064         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17065         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17066         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17067         (R_AARCH64_TLSDESC_LDR): Likewise.
17068         (R_AARCH64_TLSDESC_ADD): Likewise.
17069         (R_AARCH64_TLSDESC_CALL): Likewise.
17070
17071 2013-09-30  Andreas Schwab  <schwab@suse.de>
17072
17073         [BZ #15048]
17074         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17075         the nss database lookup.
17076         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17078
17079 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17080
17081         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17082
17083 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17084
17085         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17086         ${Bash-specific parameter/pattern/string} parameter expansion.
17087         * sysdeps/unix/make-syscalls.sh: Likewise.
17088
17089 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17090
17091         * sysdeps/sh/stackguard-macros.h: New file.
17092
17093 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17094
17095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17096         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17097         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17098         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17099         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17100         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17101
17102 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17103
17104         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17105         Fix thread ID register.
17106
17107 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17108
17109         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17110         [POSIX || UNIX98]: Require rather than permitting all symbols from
17111         <time.h>.
17112         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17113         element of struct sched_param.
17114         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17115         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17116         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17117         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17118         constant.
17119
17120 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17121
17122         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17123         argument calculation.
17124
17125 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17126
17127         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17128         Expect macro.
17129         [POSIX] (pthread_attr_t): Do not require type.
17130         [POSIX] (pthread_cond_t): Likewise.
17131         [POSIX] (pthread_condattr_t): Likewise.
17132         [POSIX] (pthread_key_t): Likewise.
17133         [POSIX] (pthread_mutex_t): Likewise.
17134         [POSIX] (pthread_mutexattr_t): Likewise.
17135         [POSIX] (pthread_once_t): Likewise.
17136         [POSIX] (pthread_t): Likewise.
17137         [POSIX-based standards] (pthread_atfork): Expect function.
17138
17139 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17140             Richard Sandiford  <richard@codesourcery.com>
17141
17142         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17143         (swap_endianness_p): New extern variable.
17144         (set_big_endian): New inline function.
17145         (maybe_swap_uint32): Likewise.
17146         (maybe_swap_uint32_array): Likewise.
17147         (maybe_swap_uint32_obstack): Likewise.
17148         * locale/programs/locfile.c: Include <stdbool.h>.
17149         (swap_endianness_p): New variable.
17150         (add_locale_uint32): Call maybe_swap_uint32.
17151         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17152         (write_locale_data): Call maybe_swap_uint32_array.
17153         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17154         maybe_swap_uint32.
17155         (obstack_int32_grow_fast): Likewise.
17156         (output_weightwc): Call maybe_swap_uint32_obstack.
17157         (collate_output): Likewise.
17158         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17159         (OPT_LITTLE_ENDIAN): Likewise.
17160         (options): Add --little-endian and --big-endian options.
17161         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17162         * locale/programs/locarchive.c: Include "locfile.h".
17163         (GET): New macro.
17164         (SET): Likewise.
17165         (INC): Likewise.
17166         (create_archive): Use the new macros to access fields of
17167         structures directly mapped from or written to locale archives.
17168         (oldlocrecentcmp): Likewise.
17169         (enlarge_archive): Likewise.
17170         (insert_name): Likewise.
17171         (add_alias): Likewise.
17172         (add_locale): Likewise.
17173         (delete_locales_from_archive): Likewise.
17174         (show_archive_content): Likewise.
17175         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17176         locale data.
17177
17178 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17179
17180         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17181         http://www.gnu.org/doc/freemanuals.texi.
17182         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17183
17184 2013-09-24  Will Newton  <will.newton@linaro.org>
17185
17186         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17187         macro.
17188
17189 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17190
17191         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17192         unsigned char.
17193
17194 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17195
17196         * manual/threads.texi (POSIX Threads): Fix a typo.
17197
17198 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17199
17200         [BZ #14547]
17201         * string/tst-strcoll-overflow.c: New test case.
17202         * string/Makefile (xtests): Add tst-strcoll-overflow.
17203         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17204         cache if string sizes may cause integer overflow.
17205
17206         [BZ #14547]
17207         * string/strcoll_l.c (coll_seq): New members rule, idx,
17208         save_idx and back_us.
17209         (get_next_seq_nocache): New function.
17210         (do_compare_nocache): New function.
17211         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17212         when malloc fails.
17213
17214 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17215
17216         [BZ #15754]
17217         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17218         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17219         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17220
17221         [BZ #15754]
17222         * elf/Makefile (tests): Add tst-ptrguard1.
17223         (tests-static): Add tst-ptrguard1-static.
17224         (tst-ptrguard1-ARGS): Define.
17225         (tst-ptrguard1-static-ARGS): Define.
17226         * elf/tst-ptrguard1.c: New file.
17227         * elf/tst-ptrguard1-static.c: New file.
17228         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17229         * sysdeps/i386/stackguard-macros.h: Likewise.
17230         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17231         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17232         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17233         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17234         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17235         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17236
17237 2013-09-23  Hector Marco  <hecmargi@upv.es>
17238             Ismael Ripoll  <iripoll@disca.upv.es>
17239             Carlos O'Donell  <carlos@redhat.com>
17240
17241         [BZ #15754]
17242         * sysdeps/generic/stackguard-macros.h: Define
17243         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17244         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17245         Define __pointer_chk_guard_local.
17246         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17247         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17248
17249 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17250
17251         [BZ #15859]
17252         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17253
17254 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17255
17256         * include/string.h (__ffs): Declare as hidden.
17257         * string/ffs.c (__ffs): Define as hidden.
17258         * sysdeps/i386/ffs.c (__ffs): Likewise.
17259         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17260         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17261         * sysdeps/s390/ffs.c (__ffs): Likewise.
17262         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17263
17264 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17265
17266         * NEWS: Mention malloc probes.
17267
17268         * malloc/arena.c (new_heap): New memory_heap_new probe.
17269         (grow_heap): New memory_heap_more probe.
17270         (shrink_heap): New memory_heap_less probe.
17271         (heap_trim): New memory_heap_free probe.
17272         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17273         (systrim): New memory_sbrk_less probe.
17274         * manual/probes.texi: Document them.
17275
17276         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17277         * manual/probes.texi: Document it.
17278
17279         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17280         (__libc_realloc): Add memory_realloc_retry probe.
17281         (__libc_memalign): Add memory_memalign_retry probe.
17282         (__libc_valloc): Add memory_valloc_retry probe.
17283         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17284         (__libc_calloc): Add memory_calloc_retry probe.
17285         * manual/probes.texi: Document them.
17286
17287         * malloc/arena.c (get_free_list): Add probe
17288         memory_arena_reuse_free_list.
17289         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17290         and memory_arena_reuse.
17291         (arena_get2) [!PER_THREAD]: Likewise.
17292         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17293         memory_arena_reuse_realloc.
17294         * manual/probes.texi: Document them.
17295
17296         * malloc/malloc.c (__libc_free): Add
17297         memory_mallopt_free_dyn_thresholds probe.
17298         (__libc_mallopt): Add multiple memory_mallopt probes.
17299         * manual/probes.texi: Document them.
17300
17301         * malloc/malloc.c: Include stap-probe.h.
17302         (__libc_mallopt): Add memory_mallopt probe.
17303         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17304         * manual/probes.texi: New.
17305         * manual/Makefile (chapters): Add probes.
17306         * manual/threads.texi: Set next node.
17307
17308 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17309
17310         [BZ #15963, #13985]
17311         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17312         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17313         Add `Chinese' to `nan' entry name.
17314
17315 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17316
17317         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17318         (POLYNOMIAL): Likewise.
17319         (TAYLOR_SINCOS): Likewise.
17320         (TAYLOR_SLOW): Likewise.
17321         (__sin): Use TAYLOR_SINCOS.
17322         (__cos): Likewise.
17323         (slow): Use TAYLOR_SLOW.
17324         (sloww): Likewise.
17325         (bsloww): Likewise.
17326         (csloww): Likewise.
17327
17328 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17329
17330         * stdlib/strtod_l.c: Fix buffer overrun.
17331
17332 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17333
17334         * benchtests/Makefile (bench): Add sincos.
17335         * benchtests/bench-sincos.c: New file.
17336
17337         * math/libm-test.inc (cos_test_data): New test inputs.
17338         (sin_test_data): Likewise.
17339
17340         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17341         macro.
17342         (__sin): Use it.
17343         (__cos): Likewise.
17344         (slow1): Likewise.
17345         (slow2): Likewise.
17346         (sloww1): Likewise.
17347         (sloww2): Likewise.
17348         (bsloww1): Likewise.
17349         (bsloww2): Likewise.
17350         (cslow2): Likewise.
17351         (csloww1): Likewise.
17352         (csloww2): Likewise.
17353
17354         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17355         function.
17356         (__sin): Use it.
17357         (__cos): Likewise.
17358
17359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17360         gotos.
17361         (__cos): Likewise.
17362
17363 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17364
17365         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17366         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17367         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17368         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17369         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17370         * elf/cache.c (print_entry): Handle the new cache flags.
17371
17372 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17373             Aldy Hernandez  <aldyh@redhat.com>
17374
17375         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17376         Change condition to [_SOFT_FLOAT].
17377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17384         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17389         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17392         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17393         declaration.
17394
17395 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17396
17397         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17398         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17399         (__longjmp): Use LOAD_GP to load saved GPRs.
17400         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17401         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17402         (__sigsetjmp): Use SAVE_GP to save GPRs.
17403
17404         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17405         Do not append -msoft-float.
17406         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17407
17408 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17409
17410         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17411
17412 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17413
17414         [BZ #15966]
17415         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17416         (_FPU_GETCW): Use initial "__" on variable and field names but not
17417         on macro parameter name.
17418         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17419         parentheses around reference to macro parameter.
17420
17421 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17422
17423         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17424         prototype.
17425         (ctype_startup): Use uint32_t in cast and sizeof for
17426         ctype->charnames.
17427
17428 2013-09-11  Jia Liu  <proljc@gmail.com>
17429
17430         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17431         __daddr_t_defined.
17432         [__FreeBSD__]: Likewise.
17433
17434 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17435
17436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17437         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17438         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17439         (strchr): Remove __strchr_sse42 ifunc selection.
17440         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17441         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17442
17443 2013-09-11  Will Newton  <will.newton@linaro.org>
17444
17445         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17446         parameter to RES. Remove hardcoded 1000 value.
17447         * benchtests/bench-skeleton.c (main): Pass RES parameter
17448         to TIMING_INIT and multiply result by 1000.
17449
17450 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17451
17452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17453
17454 2013-09-11  Andreas Schwab  <schwab@suse.de>
17455
17456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17457         if not defined.
17458         (O_TMPFILE) [__USE_GNU]: Define.
17459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17460         Define.
17461
17462 2013-09-11  Will Newton  <will.newton@linaro.org>
17463
17464         [BZ #15857]
17465         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17466         does not overflow.
17467
17468 2013-09-11  Will Newton  <will.newton@linaro.org>
17469
17470         [BZ #15856]
17471         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17472         does not overflow.
17473
17474 2013-09-11  Will Newton  <will.newton@linaro.org>
17475
17476         [BZ #15855]
17477         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17478         does not overflow.
17479
17480 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17481
17482         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17483         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17486         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17487
17488 2013-09-10  Allan McRae  <allan@archlinux.org>
17489
17490         [BZ #15748]
17491         * manual/arith.texi (Parsing of Floats): Clarify
17492         cross-reference.
17493
17494         [BZ #15849]
17495         * manual/install.texi (Running make install): Mention
17496         --enable-pt-chown.
17497         * INSTALL: Regenerated.
17498
17499 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17500
17501         * csu/init-first.c (_init): Remove the !SHARED condition around
17502         FPU control word initialization.
17503         * elf/dl-support.c (_dl_fpu_control): New variable.
17504         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17505         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17506         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17507         * math/test-fpucw-static.c: New file.
17508         * math/test-fpucw-ieee.c: New file.
17509         * math/test-fpucw-ieee-static.c: New file.
17510         * math/Makefile (tests): Add `test-fpucw-ieee' and
17511         `$(tests-static)'.
17512         (tests-static): New variable.
17513         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17514         dependency to...
17515         [($(build-shared),yes)]
17516         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17517         ... this.
17518         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17519         New dependency.
17520
17521 2013-09-09  Allan McRae  <allan@archlinux.org>
17522
17523         [BZ #15939]
17524         * manual/string.texi (Collation Functions): Fix typo in
17525         strcoll example.
17526         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17527
17528         [BZ #15893]
17529         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17530
17531         [BZ #15892]
17532         * libio/memstream.c (open_memstream): Fix memory leak.
17533         * libio/wmemstream.c (open_wmemstream): Likewise.
17534
17535         [BZ #15895]
17536         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17537
17538 2013-09-09  Will Newton  <will.newton@linaro.org>
17539
17540         * malloc/Makefile: Add tst-realloc to tests.
17541         * malloc/tst-realloc.c: New file.
17542
17543 2013-09-09  Allan McRae  <allan@archlinux.org>
17544
17545         [BZ #15844]
17546         * COPYING: Update from GNU website to fix FSF address.
17547         * COPYING.LIB: Likewise.
17548
17549 2013-09-06  David S. Miller  <davem@davemloft.net>
17550
17551         * po/zh_TW.po: Update Chinese (traditional) translation from
17552         translation project.
17553
17554 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17555             Joseph Myers  <joseph@codesourcery.com>
17556
17557         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17558         "localeinfo.h".
17559         (obstack_chunk_alloc): New macro.
17560         (obstack_chunk_free): Likewise.
17561         (record_offset): New function.
17562         (init_locale_data): Likewise.
17563         (align_locale_data): Likewise.
17564         (add_locale_empty): Likewise.
17565         (add_locale_raw_data): Likewise.
17566         (add_locale_raw_obstack): Likewise.
17567         (add_locale_string): Likewise.
17568         (add_locale_wstring): Likewise.
17569         (add_locale_uint32): Likewise.
17570         (add_locale_uint32_array): Likewise.
17571         (add_locale_char): Likewise.
17572         (start_locale_structure): Likewise.
17573         (end_locale_structure): Likewise.
17574         (start_locale_prelude): Likewise.
17575         (end_locale_prelude): Likewise.
17576         (write_locale_data): Take locale_file structure rather than an
17577         iovec.
17578         * locale/programs/locfile.h: Include "obstack.h".
17579         (struct locale_file): Change to store locale file contents instead
17580         of header.
17581         (init_locale_data): New prototype.
17582         (align_locale_data): Likewise.
17583         (add_locale_empty): Likewise.
17584         (add_locale_raw_data): Likewise.
17585         (add_locale_raw_obstack): Likewise.
17586         (add_locale_string): Likewise.
17587         (add_locale_wstring): Likewise.
17588         (add_locale_uint32): Likewise.
17589         (add_locale_uint32_array): Likewise.
17590         (add_locale_char): Likewise.
17591         (start_locale_structure): Likewise.
17592         (end_locale_structure): Likewise.
17593         (start_locale_prelude): Likewise.
17594         (end_locale_prelude): Likewise.
17595         (write_locale_data): Update prototype.
17596         * locale/programs/3level.h (struct TABLE): Remove result field.
17597         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17598         Use new locale_file interface.
17599         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17600         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17601         * locale/programs/ld-address.c (address_output): Use new
17602         locale_file interface.
17603         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17604         NO_ADD_LOCALE.
17605         (collate_finish): Don't call collseq_table_finalize.
17606         (collate_output): Use new locale_file interface.
17607         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17608         in file.
17609         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17610         (TABLE): Move defines earlier in file.
17611         (ELEMENT): Likewise.
17612         (DEFAULT): Likewise.
17613         (wctrans_table_add): Move macro and inline function earlier in
17614         file.
17615         (struct wctype_table): Move type earlier in file.
17616         (add_locale_wctype_table): New static prototype.
17617         (struct locale_ctype_t): Use logical types instead of struct iovec
17618         pointers for members.
17619         (ctype_output): Use new locale_file interface.
17620         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17621         new locale_file interface.
17622         (allocate_arrays): Update for use of new locale_file interface.
17623         * locale/programs/ld-identification.c (identification_output): Use
17624         new locale_file interface.
17625         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17626         * locale/programs/ld-messages.c (messages_output): Likewise.
17627         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17628         * locale/programs/ld-name.c (name_output): Likewise.
17629         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17630         * locale/programs/ld-paper.c (paper_output): Likewise.
17631         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17632         * locale/programs/ld-time.c (time_output): Likewise.
17633
17634 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17635
17636         * benchtests/Makefile: Add memrchr benchmark.
17637         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17638         benchmark as memrchr.
17639         * benchtests/bench-memrchr-ifunc.c: New file.
17640         * benchtests/bench-memrchr.c: New file.
17641
17642 2013-09-06   Will Newton  <will.newton@linaro.org>
17643
17644         * benchtests/Makefile (string-bench): Add memcpy.
17645
17646 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17647             Cong Wang  <amwang@redhat.com>
17648
17649         [BZ #15850]
17650         * sysdeps/unix/sysv/linux/bits/in.h
17651         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17652         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17653         before __USE_KERNEL_IPV6_DEFS uses.
17654         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17655         IPPROTO_BEETPH.
17656         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17657         sockaddr_in6, or ipv6_mreq.
17658
17659 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17660
17661         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17662         memory access for final bytes in some large inputs.
17663         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17664
17665 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17666
17667         * string/test-memrchr.c: New file.
17668         * string/test-memrchr-ifunc.c: New file.
17669         * string/Makefile: Add new memrchr testcase.
17670
17671 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17672
17673         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17674         fanotify_init returns EPERM.
17675
17676 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17677
17678         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17679         errors.
17680         (top level): Treat second token from macro or constant entries for
17681         allowed headers as allowed.
17682         * include/complex.h: Condition internal declarations on
17683         [!_ISOMAC].
17684         * include/fenv.h: Condition include of <stdbool.h> and internal
17685         declarations on [!_ISOMAC].
17686
17687 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17688
17689         [BZ #15923]
17690         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17691
17692 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17693
17694         * configure.in (--enable-versioning): Remove configure option.
17695         (libc_cv_asm_symver_directive): Remove configure test.
17696         (libc_cv_ld_version_script_option): Likewise.
17697         (VERSIONING): Remove variable and AC_SUBST.
17698         (DO_VERSIONING): Remove AC_DEFINE.
17699         * configure: Regenerated.
17700         * config.h.in (DO_VERSIONING): Remove macro.
17701         * Makerules [$(versioning) = yes]: Change conditionals to
17702         [$(build-shared) = yes].
17703         * config.make.in (versioning): Remove variable.
17704         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17705         [$(build-shared) = yes].
17706         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17707         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17708         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17709         [$(build-shared) = yes].
17710         * extra-lib.mk [$(versioning) = yes]: Likewise.
17711         * hurd/Makefile [$(versioning) = yes]: Likewise.
17712         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17713         [SHARED].
17714         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17715         [SHARED].
17716         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17717         [SHARED && !NO_HIDDEN].
17718         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17719         [SHARED].
17720         [SHARED && DO_VERSIONING]: Likewise..
17721         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17722         [$(build-shared) = yes].
17723         * manual/install.texi (--disable-versioning): Remove
17724         documentation.
17725         * INSTALL: Regenerated.
17726         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17727         to [SHARED].
17728         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17729         [$(build-shared) = yes].
17730         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17731         * sysdeps/i386/i686/multiarch/strstr-c.c
17732         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17733         [SHARED && !NO_HIDDEN].
17734         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17735         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17736         * sysdeps/powerpc/powerpc32/dl-machine.c
17737         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17738         * sysdeps/powerpc/powerpc32/sysdep.h
17739         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17740         to [SHARED && PIC && !NO_HIDDEN].
17741         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17742         conditional to [SHARED].
17743
17744 2013-09-04   Will Newton  <will.newton@linaro.org>
17745
17746         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17747         * benchtests/bench-string.h: Include bench-timing.h instead
17748         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17749         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17750         call to HP_TIMING_DIFF_INIT.
17751         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17752         instead of hp-timing.h macros.
17753         * benchtests/bench-memchr.c: Likewise.
17754         * benchtests/bench-memcmp.c: Likewise.
17755         * benchtests/bench-memcpy.c: Likewise.
17756         * benchtests/bench-memmem.c: Likewise.
17757         * benchtests/bench-memmove.c: Likewise.
17758         * benchtests/bench-memset.c: Likewise.
17759         * benchtests/bench-rawmemchr.c: Likewise.
17760         * benchtests/bench-strcasecmp.c: Likewise.
17761         * benchtests/bench-strcasestr.c: Likewise.
17762         * benchtests/bench-strcat.c: Likewise.
17763         * benchtests/bench-strchr.c: Likewise.
17764         * benchtests/bench-strcmp.c: Likewise.
17765         * benchtests/bench-strcpy.c: Likewise.
17766         * benchtests/bench-strcpy_chk.c: Likewise.
17767         * benchtests/bench-strlen.c: Likewise.
17768         * benchtests/bench-strncasecmp.c: Likewise.
17769         * benchtests/bench-strncat.c: Likewise.
17770         * benchtests/bench-strncmp.c: Likewise.
17771         * benchtests/bench-strncpy.c: Likewise.
17772         * benchtests/bench-strnlen.c: Likewise.
17773         * benchtests/bench-strpbrk.c: Likewise.
17774         * benchtests/bench-strrchr.c: Likewise.
17775         * benchtests/bench-strspn.c: Likewise.
17776         * benchtests/bench-strstr.c: Likewise.
17777
17778 2013-09-04  Will Newton  <will.newton@linaro.org>
17779
17780         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17781
17782 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17783
17784         [BZ #15427]
17785         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17786         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17787         * math/libm-test.inc (lgamma_test_data): Add more tests.
17788         * sysdeps/i386/fpu/libm-test-ulps: Update.
17789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17790
17791 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17792
17793         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17795         Add ifunc.
17796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17797         Add strcmp-sse2-unaligned
17798         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17799
17800 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17801
17802         * Versions.def (libc): Add GLIBC_2.19.
17803
17804 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17805
17806         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17807         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17808
17809 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17810
17811         [BZ #14155]
17812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17813         intermediate calculations in recurrence.
17814         (__ieee754_ynf): Likewise.
17815         * math/libm-test.inc (jn_test_data): Do not allow spurious
17816         underflow exception.  Add more tests.
17817         (yn_test_data): Add more tests.
17818         * sysdeps/i386/fpu/libm-test-ulps: Update.
17819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17820
17821 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17822
17823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17824
17825 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17826
17827         * csu/init-first.c: Fix then/than typos.
17828         * locale/programs/ld-collate.c: Likewise.
17829         * locale/programs/linereader.h: Likewise.
17830         * manual/charset.texi: Likewise.
17831         * manual/filesys.texi: Likewise.
17832         * manual/stdio.texi: Likewise.
17833         * manual/string.texi: Likewise.
17834         * stdlib/fmtmsg.c: Likewise.
17835         * sysdeps/i386/stpncpy.S: Likewise.
17836         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17837         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17839         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17840
17841 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17842
17843         * elf/dl-open.c: Fix typos.
17844         * iconvdata/gbbig5.c: Likewise.
17845         * iconvdata/iso-2022-jp.c: Likewise.
17846         * iconv/gconv_int.h: Likewise.
17847         * iconv/loop.c: Likewise.
17848         * nis/rpcsvc/nis.h: Likewise.
17849         * resolv/ns_name.c: Likewise.
17850         * stdio-common/vfscanf.c: Likewise.
17851         * streams/stropts.h: Likewise.
17852         * sunrpc/rpc_thread.c: Likewise.
17853         * sysdeps/i386/strpbrk.S: Likewise.
17854         * sysdeps/ieee754/k_standard.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17857         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17858         * sysdeps/mach/hurd/profil.c: Likewise.
17859         * sysdeps/s390/dl-procinfo.h: Likewise.
17860         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17861         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17862         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17863         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17864         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17865
17866 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17867
17868         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17870
17871 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17872
17873         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17874         aix specific files.
17875         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17876         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17877         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17878         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17879         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17880         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17881         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17882         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17883
17884 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17885             Roland McGrath  <roland@hack.frob.com>
17886
17887         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17888         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17889
17890 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17891
17892         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17893         __executable_start symbol instead of _start.
17894
17895 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17896
17897         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17898         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17899         Move macros to...
17900         * sysdeps/gnu/ldsodefs.h: ... this new file.
17901
17902         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17903         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17904         instead of ELFOSABI_LINUX.
17905
17906         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17907         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17908         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17909         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17910         Likewise.
17911         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17912         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17913         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17914         Likewise.
17915         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17916         (ibm_extended_long_double): Add ieee_nan member.
17917         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17918         (do_test): New function.
17919
17920         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17921         TEST_TRUNC.
17922         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17923         functions, renamed from truncdfsf_test, trunctfsf_test,
17924         trunctfdf_test.
17925         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17926         functions.
17927         (do_test): Run all these.
17928
17929 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17930
17931         * argp/argp-help.c: Fix typos.
17932         * argp/argp-parse.c: Likewise.
17933         * debug/backtracesyms.c: Likewise.
17934         * elf/elf.h: Likewise.
17935         * malloc/malloc.c: Likewise.
17936         * nis/nis_print.c: Likewise.
17937         * resolv/res_comp.c: Likewise.
17938         * stdlib/stdlib.h: Likewise.
17939         * sunrpc/clnt_tcp.c: Likewise.
17940         * sunrpc/clnt_udp.c: Likewise.
17941         * sunrpc/clnt_unix.c: Likewise.
17942         * sysdeps/unix/bsd/ptsname.c: Likewise.
17943         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17944         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17946         Likewise.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17948         Likewise.
17949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17950         Likewise.
17951         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17952
17953 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17954
17955         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17957
17958 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17959
17960         [BZ #15897]
17961         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17962         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17963         ($(objpfx)bug-dl-leaf): New rule.
17964         ($(objpfx)bug-dl-leaf.so): Likewise.
17965         ($(objpfx)bug-dl-leaf.out): Likewise.
17966         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17967         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17968         * dlfcn/bug-dl-leaf.c: New test.
17969         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17970         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17971         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17972         (dlclose): Likewise.
17973         (dlmopen): Likewise.
17974
17975 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17976
17977         * include/netdb.h [!_ISOMAC]:
17978         Don't include <tls.h>.
17979         (h_errno, __libc_h_errno): Move declaration and macros out of
17980         [_LIBC_REENTRANT].
17981
17982         * include/resolv.h [_RESOLV_H_]:
17983         Don't include <tls.h>.
17984         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17985         * resolv/res_libc.c: Don't include <tls.h>.
17986         (_res): Use __attribute__ ((nocommon)) in place of
17987         __attribute__ ((section (".bss"))).
17988
17989         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17990         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17991
17992         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17993
17994         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17995         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17996
17997         * resolv/res_mkquery.c: Include <sys/time.h>.
17998
17999         * inet/ifreq.c: Moved to ...
18000         * sysdeps/unix/ifreq.c: ... here.
18001         * inet/ifreq.c: New file, true stub version.
18002
18003         * socket/sa_len.c: New file.
18004         * socket/Makefile (aux): Add it.
18005         * sysdeps/unix/sysv/linux/Makefile
18006         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18007         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18008         and #include <socket/sa_len.c>.
18009         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18010         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18011
18012         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18013         * bits/socket.h: ... here.
18014
18015         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18016         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18017         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18018
18019 2013-08-27  Andreas Schwab  <schwab@suse.de>
18020
18021         [BZ #15736]
18022         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18023         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18024         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18025         * string/test-strcasecmp.c (test_main): Run tests in several
18026         locales.
18027         * string/test-strncasecmp.c (test_main): Likewise.
18028
18029         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18030         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18031         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18032         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18033         (__strncasecmp_ssse3) [PIC]: Likewise.
18034
18035 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18036
18037         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18038
18039         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18040         instead of explicitly declaring xdecrypt.
18041         * nis/nss_nis/nis-publickey.c: Likewise.
18042
18043 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18044
18045         [BZ #15890]
18046         * nscd/aicache.c: Include res_hconf.h.
18047         (addhstaiX): Initialize res_hconf.
18048
18049 2013-08-26  Andreas Schwab  <schwab@suse.de>
18050
18051         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18052         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18053
18054 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18055
18056         * nscd/aicache.c (addhstaiX): Fix indentation.
18057
18058 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18059
18060         * configure.ac: Quote $build_pt_chown test.
18061         * configure: Regenerated.
18062
18063 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18064
18065         [BZ #15532]
18066         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18067         * math/s_cexpf.c (__cexpf): Likewise.
18068         * math/s_cexpl.c (__cexpl): Likewise.
18069         * math/libm-test.inc (cexp_test_data): Correct expected return
18070         value for NaN + i0.  Add another test.
18071
18072 2013-08-22  David S. Miller  <davem@davemloft.net>
18073
18074         * po/ca.po: Update Catalan translation from translation project.
18075         * po/uk.po: Add Ukrainian translations from translation project.
18076
18077 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18078
18079         [BZ #15797]
18080         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18081         is infinite, not alongside NaN test.
18082         * math/s_fdimf.c (__fdimf): Likewise.
18083         * math/s_fdiml.c (__fdiml): Likewise.
18084         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18085         errno is unchanged.
18086
18087 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18088
18089         * argp/argp-help.c: Fix typos.
18090         * crypt/speeds.c: Likewise.
18091         * csu/check_fds.c: Likewise.
18092         * elf/dl-load.c: Likewise.
18093         * elf/dl-open.c: Likewise.
18094         * elf/reldep3.c: Likewise.
18095         * elf/reldep.c: Likewise.
18096         * elf/sprof.c: Likewise.
18097         * iconv/iconv_charmap.c: Likewise.
18098         * iconv/skeleton.c: Likewise.
18099         * iconv/strtab.c: Likewise.
18100         * io/lockf64.c: Likewise.
18101         * libio/libioP.h: Likewise.
18102         * resolv/gai_notify.c: Likewise.
18103         * resolv/ns_name.c: Likewise.
18104         * resolv/ns_samedomain.c: Likewise.
18105         * resolv/res_send.c: Likewise.
18106         * stdlib/random.c: Likewise.
18107         * sunrpc/rpc/xdr.h: Likewise.
18108         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18109         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18110         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18111         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18112         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18114         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18116         * sysdeps/mach/hurd/check_fds.c: Likewise.
18117         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18118         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18119         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18120         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18121         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18122         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18123         * sysdeps/pthread/aio_notify.c: Likewise.
18124         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18125         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18126         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18127         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18128         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18129
18130 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18131
18132         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18133         version if bit_Slow_SSE4_2 is set.
18134         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18135         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18136
18137 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18138
18139         [BZ #15867]
18140         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18141         trampoline stack frame information.
18142         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18144         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18145         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18146         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18147         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18148         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18149         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18150         sa_flags value.
18151         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18152         interrupting a syscall and set with option SA_SIGINFO.
18153
18154 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18155
18156         [BZ #15531]
18157         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18158         argument is infinite.
18159         * math/s_cprojf.c (__cprojf): Likewise.
18160         * math/s_cprojl.c (__cprojl): Likewise.
18161         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18162         * math/libm-test.inc (cproj_test_data): Add more tests.
18163
18164         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18165
18166         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18167         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18168         size.  Use __ffs to determine corresponding shift.
18169
18170 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18171             Roland McGrath  <roland@hack.frob.com>
18172
18173         * Makefile (INSTALL): Remove trailing blank lines from output of
18174         makeinfo.
18175
18176 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18177
18178         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18179         Align 32 bit compat elf_greg to 8 bytes.
18180
18181 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18182
18183         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18184
18185 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18186
18187         * string/strcoll_l.c (coll_seq): New structure.
18188         (get_next_seq_cached): New function.
18189         (get_next_seq): New function.
18190         (do_compare): New function.
18191         (STRCOLL): Use GNU style definition.  Simplify implementation
18192         by using get_next_seq, get_next_seq_cached and do_compare.
18193
18194 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18195
18196         [BZ #14699]
18197         CVE-2013-4237
18198         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18199         member.
18200         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18201         member.
18202         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18203         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18204         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18205         conditional.
18206         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18207         GETDENTS_64BIT_ALIGNED.
18208         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18209         * manual/filesys.texi (Reading/Closing Directory): Document
18210         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18211         strongly.
18212         * manual/conf.texi (Limits for Files): Add portability note to
18213         NAME_MAX, PATH_MAX.
18214         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18215
18216 2013-08-13  Andreas Schwab  <schwab@suse.de>
18217
18218         [BZ #15749]
18219         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18220         of fabs.
18221         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18222         LDBL_MAX_EXP >= 16384]: Add tests for it.
18223
18224 2013-08-12  David S. Miller  <davem@davemloft.net>
18225
18226         * version.h (RELEASE): Set to "development".
18227         (VERSION): Set to "2.18.90".
18228         * NEWS: Add 2.19 section.
18229
18230 2013-08-03  David S. Miller  <davem@davemloft.net>
18231
18232         * po/ko.po: Update Korean translation from translation project.
18233
18234 2013-08-01  David S. Miller  <davem@davemloft.net>
18235
18236         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18237         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18238         Bilka.
18239
18240 2013-07-30  David S. Miller  <davem@davemloft.net>
18241
18242         * po/fr.po: Update French translation from translation project.
18243
18244 2013-07-28  David S. Miller  <davem@davemloft.net>
18245
18246         * po/cs.po: Update Czech translation from translation project.
18247
18248         * po/sv.po: Update Swedish translation from translation project.
18249
18250 2013-07-27  David S. Miller  <davem@davemloft.net>
18251
18252         * po/eo.po: Update Esperanto translation from translation project.
18253
18254         * po/vi.po: Update Vietnamese translation from translation project.
18255
18256         * po/de.po: Update German translation from translation project.
18257
18258 2013-07-26  David S. Miller  <davem@davemloft.net>
18259
18260         * po/bg.po: Update Bulgarian translation from translation project.
18261
18262         * po/nl.po: Update Dutch translation from translation project.
18263         * po/pl.po: Update Polish translation from translation project.
18264         * po/ru.po: Update Russian translation from translation project.
18265
18266 2013-07-24  David S. Miller  <davem@davemloft.net>
18267
18268         * po/libc.pot: Update.
18269
18270 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18271
18272         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18273         variable page size.
18274         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18275         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18276         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18277
18278 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18279
18280         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18281
18282 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18283             Andreas Schwab  <schwab@suse.de>
18284             Roland McGrath  <roland@hack.frob.com>
18285             Joseph Myers  <joseph@codesourcery.com>
18286             Carlos O'Donell  <carlos@redhat.com>
18287
18288         [BZ #15755]
18289         * config.h.in: Define HAVE_PT_CHOWN.
18290         * config.make.in (build-pt-chown): New variable.
18291         * configure.in (--enable-pt_chown): New configure option.
18292         * configure: Regenerate.
18293         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18294         build-pt-chown is enabled.
18295         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18296         pt_chown to fix pty ownership.
18297         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18298         CLOSE_ALL_FDS.
18299         * manual/install.texi (Configuring and compiling): Mention
18300         --enable-pt_chown. Add @findex for grantpt.
18301         * INSTALL: Regenerate.
18302
18303 2013-07-20  David S. Miller  <davem@davemloft.net>
18304
18305         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18306         difference between 32-bit and 64-bit.
18307
18308 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18309
18310         [BZ #15711]
18311         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18312         Avoid system header dependency with -ffreestanding.
18313         ($(objpfx)bits/syscall%d): Likewise.
18314
18315 2013-07-13  David S. Miller  <davem@davemloft.net>
18316
18317         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18318         underflows from atanl/atan2l due to bug 15319.
18319         (casinh_test_data): Likewise.
18320
18321 2013-07-07  David S. Miller  <davem@davemloft.net>
18322
18323         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18324
18325 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18326
18327         * sysdeps/i386/fpu/libm-test-ulps: Update.
18328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329
18330 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18331
18332         * configure.in (--enable-lock-elision): Fix message text.
18333         * INSTALL: Regenerate.
18334         * configure: Regenerate.
18335
18336 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18337
18338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18339
18340 2013-07-03  Andreas Jaeger  <aj@suse.de>
18341
18342         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18343         define.
18344         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18345         (ptrace_peeksiginfo_args): Add.
18346         (__ptrace_peeksiginfo_flags): Add.
18347         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18348         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18350
18351 2013-07-03  Allan McRae  <allan@archlinux.org>
18352
18353         * sysdeps/i386/fpu/libm-test-ulps: Update.
18354
18355 2013-07-02  David S. Miller  <davem@davemloft.net>
18356
18357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18358
18359 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18360
18361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18362
18363 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18364
18365         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18367
18368 2013-07-02  Andi Kleen <ak@linux.intel.com>
18369
18370         * config.h.in (ENABLE_LOCK_ELISION): Add.
18371         * configure.in (--enable-lock-elision): Add option.
18372         * manual/install.texi: Document --enable lock elision.
18373         * configure: Regenerate
18374         * INSTALL: Regenerate.
18375
18376 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18377
18378         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18379         SSE4.2 strcasecmp for libc.a.
18380         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18381
18382 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18383
18384         [BZ #13304]
18385         * soft-fp/op-common.h (_FP_FMA): New macro.
18386         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18387         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18388         (_FP_MUL_MEAT_1_imm): ... here.
18389         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18390         (_FP_MUL_MEAT_1_wide): ... here.
18391         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18392         (_FP_MUL_MEAT_1_hard): ... here.
18393         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18394         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18395         (_FP_MUL_MEAT_2_wide): ... here.
18396         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18397         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18398         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18399         (_FP_MUL_MEAT_2_gmp): ... here.
18400         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18401         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18402         (_FP_MUL_MEAT_4_wide): ... here.
18403         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18404         (_FP_MUL_MEAT_4_gmp): ... here.
18405         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18406         (_FP_WFRACBITS_DW_S): Likewise.
18407         (_FP_WFRACXBITS_DW_S): Likewise.
18408         (_FP_HIGHBIT_DW_S): Likewise.
18409         (FP_FMA_S): Likewise.
18410         (_FP_FRAC_HIGH_DW_S): Likewise.
18411         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18412         (_FP_WFRACBITS_DW_D): Likewise.
18413         (_FP_WFRACXBITS_DW_D): Likewise.
18414         (_FP_HIGHBIT_DW_D): Likewise.
18415         (FP_FMA_D): Likewise.
18416         (_FP_FRAC_HIGH_DW_D): Likewise.
18417         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18418         (_FP_WFRACBITS_DW_E): Likewise.
18419         (_FP_WFRACXBITS_DW_E): Likewise.
18420         (_FP_HIGHBIT_DW_E): Likewise.
18421         (FP_FMA_E): Likewise.
18422         (_FP_FRAC_HIGH_DW_E): Likewise.
18423         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18424         (_FP_WFRACBITS_DW_Q): Likewise.
18425         (_FP_WFRACXBITS_DW_Q): Likewise.
18426         (_FP_HIGHBIT_DW_Q): Likewise.
18427         (FP_FMA_Q): Likewise.
18428         (_FP_FRAC_HIGH_DW_Q): Likewise.
18429         * soft-fp/fmasf4.c: New file.
18430         * soft-fp/fmadf4.c: Likewise.
18431         * soft-fp/fmatf4.c: Likewise.
18432
18433 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18434
18435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18436         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18437         Silvermont.
18438         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18439         macro.
18440         (index_Slow_SSE4_2): Likewise.
18441         (index_Prefer_PMINUB_for_stringop): Likewise.
18442         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18443         bit_Slow_SSE4_2 is set.
18444         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18445         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18446
18447 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18448
18449         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18450         rtld_global._dl_hwcap2.
18451         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18452         POWER8.
18453         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18454         POWER8 feature descriptions defined in _dl_hwcap2.
18455         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18456         string handling for POWER8 feature bits.
18457         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18458         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18459         _dl_powerpc_cap_flags.
18460         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18461         * sysdeps/powerpc/rtld-global-offsets.sym
18462         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18463         _dl_hwcap2 in the rtld_global_ro structure.
18464
18465 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18466
18467         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18468         hardware capabilities in support of AT_HWCAP2.
18469         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18470         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18471         GLRO(dl_hwcap2).
18472         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18473         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18474         explicitly the unknown a_type display mechanism is used.
18475         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18476         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18477         struct member.
18478         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18479         to macro prototype for AT_HWCAP2 support.
18480         * sysdeps/i386/dl-procinfo.h: Likewise.
18481         * sysdeps/s390/dl-procinfo.h: Likewise.
18482         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18483         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18484         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18485         return -1 for unknown a_type display fallback.
18486         * sysdeps/sparc/dl-procinfo.h: Likewise.
18487         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18488         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18489
18490 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18491
18492         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18493         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18494
18495 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18496
18497         [BZ #12492]
18498         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18499         mprotect making __stack_prot writable.
18500
18501 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18502             Joseph Myers  <joseph@codesourcery.com>
18503
18504         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18505         as being properly aligned.
18506
18507 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18508
18509         * dlfcn/modstatic5.c: New file.
18510         * dlfcn/tststatic5.c: New file.
18511         * dlfcn/Makefile (tests): Add tststatic5.
18512         (tests-static): Likewise.
18513         (modules-names): Add modstatic5.
18514         (tststatic5-ENV): New variable.
18515         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18516
18517         [BZ #15022]
18518         * elf/dl-support.c (_dl_main_map): New variable.
18519         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18520         (_dl_nns, _dl_load_adds): Set to 1.
18521         (_dl_initial_searchlist): Refer to _dl_main_map.
18522         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18523         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18524         call to _dl_get_origin.
18525         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18526         around call_map.
18527         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18528         * dlfcn/modstatic3.c: New file.
18529         * dlfcn/tststatic3.c: New file.
18530         * dlfcn/tststatic4.c: New file.
18531         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18532         (tests-static): Likewise.
18533         (modules-names): Add modstatic3.
18534         (tststatic3-ENV, tststatic4-ENV): New variables.
18535         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18536         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18537
18538 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18539
18540         * configure.in (CC): Require GCC version 4.4 or later.
18541         * configure: Regenerated.
18542         * manual/install.texi (Tools for Compilation): Update GCC version
18543         requirement.
18544         * INSTALL: Regenerated.
18545
18546 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18547
18548         [BZ #15674]
18549         * string/test-memcmp.c (check2): New.
18550         (main): Call check2.
18551
18552         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18553
18554 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18555
18556         [BZ #15022]
18557         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18558         over to...
18559         (dl_open_worker) [!SHARED]: ... here.
18560
18561 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18562
18563         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18564
18565 2013-06-25  Richard Henderson  <rth@redhat.com>
18566
18567         * locale/programs/locarchive.c: Include <libc-internal.h>
18568
18569 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18570
18571         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18572         trailing whitespace removed.
18573
18574 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18575
18576         [BZ #10283]
18577         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18578         * locale/programs/locarchive.c: Include libc-mmap.h.
18579         (prepare_address_space): Take two new outputs (the mmap base and len).
18580         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18581         values.
18582         (create_archive): Declare new mmap base and len values for
18583         prepare_address_space, and store the result in ah.
18584         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18585         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18586         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18587         Declare new mmap base and len values for
18588         prepare_address_space, and store the result in new_ah.
18589         (open_archive): Declare new mmap base and len values for
18590         prepare_address_space, and store the result in ah.
18591         (close_archive): If ah->mmap_base is not NULL, use that and
18592         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18593         * sysdeps/generic/libc-mmap.h: New file.
18594
18595 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18596
18597         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18598         (ALIGN_UP): Likewise.
18599         (PTR_ALIGN_DOWN): Likewise.
18600         (PTR_ALIGN_UP): Likewise.
18601
18602 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18603
18604         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18605         entry mapped to PPC_PLATFORM_POWER8.
18606         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18607         POWER8.
18608         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18609         (_dl_string_platform): Add case for exporting platform position for
18610         POWER8.
18611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18612         search path to sysdeps/powerpc/powerpc32/power8 directory.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18614         search path to sysdeps/powerpc/powerpc64/power8 directory.
18615         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18616         power7 directories.
18617         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18618         power7 directories.
18619
18620 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18621
18622         * INSTALL: Regenerate.
18623
18624         * nscd/connections.c (nscd_init): Fix comment.
18625
18626 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18627
18628         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18629
18630         [BZ #15667]
18631         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18632         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18633
18634 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18635
18636         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18637         DL_DST_REQ_STATIC.
18638         (DL_DST_REQ_STATIC): Remove macro.
18639
18640 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18641
18642         [BZ #7006]
18643         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18644         with a shift of 0 bits.
18645
18646 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18647
18648         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18649         $(tststatic-ENV).
18650
18651 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18652
18653         [BZ #15655]
18654         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18655
18656 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18657
18658         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18659         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18660         accepts -fno-tree-loop-distribute-patterns.
18661         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18662         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18663         recursive call.
18664         * string/memset.c (memset): Likewise.
18665         * string/test-memmove.c (simple_memmove): Disable loop transformation
18666         to library calls.
18667         * string/test-memset.c (simple_memset): Likewise.
18668         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18669         * benchtests/bench-memset.c (simple_memset): Likewise.
18670         * configure: Regenerated.
18671
18672 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18673
18674         * math/test-misc.c (main): Ignore fesetround failure when failures
18675         of subsequent rounding tests would be ignored.
18676
18677         [BZ #15654]
18678         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18679         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18680         * math/fegetenv.c (__fegetenv): Return 0.
18681         * math/fegetexcept.c (fegetexcept): Return 0.
18682         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18683         FE_TONEAREST.
18684         * math/feholdexcpt.c (feholdexcept): Return 0.
18685         * math/fesetenv.c (__fesetenv): Return 0.
18686         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18687         argument FE_TONEAREST.
18688         * math/feupdateenv.c (__feupdateenv): Return 0.
18689         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18690
18691 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18692
18693         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18694         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18695         ($(objpfx)rtld-%.os rules): Use them.
18696
18697 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18698
18699         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18700         fields.
18701
18702 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18703
18704         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18705         length of target pattern, then descending length of dependency pattern.
18706         * configure.in (AWK): Require gawk 3.1.2 or newer.
18707         * manual/install.texi (Tools for Compilation): Say that we do.
18708         * configure: Regenerated.
18709
18710         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18711         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18712         * scripts/sysd-rules.awk: ... this new script.
18713         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18714         than a glob-style pattern.
18715
18716 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18717
18718         * math/test-misc.c (main): Do not treat incorrectly rounded
18719         conversions as failure unless ROUNDING_TESTS passes.
18720
18721 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18722
18723         [BZ #15631]
18724         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18725         restore exception state around main square root computation, then
18726         check for inexactness explicitly.
18727
18728         * math/libm-test.inc (fma_test_data): Add another test.
18729
18730 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18731
18732         * manual/threads.texi (Non-POSIX Extensions): New document
18733         node.  Document pthread_getattr_default_np and
18734         pthread_setattr_default_np.
18735
18736         * Versions.def (libpthread): Add GLIBC_2.18.
18737         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18739         Likewise.
18740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18741         Likewise.
18742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18743         Likewise.
18744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18745         Likewise.
18746         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18747         Likewise.
18748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18749         Likewise.
18750         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18751         Likewise.
18752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18753         Likewise.
18754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18755         Likewise.
18756
18757 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18758
18759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18760         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18761
18762 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18763             H.J. Lu  <hjl.tools@gmail.com>
18764
18765         [BZ #15627]
18766         * sysdeps/x86_64/rtld-memset.c: Remove file.
18767         * sysdeps/x86_64/rtld-memset.S: New file.
18768
18769 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18770
18771         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18772         (test_in_one_mode): Take arguments for whether the rounding mode
18773         is supported for each floating-point type.
18774         (do_test): Pass new arguments to test_in_one_mode using
18775         ROUNDING_TESTS.
18776
18777 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18778
18779         * posix/tst-waitid.c (do_test): Distinguish different instances of
18780         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18781         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18782         before entering the kernel for waitpid.
18783
18784 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18785
18786         * NEWS: Fix note on clock function precision.  Text by Roland
18787         McGrath.
18788
18789 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18790
18791         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18792         it into place only when and if the sanity check passes.
18793
18794 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18795
18796         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18797         output for whether conversion result is exact.  Take argument
18798         indicating whether type is IBM long double.
18799         (round_for_all): Change need_exact field to ibm_ld.
18800         * stdlib/tst-strtod-round.c (struct exactness): New type.
18801         (struct test): Change bool ld_ok field to struct exactness exact.
18802         (TEST): Update all definitions for change to field.
18803         (tests): Regenerate array contents.
18804         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18805         field value.  Check for IBM long double here.
18806         (do_test): Update calls to test_in_one_mode.
18807
18808 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18809
18810         [BZ #12515]
18811         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18812         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18813
18814 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18815
18816         [BZ #15605]
18817         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18818         generated by the compiler on loop optimizations.
18819         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18820         general definitions.
18821
18822 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18823
18824         * math/bug-nextafter.c: Include <math-tests.h>.
18825         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18826         the relevant type.
18827         * math/bug-nexttoward.c: Include <math-tests.h>.
18828         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18829         the relevant type.
18830         * math/test-misc.c: Include <math-tests.h>.
18831         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18832         the relevant type.
18833
18834 2013-06-12  Andreas Jaeger  <aj@suse.de>
18835
18836         * po/ia.po: Update Interlingua translation from translation
18837         project.
18838
18839 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18840
18841         * include/fenv.h: Include stdbool.h.
18842         (struct rm_ctx): New structure.
18843         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18844         Define macro.
18845         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18846         (SET_RESTORE_ROUNDF): Likewise.
18847         (SET_RESTORE_ROUNDL): Likewise.
18848         (SET_RESTORE_ROUND_NOEX): Likewise.
18849         (SET_RESTORE_ROUND_NOEXF): Likewise.
18850         (SET_RESTORE_ROUND_NOEXL): Likewise.
18851         (SET_RESTORE_ROUND_53BIT): Likewise.
18852         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18853         (libc_feresetround_noexf_ctx): Likewise.
18854         (libc_feresetround_noexl_ctx): Likewise.
18855         (libc_feholdsetround_53bit_ctx): Likewise.
18856         (libc_feresetround_53bit_ctx): Likewise.
18857         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18858         (libc_feholdexcept_setround_sse_ctx): New function.
18859         (libc_fesetenv_sse_ctx): Likewise.
18860         (libc_feupdateenv_sse_ctx): Likewise.
18861         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18862         (libc_feholdexcept_setround_387_ctx): Likewise.
18863         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18864         (libc_feholdsetround_387_prec_ctx): Likewise.
18865         (libc_feholdsetround_387_ctx): Likewise.
18866         (libc_feholdsetround_387_53bit_ctx): Likewise.
18867         (libc_feholdsetround_sse_ctx): Likewise.
18868         (libc_feresetround_sse_ctx): Likewise.
18869         (libc_feresetround_387_ctx): Likewise.
18870         (libc_feupdateenv_387_ctx): Likewise.
18871         (libc_feholdexcept_setroundf_ctx): Define macro.
18872         (libc_fesetenvf_ctx): Likewise.
18873         (libc_feupdateenvf_ctx): Likewise.
18874         (libc_feholdsetroundf_ctx): Likewise.
18875         (libc_feresetroundf_ctx): Likewise.
18876         (libc_feholdexcept_setround_ctx): Likewise.
18877         (libc_fesetenv_ctx): Likewise.
18878         (libc_feupdateenv_ctx): Likewise.
18879         (libc_feholdsetround_ctx): Likewise.
18880         (libc_feresetround_ctx): Likewise.
18881         (libc_feholdexcept_setroundl_ctx): Likewise.
18882         (libc_feupdateenvl_ctx): Likewise.
18883         (libc_feholdsetroundl_ctx): Likewise.
18884         (libc_feresetroundl_ctx): Likewise.
18885         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18886         (libc_feresetround_53bit_ctx): Likewise.
18887
18888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18889
18890         * locale/iso-639.def: Convert to UTF-8.
18891
18892 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18893
18894         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18895         (EXCEPTION_TESTS_double): Likewise.
18896         (EXCEPTION_TESTS_long_double): Likewise.
18897         (EXCEPTION_TESTS): Likewise.
18898         * math/libm-test.inc (test_exceptions): Only test exceptions if
18899         EXCEPTION_TESTS (FLOAT).
18900
18901 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18902
18903         * benchtests/Makefile (string-bench): Add strcpy_chk and
18904         stpcpy_chk.
18905         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18906         * benchtests/bench-stpcpy_chk.c: New file.
18907         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18908         * benchtests/bench-strcpy_chk.c: New file.
18909         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18910         code.
18911         (do_test): Likewise.
18912
18913 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18914
18915         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18916         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18917         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18918         with tabs where appropriate.
18919         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18920         dl-procinfo.h.
18921         [PPC_PLATFORM_PPC440]: Likewise.
18922         [PPC_PLATFORM_PPC464]: Likewise.
18923         [PPC_PLATFORM_PPC476]: Likewise.
18924         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18925         ppc464, and ppc476 platform strings merging from ports/
18926         dl-procinfo.h.
18927
18928 2013-06-11  Andreas Schwab  <schwab@suse.de>
18929
18930         [BZ #14991]
18931         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18932         (from_ucs4_idx): Regenerate.
18933         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18934         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18935         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18936         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18937         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18938         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18939         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18940         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18941         from FROM_LOOP and TO_LOOP specific macros.
18942         (BODY): Handle combining characters.
18943         * iconvdata/BIG5HKSCS.irreversible: Update.
18944         * iconvdata/BIG5HKSCS.precomposed: New file.
18945         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18946         characters.
18947         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18948
18949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18950
18951         * include/sys/time.h: Fix indentation and add copyright header.
18952
18953         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18954         (do_test): Likewise.
18955         * string/test-memchr.c (do_one_test): Likewise.
18956         (do_test): Likewise.
18957         * string/test-memcmp.c (do_one_test): Likewise.
18958         (do_test): Likewise.
18959         * string/test-memcpy.c (do_one_test): Likewise.
18960         (do_test): Likewise.
18961         * string/test-memmem.c (do_one_test): Likewise.
18962         (do_test): Likewise.
18963         (do_random_tests): Likewise.
18964         * string/test-memmove.c (do_one_test): Likewise.
18965         (do_test): Likewise.
18966         * string/test-memset.c (do_one_test): Likewise.
18967         (do_test): Likewise.
18968         * string/test-rawmemchr.c (do_one_test): Likewise.
18969         (do_test): Likewise.
18970         * string/test-strcasecmp.c (do_one_test): Likewise.
18971         (do_test): Likewise.
18972         * string/test-strcasestr.c (do_one_test): Likewise.
18973         (do_test): Likewise.
18974         * string/test-strcat.c (do_one_test): Likewise.
18975         (do_test): Likewise.
18976         * string/test-strchr.c (do_one_test): Likewise.
18977         (do_test): Likewise.
18978         * string/test-strcmp.c (do_one_test): Likewise.
18979         (do_test): Likewise.
18980         * string/test-strcpy.c (do_one_test): Likewise.
18981         (do_test): Likewise.
18982         * string/test-string.h: Likewise.
18983         (test_init): Likewise.
18984         * string/test-strlen.c (do_one_test): Likewise.
18985         (do_test): Likewise.
18986         * string/test-strncasecmp.c (do_one_test): Likewise.
18987         (do_test): Likewise.
18988         * string/test-strncat.c (do_one_test): Likewise.
18989         (do_test): Likewise.
18990         * string/test-strncmp.c (do_one_test): Likewise.
18991         (do_test_limit): Likewise.
18992         (do_test): Likewise.
18993         * string/test-strncpy.c (do_one_test): Likewise.
18994         (do_test): Likewise.
18995         * string/test-strnlen.c (do_one_test): Likewise.
18996         (do_test): Likewise.
18997         * string/test-strpbrk.c (do_one_test): Likewise.
18998         (do_test): Likewise.
18999         * string/test-strrchr.c (do_one_test): Likewise.
19000         (do_test): Likewise.
19001         * string/test-strspn.c (do_one_test): Likewise.
19002         (do_test): Likewise.
19003         * string/test-strstr.c (do_one_test): Likewise.
19004         (do_test): Likewise.
19005
19006         * benchtests/Makefile (string-bench): Add string benchmarks.
19007         * benchtests/bench-bcopy-ifunc.c: New file.
19008         * benchtests/bench-bcopy.c: New file.
19009         * benchtests/bench-bzero-ifunc.c: New file.
19010         * benchtests/bench-bzero.c: New file.
19011         * benchtests/bench-memccpy-ifunc.c: New file.
19012         * benchtests/bench-memccpy.c: New file.
19013         * benchtests/bench-memchr-ifunc.c: New file.
19014         * benchtests/bench-memchr.c: New file.
19015         * benchtests/bench-memcmp-ifunc.c: New file.
19016         * benchtests/bench-memcmp.c: New file.
19017         * benchtests/bench-memmem-ifunc.c: New file.
19018         * benchtests/bench-memmem.c: New file.
19019         * benchtests/bench-memmove-ifunc.c: New file.
19020         * benchtests/bench-memmove.c: New file.
19021         * benchtests/bench-mempcpy-ifunc.c: New file.
19022         * benchtests/bench-mempcpy.c: New file.
19023         * benchtests/bench-memset-ifunc.c: New file.
19024         * benchtests/bench-memset.c: New file.
19025         * benchtests/bench-rawmemchr-ifunc.c: New file.
19026         * benchtests/bench-rawmemchr.c: New file.
19027         * benchtests/bench-stpcpy-ifunc.c: New file.
19028         * benchtests/bench-stpcpy.c: New file.
19029         * benchtests/bench-stpncpy-ifunc.c: New file.
19030         * benchtests/bench-stpncpy.c: New file.
19031         * benchtests/bench-strcasecmp-ifunc.c: New file.
19032         * benchtests/bench-strcasecmp.c: New file.
19033         * benchtests/bench-strcasestr-ifunc.c: New file.
19034         * benchtests/bench-strcasestr.c: New file.
19035         * benchtests/bench-strcat-ifunc.c: New file.
19036         * benchtests/bench-strcat.c: New file.
19037         * benchtests/bench-strchr-ifunc.c: New file.
19038         * benchtests/bench-strchr.c: New file.
19039         * benchtests/bench-strchrnul-ifunc.c: New file.
19040         * benchtests/bench-strchrnul.c: New file.
19041         * benchtests/bench-strcmp-ifunc.c: New file.
19042         * benchtests/bench-strcmp.c: New file.
19043         * benchtests/bench-strcpy-ifunc.c: New file.
19044         * benchtests/bench-strcpy.c: New file.
19045         * benchtests/bench-strcspn-ifunc.c: New file.
19046         * benchtests/bench-strcspn.c: New file.
19047         * benchtests/bench-strlen-ifunc.c: New file.
19048         * benchtests/bench-strlen.c: New file.
19049         * benchtests/bench-strncasecmp-ifunc.c: New file.
19050         * benchtests/bench-strncasecmp.c: New file.
19051         * benchtests/bench-strncat-ifunc.c: New file.
19052         * benchtests/bench-strncat.c: New file.
19053         * benchtests/bench-strncmp-ifunc.c: New file.
19054         * benchtests/bench-strncmp.c: New file.
19055         * benchtests/bench-strncpy-ifunc.c: New file.
19056         * benchtests/bench-strncpy.c: New file.
19057         * benchtests/bench-strnlen-ifunc.c: New file.
19058         * benchtests/bench-strnlen.c: New file.
19059         * benchtests/bench-strpbrk-ifunc.c: New file.
19060         * benchtests/bench-strpbrk.c: New file.
19061         * benchtests/bench-strrchr-ifunc.c: New file.
19062         * benchtests/bench-strrchr.c: New file.
19063         * benchtests/bench-strspn-ifunc.c: New file.
19064         * benchtests/bench-strspn.c: New file.
19065         * benchtests/bench-strstr-ifunc.c: New file.
19066         * benchtests/bench-strstr.c: New file.
19067
19068         * benchtests/Makefile: Disable parallel execution of targets.
19069         (string-bench): Add memcpy.
19070         (benchset): New variable to store a list of benchmark sets.
19071         (bench-func): Renamed from bench.
19072         (bench-set): New target.
19073         (bench): Depend on bench-func and bench-set.
19074         * benchtests/README: Add section on benchmark sets.
19075         * benchtests/bench-memcpy-ifunc.c: New file.
19076         * benchtests/bench-memcpy.c: New file.
19077         * benchtests/bench-string.h: New file.
19078
19079 2013-06-11  Andreas Schwab  <schwab@suse.de>
19080
19081         [BZ #15577]
19082         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19083         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19084         values in the triple.
19085         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19086         terminator in the group key.
19087
19088 2013-06-11  Andreas Jaeger  <aj@suse.de>
19089
19090         * po/zh_TW.po: Update Chinese (traditional) translation from
19091         translation project.
19092
19093 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19094
19095         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19096         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19097         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19098         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19099         (clock_getcpuclockid): Likewise.
19100         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19101         Add weak_alias and libc_hidden_def.
19102         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19103         * rt/clock_gettime.c (clock_gettime): Rename to
19104         __clock_gettime.  Add weak_alias and libc_hidden_def.
19105         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19106         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19107         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19108         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19109         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19110         Likewise.
19111         * rt/clock_settime.c (clock_settime): Rename to
19112         __clock_settime.  Add weak_alias and libc_hidden_def.
19113         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19114
19115 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19116
19117         * mach/err_boot.sub: Remove trailing whitespace.
19118         * mach/err_ipc.sub: Likewise.
19119         * mach/err_mach.sub: Likewise.
19120
19121         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19122         (ROUNDING_TESTS_double): Likewise.
19123         (ROUNDING_TESTS_long_double): Likewise.
19124         (ROUNDING_TESTS): Likewise.
19125         * math/libm-test.inc: Include <math-tests.h>.
19126         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19127         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19128         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19129         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19130
19131 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19132
19133         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19134         of assigning.
19135
19136 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19137
19138         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19139         otherwise empty TRANS lines.
19140         * sysdeps/gnu/errlist.c: Regenerated.
19141
19142         * catgets/gencat.c (error_print): Use (void) in function
19143         definition.
19144         * crypt/crypt_util.c (__init_des): Likewise.
19145         * crypt/speeds.c (Stop): Likewise.
19146         (main): Likewise.
19147         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19148         * inet/ruserpass.c (token): Likewise.
19149         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19150         * intl/localealias.c (extend_alias_table): Likewise.
19151         * intl/plural-exp.c (init_germanic_plural): Likewise.
19152         * libio/fcloseall.c (__fcloseall): Likewise.
19153         * libio/genops.c (_IO_flush_all): Likewise.
19154         (_IO_flush_all_linebuffered): Likewise.
19155         (_IO_cleanup): Likewise.
19156         (_IO_iter_begin): Likewise.
19157         (_IO_iter_end): Likewise.
19158         (_IO_list_lock): Likewise.
19159         (_IO_list_unlock): Likewise.
19160         (_IO_list_resetlock): Likewise.
19161         * libio/getchar.c (getchar): Likewise.
19162         * libio/getchar_u.c (getchar_unlocked): Likewise.
19163         * libio/getwchar.c (getwchar): Likewise.
19164         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19165         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19166         * login/getpt.c (__getpt): Likewise.
19167         * login/tst-utmp.c (main): Likewise.
19168         * malloc/hooks.c (__malloc_check_init): Likewise.
19169         * malloc/malloc.c (__malloc_stats): Likewise.
19170         * malloc/mtrace.c (tr_break): Likewise.
19171         (mtrace): Likewise.
19172         (muntrace): Likewise.
19173         * misc/fstab.c (endfsent): Likewise.
19174         * misc/getclktck.c (__getclktck): Likewise.
19175         * misc/getdtsz.c (__getdtablesize): Likewise.
19176         * misc/gethostid.c (gethostid): Likewise.
19177         * misc/getpagesize.c (__getpagesize): Likewise.
19178         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19179         (__get_nprocs): Likewise.
19180         (__get_phys_pages): Likewise.
19181         (__get_avphys_pages): Likewise.
19182         * misc/getttyent.c (getttyent): Likewise.
19183         (setttyent): Likewise.
19184         (endttyent): Likewise.
19185         * misc/getusershell.c (getusershell): Likewise.
19186         (endusershell): Likewise.
19187         (setusershell): Likewise.
19188         (initshells): Likewise.
19189         * misc/hsearch.c (__hdestroy): Likewise.
19190         * misc/sync.c (sync): Likewise.
19191         * misc/syslog.c (closelog_internal): Likewise.
19192         (closelog): Likewise.
19193         * misc/ttyslot.c (ttyslot): Likewise.
19194         * misc/vhangup.c (vhangup): Likewise.
19195         * posix/fork.c (__fork): Likewise.
19196         * posix/getegid.c (__getegid): Likewise.
19197         * posix/geteuid.c (__geteuid): Likewise.
19198         * posix/getgid.c (__getgid): Likewise.
19199         * posix/getpid.c (__getpid): Likewise.
19200         * posix/getppid.c (__getppid): Likewise.
19201         * posix/getuid.c (__getuid): Likewise.
19202         * posix/pause.c (pause): Likewise.
19203         * posix/setpgrp.c (setpgrp): Likewise.
19204         * posix/setsid.c (__setsid): Likewise.
19205         * posix/test-vfork.c (noop): Likewise.
19206         * resolv/gethnamaddr.c (_endhtent): Likewise.
19207         (_gethtent): Likewise.
19208         (ht_endhostent): Likewise.
19209         (gethostent): Likewise.
19210         (dns_service): Likewise.
19211         * stdlib/drand48.c (drand48): Likewise.
19212         * stdlib/lrand48.c (lrand48): Likewise.
19213         * stdlib/mrand48.c (mrand48): Likewise.
19214         * stdlib/rand.c (rand): Likewise.
19215         * stdlib/random.c (__random): Likewise.
19216         * stdlib/setenv.c (clearenv): Likewise.
19217         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19218         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19219         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19220         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19221         (__get_nprocs): Likewise.
19222         (__get_phys_pages): Likewise.
19223         (__get_avphys_pages): Likewise.
19224         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19225         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19226         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19227         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19228         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19229         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19230         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19231         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19232         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19233         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19234         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19235         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19236         * sysdeps/posix/clock.c (clock): Likewise.
19237         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19238         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19239         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19240         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19241         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19242         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19243         (__get_nprocs_conf): Likewise.
19244         (__get_phys_pages): Likewise.
19245         (__get_avphys_pages): Likewise.
19246         * time/clock.c (clock): Likewise.
19247         * time/tzset.c (__tzname_max): Likewise.
19248
19249 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19250
19251         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19252         (__bswap_32): Do not use "register".
19253         * crypt/crypt.c (_ufc_doit_r): Likewise.
19254         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19255         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19256         * gmon/gmon.c (__monstartup): Likewise.
19257         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19258         * hurd/hurdmalloc.c (more_memory): Likewise.
19259         (malloc): Likewise.
19260         (free): Likewise.
19261         (realloc): Likewise.
19262         (malloc_fork_prepare): Likewise.
19263         (malloc_fork_parent): Likewise.
19264         (malloc_fork_child): Likewise.
19265         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19266         (_svcauth_des): Likewise.
19267         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19268         * inet/inet_net.c (inet_network): Likewise.
19269         * inet/inet_netof.c (inet_netof): Likewise.
19270         * inet/rcmd.c (__validuser2_sa): Likewise.
19271         * io/fts.c (fts_open): Likewise.
19272         (fts_load): Likewise.
19273         (fts_close): Likewise.
19274         (fts_read): Likewise.
19275         (fts_children): Likewise.
19276         (fts_build): Likewise.
19277         (fts_stat): Likewise.
19278         (fts_sort): Likewise.
19279         (fts_alloc): Likewise.
19280         (fts_lfree): Likewise.
19281         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19282         (_IO_file_xsgetn): Likewise.
19283         (_IO_file_xsgetn_mmap): Likewise.
19284         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19285         (_IO_cookie_write): Likewise.
19286         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19287         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19288         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19289         * malloc/obstack.c (_obstack_begin): Likewise.
19290         (_obstack_begin_1): Likewise.
19291         (_obstack_newchunk): Likewise.
19292         (_obstack_allocated_p): Likewise.
19293         (obstack_free): Likewise.
19294         (_obstack_memory_used): Likewise.
19295         * misc/getttyent.c (getttynam): Likewise.
19296         (getttyent): Likewise.
19297         (skip): Likewise.
19298         (value): Likewise.
19299         * misc/getusershell.c (initshells): Likewise.
19300         * misc/syslog.c (__vsyslog_chk): Likewise.
19301         * misc/ttyslot.c (ttyslot): Likewise.
19302         * nis/nis_hash.c (__nis_hash): Likewise.
19303         * posix/fnmatch_loop.c (FCT): Likewise.
19304         * posix/getconf.c (print_all): Likewise.
19305         (main): Likewise.
19306         * posix/getopt.c (exchange): Likewise.
19307         * posix/glob.c (globfree): Likewise.
19308         (prefix_array): Likewise.
19309         (__glob_pattern_type): Likewise.
19310         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19311         (NS_GET32): Likewise.
19312         (NS_PUT16): Likewise.
19313         (NS_PUT32): Likewise.
19314         * resolv/gethnamaddr.c (getanswer): Likewise.
19315         (gethostbyname2): Likewise.
19316         (gethostbyaddr): Likewise.
19317         (_gethtent): Likewise.
19318         (_gethtbyname2): Likewise.
19319         (_gethtbyaddr): Likewise.
19320         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19321         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19322         * resolv/res_init.c (__res_vinit): Likewise.
19323         (net_mask): Likewise.
19324         * resolv/res_mkquery.c (outchar): Likewise.
19325         (PRINT): Likewise.
19326         * stdio-common/printf_fp.c (outchar): Likewise.
19327         (PRINT): Likewise.
19328         * stdio-common/printf_fphex.c (outchar): Likewise.
19329         (PRINT): Likewise.
19330         * stdio-common/printf_size.c (outchar): Likewise.
19331         (PRINT): Likewise.
19332         * stdio-common/test_rdwr.c (main): Likewise.
19333         * stdio-common/tfformat.c (matches): Likewise.
19334         * stdio-common/vfprintf.c (outchar): Likewise.
19335         (printf_unknown): Likewise.
19336         (buffered_vfprintf): Likewise.
19337         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19338         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19339         (ReadFile): Likewise.
19340         * stdlib/qsort.c (SWAP): Likewise.
19341         (_quicksort): Likewise.
19342         * stdlib/setenv.c (__add_to_environ): Likewise.
19343         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19344         * stdlib/strtol_l.c (__strtol_l): Likewise.
19345         * stdlib/tst-strtod.c (main): Likewise.
19346         * stdlib/tst-strtol.c (main): Likewise.
19347         * stdlib/tst-strtoll.c (main): Likewise.
19348         * string/bits/string2.h (__strcmp_cc): Likewise.
19349         (__strcmp_cg): Likewise.
19350         (__strcspn_c1): Likewise.
19351         (__strcspn_c2): Likewise.
19352         (__strcspn_c3): Likewise.
19353         (__strspn_c1): Likewise.
19354         (__strspn_c2): Likewise.
19355         (__strspn_c3): Likewise.
19356         (__strsep_1c): Likewise.
19357         (__strsep_2c): Likewise.
19358         (__strsep_3c): Likewise.
19359         * string/memccpy.c (__memccpy): Likewise.
19360         * string/stpcpy.c (__stpcpy): Likewise.
19361         * string/strcmp.c (strcmp): Likewise.
19362         * string/strrchr.c (strrchr): Likewise.
19363         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19364         Likewise.
19365         * sysdeps/mach/hurd/getcwd.c
19366         (_hurd_canonicalize_directory_name_internal): Likewise.
19367         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19368         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19369         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19370         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19371         Likewise, in both definitions.
19372         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19373         definitions.
19374         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19375         64] (__bswap_64): Likewise.
19376         * time/test_time.c (main): Likewise.
19377         * time/tzfile.c (__tzfile_read): Likewise.
19378         (__tzfile_compute): Likewise.
19379         * time/tzset.c (__tzset_parse_tz): Likewise.
19380         (tzset_internal): Likewise.
19381         (compute_change): Likewise.
19382         * wcsmbs/wcscat.c (__wcscat): Likewise.
19383         * wcsmbs/wcschr.c (wcschr): Likewise.
19384         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19385         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19386         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19387         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19388         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19389         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19390         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19391         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19392         * wcsmbs/wmemset.c (wmemset): Likewise.
19393
19394 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19395
19396         * scripts/config.guess: Update to version 2013-05-16.
19397         * scripts/config.sub: Update to version 2013-04-24.
19398         * scripts/install-sh: Update to version 2011-11-20.07.
19399         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19400         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19401
19402 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19403
19404         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19405         * elf/sln.c: Likewise.
19406         * hurd/hurd/ioctl.h: Likewise.
19407         * hurd/hurdmalloc.c: Likewise.
19408         * hurd/xattr.c: Likewise.
19409         * include/shlib-compat.h: Likewise.
19410         * inet/ruserpass.c: Likewise.
19411         * libio/iofgets_u.c: Likewise.
19412         * libio/iofgetws_u.c: Likewise.
19413         * locale/programs/ld-identification.c: Likewise.
19414         * locale/programs/ld-time.c: Likewise.
19415         * mach/msg-destroy.c: Likewise.
19416         * nss/nss_files/files-netgrp.c: Likewise.
19417         * resolv/res_data.c: Likewise.
19418         * soft-fp/op-1.h: Likewise.
19419         * soft-fp/op-2.h: Likewise.
19420         * soft-fp/op-4.h: Likewise.
19421         * soft-fp/op-common.h: Likewise.
19422         * stdio-common/printf_fphex.c: Likewise.
19423         * stdlib/strtod_l.c: Likewise.
19424         * sunrpc/rpc/clnt.h: Likewise.
19425         * sysdeps/generic/framestate.c: Likewise.
19426         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19427         * sysdeps/i386/bsd-setjmp.S: Likewise.
19428         * sysdeps/i386/__longjmp.S: Likewise.
19429         * sysdeps/i386/setjmp.S: Likewise.
19430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19431         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19432         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19444         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19446         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19447         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19448         * sysdeps/ieee754/support.c: Likewise.
19449         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19450         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19451         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19452         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19453         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19454         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19455         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19456         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19457         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19458         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19459         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19460         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19461         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19462         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19463         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19464         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19465         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19467
19468 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19469
19470         * posix/transbug.c: Remove executable mode.
19471
19472 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19473
19474         * crypt/speeds.c: Remove trailing whitespace.
19475         * dlfcn/default.c: Likewise.
19476         * elf/ifuncdep2.c: Likewise.
19477         * elf/ifuncmain1.c: Likewise.
19478         * elf/ifuncmain1vis.c: Likewise.
19479         * elf/testobj.h: Likewise.
19480         * elf/tst-stackguard1.c: Likewise.
19481         * gmon/sys/gmon.h: Likewise.
19482         * hurd/hurdmsg.c: Likewise.
19483         * hurd/new-fd.c: Likewise.
19484         * hurd/ports-get.c: Likewise.
19485         * iconvdata/ibm1008_420.c: Likewise.
19486         * inet/tst-getni1.c: Likewise.
19487         * inet/tst-getni2.c: Likewise.
19488         * libio/ioungetc.c: Likewise.
19489         * libio/wfiledoalloc.c: Likewise.
19490         * manual/libm-err-tab.pl: Likewise.
19491         * math/w_dremf.c: Likewise.
19492         * misc/ftruncate.c: Likewise.
19493         * posix/bug-glob2.c: Likewise.
19494         * posix/tst-pcre.c: Likewise.
19495         * posix/wait4.c: Likewise.
19496         * resolv/README: Likewise.
19497         * resolv/res_debug.h: Likewise.
19498         * resolv/tst-inet_ntop.c: Likewise.
19499         * setjmp/bug269-setjmp.c: Likewise.
19500         * soft-fp/extended.h: Likewise.
19501         * soft-fp/op-1.h: Likewise.
19502         * soft-fp/op-2.h: Likewise.
19503         * soft-fp/op-4.h: Likewise.
19504         * soft-fp/op-8.h: Likewise.
19505         * soft-fp/testit.c: Likewise.
19506         * stdio-common/bug16.c: Likewise.
19507         * stdlib/random.c: Likewise.
19508         * sunrpc/rpcsvc/rquota.x: Likewise.
19509         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19510         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19512         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19513         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19514         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19516         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19517         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19518         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19519         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19520         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19521         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19522         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19523         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19524         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19526         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19527         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19528         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19529         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19530         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19531         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19532         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19533         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19534         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19535         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19537         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19538         * sysdeps/ieee754/s_lib_version.c: Likewise.
19539         * sysdeps/mach/hurd/check_fds.c: Likewise.
19540         * sysdeps/mach/hurd/getsockname.c: Likewise.
19541         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19542         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19543         * sysdeps/powerpc/bits/link.h: Likewise.
19544         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19545         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19546         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19547         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19548         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19549         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19550         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19551         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19552         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19553         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19554         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19555         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19556         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19557         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19558         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19559         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19560         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19561         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19562         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19563         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19564         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19565         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19567         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19568         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19569         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19570         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19571         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19572         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19573         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19574         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19575         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19577         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19578         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19579         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19580         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19581         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19582         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19583         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19584         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19585         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19586         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19587         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19588         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19589         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19590         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19591         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19592         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19593         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19594         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19595         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19596         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19597         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19598         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19599         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19600         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19601         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19603         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19604         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19605         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19606         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19607         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19608         * sysdeps/powerpc/sysdep.h: Likewise.
19609         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19610         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19611         * sysdeps/sh/dl-trampoline.S: Likewise.
19612         * sysdeps/sh/memset.S: Likewise.
19613         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19614         * sysdeps/sh/strlen.S: Likewise.
19615         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19616         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19617         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19618         * sysdeps/sparc/sparc32/rem.S: Likewise.
19619         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19620         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19621         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19622         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19623         * sysdeps/sparc/sparc32/urem.S: Likewise.
19624         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19625         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19626         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19627         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19628         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19629         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19630         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19631         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19632         * sysdeps/unix/bsd/times.c: Likewise.
19633         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19634         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19638         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19639         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19640         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19642         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19644         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19645         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19647         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19648         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19649         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19650         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19651         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19652         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19653         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19654         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19655         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19656         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19657         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19658         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19659         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19660         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19661         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19662         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19663         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19664         * sysdeps/x86_64/strcspn.S: Likewise.
19665
19666 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19667
19668         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19669         generated file.  Regenerate properly from gen-translit.pl.
19670         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19671         locale/C-translit.h.
19672
19673 2013-06-05  Andreas Schwab  <schwab@suse.de>
19674
19675         [BZ #15100]
19676         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19677         week as 6 instead of -1.
19678         * time/tst-strptime.c (day_tests): Add test case.
19679
19680 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19681
19682         * sysdeps/generic/math_private.h
19683         (libc_feholdexcept_setround_53bit): Replace with
19684         libc_feholdsetround_53bit.
19685         (libc_feupdateenv_53bit): Replace with
19686         libc_feresetround_53bit.
19687         (SET_RESTORE_ROUND_53BIT): Adjust.
19688
19689 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19690
19691         * string/test-strchrnul.c: Add copyright header.
19692
19693         * posix/tst-getaddrinfo4.c: Increase test timeout.
19694
19695 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19696
19697         [BZ #15536]
19698         * math/libm-test.inc (MAX_EXP): Remove
19699         (MIN_EXP): Define.
19700         (ulp): Use MIN_EXP - MANT_DIG.
19701         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19702
19703 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19704
19705         * po/be.po: Revert last change.
19706         * po/zh_CN.po: Likewise.
19707         * po/header.pot: Likewise.
19708
19709 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19710
19711         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19712         link-libc-deps to empty as target-specific variable.
19713         * Makerules (link-libc-args): New variable.
19714         (libc-for-link): Likewise.
19715         (link-libc-deps): Likewise.
19716         (lib%.so): Depend on $(link-libc-deps).  Link with
19717         $(link-libc-args).
19718         (build-module): Link with $(link-libc-args).
19719         (build-module-asneeded): Likewise.
19720         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19721         list of objects.
19722         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19723         target-specific variable.
19724         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19725         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19726         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19727         libc.
19728         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19729         libc and ld.so.
19730         ($(objpfx)libpcprofile.so): Likewise.
19731         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19732         libc_nonshared.a.
19733         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19734         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19735         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19736         $(link-libc-deps).
19737         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19738         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19739         * login/Makefile ($(objpfx)libutil.so): Likewise.
19740         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19741         * math/Makefile ($(objpfx)libm.so): Likewise.
19742         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19743         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19744         variable instead of depending directly on libc.
19745         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19746         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19747         $(link-libc-deps).
19748         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19749         libc.
19750         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19751         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19752         ($(objpfx)libanl.so): Likewise.
19753         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19754         ld.so.
19755         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19756         $(link-libc-deps).
19757         * sysdeps/i386/fpu/Makefile: Remove file.
19758         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19759         ($(objpfx)libm.so): Remove dependency on ld.so.
19760
19761 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19762
19763         [BZ # 15553]
19764         * nis/yp_xdr.c (XDRMAXNAME): Define.
19765         (XDRMAXRECORD): Define.
19766         (xdr_domainname): Use XDRMAXNAME.
19767         (xdr_mapname): Likewise.
19768         (xdr_peername): Likewise.
19769         (xdr_keydat): Use XDRMAXRECORD.
19770         (xdr_valdat): Likewise.
19771
19772 2013-05-30  Jeff Law  <law@redhat.com>
19773
19774         [BZ #14256]
19775         * manual/errno.texi (ESTALE): Update to account for more than
19776         just NFS file systems.
19777         * sysdeps/gnu/errlist.c: Regenerated.
19778
19779 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19780
19781         [BZ #15465]
19782         * elf/Makefile (tests): Add tst-null-argv.
19783         (modules-names):  Add tst-null-argv-lib.
19784         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19785         (tst-null-argv-ENV): Set environment for tst-null-argv.
19786         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19787         (RTLD_PROGNAME): New macro.
19788         * elf/tst-null-argv.c: New test case.
19789         * elf/tst-null-argv-lib.c: Library for test case.
19790         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19791         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19792         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19793         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19794         * elf/dl-init.c (call_init): Likewise.
19795         (_dl_init): Likewise.
19796         * elf/dl-load.c (print_search_path): Likewise.
19797         (_dl_map_object): Likewise.
19798         * elf/dl-lookup.c (do_lookup_x): Likewise.
19799         (add_dependency): Likewise.
19800         (_dl_lookup_symbol_x): Likewise.
19801         (_dl_debug_bindings): Likewise.
19802         * elf/dl-open.c (_dl_show_scope): Likewise.
19803         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19804         * elf/dl-version.c (match_symbol): Likewise.
19805         (_dl_check_map_versions): Likewise.
19806         * elf/rtld.c (dl_main): Likewise.
19807         (print_unresolved): Use RTLD_PROGNAME.
19808         (print_missing_version): Likewise.
19809         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19810         (elf_machine_rela): Likewise.
19811         * sysdeps/powerpc/powerpc32/dl-machine.c
19812         (__process_machine_rela): Likewise.
19813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19814         Likewise.
19815         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19816         Likewise.
19817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19818         Likewise.
19819         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19820         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19821         Likewise.
19822         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19823         Likewise.
19824         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19825
19826 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19827
19828         * po/be.po: Add descriptive title.
19829         * po/zh_CN.po: Likewise.
19830         * po/header.pot: Likewise.
19831
19832 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19833
19834         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19835         error message.
19836         (enlarge_archive): Likewise.
19837
19838 2013-05-28  Ben North  <ben@redfrontdoor.org>
19839
19840         * manual/arith.texi (frexp): It is the magnitude of the return
19841         value which lies in [0.5, 1), not the return value itself.
19842
19843 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19844
19845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19846
19847 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19848
19849         * stdio-common/bug26.c (main): Correct fscanf template.
19850
19851         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19852         declare _dl_skip_args.
19853
19854         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19855         Don't declare.
19856
19857         * manual/platform.texi: Add missing @end deftypefun.
19858
19859 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19860
19861         [BZ #15529]
19862         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19863         bit of mantissa of 2^16382.
19864         * math/libm-test.inc (hypot_test_data): Add more tests.
19865
19866         * math/libm-test.inc: Add drem and pow10 to list of tested
19867         functions.
19868         (pow10_test): New function.
19869         (drem_test): Likewise.
19870         (drem_test_tonearest): Likewise.
19871         (drem_test_towardzero): Likewise.
19872         (drem_test_downward): Likewise.
19873         (drem_test_upward): Likewise.
19874         (main): Call the new functions.
19875
19876         * math/libm-test.inc (finite_test_data): Remove.
19877         (finite_test): Run tests from isfinite_test_data.
19878         (gamma_test_data): Remove.
19879         (gamma_test): Run tests from lgamma_test_data.
19880         * sysdeps/i386/fpu/libm-test-ulps: Update.
19881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19882
19883 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19884
19885         * manual/platform.texi: Add PowerPC PPR function set documentation.
19886         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19887         implementation.
19888
19889 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19890
19891         * math/libm-test.inc (MAX_EXP): Define.
19892         (ULPDIFF): Define.
19893         (ulp): New function.
19894         (check_float_internal): Use ULPDIFF.
19895         (cpow_test): Disable failing test.
19896         (check_ulp): Test ulp() implemetnation.
19897         (main): Call check_ulp before starting tests.
19898
19899 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19900
19901         * math/gen-libm-test.pl (generate_testfile): Do not handle
19902         START_DATA and END_DATA.
19903         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19904         END_DATA.
19905         (acos_tonearest_test_data): Likewise.
19906         (acos_towardzero_test_data): Likewise.
19907         (acos_downward_test_data): Likewise.
19908         (acos_upward_test_data): Likewise.
19909         (acosh_test_data): Likewise.
19910         (asin_test_data): Likewise.
19911         (asin_tonearest_test_data): Likewise.
19912         (asin_towardzero_test_data): Likewise.
19913         (asin_downward_test_data): Likewise.
19914         (asin_upward_test_data): Likewise.
19915         (asinh_test_data): Likewise.
19916         (atan_test_data): Likewise.
19917         (atanh_test_data): Likewise.
19918         (atan2_test_data): Likewise.
19919         (cabs_test_data): Likewise.
19920         (cacos_test_data): Likewise.
19921         (cacosh_test_data): Likewise.
19922         (carg_test_data): Likewise.
19923         (casin_test_data): Likewise.
19924         (casinh_test_data): Likewise.
19925         (catan_test_data): Likewise.
19926         (catanh_test_data): Likewise.
19927         (cbrt_test_data): Likewise.
19928         (ccos_test_data): Likewise.
19929         (ccosh_test_data): Likewise.
19930         (ceil_test_data): Likewise.
19931         (cexp_test_data): Likewise.
19932         (cimag_test_data): Likewise.
19933         (clog_test_data): Likewise.
19934         (clog10_test_data): Likewise.
19935         (conj_test_data): Likewise.
19936         (copysign_test_data): Likewise.
19937         (cos_test_data): Likewise.
19938         (cos_tonearest_test_data): Likewise.
19939         (cos_towardzero_test_data): Likewise.
19940         (cos_downward_test_data): Likewise.
19941         (cos_upward_test_data): Likewise.
19942         (cosh_test_data): Likewise.
19943         (cosh_tonearest_test_data): Likewise.
19944         (cosh_towardzero_test_data): Likewise.
19945         (cosh_downward_test_data): Likewise.
19946         (cosh_upward_test_data): Likewise.
19947         (cpow_test_data): Likewise.
19948         (cproj_test_data): Likewise.
19949         (creal_test_data): Likewise.
19950         (csin_test_data): Likewise.
19951         (csinh_test_data): Likewise.
19952         (csqrt_test_data): Likewise.
19953         (ctan_test_data): Likewise.
19954         (ctan_tonearest_test_data): Likewise.
19955         (ctan_towardzero_test_data): Likewise.
19956         (ctan_downward_test_data): Likewise.
19957         (ctan_upward_test_data): Likewise.
19958         (ctanh_test_data): Likewise.
19959         (ctanh_tonearest_test_data): Likewise.
19960         (ctanh_towardzero_test_data): Likewise.
19961         (ctanh_downward_test_data): Likewise.
19962         (ctanh_upward_test_data): Likewise.
19963         (erf_test_data): Likewise.
19964         (erfc_test_data): Likewise.
19965         (exp_test_data): Likewise.
19966         (exp_tonearest_test_data): Likewise.
19967         (exp_towardzero_test_data): Likewise.
19968         (exp_downward_test_data): Likewise.
19969         (exp_upward_test_data): Likewise.
19970         (exp10_test_data): Likewise.
19971         (exp2_test_data): Likewise.
19972         (expm1_test_data): Likewise.
19973         (fabs_test_data): Likewise.
19974         (fdim_test_data): Likewise.
19975         (finite_test_data): Likewise.
19976         (floor_test_data): Likewise.
19977         (fma_test_data): Likewise.
19978         (fma_towardzero_test_data): Likewise.
19979         (fma_downward_test_data): Likewise.
19980         (fma_upward_test_data): Likewise.
19981         (fmax_test_data): Likewise.
19982         (fmin_test_data): Likewise.
19983         (fmod_test_data): Likewise.
19984         (fpclassify_test_data): Likewise.
19985         (frexp_test_data): Likewise.
19986         (gamma_test_data): Likewise.
19987         (hypot_test_data): Likewise.
19988         (ilogb_test_data): Likewise.
19989         (isfinite_test_data): Likewise.
19990         (isgreater_test_data): Likewise.
19991         (isgreaterequal_test_data): Likewise.
19992         (isinf_test_data): Likewise.
19993         (isless_test_data): Likewise.
19994         (islessequal_test_data): Likewise.
19995         (islessgreater_test_data): Likewise.
19996         (isnan_test_data): Likewise.
19997         (isnormal_test_data): Likewise.
19998         (issignaling_test_data): Likewise.
19999         (isunordered_test_data): Likewise.
20000         (j0_test_data): Likewise.
20001         (j1_test_data): Likewise.
20002         (jn_test_data): Likewise.
20003         (ldexp_test_data): Likewise.
20004         (lgamma_test_data): Likewise.
20005         (lrint_test_data): Likewise.
20006         (lrint_tonearest_test_data): Likewise.
20007         (lrint_towardzero_test_data): Likewise.
20008         (lrint_downward_test_data): Likewise.
20009         (lrint_upward_test_data): Likewise.
20010         (llrint_test_data): Likewise.
20011         (llrint_tonearest_test_data): Likewise.
20012         (llrint_towardzero_test_data): Likewise.
20013         (llrint_downward_test_data): Likewise.
20014         (llrint_upward_test_data): Likewise.
20015         (log_test_data): Likewise.
20016         (log10_test_data): Likewise.
20017         (log1p_test_data): Likewise.
20018         (log2_test_data): Likewise.
20019         (logb_test_data): Likewise.
20020         (logb_downward_test_data): Likewise.
20021         (lround_test_data): Likewise.
20022         (llround_test_data): Likewise.
20023         (modf_test_data): Likewise.
20024         (nearbyint_test_data): Likewise.
20025         (nextafter_test_data): Likewise.
20026         (nexttoward_test_data): Likewise.
20027         (pow_test_data): Likewise.
20028         (pow_tonearest_test_data): Likewise.
20029         (pow_towardzero_test_data): Likewise.
20030         (pow_downward_test_data): Likewise.
20031         (pow_upward_test_data): Likewise.
20032         (remainder_test_data): Likewise.
20033         (remainder_tonearest_test_data): Likewise.
20034         (remainder_towardzero_test_data): Likewise.
20035         (remainder_downward_test_data): Likewise.
20036         (remainder_upward_test_data): Likewise.
20037         (remquo_test_data): Likewise.
20038         (rint_test_data): Likewise.
20039         (rint_tonearest_test_data): Likewise.
20040         (rint_towardzero_test_data): Likewise.
20041         (rint_downward_test_data): Likewise.
20042         (rint_upward_test_data): Likewise.
20043         (round_test_data): Likewise.
20044         (scalb_test_data): Likewise.
20045         (scalbn_test_data): Likewise.
20046         (scalbln_test_data): Likewise.
20047         (signbit_test_data): Likewise.
20048         (sin_test_data): Likewise.
20049         (sin_tonearest_test_data): Likewise.
20050         (sin_towardzero_test_data): Likewise.
20051         (sin_downward_test_data): Likewise.
20052         (sin_upward_test_data): Likewise.
20053         (sincos_test_data): Likewise.
20054         (sinh_test_data): Likewise.
20055         (sinh_tonearest_test_data): Likewise.
20056         (sinh_towardzero_test_data): Likewise.
20057         (sinh_downward_test_data): Likewise.
20058         (sinh_upward_test_data): Likewise.
20059         (sqrt_test_data): Likewise.
20060         (tan_test_data): Likewise.
20061         (tan_tonearest_test_data): Likewise.
20062         (tan_towardzero_test_data): Likewise.
20063         (tan_downward_test_data): Likewise.
20064         (tan_upward_test_data): Likewise.
20065         (tanh_test_data): Likewise.
20066         (tgamma_test_data): Likewise.
20067         (trunc_test_data): Likewise.
20068         (y0_test_data): Likewise.
20069         (y1_test_data): Likewise.
20070         (yn_test_data): Likewise.
20071         (significand_test_data): Likewise.
20072
20073         * math/gen-libm-test.pl (@functions): Remove variable.
20074         (generate_testfile): Don't handle START and END lines.
20075         * math/libm-test.inc (START): New macro.
20076         (END): Likewise.
20077         (END_COMPLEX): Likewise.
20078         (acos_test): Use END macro without arguments.
20079         (acos_test_tonearest): Likewise.
20080         (acos_test_towardzero): Likewise.
20081         (acos_test_downward): Likewise.
20082         (acos_test_upward): Likewise.
20083         (acosh_test): Likewise.
20084         (asin_test): Likewise.
20085         (asin_test_tonearest): Likewise.
20086         (asin_test_towardzero): Likewise.
20087         (asin_test_downward): Likewise.
20088         (asin_test_upward): Likewise.
20089         (asinh_test): Likewise.
20090         (atan_test): Likewise.
20091         (atanh_test): Likewise.
20092         (atan2_test): Likewise.
20093         (cabs_test): Likewise.
20094         (cacos_test): Use END_COMPLEX macro without arguments.
20095         (cacosh_test): Likewise.
20096         (carg_test): Use END macro without arguments.
20097         (casin_test): Use END_COMPLEX macro without arguments.
20098         (casinh_test): Likewise.
20099         (catan_test): Likewise.
20100         (catanh_test): Likewise.
20101         (cbrt_test): Use END macro without arguments.
20102         (ccos_test): Use END_COMPLEX macro without arguments.
20103         (ccosh_test): Likewise.
20104         (ceil_test): Use END macro without arguments.
20105         (cexp_test): Use END_COMPLEX macro without arguments.
20106         (cimag_test): Use END macro without arguments.
20107         (clog_test): Use END_COMPLEX macro without arguments.
20108         (clog10_test): Likewise.
20109         (conj_test): Likewise.
20110         (copysign_test): Use END macro without arguments.
20111         (cos_test): Likewise.
20112         (cos_test_tonearest): Likewise.
20113         (cos_test_towardzero): Likewise.
20114         (cos_test_downward): Likewise.
20115         (cos_test_upward): Likewise.
20116         (cosh_test): Likewise.
20117         (cosh_test_tonearest): Likewise.
20118         (cosh_test_towardzero): Likewise.
20119         (cosh_test_downward): Likewise.
20120         (cosh_test_upward): Likewise.
20121         (cpow_test): Use END_COMPLEX macro without arguments.
20122         (cproj_test): Likewise.
20123         (creal_test): Use END macro without arguments.
20124         (csin_test): Use END_COMPLEX macro without arguments.
20125         (csinh_test): Likewise.
20126         (csqrt_test): Likewise.
20127         (ctan_test): Likewise.
20128         (ctan_test_tonearest): Likewise.
20129         (ctan_test_towardzero): Likewise.
20130         (ctan_test_downward): Likewise.
20131         (ctan_test_upward): Likewise.
20132         (ctanh_test): Likewise.
20133         (ctanh_test_tonearest): Likewise.
20134         (ctanh_test_towardzero): Likewise.
20135         (ctanh_test_downward): Likewise.
20136         (ctanh_test_upward): Likewise.
20137         (erf_test): Use END macro without arguments.
20138         (erfc_test): Likewise.
20139         (exp_test): Likewise.
20140         (exp_test_tonearest): Likewise.
20141         (exp_test_towardzero): Likewise.
20142         (exp_test_downward): Likewise.
20143         (exp_test_upward): Likewise.
20144         (exp10_test): Likewise.
20145         (exp2_test): Likewise.
20146         (expm1_test): Likewise.
20147         (fabs_test): Likewise.
20148         (fdim_test): Likewise.
20149         (finite_test): Likewise.
20150         (floor_test): Likewise.
20151         (fma_test): Likewise.
20152         (fma_test_towardzero): Likewise.
20153         (fma_test_downward): Likewise.
20154         (fma_test_upward): Likewise.
20155         (fmax_test): Likewise.
20156         (fmin_test): Likewise.
20157         (fmod_test): Likewise.
20158         (fpclassify_test): Likewise.
20159         (frexp_test): Likewise.
20160         (gamma_test): Likewise.
20161         (hypot_test): Likewise.
20162         (ilogb_test): Likewise.
20163         (isfinite_test): Likewise.
20164         (isgreater_test): Likewise.
20165         (isgreaterequal_test): Likewise.
20166         (isinf_test): Likewise.
20167         (isless_test): Likewise.
20168         (islessequal_test): Likewise.
20169         (islessgreater_test): Likewise.
20170         (isnan_test): Likewise.
20171         (isnormal_test): Likewise.
20172         (issignaling_test): Likewise.
20173         (isunordered_test): Likewise.
20174         (j0_test): Likewise.
20175         (j1_test): Likewise.
20176         (jn_test): Likewise.
20177         (ldexp_test): Likewise.
20178         (lgamma_test): Likewise.
20179         (lrint_test): Likewise.
20180         (lrint_test_tonearest): Likewise.
20181         (lrint_test_towardzero): Likewise.
20182         (lrint_test_downward): Likewise.
20183         (lrint_test_upward): Likewise.
20184         (llrint_test): Likewise.
20185         (llrint_test_tonearest): Likewise.
20186         (llrint_test_towardzero): Likewise.
20187         (llrint_test_downward): Likewise.
20188         (llrint_test_upward): Likewise.
20189         (log_test): Likewise.
20190         (log10_test): Likewise.
20191         (log1p_test): Likewise.
20192         (log2_test): Likewise.
20193         (logb_test): Likewise.
20194         (logb_test_downward): Likewise.
20195         (lround_test): Likewise.
20196         (llround_test): Likewise.
20197         (modf_test): Likewise.
20198         (nearbyint_test): Likewise.
20199         (nextafter_test): Likewise.
20200         (nexttoward_test): Likewise.
20201         (pow_test): Likewise.
20202         (pow_test_tonearest): Likewise.
20203         (pow_test_towardzero): Likewise.
20204         (pow_test_downward): Likewise.
20205         (pow_test_upward): Likewise.
20206         (remainder_test): Likewise.
20207         (remainder_test_tonearest): Likewise.
20208         (remainder_test_towardzero): Likewise.
20209         (remainder_test_downward): Likewise.
20210         (remainder_test_upward): Likewise.
20211         (remquo_test): Likewise.
20212         (rint_test): Likewise.
20213         (rint_test_tonearest): Likewise.
20214         (rint_test_towardzero): Likewise.
20215         (rint_test_downward): Likewise.
20216         (rint_test_upward): Likewise.
20217         (round_test): Likewise.
20218         (scalb_test): Likewise.
20219         (scalbn_test): Likewise.
20220         (scalbln_test): Likewise.
20221         (signbit_test): Likewise.
20222         (sin_test): Likewise.
20223         (sin_test_tonearest): Likewise.
20224         (sin_test_towardzero): Likewise.
20225         (sin_test_downward): Likewise.
20226         (sin_test_upward): Likewise.
20227         (sincos_test): Likewise.
20228         (sinh_test): Likewise.
20229         (sinh_test_tonearest): Likewise.
20230         (sinh_test_towardzero): Likewise.
20231         (sinh_test_downward): Likewise.
20232         (sinh_test_upward): Likewise.
20233         (sqrt_test): Likewise.
20234         (tan_test): Likewise.
20235         (tan_test_tonearest): Likewise.
20236         (tan_test_towardzero): Likewise.
20237         (tan_test_downward): Likewise.
20238         (tan_test_upward): Likewise.
20239         (tanh_test): Likewise.
20240         (tgamma_test): Likewise.
20241         (trunc_test): Likewise.
20242         (y0_test): Likewise.
20243         (y1_test): Likewise.
20244         (yn_test): Likewise.
20245         (significand_test): Likewise.
20246
20247 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20248
20249         [BZ #15381]
20250         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20251
20252 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20253
20254         [BZ #14894]
20255         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20256         __ppc_mdoio and __ppc_mdoom.
20257         * manual/platform.texi: Document new functions __ppc_yield,
20258         __ppc_mdoio and __ppc_mdoom.
20259
20260 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20261
20262         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20263         (main): Mention "tls" pseudo-hwcap is legacy.
20264         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20265
20266 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20267
20268         * math/gen-libm-test.pl (parse_args): Output only string of
20269         arguments as text for test name, not full call or descriptions of
20270         tests for extra outputs.
20271         (generate_testfile): Do not pass function name to parse_args.
20272         Generate this_func variable from START.
20273         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20274         field to arg_str.
20275         (struct test_ff_f_data): Likewise.
20276         (test_ff_f_data_nexttoward): Likewise.
20277         (struct test_fi_f_data): Likewise.
20278         (struct test_fl_f_data): Likewise.
20279         (struct test_if_f_data): Likewise.
20280         (struct test_fff_f_data): Likewise.
20281         (struct test_c_f_data): Likewise.
20282         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20283         (struct test_fF_f1_data): Likewise.
20284         (struct test_ffI_f1_data): Likewise.
20285         (struct test_c_c_data): Rename test_name field to arg_str.
20286         (struct test_cc_c_data): Likewise.
20287         (struct test_f_i_data): Likewise.
20288         (struct test_ff_i_data): Likewise.
20289         (struct test_f_l_data): Likewise.
20290         (struct test_f_L_data): Likewise.
20291         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20292         and extra2_name.
20293         (COMMON_TEST_SETUP): New macro.
20294         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20295         (COMMON_TEST_CLEANUP): Likewise.
20296         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20297         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20298         macros.
20299         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20300         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20301         macros.
20302         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20303         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20304         cleanup macros.
20305         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20306         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20307         macros.
20308         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20309         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20310         macros.
20311         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20312         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20313         cleanup macros.
20314         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20315         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20316         cleanup macros.
20317         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20318         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20319         cleanup macros.
20320         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20321         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20322         macros.
20323         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20324         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20325         macros.
20326         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20327         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20328         macros.
20329         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20330         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20331         cleanup macros.
20332         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20333         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20334         cleanup macros.
20335         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20336         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20337         macros.
20338         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20339         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20340         cleanup macros.
20341         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20342         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20343         macros.
20344         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20345         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20346         macros.
20347         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20348         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20349         cleanup macros.
20350         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20351
20352 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20353
20354         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20355         to _sifields.sigfault.
20356         (si_addr_lsb): Define new macro.
20357         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20359         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20360
20361 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20362
20363         [BZ #15441]
20364         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20365         returns -1.
20366         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20367         null return -1.
20368         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20369         loading the domain.
20370
20371 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20372
20373         * math/gen-libm-test.pl (parse_args): Do not include expected
20374         result in test name.
20375         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20376         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20377         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20378         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20379         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20381
20382 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20383
20384         * benchtests/Makefile: Sort function entries.
20385
20386         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20387         tanh, asinh, acosh, atanh.
20388         * benchtests/acos-inputs: New file.
20389         * benchtests/acosh-inputs: New file.
20390         * benchtests/asin-inputs: New file.
20391         * benchtests/asinh-inputs: New file.
20392         * benchtests/atanh-inputs: New file.
20393         * benchtests/cosh-inputs: New file.
20394         * benchtests/log-inputs: New file.
20395         * benchtests/sinh-inputs: New file.
20396         * benchtests/tanh-inputs: New file.
20397
20398 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20399
20400         [BZ #15339]
20401         * posix/tst-getaddrinfo4.c: New test.
20402         * posix/Makefile (tests): Add it.
20403
20404 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20405
20406         [BZ #15339]
20407         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20408         when no services were used.
20409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20410         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20411
20412 2013-05-21  Andreas Schwab  <schwab@suse.de>
20413
20414         [BZ #15014]
20415         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20416         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20417         successful.
20418         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20419         redundant variable declarations and reallocation of buffer when
20420         parsing as IPv6 address.  Always set NSS status when called from
20421         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20422         buffer too small.  Correct computation of needed size.
20423         * nss/Makefile (tests): Add test-digits-dots.
20424         * nss/test-digits-dots.c: New test.
20425
20426 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20427
20428         * benchtests/Makefile: Remove instructions for adding
20429         benchmark tests.
20430         * benchtests/README: New file to explain how to execute and
20431         enhance the benchmark tests.
20432
20433 2013-05-21  Andreas Schwab  <schwab@suse.de>
20434
20435         [BZ #15493]
20436         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20437         * setjmp/tst-sigsetjmp.c: New test.
20438
20439 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20440
20441         * sysdeps/x86_64/memset.S (memset): New implementation.
20442         (__bzero): Likewise.
20443         (__memset_tail): New function.
20444
20445 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20446
20447         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20448         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20449         __memcpy_sse2_unaligned ifunc selection.
20450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20451         Add memcpy-sse2-unaligned.S.
20452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20453         Add: __memcpy_sse2_unaligned.
20454
20455 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20456
20457         [BZ #15490]
20458         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20459         math_force_eval before restoring floating-point envrionment.
20460         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20462         Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20464         <math_private.h>.
20465         (__nearbyintl): Use math_force_eval before restoring
20466         floating-point environment.
20467         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20468
20469         * math/gen-libm-test.pl (special_functions): Remove.
20470         (parse_args): Don't handle TEST_extra.  Handle functions with no
20471         return value.
20472         * math/libm-test.inc (struct test_sincos_data): Replace with
20473         struct test_fFF_11_data.
20474         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20475         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20476         (sincos_test_data): Change element type to struct
20477         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20478         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20479         RUN_TEST_LOOP_sincos.
20480         * math/README.libm-test: Don't mention special handling of
20481         individual functions.
20482         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20483         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20484         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20485         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20486         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20488
20489         * math/gen-libm-test.pl (get_variable): Remove function.
20490         (parse_args): Don't show pointer parameters to call in test
20491         names.  Use "extra output N" in test names for extra outputs
20492         rather than naming variables.
20493
20494 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20495
20496         [BZ #15488]
20497         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20498         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20499         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20500         double tests.
20501         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20502         disable.
20503         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20504         check_long_double.
20505
20506         * math/gen-libm-test.pl (@tests): Remove variable.
20507         ($count): Likewise.
20508         (new_test): Remove function.
20509         (show_exceptions): New function.
20510         (special_functions): Use show_exceptions instead of new_test.
20511         (parse_args): Likewise.
20512         (generate_testfile): Pass only function name in generated call to
20513         print_max_error or print_complex_max_error.
20514         (get_ulps): Do not handle complex tests specially.
20515         (output_test): Rename to ...
20516         (get_all_ulps_for_test): ... this.  Return a string rather than
20517         printing to a file.  Require ulps to be present.
20518         (output_ulps): Generate arrays rather than #defines.
20519         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20520         (struct ulp_data): New type.
20521         (BUILD_COMPLEX_ULP): Remove macro.
20522         (compare_ulp_data): New function.
20523         (find_ulps): Likewise.
20524         (find_test_ulps): Likewise.
20525         (find_function_ulps): Likewise.
20526         (find_complex_function_ulps): Likewise.
20527         (print_max_error): Determine allowed ulps using
20528         find_function_ulps.
20529         (print_complex_max_error): Determine allowed ulps using
20530         find_complex_function_ulps.
20531         (check_float_internal): Determine max ulps using find_test_ulps.
20532         (check_float): Do not take max_ulp parameter.  Update call to
20533         check_float_internal.
20534         (check_complex): Likewise.
20535         (check_int): Do not take max_ulp parameter.
20536         (check_long): Likewise.
20537         (check_bool): Likewise.
20538         (check_longlong): Likewise.
20539         (struct test_f_f_data): Remove max_ulp field.
20540         (struct test_ff_f_data): Likewise.
20541         (struct test_ff_f_data_nexttoward): Likewise.
20542         (struct test_fi_f_data): Likewise.
20543         (struct test_fl_f_data): Likewise.
20544         (struct test_if_f_data): Likewise.
20545         (struct test_fff_f_data): Likewise.
20546         (struct test_c_f_data): Likewise.
20547         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20548         (struct test_fF_f1_data): Likewise.
20549         (struct test_ffI_f1_data): Likewise.
20550         (struct test_c_c_data): Remove max_ulp field.
20551         (struct test_cc_c_data): Likewise.
20552         (struct test_f_i_data): Likewise.
20553         (struct test_ff_i_data): Likewise.
20554         (struct test_f_l_data): Likewise.
20555         (struct test_f_L_data): Likewise.
20556         (struct test_sincos_data): Likewise.
20557         (RUN_TEST_f_f): Do not handle ulps.
20558         (RUN_TEST_LOOP_f_f): Likewise.
20559         (RUN_TEST_2_f): Likewise.
20560         (RUN_TEST_LOOP_2_f): Likewise.
20561         (RUN_TEST_fff_f): Likewise.
20562         (RUN_TEST_LOOP_fff_f): Likewise.
20563         (RUN_TEST_c_f): Likewise.
20564         (RUN_TEST_LOOP_c_f): Likewise.
20565         (RUN_TEST_f_f1): Likewise.
20566         (RUN_TEST_LOOP_f_f1): Likewise.
20567         (RUN_TEST_fF_f1): Likewise.
20568         (RUN_TEST_LOOP_fF_f1): Likewise.
20569         (RUN_TEST_fI_f1): Likewise.
20570         (RUN_TEST_LOOP_fI_f1): Likewise.
20571         (RUN_TEST_ffI_f1): Likewise.
20572         (RUN_TEST_LOOP_ffI_f1): Likewise.
20573         (RUN_TEST_c_c): Likewise.
20574         (RUN_TEST_LOOP_c_c): Likewise.
20575         (RUN_TEST_cc_c): Likewise.
20576         (RUN_TEST_LOOP_cc_c): Likewise.
20577         (RUN_TEST_f_i): Likewise.
20578         (RUN_TEST_LOOP_f_i): Likewise.
20579         (RUN_TEST_f_i_tg): Likewise.
20580         (RUN_TEST_LOOP_f_i_tg): Likewise.
20581         (RUN_TEST_ff_i_tg): Likewise.
20582         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20583         (RUN_TEST_f_b): Likewise.
20584         (RUN_TEST_LOOP_f_b): Likewise.
20585         (RUN_TEST_f_b_tg): Likewise.
20586         (RUN_TEST_LOOP_f_b_tg): Likewise.
20587         (RUN_TEST_f_l): Likewise.
20588         (RUN_TEST_LOOP_f_l): Likewise.
20589         (RUN_TEST_f_L): Likewise.
20590         (RUN_TEST_LOOP_f_L): Likewise.
20591         (RUN_TEST_sincos): Likewise.
20592         (RUN_TEST_LOOP_sincos): Likewise.
20593
20594 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20595
20596         [BZ #15480]
20597         [BZ #15485]
20598         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20599         main case of finite arguments, set rounding mode to FE_TONEAREST
20600         and discard exceptions.
20601         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20602         exceptions.
20603         (remainder_tonearest_test_data): New variable.
20604         (remainder_test_tonearest): New function.
20605         (remainder_towardzero_test_data): New variable.
20606         (remainder_test_towardzero): New function.
20607         (remainder_downward_test_data): New variable.
20608         (remainder_test_downward): New function.
20609         (remainder_upward_test_data): New variable.
20610         (remainder_test_upward): New function.
20611         (main): Call the new test functions.
20612
20613         * math/libm-test.inc (struct test_f_f1_data): Remove field
20614         extra_init.
20615         (struct test_fF_f1_data): Likewise.
20616         (struct test_ffI_f1_data): Likewise.
20617         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20618         based on value of EXTRA_EXPECTED.
20619         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20620         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20621         EXTRA_VAR based on value of EXTRA_EXPECTED.
20622         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20623         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20624         EXTRA_VAR based on value of EXTRA_EXPECTED.
20625         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20626         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20627         EXTRA_VAR based on value of EXTRA_EXPECTED.
20628         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20629         * math/gen-libm-test.pl (parse_args): Don't output initializers
20630         for extra output values.
20631
20632         * math/libm-test.inc (check_int): Expect result to be exactly
20633         equal to expected value and do not handle ulps.
20634         (check_long): Likewise.
20635         (check_longlong): Likewise.
20636
20637         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20638         exceptions.
20639         (cimag_test_data): Likewise.
20640         (conj_test_data): Likewise.
20641         (copysign_test_data): Likewise.
20642         (cproj_test_data): Likewise.
20643         (creal_test_data): Likewise.
20644         (fabs_test_data): Likewise.
20645         (fdim_test_data): Likewise.
20646         (finite_test_data): Likewise.
20647         (floor_test_data): Likewise.
20648         (fmax_test_data): Likewise.
20649         (fmin_test_data): Likewise.
20650         (fmod_test_data): Likewise.
20651         (fpclassify_test_data): Likewise.
20652         (frexp_test_data): Likewise.
20653         (ilogb_test_data): Likewise.
20654         (isfinite_test_data): Likewise.
20655         (isgreater_test_data): Likewise.
20656         (isgreaterequal_test_data): Likewise.
20657         (isinf_test_data): Likewise.
20658         (isless_test_data): Likewise.
20659         (islessequal_test_data): Likewise.
20660         (islessgreater_test_data): Likewise.
20661         (isnan_test_data): Likewise.
20662         (isnormal_test_data): Likewise.
20663         (issignaling_test_data): Likewise.
20664         (isunordered_test_data): Likewise.
20665         (ldexp_test_data): Likewise.
20666         (lrint_test_data): Likewise.
20667         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20668         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20669         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20670         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20671         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20672         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20673         test input.
20674         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20675         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20676         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20677         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20678         that test input.
20679         (lrint_downward_test_data): Test for "inexact" exceptions.
20680         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20681         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20682         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20683         test input.
20684         (lrint_upward_test_data): Test for "inexact" exceptions.
20685         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20686         test input.
20687         (llrint_test_data): Test for "inexact" exceptions.
20688         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20689         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20690         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20691         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20692         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20693         (llrint_downward_test_data): Test for "inexact" exceptions.
20694         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20695         (llrint_upward_test_data): Test for "inexact" exceptions.
20696         (logb_test_data): Likewise.
20697         (logb_downward_test_data): Likewise.
20698         (nextafter_test_data): Likewise.
20699         (nexttoward_test_data): Likewise.
20700         (remainder_test_data): Likewise.
20701         (remquo_test_data): Likewise.
20702         (scalbn_test_data): Likewise.
20703         (scalbln_test_data): Likewise.
20704         (signbit_test_data): Likewise.
20705         (sqrt_test_data): Likewise.
20706         (significand_test_data): Likewise.
20707
20708 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20709
20710         [BZ #15424]
20711         * benchtests/bench-modf.c (struct args): Mark arg0 as
20712         volatile.
20713         * scripts/bench.pl: Mark members of struct args as volatile.
20714
20715 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20716
20717         [BZ # 15497]
20718         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20719         negative infinity on POWER6 or lower.
20720         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20721
20722 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20723
20724         [BZ #15442]
20725         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20726         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20727         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20728         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20729         (_FP_SETQNAN): New macro.
20730         (_FP_SETQNAN_SEMIRAW): Likewise.
20731         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20732         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20733         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20734         (FP_EXTEND): Use _FP_FRAC_SNANP.
20735         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20736         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20737         into account.
20738         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20739         New macro.
20740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20741         Likewise.
20742
20743 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20744
20745         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20746         with DIVIDE_BY_ZERO_EXCEPTION.
20747         (gamma_test_data): Likewise.
20748         (lgamma_test_data): Likewise.
20749         (log_test_data): Likewise.
20750         (log10_test_data): Likewise.
20751         (log2_test_data): Likewise.
20752         (tgamma_test_data): Likewise.
20753
20754         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20755         (acos_test_tonearest): Likewise.
20756         (acos_test_towardzero): Likewise.
20757         (acos_test_downward): Likewise.
20758         (acos_test_upward): Likewise.
20759         (acosh_test): Likewise.
20760         (asin_test): Likewise.
20761         (asin_test_tonearest): Likewise.
20762         (asin_test_towardzero): Likewise.
20763         (asin_test_downward): Likewise.
20764         (asin_test_upward): Likewise.
20765         (asinh_test): Likewise.
20766         (atan_test): Likewise.
20767         (atanh_test): Likewise.
20768         (atan2_test): Likewise.
20769         (cabs_test): Likewise.
20770         (cacos_test): Likewise.
20771         (cacosh_test): Likewise.
20772         (casin_test): Likewise.
20773         (casinh_test): Likewise.
20774         (catan_test): Likewise.
20775         (catanh_test): Likewise.
20776         (cbrt_test): Likewise.
20777         (ccos_test): Likewise.
20778         (ccosh_test): Likewise.
20779         (cexp_test): Likewise.
20780         (clog_test): Likewise.
20781         (clog10_test): Likewise.
20782         (cos_test): Likewise.
20783         (cos_test_tonearest): Likewise.
20784         (cos_test_towardzero): Likewise.
20785         (cos_test_downward): Likewise.
20786         (cos_test_upward): Likewise.
20787         (cosh_test): Likewise.
20788         (cosh_test_tonearest): Likewise.
20789         (cosh_test_towardzero): Likewise.
20790         (cosh_test_downward): Likewise.
20791         (cosh_test_upward): Likewise.
20792         (cpow_test): Likewise.
20793         (csin_test): Likewise.
20794         (csinh_test): Likewise.
20795         (csqrt_test): Likewise.
20796         (ctan_test): Likewise.
20797         (ctan_test_tonearest): Likewise.
20798         (ctan_test_towardzero): Likewise.
20799         (ctan_test_downward): Likewise.
20800         (ctan_test_upward): Likewise.
20801         (ctanh_test): Likewise.
20802         (ctanh_test_tonearest): Likewise.
20803         (ctanh_test_towardzero): Likewise.
20804         (ctanh_test_downward): Likewise.
20805         (ctanh_test_upward): Likewise.
20806         (erf_test): Likewise.
20807         (erfc_test): Likewise.
20808         (exp_test): Likewise.
20809         (exp_test_tonearest): Likewise.
20810         (exp_test_towardzero): Likewise.
20811         (exp_test_downward): Likewise.
20812         (exp_test_upward): Likewise.
20813         (exp10_test): Likewise.
20814         (exp2_test): Likewise.
20815         (expm1_test): Likewise.
20816         (fmod_test): Likewise.
20817         (gamma_test): Likewise.
20818         (hypot_test): Likewise.
20819         (j0_test): Likewise.
20820         (j1_test): Likewise.
20821         (jn_test): Likewise.
20822         (lgamma_test): Likewise.
20823         (log_test): Likewise.
20824         (log10_test): Likewise.
20825         (log1p_test): Likewise.
20826         (log2_test): Likewise.
20827         (logb_test_downward): Likewise.
20828         (pow_test): Likewise.
20829         (pow_test_tonearest): Likewise.
20830         (pow_test_towardzero): Likewise.
20831         (pow_test_downward): Likewise.
20832         (pow_test_upward): Likewise.
20833         (remainder_test): Likewise.
20834         (remquo_test): Likewise.
20835         (sin_test): Likewise.
20836         (sin_test_tonearest): Likewise.
20837         (sin_test_towardzero): Likewise.
20838         (sin_test_downward): Likewise.
20839         (sin_test_upward): Likewise.
20840         (sincos_test): Likewise.
20841         (sinh_test): Likewise.
20842         (sinh_test_tonearest): Likewise.
20843         (sinh_test_towardzero): Likewise.
20844         (sinh_test_downward): Likewise.
20845         (sinh_test_upward): Likewise.
20846         (sqrt_test): Likewise.
20847         (tan_test): Likewise.
20848         (tan_test_tonearest): Likewise.
20849         (tan_test_towardzero): Likewise.
20850         (tan_test_downward): Likewise.
20851         (tan_test_upward): Likewise.
20852         (tanh_test): Likewise.
20853         (tgamma_test): Likewise.
20854         (y0_test): Likewise.
20855         (y1_test): Likewise.
20856         (yn_test): Likewise.
20857
20858         * math/gen-libm-test.pl (adjust_arg): Remove function.
20859         (special_function): Remove argument $in_func.  Only handle
20860         generating output for tables of tests, not inside functions.
20861         (parse_args): Likewise.
20862         (generate_testfile): Remove variable $in_func.  Update call to
20863         parse_args.
20864         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20865         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20866         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20867         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20868         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20869         (MAX_VALUE_INIT): Rename macro to max_value.
20870         (MIN_VALUE_INIT): Rename macro to min_value.
20871         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20872         (plus_zero): Remove variable.
20873         (minus_zero): Likewise.
20874         (plus_infty): Likewise.
20875         (minus_infty): Likewise.
20876         (qnan_value): Likewise.
20877         (max_value): Likewise.
20878         (min_value): Likewise.
20879         (min_subnorm_value): Likewise.
20880
20881 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20882
20883         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20884         uint64_t or uint32_t usage.
20885         * crypt/sha256-block.c: Likewise.
20886         * crypt/sha256-crypt.c: Likewise.
20887         * crypt/sha256.c: Likewise.
20888         * crypt/sha512-block.c: Likewise.
20889         * crypt/sha512-crypt.c: Likewise.
20890         * crypt/sha512.c: Likewise.
20891         * debug/backtrace-tst.c: Likewise.
20892         * debug/pcprofiledump.c: Likewise.
20893         * elf/cache.c: Likewise.
20894         * elf/dl-cache.c: Likewise.
20895         * elf/dl-misc.c: Likewise.
20896         * elf/dl-profile.c: Likewise.
20897         * elf/dl-support.c: Likewise.
20898         * elf/ldconfig.c: Likewise.
20899         * elf/sprof.c: Likewise.
20900         * iconv/dummy-repertoire.c: Likewise.
20901         * iconv/iconv_charmap.c: Likewise.
20902         * iconv/skeleton.c: Likewise.
20903         * iconvdata/8bit-generic.c: Likewise.
20904         * iconvdata/cp737.h: Likewise.
20905         * iconvdata/cp775.h: Likewise.
20906         * iconvdata/ibm1008.h: Likewise.
20907         * iconvdata/ibm1025.h: Likewise.
20908         * iconvdata/ibm1046.h: Likewise.
20909         * iconvdata/ibm1097.h: Likewise.
20910         * iconvdata/ibm1112.h: Likewise.
20911         * iconvdata/ibm1122.h: Likewise.
20912         * iconvdata/ibm1123.h: Likewise.
20913         * iconvdata/ibm1124.h: Likewise.
20914         * iconvdata/ibm1129.h: Likewise.
20915         * iconvdata/ibm1130.h: Likewise.
20916         * iconvdata/ibm1132.h: Likewise.
20917         * iconvdata/ibm1133.h: Likewise.
20918         * iconvdata/ibm1137.h: Likewise.
20919         * iconvdata/ibm1140.h: Likewise.
20920         * iconvdata/ibm1141.h: Likewise.
20921         * iconvdata/ibm1142.h: Likewise.
20922         * iconvdata/ibm1143.h: Likewise.
20923         * iconvdata/ibm1144.h: Likewise.
20924         * iconvdata/ibm1145.h: Likewise.
20925         * iconvdata/ibm1146.h: Likewise.
20926         * iconvdata/ibm1147.h: Likewise.
20927         * iconvdata/ibm1148.h: Likewise.
20928         * iconvdata/ibm1149.h: Likewise.
20929         * iconvdata/ibm1153.h: Likewise.
20930         * iconvdata/ibm1154.h: Likewise.
20931         * iconvdata/ibm1155.h: Likewise.
20932         * iconvdata/ibm1156.h: Likewise.
20933         * iconvdata/ibm1157.h: Likewise.
20934         * iconvdata/ibm1158.h: Likewise.
20935         * iconvdata/ibm1160.h: Likewise.
20936         * iconvdata/ibm1161.h: Likewise.
20937         * iconvdata/ibm1162.h: Likewise.
20938         * iconvdata/ibm1163.h: Likewise.
20939         * iconvdata/ibm1164.h: Likewise.
20940         * iconvdata/ibm1166.h: Likewise.
20941         * iconvdata/ibm1167.h: Likewise.
20942         * iconvdata/ibm12712.h: Likewise.
20943         * iconvdata/ibm1390.h: Likewise.
20944         * iconvdata/ibm1399.h: Likewise.
20945         * iconvdata/ibm16804.h: Likewise.
20946         * iconvdata/ibm4517.h: Likewise.
20947         * iconvdata/ibm4899.h: Likewise.
20948         * iconvdata/ibm4909.h: Likewise.
20949         * iconvdata/ibm4971.h: Likewise.
20950         * iconvdata/ibm5347.h: Likewise.
20951         * iconvdata/ibm803.h: Likewise.
20952         * iconvdata/ibm856.h: Likewise.
20953         * iconvdata/ibm901.h: Likewise.
20954         * iconvdata/ibm902.h: Likewise.
20955         * iconvdata/ibm9030.h: Likewise.
20956         * iconvdata/ibm9066.h: Likewise.
20957         * iconvdata/ibm921.h: Likewise.
20958         * iconvdata/ibm922.h: Likewise.
20959         * iconvdata/ibm9448.h: Likewise.
20960         * iconvdata/isiri-3342.h: Likewise.
20961         * iconvdata/jis0201.h: Likewise.
20962         * include/link.h: Likewise.
20963         * include/netdb.h: Likewise.
20964         * inet/check_native.c: Likewise.
20965         * inet/check_pf.c: Likewise.
20966         * inet/getipv4sourcefilter.c: Likewise.
20967         * inet/getnameinfo.c: Likewise.
20968         * inet/getsourcefilter.c: Likewise.
20969         * inet/htonl.c: Likewise.
20970         * inet/setipv4sourcefilter.c: Likewise.
20971         * inet/setsourcefilter.c: Likewise.
20972         * inet/test-inet6_opt.c: Likewise.
20973         * inet/tst-network.c: Likewise.
20974         * locale/C-collate.c: Likewise.
20975         * locale/C-ctype.c: Likewise.
20976         * locale/C-time.c: Likewise.
20977         * locale/C-translit.h: Likewise.
20978         * locale/loadarchive.c: Likewise.
20979         * locale/programs/3level.h: Likewise.
20980         * locale/programs/charmap.c: Likewise.
20981         * locale/programs/charmap.h: Likewise.
20982         * locale/programs/ld-address.c: Likewise.
20983         * locale/programs/ld-collate.c: Likewise.
20984         * locale/programs/ld-ctype.c: Likewise.
20985         * locale/programs/ld-identification.c: Likewise.
20986         * locale/programs/ld-measurement.c: Likewise.
20987         * locale/programs/ld-messages.c: Likewise.
20988         * locale/programs/ld-monetary.c: Likewise.
20989         * locale/programs/ld-name.c: Likewise.
20990         * locale/programs/ld-numeric.c: Likewise.
20991         * locale/programs/ld-paper.c: Likewise.
20992         * locale/programs/ld-telephone.c: Likewise.
20993         * locale/programs/ld-time.c: Likewise.
20994         * locale/programs/linereader.c: Likewise.
20995         * locale/programs/locale.c: Likewise.
20996         * locale/programs/locarchive.c: Likewise.
20997         * locale/programs/locfile.h: Likewise.
20998         * locale/programs/repertoire.c: Likewise.
20999         * locale/programs/simple-hash.c: Likewise.
21000         * locale/programs/simple-hash.h: Likewise.
21001         * malloc/memusage.c: Likewise.
21002         * malloc/memusagestat.c: Likewise.
21003         * nis/nis_defaults.c: Likewise.
21004         * nis/nis_hash.c: Likewise.
21005         * nis/nis_print.c: Likewise.
21006         * nis/nis_xdr.c: Likewise.
21007         * nscd/connections.c: Likewise.
21008         * nscd/hstcache.c: Likewise.
21009         * nscd/nscd_gethst_r.c: Likewise.
21010         * nscd/nscd_getserv_r.c: Likewise.
21011         * nscd/nscd_helper.c: Likewise.
21012         * nscd/servicescache.c: Likewise.
21013         * nss/makedb.c: Likewise.
21014         * nss/nss_db/db-XXX.c: Likewise.
21015         * nss/nss_db/db-initgroups.c: Likewise.
21016         * nss/nss_db/db-netgrp.c: Likewise.
21017         * nss/nss_files/files-network.c: Likewise.
21018         * nss/nss_files/files-parse.c: Likewise.
21019         * posix/bug-regex5.c: Likewise.
21020         * posix/fnmatch_loop.c: Likewise.
21021         * posix/regcomp.c: Likewise.
21022         * posix/regexec.c: Likewise.
21023         * posix/tst-rfc3484-2.c: Likewise.
21024         * posix/tst-rfc3484-3.c: Likewise.
21025         * posix/tst-rfc3484.c: Likewise.
21026         * resolv/nss_dns/dns-canon.c: Likewise.
21027         * resolv/nss_dns/dns-network.c: Likewise.
21028         * resolv/res_init.c: Likewise.
21029         * resolv/res_mkquery.c: Likewise.
21030         * resolv/tst-aton.c: Likewise.
21031         * stdlib/cxa_atexit.c: Likewise.
21032         * stdlib/cxa_finalize.c: Likewise.
21033         * stdlib/gen-fpioconst.c: Likewise.
21034         * stdlib/strtol_l.c: Likewise.
21035         * string/tst-endian.c: Likewise.
21036         * sunrpc/auth_des.c: Likewise.
21037         * sunrpc/clnt_udp.c: Likewise.
21038         * sunrpc/rtime.c: Likewise.
21039         * sunrpc/svcauth_des.c: Likewise.
21040         * sunrpc/xdr.c: Likewise.
21041         * sunrpc/xdr_intXX_t.c: Likewise.
21042         * sunrpc/xdr_rec.c: Likewise.
21043         * sysdeps/generic/ldconfig.h: Likewise.
21044         * sysdeps/generic/ldsodefs.h: Likewise.
21045         * sysdeps/generic/memusage.h: Likewise.
21046         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21047         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21048         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21049         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21050         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21051         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21052         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21053         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21054         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21056         * sysdeps/posix/getaddrinfo.c: Likewise.
21057         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21059         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21060         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21061         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21062         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21063         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21064         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21065         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21066         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21067         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21068         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21069         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21070         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21071         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21072         * sysdeps/x86_64/dl-tls.h: Likewise.
21073         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21074         * time/alt_digit.c: Likewise.
21075         * time/era.c: Likewise.
21076         * wcsmbs/tst-c16c32-1.c: Likewise.
21077
21078 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21079
21080         * math/libm-test.inc (struct test_sincos_data): New type.
21081         (RUN_TEST_LOOP_sincos): New macro.
21082         (sincos_test_data): New variable.
21083         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21084
21085 2013-05-16  Richard Henderson  <rth@redhat.com>
21086
21087         * math/atest-exp2.c (LIMB64): New macro.
21088         (CONSTSZ): New macro.
21089         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21090         (hexdig): Move ...
21091         (print_mpn_fp): ... to function scope.
21092         (read_mpn_hex): Remove.
21093         (get_log2): Remove.
21094         (exp2_mpn): Use mp_log2.
21095         (main): Use mp_exp1.
21096
21097 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21098
21099         * math/libm-test.inc: Remove comment about not testing "inexact"
21100         exceptions.
21101         (INEXACT_EXCEPTION): New macro.
21102         (NO_INEXACT_EXCEPTION): Likewise.
21103         (INVALID_EXCEPTION_OK): Update value.
21104         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21105         (OVERFLOW_EXCEPTION_OK): Likewise.
21106         (UNDERFLOW_EXCEPTION_OK): Likewise.
21107         (IGNORE_ZERO_INF_SIGN): Likewise.
21108         (ERRNO_UNCHANGED): Likewise.
21109         (ERRNO_EDOM): Likewise.
21110         (ERRNO_ERANGE): Likewise.
21111         (test_exceptions): Handle testing "inexact" exceptions.
21112         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21113         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21114         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21115         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21116         INEXACT_EXCEPTION.
21117         (rint_towardzero_test_data): Likewise.
21118         (rint_downward_test_data): Likewise.
21119         (rint_upward_test_data): Likewise.
21120
21121         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21122         with OVERFLOW_EXCEPTION.
21123         (exp10_test_data): Likewise.
21124         (exp2_test_data): Likewise.
21125         (expm1_test_data): Likewise.
21126         (lgamma_test_data): Likewise.
21127         (pow_test_data): Likewise.
21128         (tgamma_test_data): Likewise.
21129         (yn_test_data): Remove duplicate test of overflow.
21130
21131         * math/libm-test.inc (struct test_cc_c_data): New type.
21132         (RUN_TEST_LOOP_cc_c): New macro.
21133         (cpow_test_data): New variable.
21134         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21135
21136         * math/libm-test.inc (struct test_f_L_data): New type.
21137         (RUN_TEST_LOOP_f_L): New macro.
21138         (llrint_test_data): New variable.
21139         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21140         (llrint_tonearest_test_data): New variable.
21141         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21142         (llrint_towardzero_test_data): New variable.
21143         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21144         (llrint_downward_test_data): New variable.
21145         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21146         (llrint_upward_test_data): New variable.
21147         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21148         (llround_test_data): New variable.
21149         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21150
21151 2013-05-13  Peter Collingbourne  <pcc@google.com>
21152
21153         * math/atest-exp2.c (get_log2): Remove const attribute.
21154
21155 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21156
21157         * math/libm-test.inc (struct test_f_l_data): New type.
21158         (RUN_TEST_LOOP_f_l): New macro.
21159         (lrint_test_data): New variable.
21160         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21161         (lrint_tonearest_test_data): New variable.
21162         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21163         (lrint_towardzero_test_data): New variable.
21164         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21165         (lrint_downward_test_data): New variable.
21166         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21167         (lrint_upward_test_data): New variable.
21168         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21169         (lround_test_data): New variable.
21170         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21171
21172 2013-05-15  Peter Collingbourne  <pcc@google.com>
21173
21174         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21175         (EXTRACT_WORDS64) Use where appropriate.
21176         (INSERT_WORDS64) Likewise.
21177
21178         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21179         constraints with x constraints.
21180         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21181
21182         * malloc/obstack.c (_obstack_compat): Add initializer.
21183
21184 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21185
21186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21187         si_trapno and add si_addr_lsb to _sifields.sigfault.
21188         (si_trapno): Remove macro.
21189         (si_addr_lsb): Define new macro.
21190         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21191
21192 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21193
21194         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21195         instead of TEST_f_l.
21196         (llrint_test_tonearest): Likewise.
21197         (llrint_test_towardzero): Likewise.
21198         (llrint_test_downward): Likewise.
21199         (llrint_test_upward): Likewise.
21200         (llround_test): Likewise.
21201
21202         * math/libm-test.inc (struct test_f_i_data): Add comment.
21203         (RUN_TEST_LOOP_f_b): New macro.
21204         (RUN_TEST_LOOP_f_b_tg): Likewise.
21205         (finite_test_data): New variable.
21206         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21207         (isfinite_test_data): New variable.
21208         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21209         (isinf_test_data): New variable.
21210         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21211         (isnan_test_data): New variable.
21212         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21213         (isnormal_test_data): New variable.
21214         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21215         (issignaling_test_data): New variable.
21216         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21217         (signbit_test_data): New variable.
21218         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21219
21220         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21221         with INVALID_EXCEPTION.
21222         (acosh_test_data): Likewise.
21223         (asin_test_data): Likewise.
21224         (atanh_test_data): Likewise.
21225         (fmod_test_data): Likewise.
21226         (log_test_data): Likewise.
21227         (log10_test_data): Likewise.
21228         (log2_test_data): Likewise.
21229         (pow_test_data): Likewise.
21230         (sqrt_test_data): Likewise.
21231         (y0_test_data): Likewise.
21232         (y1_test_data): Likewise.
21233         (yn_test_data): Likewise.
21234
21235         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21236         function contents.
21237
21238         * math/libm-test.inc (struct test_ff_i_data): New type.
21239         (RUN_TEST_LOOP_ff_i_tg): New macro.
21240         (isgreater_test_data): New variable.
21241         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21242         (isgreaterequal_test_data): New variable.
21243         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21244         (isless_test_data): New variable.
21245         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21246         (islessequal_test_data): New variable.
21247         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21248         (islessgreater_test_data): New variable.
21249         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21250         (isunordered_test_data): New variable.
21251         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21252
21253 2013-05-14  David S. Miller  <davem@davemloft.net>
21254
21255         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21256
21257 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21258
21259         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21260
21261         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21262         extra_test to int.
21263         (struct test_f_i_data): Change type of max_ulp to int.
21264
21265         * math/libm-test.inc (test_ffI_f1_data): New type.
21266         (RUN_TEST_LOOP_ffI_f1): New macro.
21267         (remquo_test_data): New variable.
21268         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21269
21270         * setjmp/tst-setjmp-fp.c: New file.
21271         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21272         (link-libm): New variable.
21273         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21274
21275         * math/libm-test.inc (struct test_f_i_data): New type.
21276         (RUN_TEST_LOOP_f_i): New macro.
21277         (RUN_TEST_LOOP_f_i_tg): Likewise.
21278         (fpclassify_test_data): New variable.
21279         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21280         (ilogb_test_data): New variable.
21281         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21282
21283         * math/libm-test.inc (scalbln_test): Correct function name in END
21284         call.
21285
21286         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21287         (RUN_TEST_LOOP_fI_f1): New macro.
21288         (frexp_test_data): New variable.
21289         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21290
21291         * math/libm-test.inc (struct test_fF_f1_data): New type.
21292         (RUN_TEST_LOOP_fF_f1): New macro.
21293         (modf_test_data): New variable.
21294         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21295
21296         * math/libm-test.inc (struct test_f_f1_data): New type.
21297         (RUN_TEST_LOOP_f_f1): New macro.
21298         (gamma_test_data): New variable.
21299         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21300         (lgamma_test_data): New variable.
21301         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21302
21303 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21304
21305         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21306         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21307         (main): Comment "tls" pseudo-hwcap.
21308
21309 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21310
21311         * math/libm-test.inc (struct test_fl_f_data): New type.
21312         (RUN_TEST_LOOP_fl_f): New variable.
21313         (scalbln_test_data): New variable.
21314         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21315
21316         * math/libm-test.inc (struct test_fi_f_data): New type.
21317         (RUN_TEST_LOOP_fi_f): New macro.
21318         (ldexp_test_data): New variable.
21319         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21320         (scalbn_test_data): New variable.
21321         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21322
21323         * math/libm-test.inc (struct test_c_f_data): New type.
21324         (RUN_TEST_LOOP_c_f): New macro.
21325         (cabs_test_data): New variable.
21326         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21327         (carg_test_data): New variable.
21328         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21329         (cimag_test_data): New variable.
21330         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21331         (creal_test_data): New variable.
21332         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21333
21334         * math/libm-test.inc (struct test_if_f_data): New type.
21335         (RUN_TEST_LOOP_if_f): New macro.
21336         (jn_test_data): New variable.
21337         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21338         (yn_test_data): New variable.
21339         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21340
21341         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21342
21343 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21344
21345         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21346         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21347
21348 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21349
21350         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21351         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21352         (bench-deps): Add bench-timing.h.
21353         * benchtests-bench-skeleton.c: Include bench-timing.h.
21354         (main): Use TIMING_* macros instead of clock_gettime.
21355         * benchtests/bench-timing.h: New file.
21356
21357         [BZ #14582]
21358         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21359         Renamed from _LIB_VERSION.
21360         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21361
21362 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21363
21364         * math/libm-test.inc (struct test_fff_f_data): New type.
21365         (RUN_TEST_LOOP_fff_f): New macro.
21366         (fma_test_data): New variable.
21367         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21368         (fma_towardzero_test_data): New variable.
21369         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21370         (fma_downward_test_data): New variable.
21371         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21372         (fma_upward_test_data): New variable.
21373         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21374
21375         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21376         (struct test_c_c_data): New type.
21377         (RUN_TEST_LOOP_c_c): New macro.
21378         (cacos_test_data): New variable.
21379         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21380         (cacosh_test_data): New variable.
21381         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21382         (casin_test_data): New variable.
21383         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21384         (casinh_test_data): New variable.
21385         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21386         (catan_test_data): New variable.
21387         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21388         (catanh_test_data): New variable.
21389         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21390         (ccos_test_data): New variable.
21391         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21392         (ccosh_test_data): New variable.
21393         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21394         (cexp_test_data): New variable.
21395         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21396         (clog_test_data): New variable.
21397         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21398         (clog10_test_data): New variable.
21399         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21400         (conj_test_data): New variable.
21401         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21402         (cproj_test_data): New variable.
21403         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21404         (csin_test_data): New variable.
21405         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21406         (csinh_test_data): New variable.
21407         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21408         (csqrt_test_data): New variable.
21409         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21410         (ctan_test_data): New variable.
21411         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21412         (ctan_tonearest_test_data): New variable.
21413         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21414         (ctan_towardzero_test_data): New variable.
21415         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21416         (ctan_downward_test_data): New variable.
21417         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21418         (ctan_upward_test_data): New variable.
21419         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21420         (ctanh_test_data): New variable.
21421         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21422         (ctanh_tonearest_test_data): New variable.
21423         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21424         (ctanh_towardzero_test_data): New variable.
21425         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21426         (ctanh_downward_test_data): New variable.
21427         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21428         (ctanh_upward_test_data): New variable.
21429         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21430         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21431         of BUILD_COMPLEX.
21432
21433         * math/libm-test.inc (struct test_ff_f_data): New type.
21434         (struct test_ff_f_data_nexttoward): Likewise.
21435         (RUN_TEST_LOOP_2_f): New macro.
21436         (RUN_TEST_LOOP_ff_f): Likewise.
21437         (atan2_test_data): New variable.
21438         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21439         (copysign_test_data): New variable.
21440         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21441         (fdim_test_data): New variable.
21442         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21443         (fmax_test_data): New variable.
21444         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21445         (fmin_test_data): New variable.
21446         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21447         (fmod_test_data): New variable.
21448         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21449         (hypot_test_data): New variable.
21450         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21451         (nextafter_test_data): New variable.
21452         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21453         (nexttoward_test_data): New variable.
21454         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21455         (pow_test_data): New variable.
21456         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21457         (pow_tonearest_test_data): New variable.
21458         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21459         (pow_towardzero_test_data): New variable.
21460         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21461         (pow_downward_test_data): New variable.
21462         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21463         (pow_upward_test_data): New variable.
21464         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21465         (remainder_test_data): New variable.
21466         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21467         (scalb_test_data): New variable.
21468         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21469         * sysdeps/i386/fpu/libm-test-ulps: Update.
21470
21471 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21472
21473         * math/libm-test.inc (fma_test): Use max_value instead of local
21474         variable fltmax.
21475         (nextafter_test): Likewise.
21476
21477         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21478         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21479         (acos_downward_test_data): New variable.
21480         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21481         (acos_upward_test_data): New variable.
21482         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21483         (acosh_test_data): New variable.
21484         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21485         (asin_test_data): New variable.
21486         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21487         (asin_tonearest_test_data): New variable.
21488         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21489         (asin_towardzero_test_data): New variable.
21490         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21491         (asin_downward_test_data): New variable.
21492         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21493         (asin_upward_test_data): New variable.
21494         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21495         (asinh_test_data): New variable.
21496         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21497         (atan_test_data): New variable.
21498         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21499         (atanh_test_data): New variable.
21500         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21501         (cbrt_test_data): New variable.
21502         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21503         (ceil_test_data): New variable.
21504         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21505         (cos_test_data): New variable.
21506         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21507         (cos_tonearest_test_data): New variable.
21508         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21509         (cos_towardzero_test_data): New variable.
21510         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21511         (cos_downward_test_data): New variable.
21512         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21513         (cos_upward_test_data): New variable.
21514         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21515         (cosh_test_data): New variable.
21516         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21517         (cosh_tonearest_test_data): New variable.
21518         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21519         (cosh_towardzero_test_data): New variable.
21520         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21521         (cosh_downward_test_data): New variable.
21522         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21523         (cosh_upward_test_data): New variable.
21524         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21525         (erf_test_data): New variable.
21526         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21527         (erfc_test_data): New variable.
21528         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21529         (exp_test_data): New variable.
21530         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21531         (exp_tonearest_test_data): New variable.
21532         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21533         (exp_towardzero_test_data): New variable.
21534         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21535         (exp_downward_test_data): New variable.
21536         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21537         (exp_upward_test_data): New variable.
21538         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21539         (exp10_test_data): New variable.
21540         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21541         (exp2_test_data): New variable.
21542         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21543         (expm1_test_data): New variable.
21544         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21545         (fabs_test_data): New variable.
21546         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21547         (floor_test_data): New variable.
21548         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21549         (j0_test_data): New variable.
21550         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21551         (j1_test_data): New variable.
21552         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21553         (log_test_data): New variable.
21554         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21555         (log10_test_data): New variable.
21556         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21557         (log1p_test_data): New variable.
21558         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21559         (log2_test_data): New variable.
21560         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21561         (logb_test_data): New variable.
21562         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21563         (logb_downward_test_data): New variable.
21564         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21565         (nearbyint_test_data): New variable.
21566         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21567         (rint_test_data): New variable.
21568         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21569         (rint_tonearest_test_data): New variable.
21570         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21571         (rint_towardzero_test_data): New variable.
21572         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21573         (rint_downward_test_data): New variable.
21574         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21575         (rint_upward_test_data): New variable.
21576         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21577         (round_test_data): New variable.
21578         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21579         (sin_test_data): New variable.
21580         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21581         (sin_tonearest_test_data): New variable.
21582         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21583         (sin_towardzero_test_data): New variable.
21584         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21585         (sin_downward_test_data): New variable.
21586         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21587         (sin_upward_test_data): New variable.
21588         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21589         (sinh_test_data): New variable.
21590         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21591         (sinh_tonearest_test_data): New variable.
21592         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21593         (sinh_towardzero_test_data): New variable.
21594         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21595         (sinh_downward_test_data): New variable.
21596         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21597         (sinh_upward_test_data): New variable.
21598         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21599         (sqrt_test_data): New variable.
21600         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21601         (tan_test_data): New variable.
21602         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21603         (tan_tonearest_test_data): New variable.
21604         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21605         (tan_towardzero_test_data): New variable.
21606         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21607         (tan_downward_test_data): New variable.
21608         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21609         (tan_upward_test_data): New variable.
21610         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21611         (tanh_test_data): New variable.
21612         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21613         (tgamma_test_data): New variable.
21614         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21615         (trunc_test_data): New variable.
21616         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21617         (y0_test_data): New variable.
21618         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21619         (y1_test_data): New variable.
21620         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21621         (significand_test_data): New variable.
21622         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21623
21624 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21625
21626         [BZ #12387]
21627         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21628
21629 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21630
21631         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21632
21633 2013-05-10  Andreas Jaeger  <aj@suse.de>
21634
21635         [BZ #15448]
21636         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21637         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21638
21639 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21640
21641         * math/gen-libm-test.pl (adjust_arg): New function.
21642         (special_functions): Handle generating output in both functions
21643         and arrays.
21644         (parse_args): Likewise.
21645         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21646         $in_func argument to parse_args.
21647         * math/libm-test.inc (struct test_f_f_data): New type.
21648         (IF_ROUND_INIT_): New macro.
21649         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21650         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21651         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21652         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21653         (ROUND_RESTORE_): Likewise.
21654         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21655         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21656         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21657         (ROUND_RESTORE_FE_UPWARD): Likewise.
21658         (RUN_TEST_LOOP_f_f): New macro.
21659         (acos_test_data): New variable.
21660         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21661         (acos_tonearest_test_data): New variable.
21662         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21663
21664 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21665
21666         * benchtests/bench-skeleton.c (startup): Fix coding style.
21667
21668 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21669
21670         [BZ #6809]
21671         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21672         negative infinity argument.
21673         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21674         negative infinity argument.
21675         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21676         negative infinity argument.
21677         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21678         domain errors.
21679
21680 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21681
21682         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21683         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21684         * iconv/iconv_prog.c (main): Likewise.
21685         * locale/programs/charmap-dir.c (charmap_readdir)
21686         (fopen_uncompressed): Likewise.
21687         * locale/programs/locfile.c (siblings_uncached)
21688         (write_locale_data): Use lstat64 instead of lstat.
21689         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21690         stat.
21691
21692 2013-05-10  Andreas Jaeger  <aj@suse.de>
21693
21694         [BZ #15395]
21695         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21696         localization.
21697         Include <locale.h>.
21698
21699 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21700
21701         * elf/dl-close.c (_dl_close_worker): Add comments.
21702
21703 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21704
21705         [BZ #15359]
21706         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21707         high part of pi/2.
21708         (__ieee754_rem_pio2l): Update comments.
21709
21710         [BZ #15429]
21711         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21712         high part of pi/2.
21713         (__ieee754_rem_pio2l): Update comments.
21714
21715         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21716         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21717
21718         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21719         M_PI_4l.
21720
21721         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21722         (M_PI_34_LOG10El): Likewise.
21723         (M_PI2_LOG10El): Likewise.
21724         (M_PI4_LOG10El): Likewise.
21725         (M_PI_LOG10El): Likewise.
21726
21727 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21728
21729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21730
21731 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21732
21733         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21734         (MINUS_ZERO_INIT): Likewise.
21735         (PLUS_INFTY_INIT): Likewise.
21736         (MINUS_INFTY_INIT): Likewise.
21737         (QNAN_VALUE_INIT): Likewise.
21738         (MAX_VALUE_INIT): Likewise.
21739         (MIN_VALUE_INIT): Likewise.
21740         (MIN_SUBNORM_VALUE_INIT): Likewise.
21741         (plus_zero): Initialize with PLUS_ZERO_INIT.
21742         (minus_zero): Initialize with MINUS_ZERO_INIT.
21743         (plus_infty): Initialize with PLUS_INFTY_INIT.
21744         (minus_infty): Initialize with MINUS_INFTY_INIT.
21745         (qnan_value): Initialize with QNAN_VALUE_INIT.
21746         (max_value): Initialize with MAX_VALUE_INIT.
21747         (min_value): Initialize with MIN_VALUE_INIT.
21748         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21749
21750         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21751         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21752         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21753         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21754
21755         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21756         (RUN_TEST_2_f): Likewise.
21757         (RUN_TEST_ff_f): Likewise.
21758         (RUN_TEST_fi_f): Likewise.
21759         (RUN_TEST_fl_f): Likewise.
21760         (RUN_TEST_fff_f): Likewise.
21761         (RUN_TEST_c_f): Likewise.
21762         (RUN_TEST_f_f1): Likewise.
21763         (RUN_TEST_fF_f1): Likewise.
21764         (RUN_TEST_fI_f1): Likewise.
21765         (RUN_TEST_ffI_f1): Likewise.
21766         (RUN_TEST_c_c): Likewise.
21767         (RUN_TEST_cc_c): Likewise.
21768         (RUN_TEST_f_i): Likewise.
21769         (RUN_TEST_f_i_tg): Likewise.
21770         (RUN_TEST_ff_i_tg): Likewise.
21771         (RUN_TEST_f_b): Likewise.
21772         (RUN_TEST_f_b_tg): Likewise.
21773         (RUN_TEST_f_l): Likewise.
21774         (RUN_TEST_f_L): Likewise.
21775         (RUN_TEST_sincos): Likewise.
21776         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21777         whether to show exceptions.  Do not include ");\n" in return
21778         value.
21779         (special_functions): Output call to RUN_TEST_sincos instead of
21780         check_float calls.  Update calls to new_test.
21781         (parse_args): Output call to single RUN_TEST_* macro instead of
21782         check_* calls and other assignments.  Update calls to new_test.
21783
21784         [BZ #2546]
21785         [BZ #2560]
21786         [BZ #5159]
21787         [BZ #15426]
21788         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21789         input to result for tgamma overflow.
21790         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21791         (gamma_coeff): New variable.
21792         (NCOEFF): New macro.
21793         (gamma_positive): New function.
21794         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21795         underflow here.  Use gamma_positive instead of exp (lgamma) for
21796         other arguments.
21797         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21798         (gamma_coeff): New variable.
21799         (NCOEFF): New macro.
21800         (gammaf_positive): New function.
21801         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21802         underflow here.  Use gamma_positive instead of exp (lgamma) for
21803         other arguments.
21804         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21805         (gamma_coeff): New variable.
21806         (NCOEFF): New macro.
21807         (gammal_positive): New function.
21808         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21809         underflow here.  Use gamma_positive instead of exp (lgamma) for
21810         other arguments.
21811         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21812         (gamma_coeff): New variable.
21813         (NCOEFF): New macro.
21814         (gammal_positive): New function.
21815         (__ieee754_gammal_r): Handle positive infinity, overflow and
21816         underflow here.  Handle NaN the same as positive infinity.  Remove
21817         check x < 0xffffffff for negative integers.  Use gamma_positive
21818         instead of exp (lgamma) for other arguments.
21819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21820         (gamma_coeff): New variable.
21821         (NCOEFF): New macro.
21822         (gammal_positive): New function.
21823         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21824         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21825         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21826         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21827         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21828         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21829         * sysdeps/generic/math_private.h (__gamma_productf): New
21830         prototype.
21831         (__gamma_product): Likewise.
21832         (__gamma_productl): Likewise.
21833         * math/Makefile (libm-calls): Add gamma_product.
21834         * math/libm-test.inc (tgamma_test): Add more tests.
21835         * sysdeps/i386/fpu/libm-test-ulps: Update.
21836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21837
21838 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21839
21840         * benchtests/bench-skeleton.c (main): Preheat CPU.
21841
21842 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21843
21844         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21845
21846 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21847
21848         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21849         and _dl_skip_args_internal.
21850
21851 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21852
21853         * manual/message.texi (Message Translation): Talk about users.
21854         Message to key mapping impacts design.
21855
21856 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21857
21858         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21859
21860         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21861
21862         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21863         * sysdeps/wordsize-64/glob64.c: ... here.
21864
21865         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21866         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21867         New macros.
21868
21869         * debug/getlogin_r_chk.c: Moved to ...
21870         * login/getlogin_r_chk.c: ... here.
21871         * debug/Makefile (routines): Move getlogin_r_chk to ...
21872         * login/Makefile (routines): ... here.
21873         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21874         * login/Versions (libc: GLIBC_2.4): ... here.
21875
21876         * io/poll.c (__poll): Renamed from poll.
21877         Add libc_hidden_def.
21878         (poll): Define as weak alias.
21879
21880         * debug/ptsname_r_chk.c: Moved to ...
21881         * login/ptsname_r_chk.c: ... here.
21882         * debug/Makefile (routines): Move ptsname_r_chk to ...
21883         * login/Makefile (routines): ... here.
21884         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21885         * login/Versions (libc: GLIBC_2.4): ... here.
21886
21887         * posix/getlogin.c: Moved to ...
21888         * login/getlogin.c: ... here.
21889         * posix/getlogin_r.c: Moved to ...
21890         * login/getlogin_r.c: ... here.
21891         * posix/getlogin_r.c: Moved to ...
21892         * login/getlogin_r.c: ... here.
21893         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21894         * login/Makefile (routines): ... here.
21895         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21896         * login/Versions (libc: GLIBC_2.0): ... here.
21897
21898         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21899         (setrlimit): Define as weak alias.
21900
21901         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21902         Call __ names for open, ftruncate, and close.
21903         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21904         (truncate): Define as weak alias.
21905
21906 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21907
21908         * math/gen-libm-test.pl (parse_args): Initialize x before each
21909         test of frexp, modf and remquo.
21910
21911         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21912         test signgam value.
21913
21914 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21915
21916         [BZ #15418]
21917         [BZ #15419]
21918         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21919         internal tests.
21920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21921
21922 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21923
21924         * elf/dl-writev.h: New file.
21925         * elf/dl-misc.c: Include it.
21926         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21927         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21928
21929 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21930
21931         * math/libm-test.inc (noXFails): Remove variable.
21932         (noXPasses): Likewise.
21933         (BUILD_COMPLEX_INT): Remove macro.
21934         (print_screen): Remove xfail argument.
21935         (print_screen_max_error): Likewise.
21936         (update_stats): Likewise.
21937         (print_max_error): Likewise.  Update calls to other affected
21938         functions.
21939         (print_complex_max_error): Likewise.
21940         (test_single_exception): Update calls to print_screen.
21941         (test_single_errno): Likewise.
21942         (check_float_internal): Remove xfail argument.  Update calls to
21943         other affected functions.
21944         (check_float): Likewise.
21945         (check_complex): Likewise.
21946         (check_int): Likewise.
21947         (check_long): Likewise.
21948         (check_bool): Likewise.
21949         (check_longlong): Likewise.
21950         (main): Don't print noXFails and noXPasses.
21951         * math/gen-libm-test.pl (top level): Don't mention expected
21952         failure handling in comment.
21953         (new_test): Don't handle expected failures.
21954         (parse_args): Don't mention expected failure handling in comment.
21955         (generate_testfile): Don't handle expected failures.
21956         (parse_ulps): Likewise.
21957         (print_ulps_file): Likewise.
21958         (get_failure): Remove function.
21959         (output_test): Don't handle expected failures.
21960         * make/README.libm-test: Don't mention expected failure handling.
21961
21962         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21963         (minus_zero): Likewise.
21964         (plus_infty): Likewise.
21965         (minus_infty): Likewise.
21966         (qnan_value): Likewise.
21967         (max_value): Likewise.
21968         (min_value): Likewise.
21969         (min_subnorm_value): Likewise.
21970         (initialize): Do not initialize those variables dynamically.
21971
21972 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21973
21974         * io/open.c (__open_2): Moved to ...
21975         * io/open_2.c: ... this new file.
21976         * io/open64.c (__open64_2): Moved to ...
21977         * io/open64_2.c: ... this new file.
21978         * io/openat.c (__openat_2): Moved to ...
21979         * io/openat_2.c: ... this new file.
21980         * io/openat64.c (__openat64_2): Moved to ...
21981         * io/openat64_2.c: ... this new file.
21982         * io/Makefile (routines): Add them.
21983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21984         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21985         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21986         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21987         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21988         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21989         (__openat64): Add hidden_ver.
21990         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21991         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21992
21993         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21994         Separately conditionalize setting of GLRO(dl_sysinfo) so
21995         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21996         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21997
21998 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21999
22000         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22001         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22002         definition.
22003         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22004         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22005         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22006         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22007         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22008
22009 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22010
22011         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22012         test signgam value.
22013
22014         * math/libm-test.inc (hypot_test): Do not use
22015         IGNORE_ZERO_INF_SIGN.
22016
22017 2013-05-03  Andreas Jaeger  <aj@suse.de>
22018
22019         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22020         Linux 3.9.
22021         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22022         (PF_MAX): Adjust for VSOCK change.
22023
22024 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22025
22026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22027
22028 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22029
22030         [BZ #15264]
22031         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22032         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22033         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22034
22035 2013-05-02  David S. Miller  <davem@davemloft.net>
22036
22037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22038
22039 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22040
22041         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22042
22043 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22044
22045         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22046
22047 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22048
22049         [BZ #14952]
22050         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22051         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22052         Use __attribute__ ((__gnu_inline__)).
22053         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22054         Don't use __attribute__ ((__gnu_inline__)).
22055
22056 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22057
22058         [BZ #15423]
22059         * math/s_catan.c (__catan): Handle small real or imaginary part of
22060         input specially to avoid spurious underflow.
22061         * math/s_catanf.c (__catanf): Likewise.
22062         * math/s_catanh.c (__catanh): Likewise.
22063         * math/s_catanhf.c (__catanhf): Likewise.
22064         * math/s_catanhl.c (__catanhl): Likewise.
22065         * math/s_catanl.c (__catanl): Likewise.
22066         * math/libm-test.inc (catan_test): Add more tests.
22067         (catanh_test): Likewise.
22068         * sysdeps/i386/fpu/libm-test-ulps: Update.
22069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22070
22071 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22072
22073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22074
22075 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22076
22077         [BZ #15416]
22078         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22079         accurately for denominator in atan2.
22080         * math/s_catanf.c (__catanf): Likewise.
22081         * math/s_catanh.c (__catanh): Likewise.
22082         * math/s_catanhf.c (__catanhf): Likewise.
22083         * math/s_catanhl.c (__catanhl): Likewise.
22084         * math/s_catanl.c (__catanl): Likewise.
22085         * math/libm-test.inc (catan_test): Add more tests.
22086         (catanh_test): Likewise.
22087         * sysdeps/i386/fpu/libm-test-ulps: Update.
22088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22089
22090 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22091
22092         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22093
22094         * benchtests/Makefile (bench): Remove slow benchmarks.
22095         * benchtests/atan-inputs: Add slow benchmark inputs.
22096         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22097         (BENCH_FUNC): Accept variant offset.
22098         (VARIANT): Define.
22099         * benchtests/bench-skeleton.c (main): Run benchmark for each
22100         variant.
22101         * benchtests/cos-inputs: Add slow benchmark inputs.
22102         * benchtests/exp-inputs: Likewise.
22103         * benchtests/pow-inputs: Likewise.
22104         * benchtests/sin-inputs: Likewise.
22105         * benchtests/slowatan-inputs: Remove.
22106         * benchtests/slowatan.c: Remove.
22107         * benchtests/slowcos-inputs: Remove.
22108         * benchtests/slowcos.c: Remove.
22109         * benchtests/slowexp-inputs: Remove.
22110         * benchtests/slowexp.c: Remove.
22111         * benchtests/slowpow-inputs: Remove.
22112         * benchtests/slowpow.c: Remove.
22113         * benchtests/slowsin-inputs: Remove.
22114         * benchtests/slowsin.c: Remove.
22115         * benchtests/slowtan-inputs: Remove.
22116         * benchtests/slowtan.c: Remove.
22117         * benchtests/tan-inputs: Add slow benchmark inputs.
22118         * scripts/bench.pl: Parse comments and directives.
22119
22120         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22121         in CPPFLAGS.
22122         ($(objpfx)bench-%.c): Remove *-ITER.
22123         * benchtests/bench-modf.c: Remove definition of ITER.
22124         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22125         (main): Loop for DURATION seconds instead of fixed number of
22126         iterations.
22127         * scripts/bench.pl: Don't expect iterations in parameters.
22128
22129 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22130
22131         * io/fchdir.c (__fchdir): Renamed from fchdir.
22132         (fchdir): Define as weak alias.
22133
22134 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22135
22136         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22137         (ERRNO_EDOM): Likewise.
22138         (ERRNO_ERANGE): Likewise.
22139         (noErrnoTests): New variable.
22140         (init_max_error): Set errno to 0.
22141         (test_single_errno): New function.
22142         (test_errno): Likewise.
22143         (check_float_internal): Call test_errno.  Set errno to 0.
22144         (check_complex): Refer to errno tests in comment.
22145         (check_int): Call test_errno.  Set errno to 0.
22146         (check_long): Likewise.
22147         (check_bool): Likewise.
22148         (check_longlong): Likewise.
22149         (cos_test): Use ERRNO_* flags for errno tests instead of
22150         check_int.
22151         (expm1_test): Likewise.
22152         (fmod_test): Likewise.
22153         (ilogb_test): Likewise.
22154         (lgamma_test): Likewise.
22155         (pow_test): Likewise.
22156         (remainder_test): Likewise.
22157         (sin_test): Likewise.
22158         (tan_test): Likewise.
22159         (yn_test): Likewise.
22160         (initialize): Set errno to 0.
22161         (main): Print number of errno tests.
22162         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22163
22164 2013-04-29  Andreas Jaeger  <aj@suse.de>
22165
22166         [BZ #15084]
22167         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22168         and RES_USEVC.
22169
22170         [BZ #15085]
22171         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22172         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22173         unimplemented.
22174
22175         [BZ #15380]
22176         * stdlib/random.c (__initstate): Return NULL if
22177         __initstate fails.
22178
22179         [BZ #15086]
22180         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22181         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22182         RES_SNGLKUPREOP.
22183
22184 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22185
22186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22187
22188 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22189
22190         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22191         of individual tests.
22192         (casin_test): Likewise.
22193         (casinh_test): Likewise.
22194
22195 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22196
22197         [BZ #15409]
22198         * math/s_catan.c (__catan): Handle arguments with large real or
22199         imaginary part separately without squaring.
22200         * math/s_catanf.c (__catanf): Likewise.
22201         * math/s_catanh.c (__catanh): Likewise.
22202         * math/s_catanhf.c (__catanhf): Likewise.
22203         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22204         and redefine.
22205         (__catanhl): Handle arguments with large real or imaginary part
22206         separately without squaring.
22207         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22208         and redefine.
22209         (__catanl): Handle arguments with large real or imaginary part
22210         separately without squaring.
22211         * math/libm-test.inc (catan_test): Add more tests.
22212         (catanh_test): Likewise.
22213         * sysdeps/i386/fpu/libm-test-ulps: Update.
22214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215
22216 2013-04-27  Andreas Jaeger  <aj@suse.de>
22217
22218         [BZ #15007]
22219         * stdlib/stdlib.h: Update guards for qecvt.
22220         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22221         <stdlib.h>.
22222
22223 2013-04-27  Allan McRae  <allan@archlinux.org>
22224
22225         * sysdeps/i386/fpu/libm-test-ulps: Update.
22226
22227 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22228
22229         [BZ #15406]
22230         * math/s_catan.c: Include <float.h>.
22231         (__catan): Ensure underflow exception occurs for underflowed
22232         result.
22233         * math/s_catanf.c: Include <float.h>.
22234         (__catanf): Ensure underflow exception occurs for underflowed
22235         result.
22236         * math/s_catanh.c: Include <float.h>.
22237         (__catanh): Ensure underflow exception occurs for underflowed
22238         result.
22239         * math/s_catanhf.c: Include <float.h>.
22240         (__catanhf): Ensure underflow exception occurs for underflowed
22241         result.
22242         * math/s_catanhl.c: Include <float.h>.
22243         (__catanhl): Ensure underflow exception occurs for underflowed
22244         result.
22245         * math/s_catanl.c: Include <float.h>.
22246         (__catanl): Ensure underflow exception occurs for underflowed
22247         result.
22248         * math/libm-test.inc (catan_test): Add more tests.
22249         (catanh_test): Likewise.
22250
22251         [BZ #15405]
22252         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22253         underflowed result.
22254         * math/s_ccoshf.c (__ccoshf): Likewise.
22255         * math/s_ccoshl.c (__ccoshl): Likewise.
22256         * math/s_csin.c (__csin): Likewise.
22257         * math/s_csinf.c (__csinf): Likewise.
22258         * math/s_csinh.c (__csinh): Likewise.
22259         * math/s_csinhf.c (__csinhf): Likewise.
22260         * math/s_csinhl.c (__csinhl): Likewise.
22261         * math/s_csinl.c (__csinl): Likewise.
22262         * math/libm-test.inc (ccos_test): Add more tests.
22263         (ccosh_test): Likewise.
22264         (csin_test): Likewise.
22265         (csinh_test): Likewise.
22266
22267 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22268
22269         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22270         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22271         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22272         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22273         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22274         powerpc/power5+/fpu folders.
22275         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22276
22277
22278 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22279
22280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22281
22282 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22283
22284         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22285         additions to variable.
22286         [$(config-machine) = x86_64] (modules-names): Likewise.
22287         ($(objpfx)tst-audit3): Remove dependency.
22288         ($(objpfx)tst-audit3.out): Likewise.
22289         ($(objpfx)tst-audit4): Likewise.
22290         ($(objpfx)tst-audit4.out): Likewise.
22291         ($(objpfx)tst-audit5): Likewise.
22292         ($(objpfx)tst-audit5.out): Likewise.
22293         ($(objpfx)tst-audit6): Likewise.
22294         ($(objpfx)tst-audit6.out): Likewise.
22295         ($(objpfx)tst-audit7): Likewise.
22296         ($(objpfx)tst-audit7.out): Likewise.
22297         (tst-audit3-ENV): Remove variable.
22298         (tst-audit4-ENV): Likewise.
22299         (tst-audit5-ENV): Likewise.
22300         (tst-audit6-ENV): Likewise.
22301         (tst-audit7-ENV): Likewise.
22302         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22303         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22304         addition to variable.
22305         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22306         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22307         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22308         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22309         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22310         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22311         tst-audit3, tst-audit4 and tst-audit5.
22312         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22313         tst-audit6 and tst-audit7.
22314         [$(subdir) = elf] (modules-names): Add audit modules for those
22315         tests.
22316         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22317         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22318         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22319         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22320         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22321         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22322         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22323         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22324         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22325         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22326         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22327         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22328         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22329         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22330         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22331         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22332         Likewise.
22333         [$(subdir) = elf && $(config-cflags-avx) = yes]
22334         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22335         [$(subdir) = elf && $(config-cflags-avx) = yes]
22336         (CFLAGS-tst-auditmod4a.c): Likewise.
22337         [$(subdir) = elf && $(config-cflags-avx) = yes]
22338         (CFLAGS-tst-auditmod4b.c): Likewise.
22339         [$(subdir) = elf && $(config-cflags-avx) = yes]
22340         (CFLAGS-tst-auditmod6b.c): Likewise.
22341         [$(subdir) = elf && $(config-cflags-avx) = yes]
22342         (CFLAGS-tst-auditmod6c.c): Likewise.
22343         [$(subdir) = elf && $(config-cflags-avx) = yes]
22344         (CFLAGS-tst-auditmod7b.c): Likewise.
22345         * elf/tst-audit3.c: Move to ...
22346         * sysdeps/x86_64/tst-audit3.c: ... here.
22347         * elf/tst-audit4.c: Move to ...
22348         * sysdeps/x86_64/tst-audit4.c: ... here.
22349         * elf/tst-audit5.c: Move to ...
22350         * sysdeps/x86_64/tst-audit5.c: ... here.
22351         * elf/tst-audit6.c: Move to ...
22352         * sysdeps/x86_64/tst-audit6.c: ... here.
22353         * elf/tst-audit7.c: Move to ...
22354         * sysdeps/x86_64/tst-audit7.c: ... here.
22355         * elf/tst-auditmod3a.c: Move to ...
22356         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22357         * elf/tst-auditmod3b.c: Move to ...
22358         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22359         * elf/tst-auditmod4a.c: Move to ...
22360         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22361         * elf/tst-auditmod4b.c: Move to ...
22362         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22363         * elf/tst-auditmod5a.c: Move to ...
22364         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22365         * elf/tst-auditmod5b.c: Move to ...
22366         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22367         * elf/tst-auditmod6a.c: Move to ...
22368         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22369         * elf/tst-auditmod6b.c: Move to ...
22370         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22371         * elf/tst-auditmod6c.c: Move to ...
22372         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22373         * elf/tst-auditmod7a.c: Move to ...
22374         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22375         * elf/tst-auditmod7b.c: Move to ...
22376         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22377
22378 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22379
22380         [BZ #15366]
22381         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22382         define unconditionally.
22383         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22384         define unconditionally.
22385         (INT8_C, INT16_C, etc.): Likewise.
22386
22387 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22388
22389         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22390         __ehdr_start with hidden visibility.
22391
22392         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22393
22394 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22395
22396         * math/libm-test.inc (cos_test): Use accurate hex constants.
22397         (sincost_test): Likewise.
22398
22399 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22400
22401         * math/libm-test.inc (catan_test): Add more tests.
22402         (catanh_test): Likewise.
22403
22404         * math/s_catanf.c (__catanf): Use suffixed floating-point
22405         constants.
22406         * math/s_catanhf.c (__catanhf): Likewise.
22407         * math/s_catanhl.c (__catanhl): Likewise.
22408         * math/s_catanl.c (__catanl): Likewise.
22409
22410         [BZ #15394]
22411         * math/s_catan.c (__catan): Calculate imaginary part of result
22412         with log1p not log unless computing log of number close to 0.
22413         * math/s_catanf.c (__catanf): Likewise.
22414         * math/s_catanl.c (__catanl): Likewise.
22415         * math/s_catanh.c (__catanh): Calculate real part of result with
22416         log1p not log unless computing log of number close to 0.
22417         * math/s_catanhf.c (__catanhf): Likewise.
22418         * math/s_catanhl.c (__catanhl): Likewise.
22419         * math/libm-test.inc (catan_test): Add more tests.
22420         (catanh_test): Likewise.
22421         * sysdeps/i386/fpu/libm-test-ulps: Update.
22422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22423
22424 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22425
22426         * benchtests/Makefile: Mention files in which fast and slow
22427         paths of math functions are implemented.
22428
22429 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22430
22431         * sysdeps/posix/timespec_get.c: New file.
22432
22433 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22434
22435         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22436         POWER.
22437         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22438         for POWER.
22439         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22440         powerpc/power5/fpu folders.
22441         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22442         * benchtests/Makefile: Add modf testcase.
22443         * benchtests/bench-modf.c: New file: Benchmark test for mo
22444
22445 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22446
22447         [BZ #14888]
22448         * time/Makefile (tests): Add tst-strptime-whitespace.
22449         * time/strptime_l.c (get_number): Use ISSPACE.
22450         (__strptime_internal): Likewise.
22451         * time/tst-strptime-whitespace.c: New test case.
22452
22453 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22454
22455         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22456         member.
22457         (_nss_files_init): Set it here.
22458
22459 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22460
22461         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22462         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22463         unsigned.
22464
22465 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22466
22467         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22468
22469 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22470
22471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22472         size just once.
22473
22474 2013-04-21  David S. Miller  <davem@davemloft.net>
22475
22476         * po/ru.po: Update Russion translation from translation project.
22477
22478 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22479
22480         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22481         and setfsgid.
22482
22483 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22484
22485         * configure.in: Remove i386 configure warning. Remove i386 case.
22486         * configure: Regenerate.
22487         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22488         Add example to error message.
22489         * sysdeps/i386/configure: Regenerate.
22490
22491 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22492
22493         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22494         slowtan.
22495         * benchtests/cos-inputs: New file.
22496         * benchtests/slowcos-inputs: New file.
22497         * benchtests/slowcos.c: New file.
22498         * benchtests/slowtan-inputs: New file.
22499         * benchtests/slowtan.c: New file.
22500         * benchtests/tan-inputs: New file.
22501
22502 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22503
22504         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22505         considered kosher.
22506
22507 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22508
22509         * benchtests/Makefile: Include cppflags-iterator.mk to add
22510         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22511
22512         * Makefile.in (bench-clean): New target.
22513         * benchtests/Makefile (bench-clean): Likewise.
22514
22515 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22516
22517         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22518
22519 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22520
22521         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22522
22523 2013-04-15  Andreas Schwab  <schwab@suse.de>
22524
22525         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22526         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22527         * nscd/pwdcache.c (cache_addpw): Likewise.
22528         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22529         more than recsize.
22530
22531 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22532
22533         * benchtests/Makefile (bench): Write all output to
22534         bench-out.tmp together.
22535
22536 2013-04-15  Andreas Schwab  <schwab@suse.de>
22537
22538         * nscd/nscd.c (main): Don't fork again after closing files.
22539
22540 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22541
22542         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22543
22544         * benchtests/Rules (bench-deps): Collect dependencies into a
22545         single variable.  Add Makefile to dependencies.
22546         ($(objpfx)bench-%.c): Depend on bench-deps.
22547
22548 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22549             Xavier Roche  <roche+kml2@exalead.com>
22550
22551         [BZ #15361]
22552         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22553         just that it's a file descriptor.
22554         * manual/llio.texi (Synchronizing AIO Operations): Update description
22555         for EBADF error from aio_fsync.
22556
22557 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22558
22559         * Rules (bench): Move target definition...
22560         * benchtests/Makefile: ... here.
22561
22562 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22563
22564         * math/libm-test.inc (cos_test): Fix PI/2 test.
22565         (sincos_test): Likewise.
22566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22567         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22568
22569 2013-04-11  Andreas Schwab  <schwab@suse.de>
22570
22571         [BZ #13988]
22572         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22573         accept exponent character only when digits were seen.
22574         * stdio-common/Makefile (tests): Add bug26.
22575         * stdio-common/bug26.c: New file.
22576
22577         [BZ #14293]
22578         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22579         non-freeable.
22580
22581 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22582
22583         * Makeconfig (rtld-prefix): Define built linker prefix.
22584         * Rules (run-bench): Use it.
22585         * math/Makefile (run-regen-ulps): Likewise.
22586
22587         * Rules (bench): Remove eval.
22588
22589 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22590             Roland McGrath  <roland@hack.frob.com>
22591             Ondrej Bilka  <neleai@seznam.cz>
22592
22593         [BZ #15346]
22594         * time/getdate.c: Include ctype.h and alloca.h.
22595         (__getdate_r): Trim leading and trailing spaces of input.
22596         * time/tst-getdate.c (tests): Add tests with leading and
22597         trailing spaces.
22598
22599 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22600
22601         [BZ #14280]
22602         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22603         when computing value.
22604
22605 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22606
22607         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22608         Use testrun.sh to run libm tests.
22609
22610         [BZ #15309]
22611         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22612
22613 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22614
22615         [BZ #15264]
22616         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22617
22618 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22619
22620         * Makefile.in (regen-ulps): New target.
22621         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22622         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22623         [ifneq (no,$(PERL)] (regen-ulps): New target.
22624         [ifeq (no,$(PERL)] (regen-ulps): New target.
22625         * math/libm-test.inc (ulps_file_name): Define.
22626         (output_dir): New variable.
22627         (options): Add "output-dir" option.
22628         (parse_opt): Handle 'o' case.
22629         (main): If output_dir is non-NULL use it as a prefix
22630         otherwise use "".
22631         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22632
22633 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22634
22635         [BZ #10060, #10062]
22636         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22637         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22638         fail configure if __sync_val_compare_and_swap is not inlined.
22639         * sysdeps/i386/configure: Regenerate.
22640         * configure.in: Build for i686 when configured for i386.
22641         * configure: Regenerate.
22642         * README: Remove i386 reference.
22643
22644 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22645
22646         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22648
22649 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22650
22651         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22652         (lmsnanval): New variables.
22653         (F): Add conversion tests.
22654         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22655         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22656
22657         * stdio-common/tstdiomisc.c (F): Properly collect individual
22658         tests' results.
22659
22660         [BZ #14686, #15336]
22661         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22662         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22663         Instead, use input NaN values or generate a qNaN by arithmetic
22664         operation.  Also fix bugs to comply with the standard.
22665         * math/libm-test.inc (remainder_test): Add more tests.
22666
22667         [BZ #15335, #15342]
22668         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22670         input NaN values or generate a qNaN by arithmetic operation.
22671
22672         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22673         unreachable code.
22674
22675         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22676         definitions.
22677
22678 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22679
22680         [BZ #14478]
22681         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22682         underflowed result.
22683         * math/s_cexpf.c (__cexpf): Likewise.
22684         * math/s_cexpl.c (__cexpl): Likewise.
22685         * math/libm-test.inc (cexp_test): Add more tests.
22686
22687 2013-04-03  Andreas Schwab  <schwab@suse.de>
22688
22689         [BZ #15330]
22690         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22691         order arrays from heap if bigger than alloca cutoff.
22692
22693 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22694
22695         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22696         (SNAN_TESTS_double): Refer to GCC PR56831.
22697         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22698         GCC PR56828.
22699
22700 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701
22702         * Rules (bench): Move bench.out after the run is complete.
22703
22704         * Rules (bench): Echo currently running benchmark.
22705
22706         * benchtests/Makefile (bench): Add atan and slowatan.
22707         * benchtests/atan-inputs: New file.
22708         * benchtests/slowatan-inputs: New file.
22709         * benchtests/slowatan.c: New file.
22710
22711         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22712         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22713         its value.
22714
22715         [BZ #15305]
22716         * sysdeps/unix/sysv/linux/kernel-features.h
22717         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22718         __ASSUME_XFS_RESTRICTED_CHOWN.
22719         * sysdeps/unix/sysv/linux/pathconf.c
22720         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22721         Save and restore errno.
22722
22723 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22724
22725         [BZ #15327]
22726         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22727         arguments using __kernel_casinh.
22728         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22729         arguments using __kernel_casinhf.
22730         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22731         arguments using __kernel_casinhl.
22732         * math/libm-test.inc (cacosh_test): Add more tests.
22733         * sysdeps/i386/fpu/libm-test-ulps: Update.
22734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22735
22736 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22737
22738         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22740
22741         * bench/Makefile (bench): Add sin and slowsin.
22742         * benchtests/sin-inputs: New file.
22743         * benchtests/slowsin-inputs: New file.
22744         * benchtests/slowsin.c: New file.
22745
22746         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22747         (bench): Add slowexp and slowpow.
22748         (exp-ITER): Increase iterations.
22749         (pow-ITER): Likewise.
22750         * benchtests/exp-inputs: Change input.
22751         * benchtests/pow-inputs: Likewise.
22752         * benchtests/slowexp-inputs: New file.
22753         * benchtests/slowexp.c: New file.
22754         * benchtests/slowpow-inputs: New file.
22755         * benchtests/slowpow.c: New file.
22756
22757 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22758
22759         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22760         instructions.
22761         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22762         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22763         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22764         * benchtests/Makefile: Add rint benchtest.
22765         * benchtests/rint-inputs: Input for rint benchtest.
22766
22767 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22768
22769         * Versions.def (libm): Add GLIBC_2.18.
22770         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22771         hidden libm prototypes.
22772         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22773         * math/Makefile (libm-calls): Add s_issignaling.
22774         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22775         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22776         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22777         declaration.
22778         * math/math.h [__USE_GNU] (issignaling): New macro.
22779         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22780         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22781         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22782         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22783         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22784         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22785         * manual/arith.texi (issignaling): New section.
22786         * manual/libm-err-tab.pl (@all_functions): Update comment.
22787         * math/gen-libm-test.pl (parse_args): Apply special handling for
22788         issignaling.
22789         * math/libm-test.inc (print_float, issignaling_test): New
22790         functions.
22791         (check_float_internal): Add issignaling checks.
22792         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22793         default definition.
22794         * sysdeps/powerpc/math-tests.h: New file.
22795         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22796         tests.
22797         * math/test-snan.c (TEST_FUNC): Likewise.
22798
22799 2013-03-30  David S. Miller  <davem@davemloft.net>
22800
22801         * po/de.po: Update from translation team.
22802
22803 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22804
22805         [BZ #10357]
22806         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22807         imaginary part less than 1.0 and real part less than 0.5
22808         specially.
22809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22811         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22812         (cacos_test): Add more tests.
22813         (casin_test): Likewise.
22814         (casinh_test): Likewise.
22815         * sysdeps/i386/fpu/libm-test-ulps: Update.
22816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22817
22818 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22819
22820         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22821         ONE with its value.
22822
22823         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22824         (__pow_mp): Replace ONE and MONE with their values.
22825         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22827         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22828         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22829         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22830         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22831
22832         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22833
22834         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22835         (__pow_mp): Replace ZERO and MZERO with their values.
22836         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22838         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22840         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22841         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22842         (__sqr): Likewise.
22843
22844         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22845
22846         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22847
22848 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22849
22850         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22851         Declare with __attribute__ ((weak)).
22852         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22853         Call __call_tls_dtors only if it's not NULL.
22854
22855 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22856
22857         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22858         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22859         magic __ehdr_start linker symbol if it's defined.
22860         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22861         them up here if it was already done.
22862
22863         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22864         (_dl_aux_init): Use const in cast when setting it.
22865         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22866         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22867         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22868
22869         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22870         Declare them here.
22871         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22872         * csu/libc-tls.c: Nor here.
22873         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22874
22875         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22876         (__libc_message): Never call vsyslog.
22877
22878 2013-03-28  Alan Modra  <amodra@gmail.com>
22879
22880         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22881         Define as empty.
22882         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22883         Likewise.
22884
22885 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22886
22887         [BZ #15214]
22888         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22889         underflow.
22890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22891
22892 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22893
22894         [BZ #15304]
22895         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22896         Don't add gid passed as argument.
22897
22898         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22899
22900 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22901
22902         [BZ #15307]
22903         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22904         imaginary part between 1.0 and 1.5 and real part less than 0.5
22905         specially.
22906         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22907         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22908         * math/libm-test.inc (cacos_test): Add more tests.
22909         (casin_test): Likewise.
22910         (casinh_test): Likewise.
22911         * sysdeps/i386/fpu/libm-test-ulps: Update.
22912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22913
22914 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22915
22916         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22917         constants.
22918         (norm): Likewise.
22919         (denorm): Likewise.
22920         (__dbl_mp): Likewise.
22921         (add_magnitudes): Likewise.
22922         (sub_magnitudes): Likewise.
22923         (__add): Likewise.
22924         (__sub): Likewise.
22925         (__mul): Likewise.
22926         (__sqr): Likewise.
22927         (__inv): Likewise.
22928         (__dvd): Likewise.
22929
22930         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22931         commented code.
22932         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22933         (__dubcos): Likewise.
22934         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22935         (__ieee754_acos): Likewise.
22936         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22937         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22938         (__exp1): Likewise.
22939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22940         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22941         (log1): Likewise.
22942         (my_log2): Likewise.
22943         (checkint): Likewise.
22944         * sysdeps/ieee754/dbl-64/e_remainder.c
22945         (__ieee754_remainder): Likewise.
22946         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22948         (bsloww): Likewise.
22949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22950
22951         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22952         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22953         MANTISSA_STORE_T to store computations on mantissa.  Use
22954         macros for rounding and division.
22955         (denorm): Likewise.
22956         (__dbl_mp): Likewise.
22957         (add_magnitudes): Likewise.
22958         (sub_magnitudes): Likewise.
22959         (__mul): Likewise.
22960         (__sqr): Likewise.
22961         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22962         powers of two in terms of TWOPOW macro.
22963         (mp_no): Make type of mantissa as MANTISSA_T.
22964         [!RADIXI]: Define RADIXI.
22965         [!TWO52]: Define TWO52.
22966         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22967
22968 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22969
22970         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22971         llroundl symbol when building for PPC32.
22972
22973 2013-03-24  Mark H Weaver  <mhw@netris.org>
22974
22975         * manual/arith.texi (Normalization Functions): Fix prototypes for
22976         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22977
22978 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22979
22980         [BZ #13889]
22981         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22982         high value to check if expl overflow.
22983         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22984         to check for underflow and overflow.
22985         * math/libm-test.inc: Add exp test.
22986
22987 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22988
22989         [BZ #11120]
22990         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22991         with NOT_IN_libc.
22992
22993 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22994
22995         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22996         symbol.
22997
22998 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22999
23000         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23001         wrap blocks consisting of several statements.
23002
23003         * sysdeps/generic/math-tests.h: New file.
23004         * sysdeps/i386/fpu/math-tests.h: Likewise.
23005         * math/test-snan.c: Include it.
23006         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23007
23008 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23009
23010         [BZ #15285]
23011         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23012         (__ieee754_j0l): Do not improve calculations using cos of twice
23013         input for inputs above LDBL_MAX / 2.0L.
23014         (__ieee754_y0l): Likewise.
23015         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23016         (__ieee754_j1l): Do not improve calculations using cos of twice
23017         input for inputs above LDBL_MAX / 2.0L.
23018         (__ieee754_y1l): Likewise.
23019         * math/libm-test.inc (j0_test): Add another test.
23020         (j1_test): Likewise.
23021         (y0_test): Likewise.
23022         (y1_test): Likewise.
23023         * sysdeps/i386/fpu/libm-test-ulps: Update.
23024
23025 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23026
23027         * Rules ($(objpfx)bench-%.c): Include code from a C source
23028         file.
23029
23030 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23031
23032         [BZ #15287]
23033         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23034         imaginary part 1.0 and real part less than 0.5 specially.
23035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23037         * math/libm-test.inc (cacos_test): Add more tests.
23038         (casin_test): Likewise.
23039         (casinh_test): Likewise.
23040         * sysdeps/i386/fpu/libm-test-ulps: Update.
23041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23042
23043 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23044
23045         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23046         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23047
23048 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23049
23050         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23051         * config.make.in (config-cflags-sse4): Remove variable.
23052         (config-cflags-avx): Likewise.
23053         (config-cflags-sse2avx): Likewise.
23054         (config-cflags-novzeroupper): Likewise.
23055         (config-asflags-i686): Likewise.
23056         (have-mfma4): Likewise.
23057         (have-as-vis3): Likewise.
23058         (MIG): Likewise.
23059         * configure.in (MIG): Do not AC_SUBST.
23060         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23061         (libc_cv_cc_sse4): Do not AC_SUBST.
23062         (libc_cv_cc_avx): Likewise.
23063         (libc_cv_cc_sse2avx): Likewise.
23064         (libc_cv_cc_novzeroupper): Likewise.
23065         (libc_cv_cc_fma4): Likewise.
23066         (libc_cv_as_i686): Likewise.
23067         (libc_cv_sparc_as_vis3): Likewise.
23068         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23069         LIBC_CONFIG_VAR.
23070         (config-asflags-i686): Likewise.
23071         (config-cflags-avx): Likewise.
23072         (config-cflags-sse2avx): Likewise.
23073         (have-mfma4): Likewise.
23074         (config-cflags-novzeroupper): Likewise.
23075         * sysdeps/mach/configure.in (MIG): Likewise.
23076         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23077         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23078         LIBC_CONFIG_VAR.
23079         (config-cflags-avx): Likewise.
23080         (config-cflags-sse2avx): Likewise.
23081         (have-mfma4): Likewise.
23082         (config-cflags-novzeroupper): Likewise.
23083         * configure: Regenerated.
23084         * sysdeps/i386/configure: Likewise.
23085         * sysdeps/mach/configure: Likewise.
23086         * sysdeps/sparc/configure: Likewise.
23087         * sysdeps/x86_64/configure: Likewise.
23088
23089 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23090
23091         [BZ #14812]
23092         * locale/programs/localedef.c (options): Put N_ translation marker
23093         on argument names, not just descriptions.
23094
23095 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23096
23097         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23098
23099 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23100
23101         [BZ #14176]
23102         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23103
23104 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23105
23106         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23107         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23108         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23109         [!BEFORE_ABORT] (before_abort): New function.
23110         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23111         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23112         (writev_for_fatal): New function.
23113         (WRITEV_FOR_FATAL): New macro; call that.
23114         (backtrace_and_maps): New function.
23115         (BEFORE_ABORT): New macro; call that.
23116         (struct str_list): Type removed.
23117         (__libc_message, __libc_fatal): Functions removed.
23118         Include <sysdeps/posix/libc_fatal.c> instead.
23119
23120 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23121
23122         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23123         constants.
23124         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23125         double constants.
23126
23127 2013-03-19  Andreas Schwab  <schwab@suse.de>
23128
23129         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23130         * sysdeps/gnu/configure: Regenerate.
23131
23132         * configure.in: Substitute libc_cv_rtlddir.
23133         * configure: Regenerate.
23134         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23135         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23136         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23137         * elf/Makefile (install-others, CFLAGS-interp.c)
23138         (ldso_install, common-ldd-rewrite): Likewise.
23139         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23140         $(inst_slibdir)/$(rtld-installed-name).
23141         * scripts/rellns-sh: Add -p option.
23142         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23143         for source.
23144
23145 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23146
23147         * manual/nptl.texi: Renamed to ...
23148         * manual/threads.texi: ... this.
23149         * manual/Makefile (chapters): Update.
23150
23151 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23152
23153         [BZ #14812]
23154         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23155         on argument names, not just descriptions.
23156         * malloc/memusagestat.c (options): Likewise.
23157         * nss/getent.c (options): Likewise.
23158
23159 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23160
23161         [BZ #14812]
23162         * iconv/iconv_prog.c (options): Put N_ translation marker
23163         on argument names, not just descriptions.
23164         * iconv/iconvconfig.c (options): Likewise.
23165
23166 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23167
23168         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23169         implementation which is faster on all x86_64 architectures.
23170         Tested on AMD, Intel Nehalem, SNB, IVB.
23171         * sysdeps/x86_64/strnlen.S: Likewise.
23172
23173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23174         Remove all multiarch strlen and strnlen versions.
23175         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23176         Remove strlen and strnlen related parts.
23177
23178         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23179         Inline strlen part.
23180         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23181
23182         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23183         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23184         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23185         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23186         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23187         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23188
23189 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23190
23191         * manual/memory.texi (Malloc Tunable Parameters):
23192         Sort parameters alphabetically. Add comments for missing entries.
23193
23194 2013-03-17  David S. Miller  <davem@davemloft.net>
23195
23196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23197
23198 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23199
23200         [BZ #15283]
23201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23202         for arguments at most half maximum finite value.
23203         * math/libm-test.inc (j0_test): Add more tests.
23204         (j1_test): Likewise.
23205         (y0_test): Likewise.
23206         (y1_test): Likewise.
23207         * sysdeps/i386/fpu/libm-test-ulps: Update.
23208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23209
23210         [BZ #14155]
23211         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23212         1 / x and functions P and Q for arguments above 0x1p256L.
23213         (__ieee754_y0l): Likewise.
23214         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23215         (__ieee754_y1l): Likewise.
23216         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23217         (j1_test): Likewise.
23218         (y0_test): Likewise.
23219         (y1_test): Likewise.
23220
23221 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23222
23223         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23224         variable.
23225
23226 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23227
23228         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23229         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23230         zero since it's initialized to EXEC_PAGESIZE.
23231
23232         * sysdeps/unix/sysv/linux/ldsodefs.h
23233         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23234         * sysdeps/generic/ldsodefs.h: ... here.
23235
23236 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23237
23238         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23239
23240         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23241         math/test-snan.c.
23242         * math/test-snan.c: Renamed from
23243         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23244         * math/Makefile (tests): Add test-snan.
23245         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23246         test-powerpc-snan.
23247
23248         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23249         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23250         functions.
23251         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23252         __builtin_nan family of functions.
23253         * math/libm-test.inc (initialize): Initialize qnan_value with
23254         __builtin_nan family of functions.
23255         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23256         Remove variables.
23257         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23258         Remove functions.
23259         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23260         storage class.  Initialize qNaN_var and sNaN_var with
23261         __builtin_nan and __builtin_nans families of functions,
23262         respectively.
23263
23264         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23265         (sqrt_test): Remove duplicate test with qNaN input.
23266         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23267         (round_test, signbit_test, significand_test): Note missing +/-Inf
23268         as well as qNaN tests.
23269
23270         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23271         qNaN_var.  Fix a few strings, too.
23272         * math/libm-test.inc (nan_value): Rename to qnan_value.
23273         * math/gen-libm-test.pl (%beautify): Adjust to that.
23274         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23275         * math/test-misc.c (main): Likewise.
23276         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23277         to __qnan_bytes, and __qnan_union, respectively.
23278         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23279         Likewise.
23280         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23281         and lqnanval, respectively.
23282         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23283         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23284         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23285         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23286
23287         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23288         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23289         doubles.
23290
23291         * math/test-misc.c (main): Fix copy'n'pastos.
23292         * misc/tst-efgcvt.c (special): Likewise.
23293
23294         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23295         Remove declarations.
23296
23297 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23298
23299         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23300         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23301         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23302         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23303
23304 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23305
23306         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23307         macro to return vdso values correctly in IFUNC implementations.
23308         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23309         Optimization by using IFUNC.
23310
23311 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23312             Richard Henderson  <rth@redhat.com>
23313             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23314
23315         * Makefile.in (bench): New target.
23316         * NEWS: Mention the benchmark framework.
23317         * Rules (bench): Likewise.
23318         (binaries-bench): Generate binaries for functions to
23319         benchmark.
23320         * benchtests/Makefile: New makefile for benchmark tests.
23321         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23322         programs.
23323         * benchtests/exp-inputs: New input file for EXP function.
23324         * benchtests/pow-inputs: New input file for POW function.
23325         * scripts/bench.pl: New script to generate source files for
23326         benchmark programs.
23327
23328 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23329
23330         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23331         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23332         computations on mantissa.  Use macros for rounding and
23333         division.
23334         (denorm): Likewise.
23335         (__dbl_mp): Likewise.
23336         (add_magnitudes): Likewise.
23337         (sub_magnitudes): Likewise.
23338         (__mul): Likewise.
23339         (__sqr): Likewise.
23340         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23341         powers of two in terms of TWOPOW macro.
23342         (mp_no): Make type of mantissa as MANTISSA_T.
23343         [!RADIXI]: Define RADIXI.
23344         [!TWO52]: Define TWO52.
23345         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23346
23347         * manual/nptl.texi (cindex): Modify threads to pthreads.
23348
23349 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23350
23351         * sysdeps/x86_64/preconfigure: Regenerated.
23352
23353 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23354
23355         [BZ #14155]
23356         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23357         0x1p28 and above.
23358         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23359         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23360         0x1p28 and above.
23361         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23362         * math/libm-test.inc (j0_test): Do not allow one spurious
23363         underflow exception.
23364         (y1_test): Likewise.
23365
23366 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23367
23368         * manual/Makefile (chapters): Add nptl.
23369         * manual/debug.texi (Debugging Support): Add link to Threads
23370         chapter.
23371         * manual/nptl.texi: New file.
23372
23373         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23374
23375 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23376
23377         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23378         for non-NULL pointer before the memory validity test. Pointed
23379         out by Holger Brunck <holger.brunck@keymile.com>.
23380
23381 2013-03-13  Andreas Schwab  <schwab@suse.de>
23382
23383         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23384         instead of .os.
23385
23386 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23387
23388         * timezone/zic.c: Update from tzcode 2013b.
23389
23390 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23391
23392         * manual/install.texi (Configuring and compiling):
23393         Mention i686 and i586.
23394         * INSTALL: Regenerate.
23395
23396 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23397
23398         * sysdeps/init_array/elf-init.c: New file.
23399         * csu/elf-init.c
23400         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23401         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23402
23403         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23404         __gmon_start__ as global, but as static with a .preinit_array pointer.
23405         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23406         * sysdeps/init_array/crti.S: New file, empty except for comments.
23407         * sysdeps/init_array/crtn.S: Likewise.
23408
23409 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23410
23411         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23412         definining bcopy.
23413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23414         Remove Prefer_SSE_for_memop.
23415         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23416         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23417         HAS_PREFER_SSE_FOR_MEMOP.
23418         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23419         memset-x86-64.
23420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23421         Remove bzero, memset ifunc support.
23422         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23423         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23424         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23425         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23426
23427 2013-03-11  Andreas Schwab  <schwab@suse.de>
23428
23429         [BZ #15234]
23430         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23431         by SHLIB_COMPAT.
23432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23433         (GLIBC_2.16): Remove pthread_atfork.
23434
23435 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23436
23437         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23438         (ptestcases.h): Likewise.
23439
23440 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23441
23442         * Makeconfig ($(common-objpfx)config.status): Depend on
23443         sysdeps/*/preconfigure{,.in} too.
23444
23445 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23446
23447         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23448         (__free_hook): Use void * instead of __malloc_ptr_t.
23449         (__malloc_hook): Likewise.
23450         (__realloc_hook): Likewise.
23451         (__memalign_hook): Likewise.
23452         (__after_morecore_hook): Likewise.
23453         * malloc/arena.c (save_malloc_hook): Likewise.
23454         (save_free_hook): Likewise.
23455         * malloc/hooks.c (malloc_hook_ini): Likewise.
23456         (realloc_hook_ini): Likewise.
23457         (memalign_hook_ini): Likewise.
23458         * malloc/malloc.c (malloc_hook_ini): Likewise.
23459         (realloc_hook_ini): Likewise.
23460         (memalign_hook_ini): Likewise.
23461         (__free_hook): Likewise.
23462         (__malloc_hook): Likewise.
23463         (__realloc_hook): Likewise.
23464         (__memalign_hook): Likewise.
23465         (__libc_malloc): Likewise.
23466         (__libc_free): Likewise.
23467         (__libc_realloc): Likewise.
23468         (__libc_memalign): Likewise.
23469         (__libc_valloc): Likewise.
23470         (__libc_pvalloc): Likewise.
23471         (__libc_calloc): Likewise.
23472         (__posix_memalign): Likewise.
23473         * malloc/morecore.c (__sbrk): Likewise.
23474         (__default_morecore): Likewise.
23475
23476         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23477
23478         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23479         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23480         __malloc_ptrdiff_t.
23481
23482         * malloc/malloc.h (__malloc_size_t): Remove macro.
23483         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23484         __malloc_size_t.
23485         (old_memalign_hook): Likewise.
23486         (old_realloc_hook): Likewise.
23487         (struct hdr): Likewise.
23488         (flood): Likewise.
23489         (mallochook): Likewise.
23490         (memalignhook): Likewise.
23491         (reallochook): Likewise.
23492         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23493         (tr_old_realloc_hook): Likewise.
23494         (tr_old_memalign_hook): Likewise.
23495         (tr_mallochook): Likewise.
23496         (tr_reallochook): Likewise.
23497         (tr_memalignhook): Likewise.
23498
23499 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23500
23501         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23502         default_ldbl_pack and using as default implementation.
23503         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23504         implementation.
23505         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23506         redundant definition.
23507         (ldbl_insert_mantissa): Likewise.
23508         (ldbl_canonicalize): Likewise.
23509         (ldbl_nearbyint): Likewise.
23510         (ldbl_pack): Rename to ldbl_pack_ppc.
23511         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23512         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23513         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23514
23515 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23516
23517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23518         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23519         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23520         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23522         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23523         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23524         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23525
23526 2013-03-07  Andreas Jaeger  <aj@suse.de>
23527
23528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23529         bits/mman-linux.h.
23530
23531 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23532
23533         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23534         Include mpa.h and declare __MPEXP.
23535         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23536         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23537         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23538         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23539         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23540         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23541         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23542
23543         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23544         (__slowpow): Use long double EXPL and LOGL functions to
23545         compute POW.
23546         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23547         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23548         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23549         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23550         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23552
23553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23554         intermediate variable to calculate exponent.
23555         (__sqr): Likewise.
23556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23557         Likewise.
23558         (__sqr): Likewise.
23559
23560         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23561         [!NO__SQR]: Define __sqr.
23562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23563         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23564         sysdeps/ieee754/dbl-64/mpa.c.
23565         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23566
23567         [BZ #12723]
23568         * posix/Makefile (tests): Add tst-pathconf.
23569         * posix/tst-pathconf.c: New test case.
23570         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23571         _PC_PIPE_BUF.
23572         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23573
23574 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23575
23576         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23577
23578 2013-03-06  Andreas Jaeger  <aj@suse.de>
23579
23580         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23581         definition via __MAP_ANONYMOUS.
23582
23583         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23584         it's not part of Linux headers.
23585
23586         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23587         (MAP_HUGE_MASK): Define.
23588
23589         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23590         Define.
23591         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23593         Define.
23594         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23595         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23596         Define.
23597         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23598         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23599         Define.
23600         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23601
23602         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23603         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23604         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23605         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23606         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23607         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23608
23609         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23610         Handle f2fs.
23611
23612         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23613         Handle f2fs and efivarfs.
23614
23615         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23616         f2fs.
23617
23618         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23619         (EFIVARFS_MAGIC): Add.
23620         (F2FS_LINK_MAX): Add.
23621
23622 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23623
23624         * stdio-common/vfprintf.c: Replace __builtin_expect with
23625         __glibc_unlikely.
23626
23627 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23628
23629         [BZ #13550]
23630         * sysdeps/generic/bp-sym.h: Remove file.
23631         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23632         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23633         <bp-sym.h> and <bp-asm.h>.
23634         (__longjmp): Don't use BP_SYM.
23635         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23636         and <bp-asm.h>.
23637         (memcpy): Don't use BP_SYM.
23638         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23639         <bp-sym.h> and <bp-asm.h>.
23640         (memcpy): Don't use BP_SYM.
23641         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23642         <bp-asm.h>.
23643         (memcpy): Don't use BP_SYM.
23644         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23645         <bp-asm.h>.
23646         (memset): Don't use BP_SYM.
23647         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23648         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23649         (__bzero): Don't use BP_SYM.
23650         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23651         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23652         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23653         <bp-sym.h> and <bp-asm.h>.
23654         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23655         pointers.
23656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23657         <bp-sym.h> and <bp-asm.h>.
23658         (memcpy): Don't use BP_SYM.
23659         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23660         <bp-sym.h> and <bp-asm.h>.
23661         (memset): Don't use BP_SYM.
23662         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23663         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23664         (__bzero): Don't use BP_SYM.
23665         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23666         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23667         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23668         <bp-sym.h> and <bp-asm.h>.
23669         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23670         pointers.
23671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23672         <bp-sym.h> and <bp-asm.h>.
23673         (memcpy): Don't use BP_SYM.
23674         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23675         <bp-sym.h> and <bp-asm.h>.
23676         (memset): Don't use BP_SYM.
23677         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23678         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23679         (__bzero): Don't use BP_SYM.
23680         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23681         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23682         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23683         <bp-sym.h> and <bp-asm.h>.
23684         (__memchr): Don't use BP_SYM.
23685         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23686         <bp-sym.h> and <bp-asm.h>.
23687         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23688         pointers.
23689         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23690         <bp-sym.h> and <bp-asm.h>.
23691         (memcpy): Don't use BP_SYM.
23692         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23693         <bp-sym.h> and <bp-asm.h>.
23694         (__mempcpy): Don't use BP_SYM.
23695         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23696         <bp-sym.h> and <bp-asm.h>.
23697         (__memrchr): Don't use BP_SYM.
23698         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23699         <bp-sym.h> and <bp-asm.h>.
23700         (memset): Don't use BP_SYM.
23701         (__bzero): Likewise.
23702         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23703         <bp-sym.h> and <bp-asm.h>.
23704         (__rawmemchr): Don't use BP_SYM.
23705         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23706         <bp-sym.h> and <bp-asm.h>.
23707         (__STRCMP): Don't use BP_SYM.
23708         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23709         <bp-sym.h> and <bp-asm.h>.
23710         (strchr): Don't use BP_SYM.
23711         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23712         <bp-sym.h> and <bp-asm.h>.
23713         (__strchrnul): Don't use BP_SYM.
23714         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23715         <bp-sym.h> and <bp-asm.h>.
23716         (strlen): Don't use BP_SYM.
23717         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23718         <bp-sym.h> and <bp-asm.h>.
23719         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23720         pointers.
23721         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23722         <bp-sym.h> and <bp-asm.h>.
23723         (__strnlen): Don't use BP_SYM.
23724         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23725         <bp-sym.h> and <bp-asm.h>.
23726         (__GI__setjmp): Don't use BP_SYM.
23727         (_setjmp): Likewise.
23728         (__sigsetjmp): Likewise.
23729         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23730         (L(start_addresses)): Don't use BP_SYM.
23731         (_start): Likewise.
23732         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23733         <bp-asm.h>.
23734         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23735         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23736         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23737         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23738         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23739         <bp-asm.h>.
23740         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23741         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23742         about bounded pointers.
23743         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23744         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23745         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23746         <bp-asm.h>.
23747         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23748         about bounded pointers.  Remove GKM FIXME comments.
23749         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23750         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23751         <bp-asm.h>.
23752         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23753         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23754         Remove GKM FIXME comments.
23755         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23756         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23757         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23758         <bp-asm.h>.
23759         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23760         about bounded pointers.  Remove GKM FIXME comment.
23761         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23762         and <bp-asm.h>.
23763         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23764         pointers.
23765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23766         <bp-sym.h> and <bp-asm.h>.
23767         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23769         <bp-sym.h> and <bp-asm.h>.
23770         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23771         comment.
23772
23773 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23774
23775         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23776         call free(NULL).
23777
23778 2013-03-05  David S. Miller  <davem@davemloft.net>
23779
23780         * po/es.po: Update from translation team.
23781
23782 2013-03-05  Andreas Jaeger  <aj@suse.de>
23783
23784         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23785         <bits/mman-linux.h>.
23786         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23787         is fine.
23788         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23789         <bits/mman-linux.h> to end of file.
23790         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23791         is fine.
23792         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23793         <bits/mman-linux.h> to end of file.
23794         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23795         is fine.
23796         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23797         <bits/mman-linux.h> to end of file.
23798
23799         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23800         (MCL_CURRENT, MCL_FUTURE): Define here.
23801
23802 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23803
23804         [BZ #15232]
23805         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23806         attribute_hidden.
23807         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23808
23809 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23810
23811         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23812         fourth parameter needed for rt_sigprocmask syscall.
23813         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23814         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23815         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23816         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23817         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23818         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23819
23820 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23821
23822         [BZ #13550]
23823         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23824         comment about bounded pointers.
23825         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23826         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23827
23828 2013-03-04  Andreas Jaeger  <aj@suse.de>
23829
23830         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23831         common definitions.
23832
23833         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23834         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23835         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23836         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23837         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23838         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23839
23840 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23841
23842         [BZ #15055]
23843         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23844         __ieee754_sqrl instead of __sqrl.
23845
23846 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23847
23848         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23849         * sysdeps/powerpc/fpu_control.h: ... here.
23850         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23851         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23852         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23853         * sysdeps/powerpc/bits/mathinline.h: ... here.
23854
23855 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23856
23857         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23858         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23859         to just [NEED_DL_SYSINFO_DSO].
23860         * elf/dl-support.c: Likewise.
23861         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23862         * elf/rtld.c (dl_main): Likewise.
23863         * elf/setup-vdso.h (setup_vdso): Likewise.
23864         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23865         * sysdeps/unix/sysv/linux/dl-sysdep.c
23866         (_dl_discover_osversion): Likewise.
23867
23868 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23869
23870         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23871         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23872
23873 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23874
23875         * NEWS: Mention libm performance improvements and non-x86 PI
23876         futex support.
23877
23878         * csu/libc-start.c (__pthread_initialize_minimal): Change
23879         function arguments.
23880         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23881
23882 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23883
23884         [BZ #13550]
23885         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23886         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23887         <bp-sym.h> and <bp-asm.h>.
23888         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23889         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23890         and <bp-asm.h>.
23891         (memcpy): Don't use BP_SYM.
23892         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23893         <bp-asm.h>.
23894         (__mpn_add_n): Don't use BP_SYM.
23895         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23896         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23897         and <bp-asm.h>.
23898         (__mpn_addmul_1): Don't use BP_SYM.
23899         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23900         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23901         <bp-sym.h>.
23902         (_setjmp): Don't use BP_SYM.
23903         (__novmx_setjmp): Likewise.
23904         (__GI__setjmp): Likewise.
23905         (__vmx_setjmp): Likewise.
23906         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23907         <bp-sym.h>.
23908         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23909         (__bzero): Don't use BP_SYM.
23910         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23911         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23912         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23913         <bp-sym.h> and <bp-asm.h>.
23914         (memcpy): Don't use BP_SYM.
23915         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23916         <bp-sym.h> and <bp-asm.h>.
23917         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23919         <bp-sym.h> and <bp-asm.h>.
23920         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23921         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23922         <bp-asm.h>.
23923         (__mpn_lshift): Don't use BP_SYM.
23924         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23925         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23926         <bp-asm.h>.
23927         (memset): Don't use BP_SYM.
23928         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23929         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23930         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23931         <bp-asm.h>.
23932         (__mpn_mul_1): Don't use BP_SYM.
23933         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23934         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23935         <bp-sym.h> and <bp-asm.h>.
23936         (memcmp): Don't use BP_SYM.
23937         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23938         <bp-sym.h> and <bp-asm.h>.
23939         (memcpy): Don't use BP_SYM.
23940         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23941         <bp-sym.h> and <bp-asm.h>.
23942         (memset): Don't use BP_SYM.
23943         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23944         <bp-sym.h> and <bp-asm.h>.
23945         (strncmp): Don't use BP_SYM.
23946         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23947         <bp-sym.h> and <bp-asm.h>.
23948         (memcpy): Don't use BP_SYM.
23949         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23950         <bp-sym.h> and <bp-asm.h>.
23951         (memset): Don't use BP_SYM.
23952         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23953         <bp-sym.h> and <bp-asm.h>.
23954         (__memchr): Don't use BP_SYM.
23955         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23956         <bp-sym.h> and <bp-asm.h>.
23957         (memcmp): Don't use BP_SYM.
23958         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23959         <bp-sym.h> and <bp-asm.h>.
23960         (memcpy): Don't use BP_SYM.
23961         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23962         <bp-sym.h> and <bp-asm.h>.
23963         (__mempcpy): Don't use BP_SYM.
23964         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23965         <bp-sym.h> and <bp-asm.h>.
23966         (__memrchr): Don't use BP_SYM.
23967         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23968         <bp-sym.h> and <bp-asm.h>.
23969         (memset): Don't use BP_SYM.
23970         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23971         <bp-sym.h> and <bp-asm.h>.
23972         (__rawmemchr): Don't use BP_SYM.
23973         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23974         <bp-sym.h> and <bp-asm.h>.
23975         (__STRCMP): Don't use BP_SYM.
23976         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23977         <bp-sym.h> and <bp-asm.h>.
23978         (strchr): Don't use BP_SYM.
23979         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23980         <bp-sym.h> and <bp-asm.h>.
23981         (__strchrnul): Don't use BP_SYM.
23982         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23983         <bp-sym.h> and <bp-asm.h>.
23984         (strlen): Don't use BP_SYM.
23985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23986         <bp-sym.h> and <bp-asm.h>.
23987         (strncmp): Don't use BP_SYM.
23988         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23989         <bp-sym.h> and <bp-asm.h>.
23990         (__strnlen): Don't use BP_SYM.
23991         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23992         <bp-asm.h>.
23993         (__mpn_rshift): Don't use BP_SYM.
23994         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23995         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23996         <bp-sym.h> and <bp-asm.h>.
23997         (__sigsetjmp): Don't use BP_SYM.
23998         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23999         (L(start_addresses)): Don't use BP_SYM.
24000         (_start): Likewise.
24001         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24002         <bp-asm.h>.
24003         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24004         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24005         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24006         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24007         <bp-asm.h>.
24008         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24009         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24010         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24011         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24012         <bp-asm.h>.
24013         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24014         comments.
24015         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24016         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24017         <bp-asm.h>.
24018         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24019         FIXME comments.
24020         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24021         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24022         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24023         <bp-asm.h>.
24024         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24025         comment.
24026         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24027         and <bp-asm.h>.
24028         (strncmp): Don't use BP_SYM,
24029         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24030         <bp-asm.h>.
24031         (__mpn_sub_n): Don't use BP_SYM.
24032         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24033         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24034         and <bp-asm.h>.
24035         (__mpn_submul_1): Don't use BP_SYM.
24036         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24038         <bp-sym.h> and <bp-asm.h>.
24039         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24041         <bp-sym.h> and <bp-asm.h>.
24042         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24043         comment.
24044
24045 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24046
24047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24048         Use ZK to minimize writes to Z.
24049         (sub_magnitudes): Simplify code a bit.
24050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24051         Use ZK to minimize writes to Z.
24052         (sub_magnitudes): Simplify code a bit.
24053
24054 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24055
24056         * csu/gmon-start.c: Add special exception to license text.
24057
24058 2013-02-27  Richard Henderson  <rth@redhat.com>
24059
24060         * scripts/config.guess: Update from config.git.
24061         * scripts/config.sub: Likewise.
24062
24063 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24064
24065         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24066
24067         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24068
24069         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24070
24071         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24072
24073         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24074
24075 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24076
24077         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24078         [$(build-shared = yes].
24079
24080 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24081
24082         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24083         (__mul): Reduce iterations for calculating mantissa.
24084
24085         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24086         MPTWO.
24087         (__mpranred): Likewise.
24088
24089         [BZ #15160]
24090         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24091         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24092
24093 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24094
24095         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24096         Define __attribute__.
24097
24098 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099
24100         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24101         unused.
24102         * posix/regex_internal.h (__attribute): Remove.
24103         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24104         (re_string_context_at): Likewise.
24105         (bitset_not): Use __attribute__ and mark function as possibly
24106         unused.
24107         (bitset_merge): Likewise.
24108         (bitset_mask): Likewise.
24109         (re_string_char_size_at): Likewise.
24110         (re_string_wchar_at): Likewise.
24111         (re_string_elem_size_at): Likewise.
24112
24113 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24114
24115         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24116         code.
24117         (cc32): Likewise.
24118
24119         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24120         (__acr): Likewise.
24121         (__cpy): Likewise.
24122         (norm): Likewise.
24123         (denorm): Likewise.
24124         (__dbl_mp): Likewise.
24125         (add_magnitudes): Likewise.
24126         (sub_magnitudes): Likewise.
24127         (__mul): Likewise.
24128         (__inv): Likewise.
24129
24130         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24131         style.
24132
24133         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24134         style.
24135
24136         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24137         code.
24138
24139         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24140         up changes with default code.
24141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24142         Likewise.
24143
24144 2013-02-24  Allan McRae  <allan@archlinux.org>
24145
24146         * manual/socket.texi (The Internet Namespace): Order menu items
24147         to match that in the file.
24148
24149         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24150         node listing of the info page menu.
24151
24152 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24153
24154         [BZ #13550]
24155         * sysdeps/i386/bp-asm.h: Remove file.
24156         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24157         (PARMS): Do not use macros from bp-asm.h.
24158         (S1): Likewise.
24159         (S2): Likewise.
24160         (SIZE): Likewise.
24161         (__mpn_add_n): Do not use BP_SYM
24162         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24163         "bp-asm.h".
24164         (PARMS): Do not use macros from bp-asm.h.
24165         (S1): Likewise.
24166         (SIZE): Likewise.
24167         (__mpn_addmul_1): Do not use BP_SYM
24168         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24169         "bp-asm.h".
24170         (PARMS): Do not use macros from bp-asm.h.
24171         (SIGMSK): Likewise.
24172         (_setjmp): Likewise.  Do not use BP_SYM.
24173         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24174         "bp-asm.h".
24175         (PARMS): Do not use macros from bp-asm.h.
24176         (SIGMSK): Likewise.
24177         (setjmp): Likewise.  Do not use BP_SYM.
24178         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24179         "bp-asm.h".
24180         (PARMS): Do not use macros from bp-asm.h.
24181         (__frexp): Do not use BP_SYM.
24182         (frexp): Likewise.
24183         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24184         "bp-asm.h".
24185         (PARMS): Do not use macros from bp-asm.h.
24186         (__frexpf): Do not use BP_SYM.
24187         (frexpf): Likewise.
24188         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24189         "bp-asm.h".
24190         (PARMS): Do not use macros from bp-asm.h.
24191         (__frexpl): Do not use BP_SYM.
24192         (frexpl): Likewise.
24193         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24194         "bp-asm.h".
24195         (PARMS): Do not use macros from bp-asm.h.
24196         (__remquo): Do not use BP_SYM.
24197         (remquo): Likewise.
24198         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24199         "bp-asm.h".
24200         (PARMS): Do not use macros from bp-asm.h.
24201         (__remquof): Do not use BP_SYM.
24202         (remquof): Likewise.
24203         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24204         "bp-asm.h".
24205         (PARMS): Do not use macros from bp-asm.h.
24206         (__remquol): Do not use BP_SYM.
24207         (remquol): Likewise.
24208         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24209         "bp-asm.h".
24210         (PARMS): Do not use macros from bp-asm.h.
24211         (DEST): Likewise.
24212         (SRC): Likewise.
24213         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24214         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24215         "bp-asm.h".
24216         (PARMS): Do not use macros from bp-asm.h.
24217         (strlen): Do not use BP_SYM.
24218         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24219         "bp-asm.h".
24220         (PARMS): Do not use macros from bp-asm.h.
24221         (S1): Likewise.
24222         (S2): Likewise.
24223         (SIZE): Likewise.
24224         (__mpn_add_n): Do not use BP_SYM.
24225         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24226         "bp-asm.h".
24227         (PARMS): Do not use macros from bp-asm.h.
24228         (S1): Likewise.
24229         (SIZE): Likewise.
24230         (__mpn_addmul_1): Do not use BP_SYM.
24231         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24232         weak_alias.
24233         (bzero): Likewise.
24234         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24235         "bp-asm.h".
24236         (PARMS): Do not use macros from bp-asm.h.
24237         (S): Likewise.
24238         (SIZE): Likewise.
24239         (__mpn_lshift): Do not use BP_SYM.
24240         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24241         "bp-asm.h".
24242         (PARMS): Do not use macros from bp-asm.h.
24243         (DEST): Likewise.
24244         (SRC): Likewise.
24245         (LEN): Likewise.
24246         (memcpy): Likewise.  Do not use BP_SYM.
24247         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24248         libc_hidden_def and weak_alias.
24249         (mempcpy): Do not use BP_SYM in weak_alias.
24250         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24251         "bp-asm.h".
24252         (PARMS): Do not use macros from bp-asm.h.
24253         (DEST): Likewise.
24254         (LEN): Likewise.
24255         [!BZERO_P] (CHR): Likewise.
24256         (memset): Likewise.  Do not use BP_SYM.
24257         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24258         "bp-asm.h".
24259         (PARMS): Do not use macros from bp-asm.h.
24260         (S1): Likewise.
24261         (SIZE): Likewise.
24262         (__mpn_mul_1): Do not use BP_SYM.
24263         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24264         "bp-asm.h".
24265         (PARMS): Do not use macros from bp-asm.h.
24266         (S): Likewise.
24267         (SIZE): Likewise.
24268         (__mpn_rshift): Do not use BP_SYM.
24269         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24270         "bp-asm.h".
24271         (PARMS): Do not use macros from bp-asm.h.
24272         (STR): Likewise.
24273         (CHR): Likewise.
24274         (strchr): Likewise.  Do not use BP_SYM.
24275         (index): Do not use BP_SYM in weak_alias.
24276         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24277         "bp-asm.h".
24278         (PARMS): Do not use macros from bp-asm.h.
24279         (DEST): Likewise.
24280         (SRC): Likewise.
24281         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24282         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24283         "bp-asm.h".
24284         (PARMS): Do not use macros from bp-asm.h.
24285         (strlen): Do not use BP_SYM.
24286         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24287         "bp-asm.h".
24288         (PARMS): Do not use macros from bp-asm.h.
24289         (S1): Likewise.
24290         (S2): Likewise.
24291         (SIZE): Likewise.
24292         (__mpn_sub_n): Do not use BP_SYM.
24293         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24294         "bp-asm.h".
24295         (PARMS): Do not use macros from bp-asm.h.
24296         (S1): Likewise.
24297         (SIZE): Likewise.
24298         (__mpn_submul_1): Do not use BP_SYM.
24299         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24300         "bp-asm.h".
24301         (PARMS): Do not use macros from bp-asm.h.
24302         (S1): Likewise.
24303         (S2): Likewise.
24304         (SIZE): Likewise.
24305         (__mpn_add_n): Do not use BP_SYM.
24306         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24307         weak_alias.
24308         (bzero): Likewise.
24309         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24310         "bp-asm.h".
24311         (PARMS): Do not use macros from bp-asm.h.
24312         (BLK2): Likewise.
24313         (LEN): Likewise.
24314         (memcmp): Do not use BP_SYM.
24315         (bcmp): Do not use BP_SYM in weak_alias.
24316         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24317         "bp-asm.h".
24318         (PARMS): Do not use macros from bp-asm.h.
24319         (DEST): Likewise.
24320         (SRC): Likewise.
24321         (LEN): Likewise.
24322         (memcpy): Likewise.  Do not use BP_SYM.
24323         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24324         "bp-asm.h".
24325         (PARMS): Do not use macros from bp-asm.h.
24326         (DEST): Likewise.
24327         (SRC): Likewise.
24328         (LEN): Likewise.
24329         (memmove): Likewise.  Do not use BP_SYM.
24330         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24331         "bp-asm.h".
24332         (PARMS): Do not use macros from bp-asm.h.
24333         (DEST): Likewise.
24334         (SRC): Likewise.
24335         (LEN): Likewise.
24336         (__mempcpy): Likewise.  Do not use BP_SYM.
24337         (mempcpy): Do not use BP_SYM in weak_alias.
24338         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24339         "bp-asm.h".
24340         (PARMS): Do not use macros from bp-asm.h.
24341         (DEST): Likewise.
24342         (LEN): Likewise.
24343         [!BZERO_P] (CHR): Likewise.
24344         (memset): Likewise.  Do not use BP_SYM.
24345         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24346         "bp-asm.h".
24347         (PARMS): Do not use macros from bp-asm.h.
24348         (STR2): Likewise.
24349         (strcmp): Do not use BP_SYM.
24350         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24351         "bp-asm.h".
24352         (PARMS): Do not use macros from bp-asm.h.
24353         (STR): Likewise.
24354         (DELIM): Likewise.
24355         [USE_AS_STRTOK_R] (SAVE): Likewise.
24356         (FUNCTION): Likewise.  Do not use BP_SYM.
24357         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24358         aliases.
24359         (strtok_r): Likewise.
24360         (__GI___strtok_r): Likewise.
24361         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24362         (PARMS): Do not use macros from bp-asm.h.
24363         (S): Likewise.
24364         (SIZE): Likewise.
24365         (__mpn_lshift): Do not use BP_SYM.
24366         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24367         (PARMS): Do not use macros from bp-asm.h.
24368         (STR): Likewise.
24369         (CHR): Likewise.
24370         (__memchr): Do not use BP_SYM.
24371         (memchr): Do not use BP_SYM in weak_alias.
24372         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24373         (PARMS): Do not use macros from bp-asm.h.
24374         (BLK2): Likewise.
24375         (LEN): Likewise.
24376         (memcmp): Do not use BP_SYM.
24377         (bcmp): Do not use BP_SYM in weak_alias.
24378         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24379         (PARMS): Do not use macros from bp-asm.h.
24380         (S1): Likewise.
24381         (SIZE): Likewise.
24382         (__mpn_mul_1): Do not use BP_SYM.
24383         * sysdeps/i386/rawmemchr.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         (__rawmemchr): Do not use BP_SYM.
24389         (rawmemchr): Do not use BP_SYM in weak_alias.
24390         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24391         (PARMS): Do not use macros from bp-asm.h.
24392         (S): Likewise.
24393         (SIZE): Likewise.
24394         (__mpn_rshift): Do not use BP_SYM.
24395         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24396         (PARMS): Do not use macros from bp-asm.h.
24397         (SIGMSK): Likewise.
24398         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24399         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24400         (_start): Do not use BP_SYM.
24401         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24402         (PARMS): Do not use macros from bp-asm.h.
24403         (DEST): Likewise.
24404         (SRC): Likewise.
24405         (__stpcpy): Likewise.  Do not use BP_SYM.
24406         (stpcpy): Do not use BP_SYM in weak_alias.
24407         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24408         "bp-asm.h".
24409         (PARMS): Do not use macros from bp-asm.h.
24410         (DEST): Likewise.
24411         (SRC): Likewise.
24412         (LEN): Likewise.
24413         (__stpncpy): Likewise.  Do not use BP_SYM.
24414         (stpncpy): Do not use BP_SYM in weak_alias.
24415         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24416         (PARMS): Do not use macros from bp-asm.h.
24417         (STR): Likewise.
24418         (CHR): Likewise.
24419         (strchr): Likewise.  Do not use BP_SYM.
24420         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24421         "bp-asm.h".
24422         (PARMS): Do not use macros from bp-asm.h.
24423         (STR): Likewise.
24424         (CHR): Likewise.
24425         (__strchrnul): Likewise.  Do not use BP_SYM.
24426         (strchrnul): Do not use BP_SYM in weak_alias.
24427         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24428         "bp-asm.h".
24429         (PARMS): Do not use macros from bp-asm.h.
24430         (STOP): Likewise.
24431         (strcspn): Do not use BP_SYM.
24432         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24433         "bp-asm.h".
24434         (PARMS): Do not use macros from bp-asm.h.
24435         (STR): Likewise.
24436         (STOP): Likewise.
24437         (strpbrk): Likewise.  Do not use BP_SYM.
24438         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24439         "bp-asm.h".
24440         (PARMS): Do not use macros from bp-asm.h.
24441         (STR): Likewise.
24442         (CHR): Likewise.
24443         (strrchr): Likewise.  Do not use BP_SYM.
24444         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24445         (PARMS): Do not use macros from bp-asm.h.
24446         (SKIP): Likewise.
24447         (strspn): Do not use BP_SYM.
24448         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24449         (PARMS): Do not use macros from bp-asm.h.
24450         (STR): Likewise.
24451         (DELIM): Likewise.
24452         (SAVE): Likewise.
24453         (FUNCTION): Likewise.  Do not use BP_SYM.
24454         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24455         aliases.
24456         (strtok_r): Likewise.
24457         (__GI___strtok_r): Likewise.
24458         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24459         (PARMS): Do not use macros from bp-asm.h.
24460         (S1): Likewise.
24461         (S2): Likewise.
24462         (SIZE): Likewise.
24463         (__mpn_sub_n): Do not use BP_SYM.
24464         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24465         "bp-asm.h".
24466         (PARMS): Do not use macros from bp-asm.h.
24467         (S1): Likewise.
24468         (SIZE): Likewise.
24469         (__mpn_submul_1): Do not use BP_SYM.
24470         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24471         <bp-sym.h>.
24472         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24473         and <bp-asm.h>.
24474         (PARMS): Do not use macros from bp-asm.h.
24475         (FLAGS): Likewise.
24476         (PTID): Likewise.
24477         (TLS): Likewise.
24478         (CTID): Likewise.
24479         (__clone): Do not use BP_SYM.
24480         (clone): Do not use BP_SYM in weak_alias.
24481         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24482         and <bp-asm.h>.
24483         (PARMS): Do not use macros from bp-asm.h.
24484         (LEN): Likewise.
24485         (__mmap64): Do not use BP_SYM.
24486         (mmap64): Do not use BP_SYM in weak_alias.
24487         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24488         <bp-sym.h> and <bp-asm.h>.
24489         (PARMS): Do not use macros from bp-asm.h.
24490         (__posix_fadvise64_l64): Do not use BP_SYM.
24491         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24492         (PARMS): Do not use macros from bp-asm.h.
24493         (NSOPS): Likewise.
24494         (semtimedop): Do not use BP_SYM.
24495         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24496         and <bp-asm.h>.
24497
24498 2013-02-21  Allan McRae  <allan@archlinux.org>
24499
24500         * manual/message.texi (Charset conversion in gettext):
24501         Move @end statement to beginning of line.
24502
24503 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24504
24505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24506         static.
24507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24508         Likewise.
24509
24510         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24511         (denorm): Likewise.
24512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24514
24515 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24516
24517         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24518         tail-call to the resolved function if pltexit isn't needed.
24519
24520 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24521
24522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24523         or Y being zero as being unlikely.
24524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24525         Likewise.
24526
24527 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24528
24529         * manual/nss.texi (System Databases and Name Service Switch):
24530         Remove frobnicate @pxref.
24531
24532 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24533
24534         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24535         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24536
24537 2013-02-20  Petr Machata  <pmachata@redhat.com>
24538
24539         * elf/elf.h (R_ARM_TARGET1): New macro.
24540         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24541         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24542         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24543         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24544         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24545         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24546         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24547         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24548         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24549         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24550         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24551         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24552         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24553         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24554         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24555         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24556         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24557         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24558         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24559         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24560         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24561         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24562         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24563         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24564         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24565         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24566         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24567         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24568         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24569         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24570         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24571         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24572         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24573         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24574         (R_ARM_THM_GOT_BREL12): Likewise.
24575         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24576         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24577         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24578         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24579         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24580         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24581         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24582         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24583         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24584
24585 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24586
24587         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24588         __attribute_used__ to __attribute__ ((unused)).
24589
24590 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24591
24592         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24593         powerpc mpa.c.
24594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24595         comment formatting.
24596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24597
24598 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24599
24600         [BZ #13550]
24601         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24602         Remove macro.
24603         (ENTER): Remove both macro definitions.
24604         (LEAVE): Likewise.
24605         (CHECK_BOUNDS_LOW): Likewise.
24606         (CHECK_BOUNDS_HIGH): Likewise.
24607         (CHECK_BOUNDS_BOTH): Likewise.
24608         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24609         (RETURN_BOUNDED_POINTER): Likewise.
24610         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24611         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24612         (POP_ERRNO_LOCATION_RETURN): Likewise.
24613         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24614         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24615         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24616         macros.
24617         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24618         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24619         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24620         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24621         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24622         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24623         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24624         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24625         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24626         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24627         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24628         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24629         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24630         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24631         removed macros.
24632         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24633         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24634         macros.
24635         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24636         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24637         * sysdeps/i386/i586/memset.S (memset): Likewise.
24638         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24639         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24640         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24641         macros.
24642         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24643         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24644         Change uses of L(2) to L(out).
24645         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24646         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24647         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24648         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24649         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24650         removed macros.
24651         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24652         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24653         macros.
24654         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24655         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24656         (RETURN): Do not use macro LEAVE.
24657         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24658         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24659         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24660         * sysdeps/i386/i686/memset.S (memset): Likewise.
24661         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24662         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24663         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24664         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24665         Likewise.
24666         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24667         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24668         L(1_2) and L(1_3) into L(1).
24669         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24670         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24671         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24672         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24673         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24674         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24675         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24676         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24677         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24678         macros.
24679         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24680         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24681         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24682         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24683         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24684         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24685         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24686         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24687         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24688         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24689         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24690         * sysdeps/i386/strspn.S (strspn): Likewise.
24691         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24692         conditional code.
24693         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24694         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24695         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24696         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24697         L(1_3) into L(1_1).
24698         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24699         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24700         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24701         macros.
24702         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24703
24704 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24705
24706         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24707         macro.
24708
24709 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24710
24711         * math/atest-exp.c (exp_mpn): Remove ROUND.
24712         * math/atest-exp2.c (exp_mpn): Likewise.
24713         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24714
24715         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24716         * stdlib/tst-tls-atexit-lib.c: Likewise.
24717         * stdlib/tst-tls-atexit.c: Likewise.
24718
24719 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24720
24721         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24722         and __attribute_alloc_size__.
24723
24724 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24725
24726         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24727         __attribute_alloc_size__.
24728         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24729         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24730
24731 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24732
24733         * include/programs/xmalloc.h: New file.
24734         * catgets/gencat.c: Include it.
24735         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24736         * elf/pldd.c: Likewise.
24737         * iconv/iconv_charmap.c: Likewise.
24738         * iconv/iconvconfig.c: Likewise.
24739         * iconv/strtab.c: Likewise.
24740         * locale/programs/locale.c: Likewise.
24741         * locale/programs/localedef.h: Likewise.
24742         * locale/programs/simple-hash.c: Likewise.
24743         * nscd/nscd.h: Likewise.
24744         * nss/makedb.c: Likewise.
24745         * sysdeps/generic/ldconfig.h: Likewise.
24746
24747 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24748
24749         * Versions.def: Add GLIBC_2.18.
24750         * include/link.h (struct link_map): New member l_tls_dtor_count.
24751         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24752         (__call_tls_dtors): Likewise.
24753         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24754         __cxa_thread_atexit_impl.
24755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24756         Likewise.
24757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24758         Likewise.
24759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24760         Likewise.
24761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24762         Likewise.
24763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24765         Likewise.
24766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24767         Likewise.
24768         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24770         Likewise.
24771         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24772         (tests): Add test case tst-tls-atexit.
24773         (modules-names): Add shared library for tst-tls-atexit.
24774         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24775         (GLIBC_PRIVATE): Add __call_tls_dtors.
24776         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24777         for libstdc++.
24778         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24779         * stdlib/tst-tls-atexit.c: New test case.
24780         * stdlib/tst-tls-atexit-lib.c: New test case.
24781
24782         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24783
24784         * elf/Versions (ld): Add _dl_find_dso_for_object.
24785         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24786         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24787         (dl_open_worker): Use _dl_find_dso_for_object.
24788         * elf/dl-sym.c (do_sym): Likewise.
24789         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24790
24791 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24792
24793         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24794         Syntactic changes only.
24795         (_dl_runtime_profile): Do a tail-call to the resolved function.
24796
24797 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24798
24799         [BZ #13550]
24800         * sysdeps/x86_64/bp-asm.h: Remove file.
24801         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24802         <bp-sym.h> and <bp-asm.h>.
24803         (__clone): Do not use BP_SYM.
24804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24805         <bp-sym.h> and <bp-asm.h>.
24806         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24807         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24808         "bp-asm.h".
24809         (_setjmp): Do not use BP_SYM.
24810         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24811         "bp-asm.h".
24812         (setjmp): Do not use BP_SYM.
24813         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24814         libc_hidden_def.
24815         (mempcpy): Do not use BP_SYM in weak_alias.
24816         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24817         "bp-asm.h".
24818         (strchr): Do not use BP_SYM.
24819         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24820         "bp-asm.h".
24821         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24822         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24823         (_start): Do not use BP_SYM.
24824         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24825         "bp-asm.h".
24826         (strcat): Do not use BP_SYM.
24827         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24828         "bp-asm.h".
24829         (STRCMP): Do not use BP_SYM.
24830         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24831         "bp-asm.h".
24832         (STRCPY): Do not use BP_SYM.
24833         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24834         "bp-asm.h".
24835         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24836         "bp-asm.h".
24837         (FUNCTION): Do not use BP_SYM.
24838         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24839         weak_alias.
24840         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24841
24842 2013-02-17  Andreas Jaeger  <aj@suse.de>
24843
24844         * time/Versions: Sort entries.
24845         * string/Versions: Likewise.
24846         * resolv/Versions: Likewise.
24847         * posix/Versions: Likewise.
24848         * iconv/Versions: Likewise.
24849         * elf/Versions: Likewise.
24850         * wcsmbs/Versions: Likewise.
24851
24852 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24853
24854         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24855         loop termination condition.
24856
24857         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24858         variable to calculate EZ.
24859         (__sqr): Likewise.
24860
24861         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24862         the lower precision input.
24863
24864 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24865
24866         [BZ #13550]
24867         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24868         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24869         (run-via-rtld-prefix): Do not handle %-bp tests.
24870         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24871         (all-object-suffixes): Remove .ob.
24872         (bppfx): Remove variable.
24873         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24874         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24875         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24876         [$(build-bounded) = yes] (libtype.ob): Likewise.
24877         * Makerules (elide-routines.ob): Remove variable.
24878         (do-tests-clean): Do not handle *-bp.out.
24879         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24880         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24881         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24882         (tests): Do not include $(tests-bp.out).
24883         (xtests): Do not include $(xtests-bp.out).
24884         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24885         [$(build-bounded) = yes] ($(addprefix
24886         $(objpfx),$(binaries-bounded))): Remove rule.
24887         ($(objpfx)%-bp.out): Remove rule.
24888         * config.make.in (build-bounded): Remove variable.
24889         * crypt/Makefile [$(build-bounded) = yes]
24890         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24891         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24892         append to variable.
24893         [$(build-bounded) = yes] (install-lib): Likewise.
24894         [$(build-bounded) = yes] (generated): Likewise.
24895         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24896         Remove rule.
24897         * intl/Makefile [$(build-bounded) = yes]
24898         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24899         * math/Makefile [$(build-bounded) = yes]
24900         ($(tests:%=$(objpfx)%-bp): Likewise.
24901         * misc/Makefile [$(build-bounded) = yes]
24902         ($(objpfx)tst-tsearch-bp): Likewise.
24903         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24904         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24905         Remove dependency.
24906         * string/Makefile (o-objects.ob): Remove variable.
24907         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24908         (CFLAGS-.ob): Remove variable.
24909         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24910         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24911         both definitions of variable.
24912         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24913         (ASFLAGS-.ob): Remove variable.
24914
24915 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24916
24917         [BZ #13550]
24918         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24919         Remove __BOUNDED_POINTERS__ from condition.
24920         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24921         * string/bits/string2.h [!__NO_STRING_INLINES &&
24922         !__BOUNDED_POINTERS__]: Likewise.
24923         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24924         Likewise.
24925         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24926         Remove conditional code.
24927         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24928         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24929         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24930         condition.
24931
24932         [BZ #13550]
24933         * csu/libc-start.c: Do not include <bp-sym.h>.
24934         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24935         * elf/dl-open.c: Do not include <bp-sym.h>.
24936         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24937         * math/fegetenv.c: Do not include <bp-sym.h>.
24938         (fegetenv): Do not use BP_SYM in versioned symbols.
24939         * nptl/sysdeps/pthread/bits/libc-lockP.h
24940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24941         <bp-sym.h>.
24942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24943         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24945         (__pthread_mutex_destroy): Likewise.
24946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24947         (__pthread_mutex_lock): Likewise.
24948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24949         (__pthread_mutex_trylock): Likewise.
24950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24951         (__pthread_mutex_unlock): Likewise.
24952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24953         (__pthread_mutexattr_init): Likewise.
24954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24955         (__pthread_mutexattr_destroy): Likewise.
24956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24957         (__pthread_mutexattr_settype): Likewise.
24958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24959         (__pthread_rwlock_init): Likewise.
24960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24961         (__pthread_rwlock_destroy): Likewise.
24962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24963         (__pthread_rwlock_rdlock): Likewise.
24964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24965         (__pthread_rwlock_tryrdlock): Likewise.
24966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24967         (__pthread_rwlock_wrlock): Likewise.
24968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24969         (__pthread_rwlock_trywrlock): Likewise.
24970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24971         (__pthread_rwlock_unlock): Likewise.
24972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24973         (__pthread_key_create): Likewise.
24974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24975         (__pthread_setspecific): Likewise.
24976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24977         (__pthread_getspecific): Likewise.
24978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24979         Likewise.
24980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24981         (_pthread_cleanup_push_defer): Likewise.
24982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24983         (_pthread_cleanup_pop_restore): Likewise.
24984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24985         (pthread_setcancelstate): Likewise.
24986         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24987         <bp-sym.h>.
24988         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24989         (memchr): Do not use BP_SYM in weak_alias.
24990         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24991         (fegetenv): Do not use BP_SYM in versioned symbols.
24992         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24993         (fesetenv): Do not use BP_SYM in versioned symbols.
24994         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24995         (feupdateenv): Do not use BP_SYM in versioned symbols.
24996         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24997         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24998         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24999         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25000         (open64): Do not use BP_SYM in weak_alias.
25001         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25002         (fegetenv): Do not use BP_SYM in versioned symbols.
25003         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25004         (fesetenv): Do not use BP_SYM in versioned symbols.
25005         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25006         (feupdateenv): Do not use BP_SYM in versioned symbols.
25007         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25008         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25009         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25010         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25011         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25012         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25014         <bp-sym.h>.
25015         (__libc_start_main): Do not use BP_SYM.
25016
25017 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25018
25019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25020         redundant return line.
25021         (norm): Likewise.
25022         (denorm): Likewise.
25023         (dbl_mp): Likewise.
25024         (sub_magnitudes): Likewise.
25025         (__add): Likewise.
25026         (__sub): Likewise.
25027         (__mul): Likewise.
25028         (__inv): Likewise.
25029         (__dvd): Likewise.
25030         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25031         (norm): Likewise.
25032         (denorm): Likewise.
25033         (dbl_mp): Likewise.
25034         (sub_magnitudes): Likewise.
25035         (__add): Likewise.
25036         (__sub): Likewise.
25037         (__mul): Likewise.
25038         (__inv): Likewise.
25039         (__dvd): Likewise.
25040
25041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25042         instead of __mul.
25043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25044         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25045         (cc32): Likewise.
25046
25047         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25048         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25049         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25050         of __mul for squares.
25051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25052         function
25053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25054         Likewise.
25055         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25056         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25057
25058 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25059
25060         [BZ #13550]
25061         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25062         code.
25063         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25064         prototype or function definition.  Rename ubp_* variables and
25065         parameters.  Remove argv definitions conditional on
25066         [__BOUNDED_POINTERS__].
25067         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25068         * elf/dl-runtime.c (_dl_fixup): Likewise.
25069         * include/set-hooks.h (RUN_HOOK): Likewise.
25070         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25071         definition.
25072         * string/strcpy.c (strcpy): Do not use __unbounded.
25073         * sysdeps/generic/frame.h (struct layout): Likewise.
25074         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25075         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25076         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25077         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25078         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25079         (__backtrace): Likewise.
25080         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25081         use __ptrvalue.
25082         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25083         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25084         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25085         Likewise.
25086         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25087         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25088         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25089         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25090         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25091         Do not use __unbounded.
25092         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25093         Rename __unboundedrlimits parameter to rlimits in prototype.
25094         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25095         Do not use __unbounded.
25096         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25097         not use __ptrvalue.
25098         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25099         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25100         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25101         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25102         __ptrvalue or __unbounded.
25103         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25104         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25105         use __unbounded.
25106         (__new_msgctl): Do not use __ptrvalue.
25107         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25108         __unbounded.
25109         (__libc_msgrcv): Do not use __ptrvalue.
25110         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25111         startup_info): Do not use __unbounded.
25112         (__libc_start_main): Likewise.  Rename ubp_* variables and
25113         parameters.  Remove argv definitions conditional on
25114         [__BOUNDED_POINTERS__].
25115         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25116         __ptrvalue.
25117         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25118         use __unbounded.
25119         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25120         or __ptrvalue.
25121         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25122         use __unbounded.
25123         (__new_shmctl): Do not use __ptrvalue.
25124         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25125         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25126         Likewise.
25127         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25128         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25129         (__libc_sigaction): Likewise.
25130         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25131         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25132         Likewise.
25133         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25134
25135 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25136
25137         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25138
25139         * string/mempcpy.c: Implement by calling memcpy.
25140
25141 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25142
25143         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25144
25145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25146         evaluation.
25147
25148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25149         values in the mantissa.
25150
25151         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25152         minimize writes to Z.
25153         (sub_magnitudes): Simplify code a bit.
25154
25155 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25156
25157         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25158         from the message.  The linker prefixes all warnings with that already.
25159
25160 2013-02-12  Andreas Schwab  <schwab@suse.de>
25161
25162         [BZ #15078]
25163         * posix/regexec.c (extend_buffers): Add parameter min_len.
25164         (check_matching): Pass minimum needed length.
25165         (clean_state_log_if_needed): Likewise.
25166         (get_subexp): Likewise.
25167         * posix/Makefile (tests): Add bug-regex34.
25168         (bug-regex34-ENV): Define.
25169         * posix/bug-regex34.c: New file.
25170
25171         [BZ #11561]
25172         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25173         elements compare against the byte sequence of it, not its name.
25174         * posix/Makefile (tests): Add bug-regex35.
25175         (bug-regex35-ENV): Define.
25176         * posix/bug-regex35.c: New file.
25177
25178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25179
25180         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25181         comment.
25182         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25183         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25184         (CHECK_EOL): Add undef.
25185
25186 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25187
25188         * bits/stdlib-bsearch.h: New file.
25189         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25190         * stdlib/stdlib.h: Likewise.
25191
25192 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25193
25194         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25195         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25196         declaration.
25197         * manual/search.texi (Array Search Function): Add missing const in
25198         lfind prototype.
25199         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25200         declaration to use rlim_t.
25201         (Basic Scheduling Functions): Remove erroneous const from
25202         sched_getparam prototype.  Remove erroneous * from
25203         sched_get_priority_max and sched_get_priority_min prototypes.
25204         (Resource Usage): Fix summary @comment on vtimes to refer to
25205         sys/vtimes.h rather than vtimes.h.
25206         Add missing *s in vtimes prototype.
25207         (Limits on Resources): Fix ulimit prototype to return long int.
25208         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25209         prototypes to use long int rather than double.
25210         (BSD Random): Fix initstate and setstate to use char *, not void *.
25211         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25212         prototype to make second argument 'struct aiocb64 *const[]'.
25213         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25214         (Status of AIO Operations): Remove erroneous const in aio_return and
25215         aio_return64 prototypes.
25216         (Synchronizing I/O): Fix sync prototype to return void.
25217         * manual/startup.texi (Suboptions): Remove an erroneous const in
25218         getsubopt prototype.
25219         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25220         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25221         use size_t rather than int.
25222         (Scanning All Users): Likewise for getpwent_r.
25223         (Setting Groups): Add missing const to setgroups prototype.
25224         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25225         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25226         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25227         'const void *' rather than 'const char *'.
25228         (Host Address Functions): Likewise for inet_ntop.
25229         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25230         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25231         ssize_t for return value.
25232         (Sending Data): Likewise for send, sendto, sendmsg.
25233         (Socket Option Functions): Add a missing const in setsockopt prototype.
25234         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25235         use wchar_t for the argument.
25236         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25237         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25238         take no arguments.
25239         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25240         double/float/long double for second argument.
25241         Fix return types of significand, significandf, significandl.
25242         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25243         argument in fchmod prototype.
25244         (File Owner): Use uid_t and gid_t in fchown prototype.
25245         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25246         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25247         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25248         use 'const struct dirent **' as argument types to CMP function pointer
25249         argument.
25250         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25251         (File Times): Fix summary magic @comment for struct utimbuf and utime
25252         to refer to utime.h, not time.h.
25253         * manual/string.texi (Argz Functions): Add missing const in
25254         argz_extract and argz_next prototypes.
25255         (Finding Tokens in a String): Likewise for basename.
25256         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25257         (Copying and Concatenation): Fix typo in wmemmove prototype.
25258         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25259         (Signal Stack): Remove erroneous const in sigstack prototype.
25260         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25261         prototype.
25262         (Simple Calendar Time): Likewise for stime.
25263         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25264         prototype.
25265         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25266         say sys/sysctl.h instead.
25267         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25268         and vsyslog prototypes.
25269
25270 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25271
25272         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25273         Remove.
25274
25275 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25276
25277         * misc/sys/mman.h: Fix typo in mremap comment.
25278
25279 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25280
25281         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25282         the '\0' terminator.
25283
25284 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25285
25286         [BZ #13550]
25287         * debug/segfault.c: Don't include <bp-checks.h>.
25288         * sysdeps/generic/bp-checks.h: Remove file.
25289         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25290         (__GETDENTS): Don't use CHECK_N.
25291         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25292         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25293         (__getgroups): Don't use CHECK_N.
25294         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25295         (setgroups): Don't use CHECK_N.
25296         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25297         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25298         (__libc_msgrcv): Don't use CHECK_N.
25299         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25300         (__libc_msgsnd): Don't use CHECK_N.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25302         <bp-checks.h>.
25303         (__libc_pread): Don't use CHECK_N.
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25305         include <bp-checks.h>.
25306         (__libc_pread64): Don't use CHECK_N.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25308         include <bp-checks.h>.
25309         (__libc_pwrite): Don't use CHECK_N.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25311         include <bp-checks.h>.
25312         (__libc_pwrite64): Don't use CHECK_N.
25313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25314         <bp-checks.h>.
25315         (__libc_pread): Don't use CHECK_N.
25316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25317         include <bp-checks.h>.
25318         (__libc_pread64): Don't use CHECK_N.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25320         include <bp-checks.h>.
25321         (__libc_pwrite): Don't use CHECK_N.
25322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25323         include <bp-checks.h>.
25324         (__libc_pwrite64): Don't use CHECK_N.
25325         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25326         (do_pread): Don't use CHECK_N.
25327         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25328         (do_pread64): Don't use CHECK_N.
25329         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25330         (do_pwrite): Don't use CHECK_N.
25331         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25332         (do_pwrite64): Don't use CHECK_N.
25333         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25334         (__libc_readv): Don't use CHECK_N.
25335         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25336         (semop): Don't use CHECK_N.
25337         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25338         <bp-checks.h>.
25339         (semtimedop): Don't use CHECK_N.
25340         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25341         (__libc_pread): Don't use CHECK_N.
25342         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25343         <bp-checks.h>.
25344         (__libc_pread64): Don't use CHECK_N.
25345         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25346         <bp-checks.h>.
25347         (__libc_pwrite): Don't use CHECK_N.
25348         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25349         <bp-checks.h>.
25350         (__libc_pwrite64): Don't use CHECK_N.
25351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25352         <bp-checks.h>.
25353         (__libc_msgrcv): Don't use CHECK_N.
25354         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25355         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25356         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25357         (__libc_writev): Don't use CHECK_N.
25358
25359 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25360
25361         * string/strcpy.c: Removed unused variable.
25362
25363         * Makeconfig (+sysdep-includes): Define with := rather than =.
25364         Use an existing include/ subdir of each sysdeps dir before it.
25365
25366 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25367
25368         * nscd/connection.c (register_traced_file): Comment function.
25369         [HAVE_INOTIFY] (union __inev): Define.
25370         [HAVE_INOTIFY] (inotify_check_files): New function.
25371         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25372         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25373         clear_db_cache.
25374         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25375
25376 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25377
25378         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25379         loaded if not already and that a failure is permanent.
25380
25381 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25382
25383         [BZ #15006]
25384         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25385         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25386
25387 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25388
25389         [BZ #13550]
25390         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25391         (CHECK_1_NULL_OK): Likewise.
25392         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25393         (__fxstat): Do not use CHECK_1.
25394         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25395         <bp-checks.h>.
25396         (___fxstat64): Do not use CHECK_1.
25397         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25398         <bp-checks.h>.
25399         (__fxstatat): Do not use CHECK_1.
25400         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25401         <bp-checks.h>.
25402         (__fxstatat64): Do not use CHECK_1.
25403         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25404         <bp-checks.h>.
25405         (__fxstat): Do not use CHECK_1.
25406         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25407         <bp-checks.h>.
25408         (__fxstatat): Do not use CHECK_1.
25409         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25410         <bp-checks.h>.
25411         (__getresgid): Do not use CHECK_1.
25412         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25413         <bp-checks.h>.
25414         (__getresuid): Do not use CHECK_1.
25415         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25416         <bp-checks.h>.
25417         (__lxstat): Do not use CHECK_1.
25418         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25419         <bp-checks.h>.
25420         (__old_msgctl): Do not use CHECK_1.
25421         (__new_msgctl): Likewise.
25422         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25423         <bp-checks.h>.
25424         (__new_setrlimit): Do not use CHECK_1.
25425         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25426         <bp-checks.h>.
25427         (__old_shmctl): Do not use CHECK_1.
25428         (__new_shmctl): Likewise.
25429         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25430         <bp-checks.h>.
25431         (__xstat): Do not use CHECK_1.
25432         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25433         (__lxstat): Do not use CHECK_1.
25434         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25435         <bp-checks.h>.
25436         (___lxstat64): Do not use CHECK_1.
25437         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25438         (__old_msgctl): Do not use CHECK_1.
25439         (__new_msgctl): Likewise.
25440         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25441         <bp-checks.h>.
25442         (__gettimeofday): Do not use CHECK_1.
25443         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25444         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25446         <bp-checks.h>.
25447         (__gettimeofday): Do not use CHECK_1.
25448         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25449         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25450         (__new_shmctl): Do not use CHECK_1.
25451         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25452         <bp-checks.h>.
25453         (do_sigtimedwait): Do not use CHECK_1.
25454         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25455         <bp-checks.h>.
25456         (do_sigwaitinfo): Do not use CHECK_1.
25457         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25458         <bp-checks.h>.
25459         (msgctl): Do not use CHECK_1.
25460         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25461         <bp-checks.h>.
25462         (shmctl): Do not use CHECK_1.
25463         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25464         (ustat): Do not use CHECK_1.
25465         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25466         <bp-checks.h>.
25467         (__fxstat): Do not use CHECK_1.
25468         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25469         <bp-checks.h>.
25470         (__fxstatat): Do not use CHECK_1.
25471         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25472         <bp-checks.h>.
25473         (__lxstat): Do not use CHECK_1.
25474         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25475         <bp-checks.h>.
25476         (__xstat): Do not use CHECK_1.
25477         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25478         (__xstat): Do not use CHECK_1.
25479         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25480         (___xstat64): Do not use CHECK_1.
25481
25482         [BZ #13550]
25483         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25484         definitions.
25485         (CHECK_BOUNDS_HIGH): Likewise.
25486         * string/strcpy.c: Do not include <bp-checks.h>.
25487         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25488
25489 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25490
25491         * nscd/nscd-client.h (__nscd_drop_map_ref):
25492         Add __attribute__ ((unused)).
25493         * nis/nss-nisplus.h (niserr2nss): Likewise.
25494
25495         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25496         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25497
25498         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25499         Remove inline keyword.
25500         * include/rounding-mode.h (round_away): Likewise.
25501         * libio/wfileops.c (adjust_wide_data): Likewise.
25502         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25503         (__m128i_strloadu_tolower): Likewise.
25504         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25505         (__m128i_strloadu_tolower): Likewise.
25506         * time/mktime.c (ydhms_diff): Likewise.
25507         * locale/elem-hash.h (elem_hash): Likewise.
25508         * locale/setlocale.c (setdata): Likewise.
25509         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25510         (re_string_wchar_at): Likewise.
25511         (bitset_not, bitset_merge, bitset_mask): Likewise.
25512         [!(__GNUC__ > 3)] (inline): Remove macro.
25513         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25514         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25515         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25516         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25517         * string/memcmp.c (memcmp_bytes): Likewise.
25518         * locale/programs/locarchive.c (compute_hashval): Likewise.
25519         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25520         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25521         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25522         * nss/getent.c (print_rpc, print_protocols): Likewise.
25523         (print_passwd, print_group, print_aliases): Likewise.
25524         * nis/nss-nisplus.h (niserr2nss): Likewise.
25525         * nscd/connections.c (restart_p): Likewise.
25526         Change return type to bool.
25527
25528 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25529
25530         * Makeconfig (all-Depend-files): Add existing
25531         $(sorted-subdirs:=/Depend) files.
25532         (all-subdirs): Remove nss.
25533         * sysdeps/unix/inet/Subdirs: Add it here instead.
25534         * hesiod/Depend: New file.
25535
25536         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25537         instead of calling alloca.
25538
25539         * io/lseek.c (__lseek): Rename to __libc_lseek.
25540         Define __lseek as an alias.
25541
25542         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25543
25544 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25545
25546         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25547         else clause and remove check for non-standard endianness.
25548
25549 2013-02-04  David S. Miller  <davem@davemloft.net>
25550
25551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25552
25553 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25554
25555         [BZ #13550]
25556         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25557         (__ubp_memchr): Remove prototype.
25558         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25559         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25560         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25561         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25562         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25563         Remove alias.
25564         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25565         (__ubp_memchr): Likewise.
25566         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25567         (__ubp_memchr): Likewise.
25568         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25569         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25570         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25571         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25572         CHECK_STRING.
25573         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25574         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25575         (__getcwd): Do not use CHECK_STRING.
25576         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25577         <bp-checks.h>.
25578         (__real_chown): Do not use CHECK_STRING.
25579         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25580         <bp-checks.h>.
25581         (fchownat): Do not use CHECK_STRING.
25582         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25583         CHECK_STRING.
25584         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25585         <bp-checks.h>.
25586         (__lchown): Do not use CHECK_STRING.
25587         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25588         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25589         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25590         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25592         include <bp-checks.h>.
25593         (truncate64): Do not use CHECK_STRING.
25594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25595         <bp-checks.h>.
25596         (__real_chown): Do not use CHECK_STRING.
25597         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25598         <bp-checks.h>.
25599         (__lchown): Do not use CHECK_STRING.
25600         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25601         <bp-checks.h>.
25602         (__chown): Do not use CHECK_STRING.
25603         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25604         <bp-checks.h>.
25605         (truncate64): Do not use CHECK_STRING.
25606         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25607         Likewise.
25608         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25609         (__xmknod): Do not use CHECK_STRING.
25610         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25611         <bp-checks.h>.
25612         (__xmknodat): Do not use CHECK_STRING.
25613         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25614         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25615
25616 2013-02-04  Andreas Schwab  <schwab@suse.de>
25617
25618         [BZ #14142]
25619         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25620         * include/netdb.h: Likewise for h_errno.
25621         * elf/tst-stackguard1.c: Include <tls.h>.
25622
25623 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25624
25625         * elf/link.h (struct link_map): Extend the l_addr comment.
25626         * include/link.h (struct link_map): Likewise.
25627
25628 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25629
25630         [BZ #13550]
25631         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25632         (BOUNDED_1): Remove macro.
25633         * debug/backtrace.c: Don't include <bp-checks.h>.
25634         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25635         (__backtrace): Likewise.
25636         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25637         <bp-checks.h>.
25638         (__backtrace): Don't use BOUNDED_1.
25639         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25640         <bp-checks.h>.
25641         (__backtrace): Don't use BOUNDED_1.
25642         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25643         (__backtrace): Don't use BOUNDED_1.
25644         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25645         (shmat): Don't use BOUNDED_N.
25646
25647 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25648
25649         [BZ #13550]
25650         * sysdeps/generic/bp-start.h: Remove file.
25651         * csu/libc-start.c: Don't include <bp-start.h>.
25652         (LIBC_START_MAIN): Set up __environ directly instead of using
25653         INIT_ARGV_and_ENVIRON.
25654         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25655         <bp-start.h>.
25656
25657         [BZ #13550]
25658         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25659         definitions.
25660         (CHECK_FCNTL): Likewise.
25661         (CHECK_N_PAGES): Likewise.
25662
25663         [BZ #13550]
25664         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25665         definitions.
25666         (CHECK_SIGSET_NULL_OK): Likewise.
25667         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25668         <bp-checks.h>.
25669         (sigpending): Don't use CHECK_SIGSET.
25670         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25671         <bp-checks.h>.
25672         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25673         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25674         <bp-checks.h>.
25675         (do_sigsuspend): Don't use CHECK_SIGSET.
25676         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25677         use CHECK_SIGSET.
25678         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25679         (do_sigwait): Don't use CHECK_SIGSET.
25680         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25681         use CHECK_SIGSET.
25682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25683         include <bp-checks.h>.
25684         (sigpending): Don't use CHECK_SIGSET.
25685         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25686         include <bp-checks.h>.
25687         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25688         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25689         <bp-checks.h>.
25690         (sigpending): Don't use CHECK_SIGSET.
25691         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25692         <bp-checks.h>.
25693         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25694
25695         [BZ #13550]
25696         * sysdeps/generic/bp-semctl.h: Remove file.
25697         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25698         <bp-checks.h> and <bp-semctl.h>.
25699         (__old_semctl): Don't use CHECK_SEMCTL.
25700         (__new_semctl): Likewise.
25701         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25702         and <bp-semctl.h>.
25703         (__old_semctl): Don't use CHECK_SEMCTL.
25704         (__new_semctl): Likewise.
25705         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25706         <bp-checks.h> and <bp-semctl.h>.
25707         (__old_semctl): Don't use CHECK_SEMCTL.
25708         (__new_semctl): Likewise.
25709         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25710         <bp-checks.h> and <bp-semctl.h>.
25711         (semctl): Don't use CHECK_SEMCTL.
25712
25713         [BZ #13550]
25714         * Makerules (elide-bp-thunks): Remove variable.
25715         (elide-routines.oS): Don't use $(elide-bp-thunks).
25716         (elide-routines.os): Likewise.
25717         (elide-routines.o): Likewise.
25718         (elide-routines.op): Likewise.
25719         (elide-routines.og): Likewise.
25720         (objects): Don't use $(bp-thunks).
25721         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25722         include.
25723         (common-generated): Do not add s-proto-bp.d.
25724         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25725         (int): Likewise.
25726         (typ): Likewise.
25727         Do not generate makefile rules for bounded-pointer thunks.
25728         * sysdeps/generic/bp-thunks.h: Remove file.
25729         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25730         * sysdeps/unix/s-proto-bp.S: Likewise.
25731
25732         [BZ #15062]
25733         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25734         parts of result separately when argument is not close to line from
25735         -i to i and one part of argument is small.
25736         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25737         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25738         * math/libm-test.inc (cacos_test): Add more tests.
25739         (casin_test): Likewise.
25740         (casinh_test): Likewise.
25741         * sysdeps/i386/fpu/libm-test-ulps: Update.
25742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25743
25744 2013-01-31  David S. Miller  <davem@davemloft.net>
25745
25746         * po/de.po: Update from translation team.
25747
25748 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25749
25750         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25751
25752 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25753
25754         * configure.in (_AC_PROG_CC_C89): New definition.
25755         * configure: Regenerate.
25756
25757         * configure.in (AC_PROG_CPP): New definition.
25758         * configure: Regenerate.
25759
25760 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25761
25762         * debug/tst-backtrace.h: New file.
25763         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25764         (ret): Remove variable.
25765         (x): Likewise.
25766         (FAIL): Remove macro.
25767         (NO_INLINE): Likewise.
25768         (fn1): Use match function instead of strstr.
25769         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25770         (ret): Remove variable.
25771         (x): Likewise.
25772         (FAIL): Remove macro.
25773         (NO_INLINE): Likewise.
25774         (fn): Use match function instead of strstr.
25775         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25776         (ret): Remove variable.
25777         (x): Likewise.
25778         (FAIL): Remove macro.
25779         (NO_INLINE): Likewise.
25780         (handle_signal): Use match function instead of strstr.
25781         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25782         (ret): Remove variable.
25783         (x): Likewise.
25784         (FAIL): Remove macro.
25785         (NO_INLINE): Likewise.
25786         (handle_signal): Use match function instead of strstr.
25787
25788 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25789
25790         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25791
25792 2013-01-23  David S. Miller  <davem@davemloft.net>
25793
25794         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25795         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25796         argument of CAS if possible.
25797         * sysdeps/sparc/sparc64/bits/atomic.h
25798         (__arch_compare_and_exchange_val_32_acq): Likewise.
25799         (__arch_compare_and_exchange_val_64_acq): Likewise.
25800
25801 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25802
25803         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25804         * sysdeps/posix/ulimit.c: ... this.
25805         Include <limits.h>.
25806         * sysdeps/unix/bsd/ulimit.c: Remove file.
25807
25808 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25809
25810         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25811         (LDFLAGS-tst-array5): Likewise.
25812
25813 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25814
25815         [BZ #15036]
25816         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25817         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25818         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25819         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25820
25821 2013-01-21  David S. Miller  <davem@davemloft.net>
25822
25823         * sysdeps/sparc/backtrace.c: New file.
25824         * sysdeps/sparc/sparc32/backtrace.h: New file.
25825         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25826         * sysdeps/sparc/sparc64/backtrace.h: New file.
25827         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25828         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25829         -funwind-tables.
25830
25831 2013-01-21  Andreas Schwab  <schwab@suse.de>
25832
25833         [BZ #15020]
25834         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25835         closed its stdout.
25836
25837 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25838
25839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25840         "mpa2.h".
25841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25842
25843 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25844             Mark Mitchell  <mark@codesourcery.com>
25845             Tom de Vries  <tom@codesourcery.com>
25846             Paul Pluzhnikov  <ppluzhnikov@google.com>
25847
25848         * debug/tst-backtrace2.c: New file.
25849         * debug/tst-backtrace3.c: Likewise.
25850         * debug/tst-backtrace4.c: Likewise.
25851         * debug/tst-backtrace5.c: Likewise.
25852         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25853         (CFLAGS-tst-backtrace3.c): Likewise.
25854         (CFLAGS-tst-backtrace4.c): Likewise.
25855         (CFLAGS-tst-backtrace5.c): Likewise.
25856         (LDFLAGS-tst-backtrace2): Likewise.
25857         (LDFLAGS-tst-backtrace3): Likewise.
25858         (LDFLAGS-tst-backtrace4): Likewise.
25859         (LDFLAGS-tst-backtrace5): Likewise.
25860         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25861         tst-backtrace4 and tst-backtrace5.
25862
25863 2013-01-18  Anton Blanchard  <anton@samba.org>
25864             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25865
25866         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25867         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25868         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25869         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25871         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25872         "+r" and remove output regs list as redundant.  Add explicit inline
25873         asm to specify register of return val to work around compiler codegen
25874         bug.  Remove (int) cast on return value.  Add return type parameter to
25875         use in macro so that this macro does not truncate return value for
25876         64-bit values.
25877         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25878         pass to INTERNAL_VSYSCALL_NCS.
25879         (INLINE_VSYSCALL): Add 'long int' as return type to
25880         INTERNAL_VSYSCALL_NCS macro invocation.
25881         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25882         INTERNAL_VSYSCALL_NCS macro invocation.
25883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25884
25885 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25886
25887         [BZ #14496]
25888         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25889         Fix application of SIMD FP exception mask.
25890
25891         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25892         mp_no from a power of two.
25893         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25894         __mpexp_twomm1.  Use __pow_mp.
25895
25896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25897         multiplication.
25898
25899 2013-01-17  David S. Miller  <davem@davemloft.net>
25900
25901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25902
25903 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25904
25905         [BZ #15023]
25906         * include/complex.h: Condition contents on [!_COMPLEX_H].
25907         (__kernel_casinhf): New prototype.
25908         (__kernel_casinh): Likewise.
25909         (__kernel_casinhl): Likewise.
25910         * math/Makefile (libm_calls): Add k_casinh.
25911         * math/k_casinh.c: New file.
25912         * math/k_casinhf.c: Likewise.
25913         * math/k_casinhl.c: Likewise.
25914         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25915         finite nonzero arguments.
25916         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25917         finite nonzero arguments.
25918         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25919         finite nonzero arguments.
25920         * math/s_casinh.c: Do not include <float.h>.
25921         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25922         * math/s_casinhf.c: Do not include <float.h>.
25923         (__casinhf): Move code for finite nonzero arguments to
25924         k_casinhf.c.
25925         * math/s_casinhl.c: Do not include <float.h>.
25926         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25927         redefine.
25928         (__casinhl): Move code for finite nonzero arguments to
25929         k_casinhl.c.
25930         * math/libm-test.inc (cacos_test): Add more tests.
25931         * sysdeps/i386/fpu/libm-test-ulps: Update.
25932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25933
25934 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25935
25936         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25937         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25938         [!HAVE_MREMAP]: Remove [defined linux] case.
25939         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25940
25941 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25942
25943         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25944
25945 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25946
25947         * elf/elf.h (R_386_SIZE32): New relocation.
25948         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25949         R_386_SIZE32.
25950         (elf_machine_rela): Likewise.
25951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25952         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25953
25954 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25955
25956         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25957         (FP_FAST_FMA): Do not define.
25958         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25959         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25960         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25961         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25962         !_SOFT_FLOAT]: Likewise.
25963         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25964         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25965         value.
25966         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25967         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25968         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25969         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25970         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25971         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25972         file.
25973
25974 2013-01-16  Andreas Schwab  <schwab@suse.de>
25975
25976         [BZ #14327]
25977         * include/stdlib.h (__mktemp): Add declaration.
25978         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25979         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25980
25981 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25982
25983         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25984         definitions.
25985         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25986         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25987         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25988         definitions here.
25989         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25990         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25991         definitions.
25992         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25993         and ONE.
25994         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25995         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25996         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25997         definitions.
25998         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25999         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26000         definitions.
26001         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26002
26003         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26004
26005 2013-01-15  David S. Miller  <davem@davemloft.net>
26006
26007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26008         trunc{,f} to libm-sysdep_routes.
26009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26011         file.
26012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26014         file.
26015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26016         file.
26017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26019         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26020         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26021         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26022         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26023         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26024         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26025
26026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26027         nearbyint{,f} to libm-sysdep_routes.
26028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26030         New file.
26031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26032         file.
26033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26034         New file.
26035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26036         file.
26037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26039         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26040         file.
26041         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26042         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26043         file.
26044         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26045         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26046         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26047
26048         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26049         libc_feholdexcept and libc_fesetenv.
26050
26051 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26052
26053         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26054
26055 2013-01-14  David S. Miller  <davem@davemloft.net>
26056
26057         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26058         (SPARC_ASM_VIS2_IFUNC): Likewise.
26059         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26061         use of 'siam' instruction.
26062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26063         Likewise.
26064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26065         Likewise.
26066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26067         Likewise.
26068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26073         file.
26074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26075         file.
26076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26077         file.
26078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26079         file.
26080         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26081         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26082         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26083         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26085         new VIS2 routines.
26086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26089         Likewise.
26090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26095         routines to libm-sysdep_routines.
26096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26097
26098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26099         fdim/fdimf to libm-sysdep_routines.
26100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26101         file.
26102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26104         file.
26105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26108         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26109         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26110         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26111         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26112
26113 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26114
26115         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26116         to optimize copies.
26117
26118         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26121
26122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26123         local variable MPTWO.
26124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26125         Likewise.
26126
26127 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26128
26129         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26130         GLOB_NOESCAPE.
26131
26132 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26133
26134         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26135
26136 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26137
26138         * manual/pattern.texi (glob_t): Document gl_flags.
26139         (glob64_t): Likewise.
26140
26141 2013-01-11  David S. Miller  <davem@davemloft.net>
26142
26143         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26144         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26145         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26146         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26147         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26148         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26149         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26150         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26151         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26152         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26153         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26154         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26155         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26156
26157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26158         sparc V9 rather than using V8 code.
26159         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26160         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26161
26162         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26163         Move to...
26164         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26165         Here.
26166
26167 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26168
26169         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26170         not in the main loop.
26171         * configure: Regenerated.
26172
26173 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26174
26175         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26176         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26177         to just #else.
26178         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26179         [!__GLIBC_HAVE_LONG_LONG] case.
26180         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26181         condition to just #else.
26182         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26183         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26184         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26185         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26186         unconditional.
26187         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26188         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26189         #elif condition to just #else.
26190         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26191         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26192         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26193         #elif condition to just #else.
26194
26195 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26196
26197         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26198         (EF_MIPS_ARCH_64): Fix value.
26199         (EF_MIPS_ARCH_32R2): New.
26200         (EF_MIPS_ARCH_64R2): New.
26201
26202 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26203
26204         * Makeconfig (+link-pie-before-libc): New.
26205         (+link-pie-after-libc): Likewise.
26206         (+link-pie-tests): Likewise.
26207         (+link-pie): Rewritten.
26208         (link-before-libc): Remove $(config-LDFLAGS).
26209         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26210         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26211         (config-LDFLAGS): Renamed to ...
26212         (rtld-LDFLAGS): This.
26213         (rtld-tests-LDFLAGS): New macro.
26214         (link-libc-rpath-link): Likewise.
26215         (link-libc-tests-rpath-link): Likewise.
26216         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26217         (link-libc): Prepand $(link-libc-rpath-link).
26218         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26219         (test-program-prefix): New macro.
26220         (test-via-rtld-prefix): Likewise.
26221         (test-program-cmd): Likewise.
26222         (host-test-program-cmd): Likewise.
26223         * Makefile ($(common-objpfx)testrun.sh): Replace
26224         $(run-program-prefix) with $(test-program-prefix).
26225         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26226         $(rtld-LDFLAGS).
26227         ($(common-objpfx)shlib.lds): Likewise.
26228         (build-module-helper): Likewise.
26229         ($(common-objpfx)format.lds): Likewise.
26230         * Rules (binaries-pie-tests): New.
26231         (binaries-pie-notests): Likewise.
26232         (binaries-pie): Rewritten.
26233         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26234         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26235         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26236         (make-test-out): Replace $(host-built-program-cmd) with
26237         $(host-test-program-cmd).
26238         * config.make.in (build-hardcoded-path-in-tests): New variable.
26239         * configure.in (--enable-hardcoded-path-in-tests): New configure
26240         option.
26241         (hardcoded_path_in_tests): New AC_SUBST.
26242         * configure: Regenerated.
26243         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26244         $(built-program-cmd) with $(test-program-cmd).
26245         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26246         (test_program_cmd): This.
26247         * elf/Makefile ($(objpfx)order.out): Run test with
26248         $(test-program-prefix).
26249         ($(objpfx)order2.out): Likewise.
26250         ($(objpfx)tst-initorder.out): Likewise.
26251         ($(objpfx)tst-initorder2.out): Likewise.
26252         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26253         $(test-program-cmd).
26254         ($(objpfx)tst-array1-static.out): Likewise.
26255         ($(objpfx)tst-array2.out): Likewise.
26256         ($(objpfx)tst-array3.out): Likewise.
26257         ($(objpfx)tst-array4.out): Likewise.
26258         ($(objpfx)tst-array5.out): Likewise.
26259         ($(objpfx)tst-array5-static.out): Likewise.
26260         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26261         $(test-program-cmd).
26262         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26263         $(run-program-prefix) with $(test-program-prefix).
26264         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26265         (test_program_prefix): This.
26266         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26267         $(run-program-prefix) with $(test-program-prefix).
26268         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26269         (test_program_prefix): This.
26270         * iconvdata/tst-tables.sh: Likewise.
26271         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26272         $(run-program-prefix) with $(test-program-prefix).
26273         ($(objpfx)tst-translit.out): Likewise.
26274         ($(objpfx)tst-gettext2.out): Likewise.
26275         ($(objpfx)tst-gettext4.out): Likewise.
26276         ($(objpfx)tst-gettext6.out): Likewise.
26277         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26278         (test_program_prefix): This.
26279         * intl/tst-gettext2.sh: Likewise.
26280         * intl/tst-gettext4.sh  Likewise.
26281         * intl/tst-gettext6.sh: Likewise.
26282         * intl/tst-translit.sh: Likewise.
26283         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26284         with $(test-program-cmd).
26285         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26286         $(run-program-prefix) with $(test-program-prefix).
26287         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26288         (test_program_prefix): This.
26289         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26290         $(run-program-prefix) with $(test-program-prefix).
26291         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26292         (test_program_prefix): This.
26293         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26294         * posix/Makefile ($(objpfx)globtest.out): Replace
26295         $(run-via-rtld-prefix) and $(test-wrapper) with
26296         $(test-program-prefix) and $(test-via-rtld-prefix).
26297         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26298         $(test-program-prefix).
26299         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26300         $(host-test-program-cmd).
26301         (tst-spawn-ARGS): Likewise.
26302         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26303         $(test-program-prefix).
26304         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26305         (test_via_rtld_prefix): This.
26306         (test_wrapper): Renamed to ...
26307         (test_program_prefix): This.
26308         (run_program_prefix): Replaced by test_program_prefix.
26309         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26310         (test_program_prefix): This.
26311         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26312         with $(host-test-program-cmd).
26313         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26314         $(run-program-prefix) with $(test-program-prefix).
26315         ($(objpfx)tst-printf.out): Likewise.
26316         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26317         $(test-program-cmd).
26318         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26319         (test_program_prefix): This.
26320         * stdio-common/tst-unbputc.sh: Likewise.
26321         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26322         $(run-program-prefix) with $(test-program-prefix).
26323         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26324         (test_program_prefix): This.
26325         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26326         $(built-program-cmd) with $(test-program-cmd).
26327
26328 2013-01-11  Andreas Jaeger  <aj@suse.de>
26329
26330         [BZ #15003]
26331         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26332         value. Sync with Linux 3.7.
26333
26334 2013-01-10  David S. Miller  <davem@davemloft.net>
26335
26336         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26337         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26338         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26339
26340 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26341
26342         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26343         never set.
26344         * configure: Regenerated.
26345
26346 2013-01-10  David S. Miller  <davem@davemloft.net>
26347
26348         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26349         sparc V9 rather than using V8 code.
26350         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26351         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26352
26353 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26354
26355         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26356         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26357         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26358         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26359         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26360         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26361         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26362         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26363         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26364         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26365         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26366         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26367         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26368         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26369         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26370         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26371         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26372         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26373         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26374         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26375         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26376         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26377         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26378         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26379         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26380         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26381         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26382
26383 2013-01-10  David S. Miller  <davem@davemloft.net>
26384
26385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26386
26387 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26388
26389         * posix/Makefile (tests-static): New variable.
26390         (tests): Add $(tests-static).
26391         (tst-exec-static-ARGS): New variable.
26392         (tst-spawn-static-ARGS): Likewise.
26393         * posix/tst-exec-static.c: New file.
26394         * posix/tst-spawn-static.c: Likewise.
26395         * posix/tst-exec.c: Support run directly.
26396         * posix/tst-spawn.c: Likewise.
26397
26398 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26399
26400         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26401         long.
26402         * math/bits/mathcalls.h (llrint): Likewise.
26403         (llround): Likewise.
26404         * stdlib/stdlib.h (struct drand48_data): Likewise.
26405         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26406         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26407         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26408         Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26410         Likewise.
26411         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26412         (elf_greg_t): Likewise.
26413         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26414         (__jmp_buf): Likewise.
26415         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26416         definitions.
26417         (llrint): Likewise, for all definitions.
26418         (llrintl): Likewise.
26419
26420         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26421         Remove [__GNUC__] condition.
26422         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26423         condition to just [__USE_ISOC99].
26424         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26425
26426 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26427
26428         [BZ #14200]
26429         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26430         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26431         defined.
26432         (_POSIX_V6_ILP32_OFF32): Likewise.
26433         (_XBS5_ILP32_OFF32): Likewise.
26434         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26435         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26436
26437 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26438
26439         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26440
26441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26442         doubles __mpexp_twomm1.  Adjust usage.
26443         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26444         Remove.
26445
26446 2013-01-10  Andreas Schwab  <schwab@suse.de>
26447
26448         [BZ #14964]
26449         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26450         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26451
26452 2013-01-09  David S. Miller  <davem@davemloft.net>
26453
26454         [BZ #15003]
26455         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26456         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26457         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26458         (TCP_FASTOPEN): Define.
26459         (tcp_repair_opt): New structure.
26460         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26461         enum values.
26462         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26463         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26464         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26465         (tcp_cookie_transactions): New structure.
26466
26467 2013-01-09  Anton Blanchard  <anton@samba.org>
26468
26469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26470         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26471         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26472         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26473
26474 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26475
26476         * include/features.h (__USE_ANSI): Remove.
26477
26478 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26479
26480         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26481
26482         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26483
26484 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26485
26486         * sysdeps/s390/fpu/libm-test-ulps: Update.
26487
26488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26489
26490         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26491         (__acr): Likewise.
26492         (__cpy): Likewise.
26493         (norm): Likewise.
26494         (denorm): Likewise.
26495         (__mp_dbl): Likewise.
26496         (__dbl_mp): Likewise.
26497         (add_magnitudes): Likewise.
26498         (sub_magnitudes): Likewise.
26499         (__add): Likewise.
26500         (__sub): Likewise.
26501         (__mul): Likewise.
26502         (__inv): Likewise.
26503         (__dvd): Likewise.
26504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26505         (__acr): Likewise.
26506         (__cpy): Likewise.
26507         (norm): Likewise.
26508         (denorm): Likewise.
26509         (__mp_dbl): Likewise.
26510         (__dbl_mp): Likewise.
26511         (add_magnitudes): Likewise.
26512         (sub_magnitudes): Likewise.
26513         (__add): Likewise.
26514         (__sub): Likewise.
26515         (__mul): Likewise.
26516         (__inv): Likewise.
26517         (__dvd): Likewise.
26518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26519         (__acr): Likewise.
26520         (__cpy): Likewise.
26521         (norm): Likewise.
26522         (denorm): Likewise.
26523         (__mp_dbl): Likewise.
26524         (__dbl_mp): Likewise.
26525         (add_magnitudes): Likewise.
26526         (sub_magnitudes): Likewise.
26527         (__add): Likewise.
26528         (__sub): Likewise.
26529         (__mul): Likewise.
26530         (__inv): Likewise.
26531         (__dvd): Likewise.
26532
26533 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26534
26535         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26536         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26537         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26538         2 && __USE_EXTERN_INLINES]: Likewise.
26539
26540 2013-01-08  Andreas Jaeger  <aj@suse.de>
26541
26542         [BZ# 14985]
26543         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26544         Remove.
26545         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26546         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26547
26548 2013-01-07  Anton Blanchard  <anton@samba.org>
26549
26550         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26551         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26552         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26553         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26554         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26555         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26556         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26557         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26559         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26560         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26561         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26562         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26563         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26564         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26565         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26566         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26567         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26568         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26569         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26570         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26571         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26572         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26573         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26574         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26575         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26576         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26577         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26579         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26580         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26582         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26585         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26586         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26587         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26590         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26591         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26592         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26593
26594 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26595
26596         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26597         (__MALLOC_PMT): Likewise.
26598         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26599         [__GNUC__], only on [_LIBC].
26600         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26601         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26602         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26603         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26604         forward declaration.
26605         (realloc_hook_ini): Likewise.
26606         (memalign_hook_ini): Likewise.
26607         (__libc_memalign): Do not use __MALLOC_PMT in variable
26608         declaration.
26609         (__libc_valloc): Likewise.
26610         (__libc_pvalloc): Likewise.
26611         (__libc_calloc): Likewise.
26612         (__posix_memalign): Likewise.
26613
26614         [BZ #14996]
26615         * math/s_casinh.c: Include <float.h>.
26616         (__casinh): Do not do computation with squaring and square root
26617         for large arguments.
26618         * math/s_casinhf.c: Include <float.h>.
26619         (__casinhf): Do not do computation with squaring and square root
26620         for large arguments.
26621         * math/s_casinhl.c: Include <float.h>.
26622         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26623         (__casinhl): Do not do computation with squaring and square root
26624         for large arguments.
26625         * math/libm-test.inc (casin_test): Add more tests.
26626         (casinh_test): Likewise.
26627         * sysdeps/i386/fpu/libm-test-ulps: Update.
26628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26629
26630 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26631
26632         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26633         (__x86_64_raw_data_cache_size): Likewise.
26634         (__x86_64_data_cache_size_half): Likewise.
26635         (__x86_64_raw_data_cache_size_half): Likewise.
26636         (__x86_64_shared_cache_size): Likewise.
26637         (__x86_64_raw_shared_cache_size): Likewise.
26638         (__x86_64_shared_cache_size_half): Likewise.
26639         (__x86_64_raw_shared_cache_size_half): Likewise.
26640         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26641         to ...
26642         (__x86_data_cache_size): This.
26643         (__x86_64_raw_data_cache_size): Renamed to ...
26644         (__x86_raw_data_cache_size): This.
26645         (__x86_64_data_cache_size_half): Renamed to ...
26646         (__x86_data_cache_size_half): This.
26647         (__x86_64_raw_data_cache_size_half): Renamed to ...
26648         (__x86_raw_data_cache_size_half): This.
26649         (__x86_64_shared_cache_size): Renamed to ...
26650         (__x86_shared_cache_size): This.
26651         (__x86_64_raw_shared_cache_size): Renamed to ...
26652         (__x86_raw_shared_cache_size): This.
26653         (__x86_64_shared_cache_size_half): Renamed to ...
26654         (__x86_shared_cache_size_half): This.
26655         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26656         (__x86_raw_shared_cache_size_half): This.
26657         * sysdeps/x86_64/memcpy.S: Updated.
26658         * sysdeps/x86_64/memset.S: Likewise.
26659         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26660         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26661         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26662
26663 2013-01-04  David S. Miller  <davem@davemloft.net>
26664
26665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26666
26667 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26668
26669         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26670         1 to avoid redefinition warning.
26671         (__USE_GNU): Don't define.
26672         (init_signaling_nan): Protoize.
26673
26674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26675
26676 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26677
26678         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26680         (__cpymn): Likewise.
26681         (norm): Remove commented code.
26682         (denorm): Likewise.
26683         (__mp_dbl): Likewise.
26684         (__inv): Likewise.
26685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26686         (__cpymn): Likewise.
26687         (norm): Remove commented code.
26688         (denorm): Likewise.
26689         (__mp_dbl): Likewise.
26690         (__inv): Likewise.
26691
26692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26693         mp_no value for 1.0 and 2.0.
26694         (norm): Use RADIXI instead of radixi.d.
26695         (denorm): Likewise.
26696         (__mul): Use 0.0 instead of zero.d.
26697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26698         mp_no value for 1.0 and 2.0.
26699         (norm): Use RADIXI instead of radixi.d.
26700         (denorm): Likewise.
26701         (__mul): Use 0.0 instead of zero.d.
26702
26703 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26704
26705         [BZ #14994]
26706         * math/s_casinh.c (__casinh): Reduce finite argument to first
26707         quadrant then set signs of results at the end.
26708         * math/s_casinhf.c (__casinhf): Likewise.
26709         * math/s_casinhl.c (__casinhl): Likewise.
26710         * math/libm-test.inc (casin_test): Add more tests.
26711         (casinh_test): Likewise.
26712         * sysdeps/i386/fpu/libm-test-ulps: Update.
26713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26714
26715 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26716
26717         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26718
26719         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26720
26721         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26722         declarations.
26723         (denorm): Likewise.
26724         (__mp_dbl): Likewise.
26725         (__inv): Likewise.
26726
26727         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26728         and adjust the header comment.
26729
26730         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26731         variable name from declaration.
26732
26733 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26734
26735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26736         Initialize COMMON_CPUID_INDEX_7 element.
26737         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26738         (CPUID_RTM): Likewise.
26739         (HAS_RTM): Likewise.
26740         (COMMON_CPUID_INDEX_7): New enum.
26741
26742 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26743
26744         [BZ #14981]
26745         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26746         size is zero, record memory as freed.
26747
26748 2013-01-03  Andreas Jaeger  <aj@suse.de>
26749
26750         * po/ia.po: Add new Interlingua translation.
26751
26752 2012-01-03  Allan McRae  <allan@archlinux.org>
26753
26754         * locale/programs/localedef.c: Fix description of '--posix' flag.
26755
26756 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26757
26758         * NEWS: Update dates in second copyright notice.
26759         * README: Update copyright dates in example.
26760         * manual/libc.texinfo: Update copyright dates.
26761         * scripts/test-installation.pl: Update copyright date in --version
26762         output.
26763
26764         * hurd/ctty-input.c: Fix copyright notice formatting.
26765         * hurd/ctty-output.c: Likewise.
26766         * hurd/dtable.c: Likewise.
26767         * hurd/hurd-raise.c: Likewise.
26768         * hurd/hurdprio.c: Likewise.
26769         * hurd/msgportdemux.c: Likewise.
26770         * misc/sys/file.h: Likewise.
26771         * misc/sys/ioctl.h: Likewise.
26772         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26773         * sysdeps/mach/hurd/chdir.c: Likewise.
26774         * sysdeps/mach/hurd/fchdir.c: Likewise.
26775         * sysdeps/mach/hurd/rename.c: Likewise.
26776         * sysdeps/mach/hurd/rmdir.c: Likewise.
26777         * sysdeps/mach/hurd/seekdir.c: Likewise.
26778         * sysdeps/mach/hurd/setsid.c: Likewise.
26779         * sysdeps/posix/wait3.c: Likewise.
26780
26781         * All files with FSF copyright notices: Update copyright dates
26782         using scripts/update-copyrights.
26783         * intl/plural.c: Regenerated.
26784         * locale/programs/charmap-kw.h: Likewise.
26785         * locale/programs/locfile-kw.h: Likewise.
26786
26787 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26788
26789         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26790         four values.
26791
26792         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26793         calculation loop and add branch prediction.
26794
26795         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26796         check access beyond bounds of m1np.
26797
26798         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26799         MPTWO.
26800         (__inv): Remove local variable MPTWO to use the global
26801         constant.
26802         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26804         variable MPTWO.
26805         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26806         MP3HALFS static const.
26807
26808 2013-01-01  David S. Miller  <davem@davemloft.net>
26809
26810         * po/ca.po: Update from translation team.
26811
26812 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26813
26814         * scripts/update-copyrights: New file.
26815         * Makeconfig: Reformat copyright notice.
26816         * ctype/ctype.h: Likewise.
26817         * debug/swprintf_chk.c: Likewise.
26818         * elf/dl-cache.c: Likewise.
26819         * elf/dl-debug.c: Likewise.
26820         * elf/dl-object.c: Likewise.
26821         * grp/initgroups.c: Likewise.
26822         * hurd/Makefile: Likewise.
26823         * hurd/hurd/signal.h: Likewise.
26824         * hurd/hurdfault.c: Likewise.
26825         * hurd/hurdioctl.c: Likewise.
26826         * hurd/hurdlookup.c: Likewise.
26827         * hurd/intr-msg.c: Likewise.
26828         * iconv/gconv_open.c: Likewise.
26829         * libio/swprintf.c: Likewise.
26830         * locale/lc-ctype.c: Likewise.
26831         * locale/nl_langinfo.c: Likewise.
26832         * mach/Machrules: Likewise.
26833         * mach/Makefile: Likewise.
26834         * malloc/obstack.h: Likewise.
26835         * manual/Makefile: Likewise.
26836         * manual/tsort.awk: Likewise.
26837         * misc/bits/stab.def: Likewise.
26838         * nis/nis_print_group_entry.c: Likewise.
26839         * nis/nis_table.c: Likewise.
26840         * nis/nss_compat/compat-pwd.c: Likewise.
26841         * nis/nss_compat/compat-spwd.c: Likewise.
26842         * po/Makefile: Likewise.
26843         * posix/fnmatch.c: Likewise.
26844         * posix/regex.h: Likewise.
26845         * resolv/Makefile: Likewise.
26846         * resolv/nss_dns/dns-network.c: Likewise.
26847         * resolv/res_hconf.c: Likewise.
26848         * scripts/gen-sorted.awk: Likewise.
26849         * soft-fp/soft-fp.h: Likewise.
26850         * stdio-common/printf.h: Likewise.
26851         * stdlib/monetary.h: Likewise.
26852         * stdlib/random.c: Likewise.
26853         * stdlib/random_r.c: Likewise.
26854         * sysdeps/generic/Makefile: Likewise.
26855         * sysdeps/gnu/Makefile: Likewise.
26856         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26858         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26859         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26860         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26861         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26862         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26863         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26864         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26865         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26866         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26867         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26868         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26869         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26870         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26871         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26872         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26875         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26876         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26877         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26878         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26879         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26880         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26881         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26882         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26883         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26884         * sysdeps/mach/hurd/errnos.awk: Likewise.
26885         * sysdeps/mach/hurd/fork.c: Likewise.
26886         * sysdeps/mach/hurd/getcwd.c: Likewise.
26887         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26888         * sysdeps/mach/hurd/mmap.c: Likewise.
26889         * sysdeps/mach/hurd/utimes.c: Likewise.
26890         * sysdeps/mach/hurd/xmknod.c: Likewise.
26891         * sysdeps/posix/profil.c: Likewise.
26892         * sysdeps/posix/readdir_r.c: Likewise.
26893         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26894         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26895         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26896         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26897         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26898         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26899         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26900         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26901         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26902         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26903         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26904         * sysdeps/pthread/lio_listio.c: Likewise.
26905         * sysdeps/sparc/dl-procinfo.h: Likewise.
26906         * sysdeps/unix/i386/sysdep.S: Likewise.
26907         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26908         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26909         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26910         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26912         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26913         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26914         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26915         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26916         * sysdeps/wordsize-32/divdi3.c: Likewise.
26917         * time/sys/time.h: Likewise.
26918         * wcsmbs/Makefile: Likewise.
26919
26920 2013-01-01  David S. Miller  <davem@davemloft.net>
26921
26922         * po/fr.po: Update from translation team.
26923
26924         * catgets/gencat.c: Update copyright year.
26925         * csu/version.c: Likewise.
26926         * debug/catchsegv.sh: Likewise.
26927         * debug/pcprofiledump.c: Likewise.
26928         * debug/xtrace.sh: Likewise.
26929         * elf/ldconfig.c: Likewise.
26930         * elf/ldd.bash.in: Likewise.
26931         * elf/pldd.c: Likewise.
26932         * elf/sotruss.ksh: Likewise.
26933         * elf/sprof.c: Likewise.
26934         * iconv/iconv_prog.c: Likewise.
26935         * iconv/iconvconfig.c: Likewise.
26936         * locale/programs/locale.c: Likewise.
26937         * locale/programs/localedef.c: Likewise.
26938         * login/programs/pt_chown.c: Likewise.
26939         * malloc/memusage.sh: Likewise.
26940         * malloc/memusagestat.c: Likewise.
26941         * malloc/mtrace.pl: Likewise.
26942         * nscd/nscd.c: Likewise.
26943         * nss/getent.c: Likewise.
26944         * nss/makedb.c: Likewise.
26945         * posix/getconf.c: Likewise.
26946
26947 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26948
26949         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26950         numbers.
26951
26952 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26953
26954         * math/bits/mathcalls.h (modf): Use __nonnull.
26955
26956 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26957
26958         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26959         (split): Use macro CN instead of the bare value.
26960         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26961         could be used.
26962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26963         instead of the bare value.
26964         (power1): Likewise.
26965
26966 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26967
26968         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26969         __ATAN_TWOM.
26970         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26971
26972         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26973         their values.
26974         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26975         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26976         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26977         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26978
26979 2012-12-28  Andreas Jaeger  <aj@suse.de>
26980
26981         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26982         values are from Linux 3.7.
26983
26984         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26985         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26986
26987 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26988
26989         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26990         TRUE case.
26991
26992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26993         (norm): Likewise.
26994         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26995         variables with preprocessor constants.
26996         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26997         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26998         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26999
27000 2012-12-27  Bruno Haible  <bruno@clisp.org>
27001
27002         [BZ #14317]
27003         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27004         only if needed.
27005
27006 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27007
27008         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27009         and use variable directly.
27010         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27011
27012         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27013         MPONE.
27014         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27016         variable MPONE.
27017         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27019         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27020         include directive.  Remove local variable MPONE.
27021         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27022         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27023         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27024
27025 2012-12-25  David S. Miller  <davem@davemloft.net>
27026
27027         * version.h (RELEASE): Set to "development".
27028         (VERSION): Set to "2.17.90".
27029         * NEWS: Add 2.18 section.
27030
27031 2012-12-21  David S. Miller  <davem@davemloft.net>
27032
27033         * po/hr.po: Update from translation team.
27034
27035 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27036
27037         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27038
27039 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27040
27041         * NEWS:  Mention new memcpy for MIPS.
27042
27043 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27044
27045         * manual/contrib.texi (Contributors): Spelling correction.
27046
27047 2012-12-15  David S. Miller  <davem@davemloft.net>
27048
27049         * po/ru.po: Update from translation team.
27050
27051 2012-12-13  David S. Miller  <davem@davemloft.net>
27052
27053         * NEWS: Mention IFUNC testsuite enhancements.
27054
27055         * po/pl.po: Update from translation team.
27056         * po/bg.po: Likewise.
27057
27058         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27059         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27060
27061 2012-12-11  David S. Miller  <davem@davemloft.net>
27062
27063         * po/sv.po: Update from translation team.
27064
27065         * po/vi.po: Update from translation team.
27066
27067         * po/cs.po: Update from translation team.
27068
27069         * po/de.po: Update from translation team.
27070         * po/eo.po: Likewise.
27071         * po/nl.po: Likewise.
27072
27073 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27074
27075         [BZ #14246]
27076         * manual/argp.texi (Argp Helper Functions): Move node to follow
27077         Argp Parsing State.
27078
27079         [BZ #14872]
27080         * manual/conf.texi (Limits on File System Capacity): Mention if
27081         terminating null is included in the max size.
27082
27083 2012-12-10  Andreas Jaeger  <aj@suse.de>
27084
27085         * po/cs.po: Update from translation team.
27086
27087 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27088
27089         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27090         void pointer and cast to uintptr_t.
27091         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27092         path.
27093         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27094         * sysdeps/s390/s390-64/memset.S: Likewise.
27095
27096 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27097
27098         [BZ #14833]
27099         * menual/message.texi (Message Translation): Fix typos.
27100         (Helper programs for gettext): Likewise.
27101
27102 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27103
27104         [BZ #14898]
27105         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27106         Change to -1.
27107
27108 2012-12-07  David S. Miller  <davem@davemloft.net>
27109
27110         * po/libc.pot: Update.
27111
27112 2012-12-07  Richard Henderson  <rth@redhat.com>
27113
27114         [BZ #10114]
27115         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27116         normal/normal case to before the switch.
27117         (_FP_DIV): Likewise.
27118
27119 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27120             Mike Frysinger  <vapier@gentoo.org>
27121
27122         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27123         check for __NR_fadvise64_64.
27124
27125 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27126
27127         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27128         0, not just to plain "0" as a statement.
27129         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27130         with cw.
27131
27132 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27133
27134         * NEWS: Use sourceware.org in Bugzilla URL.
27135
27136 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27137
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27139         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27140
27141         * stdio-common/tst-put-error.c (do_test): Add newline to the
27142         padded test to ensure flush.
27143
27144 2012-12-05  Jeff Law  <law@redhat.com>
27145
27146         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27147
27148 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27149
27150         * README: Don't refer to ports add-on as distributed separately.
27151         Mention AArch64 in list of systems supported in the ports add-on.
27152
27153         * LICENSES: Add more non-FSF copyright and license notices.
27154
27155         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27156         ((unused)).
27157
27158         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27159
27160         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27161         10000 as width of padded output.
27162
27163 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27164
27165         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27166
27167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27168         variable LX with __attribute__ ((unused)).
27169         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27170         Likewise.
27171         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27173         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27174         with __attribute__ ((unused)).
27175
27176 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27177
27178         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27179
27180 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27181
27182         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27183         (CFLAGS-nldbl-acos.c): New variable.
27184         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27185         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27186         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27187         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27188         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27189         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27190         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27191         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27192         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27193         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27194         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27195         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27196         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27197         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27198         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27199         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27200         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27201         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27202         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27203         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27204         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27205         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27206         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27207         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27208         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27209         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27210         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27211         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27212         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27213         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27214         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27215         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27216         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27217         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27218         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27219         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27220         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27221         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27222         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27223         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27224         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27225         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27226         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27227         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27228         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27229         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27230         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27231         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27232         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27233         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27234         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27235         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27236         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27237         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27238         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27239         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27240         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27241         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27242         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27243         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27244         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27245         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27246         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27247         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27248         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27249         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27250         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27251         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27252         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27253         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27254         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27255         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27256         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27257         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27258         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27259         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27260         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27261         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27262         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27263         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27264         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27265         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27266         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27267         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27268         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27269         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27270         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27271         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27272         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27273         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27274         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27275         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27276         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27277         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27278         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27279         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27280         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27281
27282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27283         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27284
27285         [BZ #14914]
27286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27287         whole low double instead of just low 47 bits when splitting values
27288         into two parts.
27289
27290 2012-12-03  Allan McRae  <allan@archlinux.org>
27291
27292         * manual/stdio.texi (Predefined Printf Handlers): Remove
27293         @hsep and @vsep usage.
27294
27295 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27296
27297         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27298         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27299
27300 2012-12-03  Jeff Law  <law@redhat.com>
27301
27302         * time/sys/time.h (settimeofday): Do not mark TV argument
27303         as __nonnull.
27304
27305 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27306
27307         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27308         when currently writing and seek to current position when not.
27309         * libio/Makefile (tests): Remove bug-fclose1.
27310         * libio/bug-fclose1.c: Delete.
27311
27312 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27313
27314         * manual/arith.texi (feenableexcept): Fix typo.
27315         (fedisableexcept): Likewise.
27316
27317 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27318
27319         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27320         second, differently-typed declaration, rather than a cast.
27321
27322 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27323
27324         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27325         * include/rpc/svc.h: ... here.
27326
27327 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27328
27329         [BZ #13013]
27330         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27331         depending n and resplen2 to catch cases where answer
27332         equals answerp2.
27333
27334 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27335
27336         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27337         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27338
27339 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27340
27341         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27342
27343 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27344
27345         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27346
27347 2012-11-28  Jeff Law  <law@redhat.com>
27348
27349         [BZ #13761]
27350         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27351         dataset_temporary.  Track alloca usage into alloca_used.
27352         If dataset is large allocate and release it via malloc/free.
27353
27354 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27355
27356         [BZ #14197]
27357         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27358
27359 2012-11-28  David S. Miller  <davem@davemloft.net>
27360
27361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27362
27363 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27364
27365         [BZ #14803]
27366         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27367         of pi/2 rounded to nearest to 64 bits.
27368         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27369         nearest to 64 bits.
27370         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27371         bits.
27372
27373 2012-11-28  Jeff Law <law@redhat.com>
27374             Martin Osvald <mosvald@redhat.com>
27375
27376         [BZ #14889]
27377         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27378         * sunrpc/svc.c: Include time.h.
27379         (__svc_accept_failed): New function.
27380         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27381         any reason other than EINTR, call __svc_accept_failed.
27382         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27383         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27384
27385 2012-11-28  Andreas Schwab  <schwab@suse.de>
27386
27387         * scripts/abilist.awk: Also handle indirect functions in .opd
27388         section.
27389
27390 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27391
27392         [BZ #13881]
27393         * sysdeps/x86/fpu/powl_helper.c: New file.
27394         * sysdeps/x86/fpu/Makefile: Likewise.
27395         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27396         (p3): New object.
27397         (__ieee754_powl): Use __powl_helper for finite arguments except
27398         integer exponents below 8.
27399         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27400         (p3): New object.
27401         (__ieee754_powl): Use __powl_helper for finite arguments except
27402         integer exponents below 8.
27403         * math/libm-test.inc (pow_test): Add more tests and enable some
27404         previously disabled tests.
27405         * sysdeps/i386/fpu/libm-test-ulps: Update.
27406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27407
27408 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27409             Carlos O'Donell  <carlos_odonell@mentor.com>
27410
27411         * nss/makedb.c (is_prime): Assert that input is odd and greater
27412         than 4.  Note that fact in a comment too.
27413         (next_prime): Add 4 to input.
27414
27415 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27416
27417         [BZ #11741]
27418         * libio/Makefile (tests): Add test case tst-fwrite-error.
27419         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27420         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27421         * libio/tst-fwrite-error.c: New test case.
27422
27423 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27424
27425         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27426         before casting to void *.
27427         * include/libc-internal.h (__pointer_type): New macro.
27428         (__integer_if_pointer_type_sub): Likewise.
27429         (__integer_if_pointer_type): Likewise.
27430         (cast_to_integer): Likewise.
27431         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27432         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27433         before casting to atomic64_t.
27434         (atomic_exchange_acq): Likewise.
27435         (__arch_exchange_and_add_body): Likewise.
27436         (__arch_add_body): Likewise.
27437         (atomic_add_negative): Likewise.
27438         (atomic_add_zero): Likewise.
27439
27440 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27441
27442         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27443         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27444         (add_fdes): Likewise.
27445         (linear_search_fdes): Likewise.
27446         (binary_search_unencoded_fdes): Likewise.
27447
27448 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27449
27450         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27451
27452 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27453
27454         * configure.in: Autodetect C++ header directories.
27455         * configure: Regenerated.
27456
27457 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27458
27459         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27460
27461 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27462
27463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27464
27465 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27466
27467         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27468         LDBL_MANT_DIG == 106]: Disable some tests.
27469         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27470         Likewise.
27471         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27472         Likewise.
27473
27474         [BZ #14871]
27475         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27476         input for small inputs.  Return +/- pi/2 for large inputs.
27477         * math/libm-test.inc (atan_test): Add more tests.
27478
27479         * sysdeps/generic/unwind-dw2-fde-glibc.c
27480         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27481         __attribute__ ((unused)).
27482
27483         [BZ #14645]
27484         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27485         x * y if x and y are nonzero and z is zero.
27486
27487         [BZ #14811]
27488         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27489         nonzero exponents with absolute value below 0x1p-117 to +/-
27490         0x1p-117.
27491
27492         [BZ #14869]
27493         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27494         up arguments below 2**-450, not just those below 2**-500.
27495         * math/libm-test.inc (hypot_test): Add another test.
27496
27497         [BZ #14868]
27498         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27499         Return a+b for ratio over 2**120, not 2**60.
27500         * math/libm-test.inc (hypot_test): Add another test.
27501
27502         * math/libm-test.inc (clog_test): Use
27503         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27504         (clog10_test): Likewise.
27505
27506         [BZ #6778]
27507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27508
27509 2012-11-22  Andreas Schwab  <schwab@suse.de>
27510
27511         * sysdeps/i386/fpu/libm-test-ulps: Update.
27512
27513 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27514
27515         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27516         printf output with newline.
27517
27518 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27519
27520         [BZ #14865]
27521         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27522         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27523         -z nodlopen, -z initfirst and -z execstack support.
27524         * configure: Regenerated.
27525
27526         * elf/elf.h (DF_1_NODIRECT): New macro.
27527         (DF_1_IGNMULDEF): Likewise.
27528         (DF_1_NOKSYMS): Likewise.
27529         (DF_1_NOHDR): Likewise.
27530         (DF_1_EDITED): Likewise.
27531         (DF_1_NORELOC): Likewise.
27532         (DF_1_SYMINTPOSE): Likewise.
27533         (DF_1_GLOBAUDIT): Likewise.
27534         (DF_1_SINGLETON): Likewise.
27535         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27536         DT_1_SUPPORTED_MASK bits.
27537         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27538
27539 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27540
27541         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27542
27543 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27544
27545         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27546         macro.
27547
27548         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27549         (sendmmsg): Move declarations...
27550         * socket/sys/socket.h: ... here.
27551         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27552         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27553         include it from...
27554         * socket/recvmmsg.c: ... this new file.
27555         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27556         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27557         definition of __sendmmsg hidden.
27558         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27559         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27560         Move ENOSYS stub into and include it from...
27561         * socket/sendmmsg.c: ... this new file.
27562         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27563         (sysdep_routines): Move recvmmsg and sendmmsg...
27564         * socket/Makefile (routines): ... here.
27565         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27566         (GLIBC_PRIVATE): Add __sendmmsg.
27567         * include/sys/socket.h (__sendmmsg): Add declarations.
27568         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27569         sendmmsg.
27570
27571 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27572
27573         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27574         variable I1 with __attribute__ ((unused)).
27575         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27576
27577 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27578
27579         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27580         DUMMY variables with __attribute__ ((unused)).
27581
27582         * bits/byteswap.h: Include <bits/types.h>.
27583         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27584
27585 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27586
27587         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27588         string_t.  Do not manually set errno.
27589         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27590         length with __strnlen.  Make sure to both set errno and return it on
27591         failure.
27592
27593 2012-11-19  David S. Miller  <davem@davemloft.net>
27594
27595         With help from Joseph Myers.
27596         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27597         very large arguments properly.
27598         * math/libm-test.inc (atan_test): New tests.
27599         (atan2_test): New tests.
27600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27602
27603 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27604
27605         [BZ #14856]
27606         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27607         Define to 3.
27608
27609         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27610         [POSIX] (EADDRNOTAVAIL): Likewise.
27611         [POSIX] (EAFNOSUPPORT): Likewise.
27612         [POSIX] (EALREADY): Likewise.
27613         [POSIX] (ECONNABORTED): Likewise.
27614         [POSIX] (ECONNREFUSED): Likewise.
27615         [POSIX] (ECONNRESET): Likewise.
27616         [POSIX] (EDESTADDRREQ): Likewise.
27617         [POSIX] (EDQUOT): Likewise.
27618         [POSIX] (EHOSTUNREACH): Likewise.
27619         [POSIX] (EIDRM): Likewise.
27620         [POSIX] (EISCONN): Likewise.
27621         [POSIX] (ELOOP): Likewise.
27622         [POSIX] (EMULTIHOP): Likewise.
27623         [POSIX] (ENETDOWN): Likewise.
27624         [POSIX] (ENETUNREACH): Likewise.
27625         [POSIX] (ENOBUFS): Likewise.
27626         [POSIX] (ENODATA): Likewise.
27627         [POSIX] (ENOLINK): Likewise.
27628         [POSIX] (ENOMSG): Likewise.
27629         [POSIX] (ENOPROTOOPT): Likewise.
27630         [POSIX] (ENOSR): Likewise.
27631         [POSIX] (ENOSTR): Likewise.
27632         [POSIX] (ENOTCONN): Likewise.
27633         [POSIX] (ENOTSOCK): Likewise.
27634         [POSIX] (EOPNOTSUPP): Likewise.
27635         [POSIX] (EOVERFLOW): Likewise.
27636         [POSIX] (EPROTO): Likewise.
27637         [POSIX] (EPROTONOSUPPORT): Likewise.
27638         [POSIX] (EPROTOTYPE): Likewise.
27639         [POSIX] (ESTALE): Likewise.
27640         [POSIX] (ETIME): Likewise.
27641         [POSIX] (ETXTBSY): Likewise.
27642         [POSIX] (EWOULDBLOCK): Likewise.
27643         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27644         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27645         [POSIX] (SEEK_CUR): Likewise.
27646         [POSIX] (SEEK_END): Likewise.
27647         [POSIX || UNIX98] (mode_t): Do not require.
27648         [POSIX] (off_t): Likewise.
27649         [POSIX] (pid_t): Likewise.
27650         [POSIX] (sys/stat.h): Do not allow header.
27651         [POSIX] (unistd.h): Likewise.
27652         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27653         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27654         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27655         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27656         require.
27657         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27658         sigevent): Specify elements.
27659         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27660         entry.
27661         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27662         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27663
27664         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27665         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27666         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27667         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27668         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27669         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27670         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27671         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27672         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27673         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27674         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27675         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27676         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27677         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27678         Likewise.
27679         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27680         Likewise.
27681         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27682         Likewise.
27683         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27684         Likewise.
27685         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27686         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27687         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27688         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27689         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27690         Specify lower bound on value.
27691         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27692         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27693         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27694         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27695         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27696         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27697         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27698         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27699         value.
27700         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27701         as optional.
27702         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27703         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27704         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27705         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27706         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27707         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27708         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27709         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27710         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27711         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27712         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27713         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27714         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27715         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27716         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27717         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27718         entry.
27719         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27720         optional.
27721         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27722         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27723         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27724         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27725         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27726         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27727         Likewise.
27728         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27729         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27730         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27731         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27732         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27733         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27735         as optional.
27736         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27737         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27738         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27739         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27740         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27741         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27742         specify as optional.
27743         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27744         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27745         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27746         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27747         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27748         [XPG3] (NL_LANGMAX): Likewise.
27749         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27750         [POSIX || XPG3] (NL_NMAX): Likewise.
27751         [POSIX || XPG3] (NL_SETMAX): Likewise.
27752         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27753         [XPG3] (NZERO): Likewise.
27754         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27755         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27756         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27757         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27758         (REG_ERANGE): Expect.
27759         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27760         optional-constant.
27761         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27762         Use (void) in prototype.
27763         [POSIX] (*_t): Allow.
27764         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27765         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27766         (WRDE_BADVAL): Expect.
27767
27768         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27769         expect.
27770         [XPG3 || XPG4] (O_RSYNC): Likewise.
27771         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27772         Likewise.
27773         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27774         [XPG3 || XPG4] (sigqueue): Likewise.
27775         [XPG3 || XPG4] (sigtimedwait): Likewise.
27776         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27777         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27778         [XPG3 || XPG4] (vsnprintf): Likewise.
27779         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27780         Likewise.
27781         [XPG3 || XPG4] (blksize_t): Likewise.
27782         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27783         Likewise.
27784         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27785         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27786         [XPG3 || XPG4] (struct itimerspec): Likewise.
27787         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27788         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27789         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27790         [XPG3 || XPG4] (clockid_t): Likewise.
27791         [XPG3 || XPG4] (timer_t): Likewise.
27792         [XPG3 || XPG4] (clock_getres): Likewise.
27793         [XPG3 || XPG4] (clock_gettime): Likewise.
27794         [XPG3 || XPG4] (clock_settime): Likewise.
27795         [XPG3 || XPG4] (nanosleep): Likewise.
27796         [XPG3 || XPG4] (timer_create): Likewise.
27797         [XPG3 || XPG4] (timer_delete): Likewise.
27798         [XPG3 || XPG4] (timer_gettime): Likewise.
27799         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27800         [XPG3 || XPG4] (timer_settime): Likewise.
27801         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27802         [XPG3 || XPG4] (getlogin_r): Likewise.
27803         [XPG3 || XPG4] (pread): Likewise.
27804         [XPG3 || XPG4] (pthread_atfork): Likewise.
27805         [XPG3 || XPG4] (pwrite): Likewise.
27806
27807         [BZ #14835]
27808         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27809         <bits/siginfo.h>.
27810
27811 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27812
27813         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27814         finalizing MALLSTREAM.
27815
27816         * sysdeps/mach/hurd/syncfs.c: New file.
27817
27818 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819
27820         [BZ #14719]
27821         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27822         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27824         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27825         (_nss_dns_gethostbyname4_r): Likewise.
27826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27827         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27828
27829 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27830
27831         [BZ #13763]
27832         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27833
27834 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27835
27836         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27837         * elf/cache.c (print_entry): Print ",AArch64" for
27838         FLAG_AARCH64_LIB64
27839
27840         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27841         * elf/cache.c (print_entry): Print ",hard-float" for
27842         FLAG_ARM_LIBHF.
27843
27844 2012-11-18  David S. Miller  <davem@davemloft.net>
27845
27846         With help from Joseph Myers.
27847         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27848         cutoff to 2**-13.
27849         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27850         cutoff to 2**-25.
27851         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27852         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27853         small.
27854         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27855         * math/libm-test.inc (y0_test): New tests.
27856         (y1_test): New tests.
27857         * sysdeps/i386/fpu/libm-test-ulps: Update.
27858         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27860
27861 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27862
27863         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27864         64-bit targets.
27865         * configure: Regenerated.
27866
27867 2012-11-17  David S. Miller  <davem@davemloft.net>
27868
27869         [BZ #14811]
27870         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27871         nonzero exponents with absolute value below 0x1p-128 to +/-
27872         0x1p-128.
27873
27874 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27875
27876         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27877
27878         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27879
27880         * posix/getconf-speclist.c: New file.
27881         * posix/posix-envs.def: Likewise.
27882         * posix/confstr.c (START_ENV_GROUP): New macro.
27883         (END_ENV_GROUP): Likewise.
27884         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27885         (KNOWN_PRESENT_ENV_STRING): Likewise.
27886         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27887         (UNKNOWN_ENVIRONMENT): Likewise.
27888         (confstr): Include posix-envs.def instead of handling
27889         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27890         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27891         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27892         (END_ENV_GROUP): Likewise.
27893         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27894         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27895         (UNKNOWN_ENVIRONMENT): Likewise.
27896         (__sysconf): Include posix-envs.def instead of handling associated
27897         cases directly here.
27898         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27899         preprocessing getconf-speclist.c rather than running getconf or
27900         generating empty file.
27901
27902 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27903
27904         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27905
27906 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27907
27908         [BZ #14672]
27909         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27910
27911 2012-11-16  David S. Miller  <davem@davemloft.net>
27912
27913         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27914         smaller than LDBL_EPSILON/2.0L, just return xm1.
27915
27916 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27917
27918         * elf/tst-array1.c (init): Set constructor priority to 1000.
27919         (fini): Set destructor priority to 1000.
27920         * elf/tst-array2dep.c: Likewise.
27921
27922 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27923
27924         [BZ #11741]
27925         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27926         (_IO_new_file_xsputn): Also return EOF if none of the input
27927         data was written when overflow failed.
27928         * libio/iopadn.c (_IO_padn): Likewise.
27929         * libio/iowpadn.c (_IO_wpadn): Likewise.
27930         * stdio-common/tst-put-error.c: Add copyright notice.
27931         (do_test): Add case for printing padded string.
27932         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27933         _IO_padn returned error.
27934         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27935         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27936         return EOF.
27937
27938 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27939
27940         * libio/libioP.h: Add comment note that the references to C++
27941         bits are now obsolete.
27942
27943 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27944
27945         * math/libm-test.inc (check_complex): Use asprintf.
27946
27947 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27948
27949         * debug/pcprofiledump.c (print_version): Update copyright year.
27950         * malloc/memusagestat.c (print_version): Likewise.
27951
27952 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27953
27954         [BZ #14831]
27955         * elf/Makefile (tests): Add tst-audit8.
27956         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27957         ($(objpfx)tst-audit8.out): New target.
27958         (tst-audit8-ENV): New variable.
27959         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27960         audit if l_reloc_result is NULL.
27961         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27962         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27963         * elf/tst-audit8.c: New file.
27964
27965 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27966
27967         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27968         * misc/Makefile (CFLAGS-select.c): Define.
27969         * posix/Makefile (CFLAGS-pause.c): Define.
27970
27971 2012-11-13  David S. Miller  <davem@davemloft.net>
27972
27973         * crypt/Makefile: Move test targets after toplevel Rules
27974         inclusion.  Grab any necessary sysdep routines when linking.
27975         * crypt/md5.c (md5_process_block): Remove define, we will always
27976         name it __md5_process_block.
27977         (md5_finish_ctx): Update md5_process_block call.
27978         (md5_stream): Likewise.
27979         (md5_process_bytes): Likewise.
27980         (md5_process_block): Rename to __md5_process_block and move to ...
27981         * crypt/md5-block.c: ... here.
27982         * crypt/sha256.c (sha256_process_block): Move to ...
27983         * crypt/sha256-block.c: ... here.
27984         * crypt/sha512.c (sha512_process_block): Move to ...
27985         * crypt/sha512-block.c: ... here.
27986         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27987         path.
27988         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27989         * sysdeps/sparc/sparc64/multiarch/Makefile
27990         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27991         crypt subdir.
27992         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27993         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27994         multiarch changes.
27995         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27996         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27997         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27998         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27999         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28000         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28001         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28002         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28003         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28004         file.
28005         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28006         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28007         file.
28008         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28009
28010 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28011
28012         * timezone/tzselect.ksh: Update from tzcode git revision
28013         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28014         * timezone/zdump.c: Likewise.
28015         * timezone/zic.c: Likewise.
28016         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28017         in TZVERSION setting, not $(PKGVERSION).
28018         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28019         REPORT_BUGS_TO settings.
28020
28021         [BZ #14838]
28022         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28023         macro.
28024
28025 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28026
28027         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28028         detection to immediately after _FP_ROUND().
28029         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28030         bits are 0.
28031
28032 2012-11-11  David S. Miller  <davem@davemloft.net>
28033
28034         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28035         inttypes.h
28036         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28037         __close rather than their public counterparts.
28038
28039 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28040
28041         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28042         file.
28043         [UNIX98] (sem_timedwait): Do not expect.
28044         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28045         [XPG4 || UNIX98] (sockatmark): Do not expect.
28046         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28047         (clock_getcpuclockid): Do not expect.
28048         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28049         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28050         Do not expect.
28051         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28052         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28053         [UNIX98] (vwscanf): Likewise.
28054         [UNIX98] (vswscanf): Likewise.
28055
28056 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28057
28058         * timezone/version.h: Remove file.
28059         * timezone/README: Do not refer to version.h.
28060         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28061         $(objpfx)version.h.
28062         ($(objpfx)zdump.o): Likewise.
28063         ($(objpfx)version.h): New target.
28064
28065         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28066         2012i.
28067         * timezone/README: Don't mention modification to tzselect.ksh.
28068         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28069         work on unmodified tzselect.ksh.  Substitute version numbers in
28070         tzselect.ksh.
28071
28072         * Makefile (format-me): Remove.
28073         (INSTALL): Adjust indentation.  Use commands directly instead of
28074         using $(format-me).
28075
28076         * aclocal.m4 (ACX_PKGVERSION): New macro.
28077         (ACX_BUGURL): Likewise.
28078         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28079         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28080         (REPORT_BUGS_TO): Likewise.
28081         * configure: Regenerated.
28082         * config.h.in (PKGVERSION): New macro.
28083         (REPORT_BUGS_TO): Likewise.
28084         * config.make.in (PKGVERSION): New variable.
28085         (PKGVERSION_TEXI): Likewise.
28086         (REPORT_BUGS_TO): Likewise.
28087         (REPORT_BUGS_TEXI): Likewise.
28088         * Makefile (format-me): Use -I$(common-objpfx)manual.
28089         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28090         ($(common-objpfx)manual/%): New target.
28091         (manual/%): Remove target.
28092         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28093         (print_version): Use PKGVERSION.
28094         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28095         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28096         and REPORT_BUGS_TO.
28097         ($(objpfx)xtrace): Likewise.
28098         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28099         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28100         (print_version): Use PKGVERSION.
28101         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28102         (do_version): Use PKGVERSION.
28103         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28104         REPORT_BUGS_TO.
28105         (common-ldd-rewrite): Likewise.
28106         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28107         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28108         (print_version): Use PKGVERSION.
28109         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28110         * elf/pldd.c (argp_program_bug_address): Remove variable.
28111         (more_help): New function.
28112         (argp): Use more_help.
28113         (print_version): Use PKGVERSION.
28114         * elf/sln.c (main): Use PKGVERSION.
28115         (usage): Use REPORT_BUGS_TO.
28116         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28117         (top level): Use PKGVERSION.
28118         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28119         (print_version): Use PKGVERSION.
28120         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28121         (print_version): Use PKGVERSION.
28122         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28123         (print_version): Use PKGVERSION.
28124         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28125         (print_version): Use PKGVERSION.
28126         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28127         (print_version): Use PKGVERSION.
28128         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28129         (print_version): Use PKGVERSION.
28130         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28131         and BUGURL.
28132         ($(objpfx)memusage): Likewise.
28133         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28134         (do_version): Use PKGVERSION.
28135         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28136         (print_version): Use PKGVERSION.
28137         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28138         ($PKGVERSION): New variable.
28139         ($REPORT_BUGS_TO): Likewise.
28140         (usage): Use $REPORT_BUGS_TO.
28141         (top level): Use $PKGVERSION.
28142         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28143         ($(objpfx)pkgvers.texi): New rule.
28144         ($(objpfx)stamp-pkgvers): Likewise.
28145         * manual/install.texi: Include pkgvers.texi.
28146         (--with-pkgversion): Document new configure option.
28147         (--with-bugurl): Likewise.
28148         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28149         than necessarily for this particular distribution.  Use
28150         REPORT_BUGS_TO for where to report bugs.
28151         * INSTALL: Regenerated.
28152         * manual/libc.texinfo: Include pkgvers.texi.
28153         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28154         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28155         (print_version): Use PKGVERSION.
28156         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28157         (print_version): Use PKGVERSION.
28158         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28159         (print_version): Use PKGVERSION.
28160         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28161         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28162         macro.
28163         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28164         (print_version): Use PKGVERSION.
28165         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28166         (print_version): Use PKGVERSION.
28167         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28168         and PKGVERSION.
28169
28170         * timezone/checktab.awk: Update from tzcode 2012i.
28171         * timezone/ialloc.c: Likewise.
28172         * timezone/private.h: Likewise.
28173         * timezone/scheck.c: Likewise.
28174         * timezone/tzfile.h: Likewise.
28175         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28176         (TZVERSION): Hardcode tzcode version number.
28177         * timezone/zdump.c: Update from tzcode 2012i.
28178         * timezone/zic.c: Likewise.
28179         * timezone/version.h: New file.
28180         * timezone/README: Describe version.h.  Update upstream location.
28181
28182         [BZ #14824]
28183         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28184         (mktemp): Enable declaration.
28185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28187         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28189         Likewise.
28190         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28191         Likewise.
28192         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28193         Likewise.
28194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28195         Likewise.
28196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28197         Likewise.
28198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28199         Likewise.
28200
28201         [BZ #14821]
28202         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28203         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28204         for copies of such integer values.
28205         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28206         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28207
28208 2012-11-09  Andreas Jaeger  <aj@suse.de>
28209
28210         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28211         definitions and declarations that are provided by
28212         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28213
28214 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28215
28216         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28217         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28218         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28219         definition.
28220
28221 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28222
28223         * elf/elf.h: Update comment before AArch64 relocations.
28224
28225 2012-11-07  David S. Miller  <davem@davemloft.net>
28226
28227         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28228         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28229         (__start_context): Declare.
28230         (__makecontext_ret): Delete.
28231         (__makecontext): Hook up __start_context instead of
28232         __makecontext_ret.
28233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28234         (sysdep_routines): Add __start_context when in stdlib.
28235
28236 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28237
28238         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28239         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28240         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28241         hardcoded "nm".
28242         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28243         (READELF): New variable.  Use it instead of hardcoded "readelf".
28244
28245 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28246
28247         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28248         * sysdeps/x86/Makefile: Here.
28249         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28250         * sysdeps/x86/tst-xmmymm.sh: This.
28251
28252 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28253
28254         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28255         expectations.
28256         [UNIX98] (pthread_barrier_t): Do not expect.
28257         [UNIX98] (pthread_barrierattr_t): Likewise.
28258         [UNIX98] (pthread_spinlock_t): Likewise.
28259         [UNIX98] (pthread_barrier_destroy): Likewise.
28260         [UNIX98] (pthread_barrier_init): Likewise.
28261         [UNIX98] (pthread_barrier_wait): Likewise.
28262         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28263         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28264         [UNIX98] (pthread_barrierattr_init): Likewise.
28265         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28266         [UNIX98] (pthread_getcpuclockid): Likewise.
28267         [UNIX98] (pthread_mutex_timedlock): Likewise.
28268         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28269         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28270         [UNIX98] (pthread_sigmask): Likewise.
28271         [UNIX98] (pthread_spin_destroy): Likewise.
28272         [UNIX98] (pthread_spin_init): Likewise.
28273         [UNIX98] (pthread_spin_lock): Likewise.
28274         [UNIX98] (pthread_spin_trylock): Likewise.
28275         [UNIX98] (pthread_spin_unlock): Likewise.
28276         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28277         Do not expect.
28278         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28279         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28280         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28281         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28282         [XPG3 || XPG4] (pthread_key_t): Likewise.
28283         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28284         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28285         [XPG3 || XPG4] (pthread_once_t): Likewise.
28286         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28287         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28288         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28289         [XPG3 || XPG4] (pthread_t): Likewise.
28290
28291         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28292         not expect.
28293         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28294
28295         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28296         Change function return type to int.
28297
28298         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28299         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28300         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28301         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28302         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28303         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28304         [!POSIX] (posix_madvise): Likewise.
28305         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28306         && !UNIX98].
28307         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28308         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28309         (mode_t): Likewise.
28310         (posix_mem_offset): Likewise.
28311         (posix_typed_mem_get_info): Likewise.
28312         (posix_typed_mem_open): Likewise.
28313
28314         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28315         Change condition to [XOPEN2K8].
28316
28317         * conform/conformtest.pl: Preprocess allow-header data with -x c
28318         instead of from stdin.
28319         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28320         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28321         [C99-based standards] (cerfc): Likewise.
28322         [C99-based standards] (cexp2): Likewise.
28323         [C99-based standards] (cexpm1): Likewise.
28324         [C99-based standards] (clog10): Likewise.
28325         [C99-based standards] (clog1p): Likewise.
28326         [C99-based standards] (clog2): Likewise.
28327         [C99-based standards] (clgamma): Likewise.
28328         [C99-based standards] (ctgamma): Likewise.
28329         [C99-based standards] (cerff): Likewise.
28330         [C99-based standards] (cerfcf): Likewise.
28331         [C99-based standards] (cexp2f): Likewise.
28332         [C99-based standards] (cexpm1f): Likewise.
28333         [C99-based standards] (clog10f): Likewise.
28334         [C99-based standards] (clog1pf): Likewise.
28335         [C99-based standards] (clog2f): Likewise.
28336         [C99-based standards] (clgammaf): Likewise.
28337         [C99-based standards] (ctgammaf): Likewise.
28338         [C99-based standards] (cerfl): Likewise.
28339         [C99-based standards] (cerfcl): Likewise.
28340         [C99-based standards] (cexp2l): Likewise.
28341         [C99-based standards] (cexpm1l): Likewise.
28342         [C99-based standards] (clog10l): Likewise.
28343         [C99-based standards] (clog1pl): Likewise.
28344         [C99-based standards] (clog2l): Likewise.
28345         [C99-based standards] (clgammal): Likewise.
28346         [C99-based standards] (ctgammal): Likewise.
28347         * conform/data/inttypes.h-data [C99-based standards]: Include
28348         stdint.h-data.  Remove all expectations for stdint.h contents.
28349         [C99-based standards] (PRI*): Do not allow.
28350         [C99-based standards] (SCN*): Likewise.
28351         [C99-based standards] (*_t): Likewise.
28352         [C99-based-standards] (PRId8): Expect macro.
28353         [C99-based-standards] (PRIi8): Likewise.
28354         [C99-based-standards] (PRIo8): Likewise.
28355         [C99-based-standards] (PRIu8): Likewise.
28356         [C99-based-standards] (PRIx8): Likewise.
28357         [C99-based-standards] (PRIX8): Likewise.
28358         [C99-based-standards] (SCNd8): Likewise.
28359         [C99-based-standards] (SCNi8): Likewise.
28360         [C99-based-standards] (SCNo8): Likewise.
28361         [C99-based-standards] (SCNu8): Likewise.
28362         [C99-based-standards] (SCNx8): Likewise.
28363         [C99-based-standards] (PRIdLEAST8): Likewise.
28364         [C99-based-standards] (PRIiLEAST8): Likewise.
28365         [C99-based-standards] (PRIoLEAST8): Likewise.
28366         [C99-based-standards] (PRIuLEAST8): Likewise.
28367         [C99-based-standards] (PRIxLEAST8): Likewise.
28368         [C99-based-standards] (PRIXLEAST8): Likewise.
28369         [C99-based-standards] (SCNdLEAST8): Likewise.
28370         [C99-based-standards] (SCNiLEAST8): Likewise.
28371         [C99-based-standards] (SCNoLEAST8): Likewise.
28372         [C99-based-standards] (SCNuLEAST8): Likewise.
28373         [C99-based-standards] (SCNxLEAST8): Likewise.
28374         [C99-based-standards] (PRIdFAST8): Likewise.
28375         [C99-based-standards] (PRIiFAST8): Likewise.
28376         [C99-based-standards] (PRIoFAST8): Likewise.
28377         [C99-based-standards] (PRIuFAST8): Likewise.
28378         [C99-based-standards] (PRIxFAST8): Likewise.
28379         [C99-based-standards] (PRIXFAST8): Likewise.
28380         [C99-based-standards] (SCNdFAST8): Likewise.
28381         [C99-based-standards] (SCNiFAST8): Likewise.
28382         [C99-based-standards] (SCNoFAST8): Likewise.
28383         [C99-based-standards] (SCNuFAST8): Likewise.
28384         [C99-based-standards] (SCNxFAST8): Likewise.
28385         [C99-based-standards] (PRId16): Likewise.
28386         [C99-based-standards] (PRIi16): Likewise.
28387         [C99-based-standards] (PRIo16): Likewise.
28388         [C99-based-standards] (PRIu16): Likewise.
28389         [C99-based-standards] (PRIx16): Likewise.
28390         [C99-based-standards] (PRIX16): Likewise.
28391         [C99-based-standards] (SCNd16): Likewise.
28392         [C99-based-standards] (SCNi16): Likewise.
28393         [C99-based-standards] (SCNo16): Likewise.
28394         [C99-based-standards] (SCNu16): Likewise.
28395         [C99-based-standards] (SCNx16): Likewise.
28396         [C99-based-standards] (PRIdLEAST16): Likewise.
28397         [C99-based-standards] (PRIiLEAST16): Likewise.
28398         [C99-based-standards] (PRIoLEAST16): Likewise.
28399         [C99-based-standards] (PRIuLEAST16): Likewise.
28400         [C99-based-standards] (PRIxLEAST16): Likewise.
28401         [C99-based-standards] (PRIXLEAST16): Likewise.
28402         [C99-based-standards] (SCNdLEAST16): Likewise.
28403         [C99-based-standards] (SCNiLEAST16): Likewise.
28404         [C99-based-standards] (SCNoLEAST16): Likewise.
28405         [C99-based-standards] (SCNuLEAST16): Likewise.
28406         [C99-based-standards] (SCNxLEAST16): Likewise.
28407         [C99-based-standards] (PRIdFAST16): Likewise.
28408         [C99-based-standards] (PRIiFAST16): Likewise.
28409         [C99-based-standards] (PRIoFAST16): Likewise.
28410         [C99-based-standards] (PRIuFAST16): Likewise.
28411         [C99-based-standards] (PRIxFAST16): Likewise.
28412         [C99-based-standards] (PRIXFAST16): Likewise.
28413         [C99-based-standards] (SCNdFAST16): Likewise.
28414         [C99-based-standards] (SCNiFAST16): Likewise.
28415         [C99-based-standards] (SCNoFAST16): Likewise.
28416         [C99-based-standards] (SCNuFAST16): Likewise.
28417         [C99-based-standards] (SCNxFAST16): Likewise.
28418         [C99-based-standards] (PRId32): Likewise.
28419         [C99-based-standards] (PRIi32): Likewise.
28420         [C99-based-standards] (PRIo32): Likewise.
28421         [C99-based-standards] (PRIu32): Likewise.
28422         [C99-based-standards] (PRIx32): Likewise.
28423         [C99-based-standards] (PRIX32): Likewise.
28424         [C99-based-standards] (SCNd32): Likewise.
28425         [C99-based-standards] (SCNi32): Likewise.
28426         [C99-based-standards] (SCNo32): Likewise.
28427         [C99-based-standards] (SCNu32): Likewise.
28428         [C99-based-standards] (SCNx32): Likewise.
28429         [C99-based-standards] (PRIdLEAST32): Likewise.
28430         [C99-based-standards] (PRIiLEAST32): Likewise.
28431         [C99-based-standards] (PRIoLEAST32): Likewise.
28432         [C99-based-standards] (PRIuLEAST32): Likewise.
28433         [C99-based-standards] (PRIxLEAST32): Likewise.
28434         [C99-based-standards] (PRIXLEAST32): Likewise.
28435         [C99-based-standards] (SCNdLEAST32): Likewise.
28436         [C99-based-standards] (SCNiLEAST32): Likewise.
28437         [C99-based-standards] (SCNoLEAST32): Likewise.
28438         [C99-based-standards] (SCNuLEAST32): Likewise.
28439         [C99-based-standards] (SCNxLEAST32): Likewise.
28440         [C99-based-standards] (PRIdFAST32): Likewise.
28441         [C99-based-standards] (PRIiFAST32): Likewise.
28442         [C99-based-standards] (PRIoFAST32): Likewise.
28443         [C99-based-standards] (PRIuFAST32): Likewise.
28444         [C99-based-standards] (PRIxFAST32): Likewise.
28445         [C99-based-standards] (PRIXFAST32): Likewise.
28446         [C99-based-standards] (SCNdFAST32): Likewise.
28447         [C99-based-standards] (SCNiFAST32): Likewise.
28448         [C99-based-standards] (SCNoFAST32): Likewise.
28449         [C99-based-standards] (SCNuFAST32): Likewise.
28450         [C99-based-standards] (SCNxFAST32): Likewise.
28451         [C99-based-standards] (PRId64): Likewise.
28452         [C99-based-standards] (PRIi64): Likewise.
28453         [C99-based-standards] (PRIo64): Likewise.
28454         [C99-based-standards] (PRIu64): Likewise.
28455         [C99-based-standards] (PRIx64): Likewise.
28456         [C99-based-standards] (PRIX64): Likewise.
28457         [C99-based-standards] (SCNd64): Likewise.
28458         [C99-based-standards] (SCNi64): Likewise.
28459         [C99-based-standards] (SCNo64): Likewise.
28460         [C99-based-standards] (SCNu64): Likewise.
28461         [C99-based-standards] (SCNx64): Likewise.
28462         [C99-based-standards] (PRIdLEAST64): Likewise.
28463         [C99-based-standards] (PRIiLEAST64): Likewise.
28464         [C99-based-standards] (PRIoLEAST64): Likewise.
28465         [C99-based-standards] (PRIuLEAST64): Likewise.
28466         [C99-based-standards] (PRIxLEAST64): Likewise.
28467         [C99-based-standards] (PRIXLEAST64): Likewise.
28468         [C99-based-standards] (SCNdLEAST64): Likewise.
28469         [C99-based-standards] (SCNiLEAST64): Likewise.
28470         [C99-based-standards] (SCNoLEAST64): Likewise.
28471         [C99-based-standards] (SCNuLEAST64): Likewise.
28472         [C99-based-standards] (SCNxLEAST64): Likewise.
28473         [C99-based-standards] (PRIdFAST64): Likewise.
28474         [C99-based-standards] (PRIiFAST64): Likewise.
28475         [C99-based-standards] (PRIoFAST64): Likewise.
28476         [C99-based-standards] (PRIuFAST64): Likewise.
28477         [C99-based-standards] (PRIxFAST64): Likewise.
28478         [C99-based-standards] (PRIXFAST64): Likewise.
28479         [C99-based-standards] (SCNdFAST64): Likewise.
28480         [C99-based-standards] (SCNiFAST64): Likewise.
28481         [C99-based-standards] (SCNoFAST64): Likewise.
28482         [C99-based-standards] (SCNuFAST64): Likewise.
28483         [C99-based-standards] (SCNxFAST64): Likewise.
28484         [C99-based-standards] (PRIdMAX): Likewise.
28485         [C99-based-standards] (PRIiMAX): Likewise.
28486         [C99-based-standards] (PRIoMAX): Likewise.
28487         [C99-based-standards] (PRIuMAX): Likewise.
28488         [C99-based-standards] (PRIxMAX): Likewise.
28489         [C99-based-standards] (PRIXMAX): Likewise.
28490         [C99-based-standards] (SCNdMAX): Likewise.
28491         [C99-based-standards] (SCNiMAX): Likewise.
28492         [C99-based-standards] (SCNoMAX): Likewise.
28493         [C99-based-standards] (SCNuMAX): Likewise.
28494         [C99-based-standards] (SCNxMAX): Likewise.
28495         [C99-based-standards] (PRIdPTR): Likewise.
28496         [C99-based-standards] (PRIiPTR): Likewise.
28497         [C99-based-standards] (PRIoPTR): Likewise.
28498         [C99-based-standards] (PRIuPTR): Likewise.
28499         [C99-based-standards] (PRIxPTR): Likewise.
28500         [C99-based-standards] (PRIXPTR): Likewise.
28501         [C99-based-standards] (SCNdPTR): Likewise.
28502         [C99-based-standards] (SCNiPTR): Likewise.
28503         [C99-based-standards] (SCNoPTR): Likewise.
28504         [C99-based-standards] (SCNuPTR): Likewise.
28505         [C99-based-standards] (SCNxPTR): Likewise.
28506         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28507         allow.
28508         * conform/data/stdint.h-data: Update comments to clarify
28509         requirements.
28510         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28511         type.
28512         [C99-based standards] (INT8_MAX): Likewise.
28513         [C99-based standards] (INT16_MIN): Likewise.
28514         [C99-based standards] (INT16_MAX): Likewise.
28515         [C99-based standards] (INT32_MIN): Likewise.
28516         [C99-based standards] (INT32_MAX): Likewise.
28517         [C99-based standards] (INT64_MIN): Likewise.
28518         [C99-based standards] (INT64_MAX): Likewise.
28519         [C99-based standards] (UINT8_MAX): Likewise.
28520         [C99-based standards] (UINT16_MAX): Likewise.
28521         [C99-based standards] (UINT32_MAX): Likewise.
28522         [C99-based standards] (UINT64_MAX): Likewise.
28523         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28524         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28525         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28526         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28527         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28528         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28529         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28530         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28531         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28532         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28533         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28534         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28535         [C99-based standards] (INT_FAST8_MIN): Likewise.
28536         [C99-based standards] (INT_FAST8_MAX): Likewise.
28537         [C99-based standards] (INT_FAST16_MIN): Likewise.
28538         [C99-based standards] (INT_FAST16_MAX): Likewise.
28539         [C99-based standards] (INT_FAST32_MIN): Likewise.
28540         [C99-based standards] (INT_FAST32_MAX): Likewise.
28541         [C99-based standards] (INT_FAST64_MIN): Likewise.
28542         [C99-based standards] (INT_FAST64_MAX): Likewise.
28543         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28544         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28545         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28546         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28547         [C99-based standards] (INTPTR_MIN): Likewise.
28548         [C99-based standards] (INTPTR_MAX): Likewise.
28549         [C99-based standards] (UINTPTR_MAX): Likewise.
28550         [C99-based standards] (INTMAX_MIN): Likewise.
28551         [C99-based standards] (INTMAX_MAX): Likewise.
28552         [C99-based standards] (UINTMAX_MAX): Likewise.
28553         [C99-based standards] (PTRDIFF_MIN): Likewise.
28554         [C99-based standards] (PTRDIFF_MAX): Likewise.
28555         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28556         [C99-based standards] (SIZE_MAX): Likewise.
28557         [C99-based standards] (WCHAR_MAX): Likewise.
28558         [C99-based standards] (WINT_MAX): Likewise.
28559         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28560         constraint on value.
28561         [C99-based standards] (WCHAR_MIN): Likewise.
28562         [C99-based standards] (WINT_MIN): Likewise.
28563         [C99-based standards] (*_t): Allow.
28564         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28565         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28566         Include math.h-data and complex.h-data.  Remove all expectations
28567         of math.h and complex.h contents.
28568         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28569         at end of line.
28570         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28571         (struct tm): Expect tag.
28572         [C99-based-standards] (wcstof): Expect function.
28573         [C99-based-standards] (wcstold): Likewise.
28574         [C99-based-standards] (wcstoll): Likewise.
28575         [C99-based-standards] (wcstoull): Likewise.
28576         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28577         macro-int-constant.  Specify type.
28578         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28579         constraint on value.
28580         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28581         Specify type.
28582         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28583         Specify value.
28584         [ISO C standards]: Do not allow headers.
28585         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28586         wcs[abcdefghijklmnopqrstuvwxyz]*.
28587         [ISO C standards] (*_t): Do not allow.
28588         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28589         Expect function.
28590         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28591         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28592         Specify type.
28593         [ISO C standards]: Do not allow headers.
28594         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28595         is[abcdefghijklmnopqrstuvwxyz]*.
28596         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28597         to[abcdefghijklmnopqrstuvwxyz]*.
28598         [ISO C standards] (*_t): Do not allow.
28599         * conform/data/stdalign.h-data: New file.
28600         * conform/data/stdbool.h-data: Likewise.
28601         * conform/data/stdnoreturn.h-data: Likewise.
28602
28603 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28604
28605         [BZ #14815]
28606         * manual/filesys.texi (Directory Entries): Typo fix.
28607         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28608
28609 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28610
28611         * elf/elf.h (EM_AARCH64): New macro.
28612         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28613         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28614         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28615         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28616         (R_AARCH64_TLSDESC): Likewise.
28617         (NT_ARM_TLS): Likewise.
28618         (NT_ARM_HW_BREAK): Likewise.
28619         (NT_ARM_HW_WATCH): Likewise.
28620
28621 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28622
28623         [BZ #14811]
28624         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28625         (__ieee754_powl): Saturate nonzero exponents with absolute value
28626         below 0x1p-79 to +/- 0x1p-79.
28627         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28628         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28629         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28630         nonzero exponents with absolute value below 0x1p-32 to +/-
28631         0x1p-32.
28632         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28633         (__ieee754_powl): Saturate nonzero exponents with absolute value
28634         below 0x1p-79 to +/- 0x1p-79.
28635         * math/libm-test.inc (pow_test): Add more tests.
28636
28637 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28638
28639         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28640         _dl_s390_cap_flags with kernel. Increase string length.
28641         (_dl_s390_platforms): Add z196 and zEC12.
28642
28643 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28644
28645         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28646         Change XOPEN21K to XOPEN2K.
28647
28648 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28649
28650         * string/memmove.c: Use memcpy when possible.
28651
28652 2012-11-06  Andreas Jaeger  <aj@suse.de>
28653
28654         * po/eo.po: Update from translation team.
28655
28656 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28657
28658         [BZ #14793]
28659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28660         exponent and small x and y exponents, scale x or y up.  Increase
28661         by 2 the exponent used in scaling up.
28662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28664         * math/libm-test.inc (fma_test): Add more tests.
28665         (fma_test_towardzero): Likewise.
28666         (fma_test_downward): Likewise.
28667         (fma_test_upward): Likewise.
28668
28669 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28670
28671         [BZ #14805]
28672         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28673         fenv_t *.
28674
28675         [BZ #14801]
28676         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28677         namespace for names of struct fields.
28678         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28679         fenv_t fields.
28680         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28681         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28682
28683 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28684
28685         [BZ #3665]
28686         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28687
28688 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28689
28690         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28691         PTR_DEMANGLE.
28692
28693         [BZ #5246]
28694         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28695         PTR_DEMANGLE.
28696
28697 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28698
28699         [BZ #14797]
28700         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28701         definitely overflow as x * y not x * y + z.
28702         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28703         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28704         * math/libm-test.inc (fma_test): Add more tests.
28705         (fma_test_towardzero): Likewise.
28706         (fma_test_downward): Likewise.
28707         (fma_test_upward): Likewise.
28708
28709 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28710
28711         [BZ #157]
28712
28713         * include/stub-tag.h: Remove file.
28714         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28715         '#include' of it.
28716         * manual/maint.texi (Porting): Don't reference it.
28717         * Makerules ($(objpfx)stubs): Likewise.
28718         * dirent/closedir.c: Don't include <stub-tag.h>.
28719         * dirent/dirfd.c: Likewise.
28720         * dirent/fdopendir.c: Likewise.
28721         * dirent/getdents.c: Likewise.
28722         * dirent/getdents64.c: Likewise.
28723         * dirent/opendir.c: Likewise.
28724         * dirent/readdir.c: Likewise.
28725         * dirent/readdir64.c: Likewise.
28726         * dirent/readdir64_r.c: Likewise.
28727         * dirent/readdir_r.c: Likewise.
28728         * dirent/rewinddir.c: Likewise.
28729         * dirent/seekdir.c: Likewise.
28730         * dirent/telldir.c: Likewise.
28731         * gmon/profil.c: Likewise.
28732         * grp/setgroups.c: Likewise.
28733         * inet/if_index.c: Likewise.
28734         * io/access.c: Likewise.
28735         * io/chdir.c: Likewise.
28736         * io/chmod.c: Likewise.
28737         * io/chown.c: Likewise.
28738         * io/close.c: Likewise.
28739         * io/dup.c: Likewise.
28740         * io/dup2.c: Likewise.
28741         * io/dup3.c: Likewise.
28742         * io/euidaccess.c: Likewise.
28743         * io/faccessat.c: Likewise.
28744         * io/fchdir.c: Likewise.
28745         * io/fchmod.c: Likewise.
28746         * io/fchmodat.c: Likewise.
28747         * io/fchown.c: Likewise.
28748         * io/fchownat.c: Likewise.
28749         * io/fcntl.c: Likewise.
28750         * io/flock.c: Likewise.
28751         * io/fstatfs.c: Likewise.
28752         * io/fstatfs64.c: Likewise.
28753         * io/fstatvfs.c: Likewise.
28754         * io/fstatvfs64.c: Likewise.
28755         * io/futimens.c: Likewise.
28756         * io/fxstat.c: Likewise.
28757         * io/fxstat64.c: Likewise.
28758         * io/fxstatat.c: Likewise.
28759         * io/fxstatat64.c: Likewise.
28760         * io/getcwd.c: Likewise.
28761         * io/isatty.c: Likewise.
28762         * io/lchmod.c: Likewise.
28763         * io/lchown.c: Likewise.
28764         * io/link.c: Likewise.
28765         * io/linkat.c: Likewise.
28766         * io/lseek.c: Likewise.
28767         * io/lseek64.c: Likewise.
28768         * io/lxstat64.c: Likewise.
28769         * io/mkdir.c: Likewise.
28770         * io/mkdirat.c: Likewise.
28771         * io/mkfifo.c: Likewise.
28772         * io/mkfifoat.c: Likewise.
28773         * io/open.c: Likewise.
28774         * io/open64.c: Likewise.
28775         * io/openat.c: Likewise.
28776         * io/openat64.c: Likewise.
28777         * io/pipe.c: Likewise.
28778         * io/pipe2.c: Likewise.
28779         * io/poll.c: Likewise.
28780         * io/posix_fadvise.c: Likewise.
28781         * io/posix_fadvise64.c: Likewise.
28782         * io/posix_fallocate.c: Likewise.
28783         * io/posix_fallocate64.c: Likewise.
28784         * io/read.c: Likewise.
28785         * io/readlink.c: Likewise.
28786         * io/readlinkat.c: Likewise.
28787         * io/rmdir.c: Likewise.
28788         * io/sendfile.c: Likewise.
28789         * io/sendfile64.c: Likewise.
28790         * io/statfs.c: Likewise.
28791         * io/statfs64.c: Likewise.
28792         * io/statvfs.c: Likewise.
28793         * io/statvfs64.c: Likewise.
28794         * io/symlink.c: Likewise.
28795         * io/symlinkat.c: Likewise.
28796         * io/ttyname.c: Likewise.
28797         * io/ttyname_r.c: Likewise.
28798         * io/umask.c: Likewise.
28799         * io/unlink.c: Likewise.
28800         * io/unlinkat.c: Likewise.
28801         * io/utime.c: Likewise.
28802         * io/utimensat.c: Likewise.
28803         * io/write.c: Likewise.
28804         * io/xmknod.c: Likewise.
28805         * io/xmknodat.c: Likewise.
28806         * io/xstat.c: Likewise.
28807         * io/xstat64.c: Likewise.
28808         * login/getpt.c: Likewise.
28809         * login/grantpt.c: Likewise.
28810         * login/unlockpt.c: Likewise.
28811         * math/e_acoshl.c: Likewise.
28812         * math/e_acosl.c: Likewise.
28813         * math/e_asinl.c: Likewise.
28814         * math/e_atan2l.c: Likewise.
28815         * math/e_atanhl.c: Likewise.
28816         * math/e_coshl.c: Likewise.
28817         * math/e_expl.c: Likewise.
28818         * math/e_fmodl.c: Likewise.
28819         * math/e_gammal_r.c: Likewise.
28820         * math/e_hypotl.c: Likewise.
28821         * math/e_j0l.c: Likewise.
28822         * math/e_j1l.c: Likewise.
28823         * math/e_jnl.c: Likewise.
28824         * math/e_lgammal_r.c: Likewise.
28825         * math/e_log10l.c: Likewise.
28826         * math/e_log2l.c: Likewise.
28827         * math/e_logl.c: Likewise.
28828         * math/e_powl.c: Likewise.
28829         * math/e_rem_pio2l.c: Likewise.
28830         * math/e_sinhl.c: Likewise.
28831         * math/e_sqrtl.c: Likewise.
28832         * math/fclrexcpt.c: Likewise.
28833         * math/fedisblxcpt.c: Likewise.
28834         * math/feenablxcpt.c: Likewise.
28835         * math/fegetenv.c: Likewise.
28836         * math/fegetexcept.c: Likewise.
28837         * math/fegetround.c: Likewise.
28838         * math/feholdexcpt.c: Likewise.
28839         * math/fesetenv.c: Likewise.
28840         * math/fesetround.c: Likewise.
28841         * math/feupdateenv.c: Likewise.
28842         * math/fgetexcptflg.c: Likewise.
28843         * math/fraiseexcpt.c: Likewise.
28844         * math/fsetexcptflg.c: Likewise.
28845         * math/ftestexcept.c: Likewise.
28846         * math/k_cosl.c: Likewise.
28847         * math/k_rem_pio2l.c: Likewise.
28848         * math/k_sinl.c: Likewise.
28849         * math/k_tanl.c: Likewise.
28850         * math/s_asinhl.c: Likewise.
28851         * math/s_atanl.c: Likewise.
28852         * math/s_cbrtl.c: Likewise.
28853         * math/s_erfl.c: Likewise.
28854         * math/s_expm1l.c: Likewise.
28855         * math/s_log1pl.c: Likewise.
28856         * math/s_tanhl.c: Likewise.
28857         * misc/acct.c: Likewise.
28858         * misc/brk.c: Likewise.
28859         * misc/chflags.c: Likewise.
28860         * misc/chroot.c: Likewise.
28861         * misc/fchflags.c: Likewise.
28862         * misc/fgetxattr.c: Likewise.
28863         * misc/flistxattr.c: Likewise.
28864         * misc/fremovexattr.c: Likewise.
28865         * misc/fsetxattr.c: Likewise.
28866         * misc/fsync.c: Likewise.
28867         * misc/ftruncate.c: Likewise.
28868         * misc/futimes.c: Likewise.
28869         * misc/futimesat.c: Likewise.
28870         * misc/getdomain.c: Likewise.
28871         * misc/getdtsz.c: Likewise.
28872         * misc/gethostid.c: Likewise.
28873         * misc/gethostname.c: Likewise.
28874         * misc/getloadavg.c: Likewise.
28875         * misc/getpagesize.c: Likewise.
28876         * misc/getsysstats.c: Likewise.
28877         * misc/getxattr.c: Likewise.
28878         * misc/gtty.c: Likewise.
28879         * misc/ioctl.c: Likewise.
28880         * misc/lgetxattr.c: Likewise.
28881         * misc/listxattr.c: Likewise.
28882         * misc/llistxattr.c: Likewise.
28883         * misc/lremovexattr.c: Likewise.
28884         * misc/lsetxattr.c: Likewise.
28885         * misc/lutimes.c: Likewise.
28886         * misc/madvise.c: Likewise.
28887         * misc/mincore.c: Likewise.
28888         * misc/mlock.c: Likewise.
28889         * misc/mlockall.c: Likewise.
28890         * misc/mmap.c: Likewise.
28891         * misc/mprotect.c: Likewise.
28892         * misc/msync.c: Likewise.
28893         * misc/munlock.c: Likewise.
28894         * misc/munlockall.c: Likewise.
28895         * misc/munmap.c: Likewise.
28896         * misc/preadv.c: Likewise.
28897         * misc/preadv64.c: Likewise.
28898         * misc/ptrace.c: Likewise.
28899         * misc/pwritev.c: Likewise.
28900         * misc/pwritev64.c: Likewise.
28901         * misc/readv.c: Likewise.
28902         * misc/reboot.c: Likewise.
28903         * misc/remap_file_pages.c: Likewise.
28904         * misc/removexattr.c: Likewise.
28905         * misc/revoke.c: Likewise.
28906         * misc/select.c: Likewise.
28907         * misc/setdomain.c: Likewise.
28908         * misc/setegid.c: Likewise.
28909         * misc/seteuid.c: Likewise.
28910         * misc/sethostid.c: Likewise.
28911         * misc/sethostname.c: Likewise.
28912         * misc/setregid.c: Likewise.
28913         * misc/setreuid.c: Likewise.
28914         * misc/setxattr.c: Likewise.
28915         * misc/sstk.c: Likewise.
28916         * misc/stty.c: Likewise.
28917         * misc/swapoff.c: Likewise.
28918         * misc/swapon.c: Likewise.
28919         * misc/sync.c: Likewise.
28920         * misc/syncfs.c: Likewise.
28921         * misc/syscall.c: Likewise.
28922         * misc/truncate.c: Likewise.
28923         * misc/ualarm.c: Likewise.
28924         * misc/usleep.c: Likewise.
28925         * misc/ustat.c: Likewise.
28926         * misc/utimes.c: Likewise.
28927         * misc/vhangup.c: Likewise.
28928         * misc/writev.c: Likewise.
28929         * posix/_exit.c: Likewise.
28930         * posix/alarm.c: Likewise.
28931         * posix/execve.c: Likewise.
28932         * posix/fexecve.c: Likewise.
28933         * posix/fork.c: Likewise.
28934         * posix/fpathconf.c: Likewise.
28935         * posix/getaddrinfo.c: Likewise.
28936         * posix/getegid.c: Likewise.
28937         * posix/geteuid.c: Likewise.
28938         * posix/getgid.c: Likewise.
28939         * posix/getgroups.c: Likewise.
28940         * posix/getlogin.c: Likewise.
28941         * posix/getlogin_r.c: Likewise.
28942         * posix/getpgid.c: Likewise.
28943         * posix/getpid.c: Likewise.
28944         * posix/getppid.c: Likewise.
28945         * posix/getresgid.c: Likewise.
28946         * posix/getresuid.c: Likewise.
28947         * posix/getsid.c: Likewise.
28948         * posix/getuid.c: Likewise.
28949         * posix/glob64.c: Likewise.
28950         * posix/nanosleep.c: Likewise.
28951         * posix/pathconf.c: Likewise.
28952         * posix/pause.c: Likewise.
28953         * posix/posix_madvise.c: Likewise.
28954         * posix/pread.c: Likewise.
28955         * posix/pread64.c: Likewise.
28956         * posix/pwrite.c: Likewise.
28957         * posix/pwrite64.c: Likewise.
28958         * posix/sched_getaffinity.c: Likewise.
28959         * posix/sched_getp.c: Likewise.
28960         * posix/sched_gets.c: Likewise.
28961         * posix/sched_primax.c: Likewise.
28962         * posix/sched_primin.c: Likewise.
28963         * posix/sched_rr_gi.c: Likewise.
28964         * posix/sched_setaffinity.c: Likewise.
28965         * posix/sched_setp.c: Likewise.
28966         * posix/sched_sets.c: Likewise.
28967         * posix/sched_yield.c: Likewise.
28968         * posix/setgid.c: Likewise.
28969         * posix/setlogin.c: Likewise.
28970         * posix/setpgid.c: Likewise.
28971         * posix/setresgid.c: Likewise.
28972         * posix/setresuid.c: Likewise.
28973         * posix/setsid.c: Likewise.
28974         * posix/setuid.c: Likewise.
28975         * posix/sleep.c: Likewise.
28976         * posix/spawni.c: Likewise.
28977         * posix/sysconf.c: Likewise.
28978         * posix/times.c: Likewise.
28979         * posix/wait.c: Likewise.
28980         * posix/wait3.c: Likewise.
28981         * posix/wait4.c: Likewise.
28982         * posix/waitpid.c: Likewise.
28983         * resolv/gai_sigqueue.c: Likewise.
28984         * resource/getpriority.c: Likewise.
28985         * resource/getrlimit.c: Likewise.
28986         * resource/getrusage.c: Likewise.
28987         * resource/nice.c: Likewise.
28988         * resource/setpriority.c: Likewise.
28989         * resource/setrlimit.c: Likewise.
28990         * resource/ulimit.c: Likewise.
28991         * rt/aio_cancel.c: Likewise.
28992         * rt/aio_fsync.c: Likewise.
28993         * rt/aio_read.c: Likewise.
28994         * rt/aio_sigqueue.c: Likewise.
28995         * rt/aio_suspend.c: Likewise.
28996         * rt/aio_write.c: Likewise.
28997         * rt/clock_getres.c: Likewise.
28998         * rt/clock_gettime.c: Likewise.
28999         * rt/clock_nanosleep.c: Likewise.
29000         * rt/clock_settime.c: Likewise.
29001         * rt/lio_listio.c: Likewise.
29002         * rt/mq_close.c: Likewise.
29003         * rt/mq_getattr.c: Likewise.
29004         * rt/mq_notify.c: Likewise.
29005         * rt/mq_open.c: Likewise.
29006         * rt/mq_receive.c: Likewise.
29007         * rt/mq_send.c: Likewise.
29008         * rt/mq_setattr.c: Likewise.
29009         * rt/mq_timedreceive.c: Likewise.
29010         * rt/mq_timedsend.c: Likewise.
29011         * rt/mq_unlink.c: Likewise.
29012         * rt/shm_open.c: Likewise.
29013         * rt/shm_unlink.c: Likewise.
29014         * rt/timer_create.c: Likewise.
29015         * rt/timer_delete.c: Likewise.
29016         * rt/timer_getoverr.c: Likewise.
29017         * rt/timer_gettime.c: Likewise.
29018         * rt/timer_settime.c: Likewise.
29019         * setjmp/__longjmp.c: Likewise.
29020         * setjmp/setjmp.c: Likewise.
29021         * signal/kill.c: Likewise.
29022         * signal/killpg.c: Likewise.
29023         * signal/raise.c: Likewise.
29024         * signal/sigaction.c: Likewise.
29025         * signal/sigaltstack.c: Likewise.
29026         * signal/sigblock.c: Likewise.
29027         * signal/sigignore.c: Likewise.
29028         * signal/sigintr.c: Likewise.
29029         * signal/signal.c: Likewise.
29030         * signal/sigpause.c: Likewise.
29031         * signal/sigpending.c: Likewise.
29032         * signal/sigqueue.c: Likewise.
29033         * signal/sigreturn.c: Likewise.
29034         * signal/sigset.c: Likewise.
29035         * signal/sigsetmask.c: Likewise.
29036         * signal/sigstack.c: Likewise.
29037         * signal/sigsuspend.c: Likewise.
29038         * signal/sigtimedwait.c: Likewise.
29039         * signal/sigvec.c: Likewise.
29040         * signal/sigwait.c: Likewise.
29041         * signal/sigwaitinfo.c: Likewise.
29042         * signal/sysv_signal.c: Likewise.
29043         * socket/accept.c: Likewise.
29044         * socket/accept4.c: Likewise.
29045         * socket/bind.c: Likewise.
29046         * socket/connect.c: Likewise.
29047         * socket/getpeername.c: Likewise.
29048         * socket/getsockname.c: Likewise.
29049         * socket/getsockopt.c: Likewise.
29050         * socket/isfdtype.c: Likewise.
29051         * socket/listen.c: Likewise.
29052         * socket/recv.c: Likewise.
29053         * socket/recvfrom.c: Likewise.
29054         * socket/recvmsg.c: Likewise.
29055         * socket/send.c: Likewise.
29056         * socket/sendmsg.c: Likewise.
29057         * socket/sendto.c: Likewise.
29058         * socket/setsockopt.c: Likewise.
29059         * socket/shutdown.c: Likewise.
29060         * socket/sockatmark.c: Likewise.
29061         * socket/socket.c: Likewise.
29062         * socket/socketpair.c: Likewise.
29063         * stdio-common/ctermid.c: Likewise.
29064         * stdio-common/cuserid.c: Likewise.
29065         * stdio-common/remove.c: Likewise.
29066         * stdio-common/rename.c: Likewise.
29067         * stdio-common/renameat.c: Likewise.
29068         * stdio-common/tempname.c: Likewise.
29069         * stdlib/getcontext.c: Likewise.
29070         * stdlib/makecontext.c: Likewise.
29071         * stdlib/setcontext.c: Likewise.
29072         * stdlib/swapcontext.c: Likewise.
29073         * stdlib/system.c: Likewise.
29074         * streams/fattach.c: Likewise.
29075         * streams/fdetach.c: Likewise.
29076         * streams/getmsg.c: Likewise.
29077         * streams/getpmsg.c: Likewise.
29078         * streams/putmsg.c: Likewise.
29079         * streams/putpmsg.c: Likewise.
29080         * sysdeps/unix/bsd/getpt.c: Likewise.
29081         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29082         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29083         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29085         Likewise.
29086         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29087         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29088         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29089         * sysvipc/msgctl.c: Likewise.
29090         * sysvipc/msgget.c: Likewise.
29091         * sysvipc/msgrcv.c: Likewise.
29092         * sysvipc/msgsnd.c: Likewise.
29093         * sysvipc/semctl.c: Likewise.
29094         * sysvipc/semget.c: Likewise.
29095         * sysvipc/semop.c: Likewise.
29096         * sysvipc/semtimedop.c: Likewise.
29097         * sysvipc/shmat.c: Likewise.
29098         * sysvipc/shmctl.c: Likewise.
29099         * sysvipc/shmdt.c: Likewise.
29100         * sysvipc/shmget.c: Likewise.
29101         * termios/tcdrain.c: Likewise.
29102         * termios/tcflow.c: Likewise.
29103         * termios/tcflush.c: Likewise.
29104         * termios/tcgetattr.c: Likewise.
29105         * termios/tcgetpgrp.c: Likewise.
29106         * termios/tcsendbrk.c: Likewise.
29107         * termios/tcsetattr.c: Likewise.
29108         * termios/tcsetpgrp.c: Likewise.
29109         * time/adjtime.c: Likewise.
29110         * time/clock.c: Likewise.
29111         * time/getitimer.c: Likewise.
29112         * time/gettimeofday.c: Likewise.
29113         * time/setitimer.c: Likewise.
29114         * time/settimeofday.c: Likewise.
29115         * time/stime.c: Likewise.
29116         * time/time.c: Likewise.
29117
29118 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29119
29120         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29121         /usr/old/bin.
29122
29123         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29124         instead of spaces.
29125         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29126
29127 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29128
29129         [BZ #14796]
29130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29131         FE_TONEAREST before applying Dekker multiplication and Knuth
29132         addition.  Clear inexact exceptions and check for exact zero
29133         results afterwards.
29134         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29135         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29136         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29137         * math/libm-test.inc (fma_test): Add more tests.
29138         (fma_test_towardzero): Likewise.
29139         (fma_test_downward): Likewise.
29140         (fma_test_upward): Likewise.
29141         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29142         function.
29143         (libc_fesetround): New macro.
29144         (libc_fesetroundf): Likewise.
29145         (libc_fesetroundl): Likewise.
29146         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29147         function.
29148         (libc_fesetround_387): Likewise.
29149         (libc_fesetroundf): New macro.
29150         (libc_fesetround): Likewise.
29151         (libc_fesetroundl): Likewise.
29152         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29153         function.
29154         (libc_fesetroundf): New macro.
29155         (libc_fesetround): Likewise.
29156         (libc_fesetroundl): Likewise.
29157         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29158         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29159         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29160         libm_hidden_ver.
29161         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29162         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29163         libm_hidden_def.
29164         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29165         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29166         libm_hidden_ver.
29167         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29168         libm_hidden_def.
29169
29170         [BZ #3439]
29171         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29172         integer constant usable in #if and use that to give value to enum
29173         constant.
29174         (FE_DIVBYZERO): Likewise.
29175         (FE_UNDERFLOW): Likewise.
29176         (FE_OVERFLOW): Likewise.
29177         (FE_INVALID): Likewise.
29178         (FE_INVALID_SNAN): Likewise.
29179         (FE_INVALID_ISI): Likewise.
29180         (FE_INVALID_IDI): Likewise.
29181         (FE_INVALID_ZDZ): Likewise.
29182         (FE_INVALID_IMZ): Likewise.
29183         (FE_INVALID_COMPARE): Likewise.
29184         (FE_INVALID_SOFTWARE): Likewise.
29185         (FE_INVALID_SQRT): Likewise.
29186         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29187         (FE_TONEAREST): Likewise.
29188         (FE_TOWARDZERO): Likewise.
29189         (FE_UPWARD): Likewise.
29190         (FE_DOWNWARD): Likewise.
29191         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29192         (FE_DIVBYZERO): Likewise.
29193         (FE_OVERFLOW): Likewise.
29194         (FE_UNDERFLOW): Likewise.
29195         (FE_INEXACT): Likewise.
29196         (FE_TONEAREST): Likewise.
29197         (FE_DOWNWARD): Likewise.
29198         (FE_UPWARD): Likewise.
29199         (FE_TOWARDZERO): Likewise.
29200         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29201         (FE_UNDERFLOW): Likewise.
29202         (FE_OVERFLOW): Likewise.
29203         (FE_DIVBYZERO): Likewise.
29204         (FE_INVALID): Likewise.
29205         (FE_TONEAREST): Likewise.
29206         (FE_TOWARDZERO): Likewise.
29207         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29208         (FE_OVERFLOW): Likewise.
29209         (FE_UNDERFLOW): Likewise.
29210         (FE_DIVBYZERO): Likewise.
29211         (FE_INEXACT): Likewise.
29212         (FE_TONEAREST): Likewise.
29213         (FE_TOWARDZERO): Likewise.
29214         (FE_UPWARD): Likewise.
29215         (FE_DOWNWARD): Likewise.
29216         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29217         (FE_DIVBYZERO): Likewise.
29218         (FE_OVERFLOW): Likewise.
29219         (FE_UNDERFLOW): Likewise.
29220         (FE_INEXACT): Likewise.
29221         (FE_TONEAREST): Likewise.
29222         (FE_DOWNWARD): Likewise.
29223         (FE_UPWARD): Likewise.
29224         (FE_TOWARDZERO): Likewise.
29225
29226 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29227
29228         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29229
29230 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29231
29232         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29233         commands.  Quote $PWD.
29234         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29235         -x" by "export".
29236         (remove_newlines): Remove.
29237
29238 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29239
29240         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29241         * stdlib/stdlib.h (atof): Moved to ...
29242         * include/bits/stdlib-float.h: Here.  New file.
29243         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29244         * stdlib/bits/stdlib-float.h: New file.
29245         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29246         -mno-sse -mno-mmx.
29247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29248         <xmmintrin.h>.
29249
29250 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29251
29252         * conform/conformtest.pl (@headers): Add fenv.h.
29253         * conform/data/fenv.h-data: New file.
29254         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29255         include of <math/fenv.h>.
29256
29257         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29258         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29259         && !UNIX98].  Enables tests for XOPEN2K8.
29260         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29261         POSIX2008]: Likewise.
29262
29263         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29264         (struct rusage): Do not expect type or its members.
29265
29266         [BZ #3439]
29267         * math/math.h (FP_NAN): Define macro to integer constant usable in
29268         #if and use that to give value to enum constant.
29269         (FP_INFINITE): Likewise.
29270         (FP_ZERO): Likewise.
29271         (FP_SUBNORMAL): Likewise.
29272         (FP_NORMAL): Likewise.
29273
29274 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29275
29276         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29277         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29278         arguments.
29279
29280 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29281
29282         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29283         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29284         autoconf-time if not.
29285         * configure.in: Remove AC_PREREQ.
29286
29287 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29288
29289         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29290         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29291         of the internal implementation.
29292
29293 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29294
29295         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29296         except include of <misc/sys/syslog.h>.
29297
29298 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29299
29300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29301         function returns with a NULL context exit with zero.
29302
29303 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29304
29305         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29306
29307 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29308
29309         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29310         (run_program_cmd): This.
29311         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29312         (tst_langinfo): New variable.  Use it.
29313
29314 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29315
29316         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29317         floating point opcodes.
29318
29319 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29320
29321         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29322         variable.
29323
29324         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29325
29326         * sysdeps/mach/hurd/powerpc: Remove directory.
29327         * sysdeps/mach/powerpc: Likewise.
29328
29329 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29330
29331         * scripts/check-local-headers.sh: Ignore c++ headers.
29332
29333 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29334
29335         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29336         __libc_cleanup_region_start argument.
29337
29338 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29339
29340         [BZ #14784]
29341         [BZ #14785]
29342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29343         x * y using scaling, not as x * y + z.
29344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29345         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29346         * math/libm-test.inc (fma_test): Add more tests.
29347         (fma_test_towardzero): Likewise.
29348         (fma_test_downward): Likewise.
29349         (fma_test_upward): Likewise.
29350
29351 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29352
29353         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29354
29355 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29356
29357         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29358         New variable.
29359
29360 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29361
29362         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29363
29364 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29365
29366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29367         Fix sort order.
29368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29369         Likewise.
29370
29371 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29372
29373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29374         Fix the order of the list for glibc 2.17.
29375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29376         Likewise.
29377
29378 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29379
29380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29381
29382 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29383
29384         [BZ #14610]
29385         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29386         for low part of x being zero before using __atanl (y).
29387         * math/libm-test.inc (atan2_test): Add another test.
29388
29389         * manual/install.texi (Configuring and compiling): Document
29390         general use of test-wrapper and test-wrapper-env.
29391         * INSTALL: Regenerated.
29392
29393         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29394         (__fma): Do not extract and scale down low bits on after-rounding
29395         systems when result rounded to normal precision would have normal
29396         exponent.
29397         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29398         (__fmal): Do not extract and scale down low bits on after-rounding
29399         systems when result rounded to normal precision would have normal
29400         exponent.
29401         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29402         (__fmal): Do not extract and scale down low bits on after-rounding
29403         systems when result rounded to normal precision would have normal
29404         exponent.
29405         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29406         macro.
29407         (fma_test): Add more tests.
29408         (fma_test_towardzero): Likewise.
29409         (fma_test_downward): Likewise.
29410         (fma_test_upward): Likewise.
29411
29412 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29413
29414         * sysdeps/i386/tininess.h: Renamed to ...
29415         * sysdeps/x86/tininess.h: This.
29416         * sysdeps/x86_64/tininess.h: Removed.
29417
29418 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29419
29420         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29421         input.  Use $(build-program-cmd).
29422         ($(objpfx)tst-array1-static.out): Likewise.
29423         ($(objpfx)tst-array2.out): Likewise.
29424         ($(objpfx)tst-array3.out): Likewise.
29425         ($(objpfx)tst-array4.out): Likewise.
29426         ($(objpfx)tst-array5.out): Likewise.
29427         ($(objpfx)tst-array5-static.out): Likewise.
29428
29429 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29430
29431         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29432         if defined.
29433
29434         * nss/nsswitch.h (nss_interface_function): Provide new
29435         macro for use with NSS functions.
29436         * grp/initgroups.c: Use new macro.
29437         * nss/getXXbyYY.c: Likewise.
29438         * nss/getXXbyYY_r.c: Likewise.
29439         * nss/getXXent.c: Likewise.
29440         * nss/getXXent_r.c: Likewise.
29441         * sysdeps/posix/getaddrinfo.c: Likewise.
29442
29443 2012-10-30  Andreas Jaeger  <aj@suse.de>
29444
29445         * po/ru.po: Update Russion translation from translation project.
29446
29447 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29448
29449         [BZ #14152]
29450         [BZ #14783]
29451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29452         result and shift together with sticky bit instead of replicating
29453         round-to-nearest rounding.
29454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29456         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29457         missing underflow exceptions.
29458         (fma_test_towardzero): Add more tests.
29459         (fma_test_downward): Likewise.
29460         (fma_test_upward): Likewise.
29461
29462         [BZ #14047]
29463         * sysdeps/generic/tininess.h: New file.
29464         * sysdeps/i386/tininess.h: Likewise.
29465         * sysdeps/sh/tininess.h: Likewise.
29466         * sysdeps/x86_64/tininess.h: Likewise.
29467         * stdlib/tst-strtod-underflow.c: Likewise.
29468         * stdlib/tst-tininess.c: Likewise.
29469         * stdlib/strtod_l.c: Include <tininess.h>.
29470         (round_and_return): Do not set errno for exact underflow cases.
29471         Force an underflow exception when setting errno for underflow.
29472         Determine underflow based on rounding to normal precision if
29473         TININESS_AFTER_ROUNDING.
29474         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29475         ERANGE for exact underflow cases.
29476         * stdlib/Makefile (tests): Add tst-tininess and
29477         tst-strtod-underflow.
29478         ($(objpfx)tst-tininess): Use $(link-libm).
29479         ($(objpfx)tst-strtod-underflow): Likewise.
29480
29481 2012-10-30  Andreas Jaeger  <aj@suse.de>
29482
29483         [BZ#14767]
29484         * elf/Makefile (tests): Remove conditional for have-initfini-array
29485         since this is now always required and the variable does not exist
29486         anymore.
29487         (tests-static): Likewise.
29488         (modules-names): Likewise.
29489
29490         * po/eo.po: Add Esperanto translation from translation project.
29491
29492         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29493         merged with constructor/destructor.
29494         (init_array): Likewise.
29495         * elf/tst-array2dep.c (fini_array): Likewise.
29496         (init_array): Likewise.
29497
29498 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29499
29500         * manual/message.texi: Delete @cartouche tags.
29501
29502 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29503
29504         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29505         EOPNOTSUPP.
29506         * sysdeps/mach/hurd/fsync.c: Likewise.
29507
29508         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29509         [_POSIX_REALTIME_SIGNALS]: Change condition to
29510         [_POSIX_REALTIME_SIGNALS > 0].
29511
29512 2012-10-27  Andreas Jaeger  <aj@suse.de>
29513
29514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29515         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29517         [__WORDSIZE != 64]: Likewise.
29518
29519 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29520
29521         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29522         *  iconvdata/tst-tables.sh: Likewise.
29523
29524 2012-10-25  David S. Miller  <davem@davemloft.net>
29525
29526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29527         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29528         of strtoull.
29529
29530         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29531         ifunc-impl-list.c
29532         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29533         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29534         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29535         file.
29536
29537 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29538
29539         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29540         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29541         __getdirentries.
29542
29543 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29544             Jim Blandy  <jimb@codesourcery.com>
29545
29546         * scripts/cross-test-ssh.sh: New file.
29547         * manual/install.texi (Configuring and compiling): Document use of
29548         cross-test-ssh.sh.
29549         * INSTALL: Regenerated.
29550
29551 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29552
29553         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29554         EOPNOTSUPP.
29555
29556 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29557
29558         * Makeconfig (run-program-prefix): Fix comment.
29559
29560 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29561             Jim Blandy  <jimb@codesourcery.com>
29562
29563         * Makeconfig (test-wrapper): New variable,
29564         (test-wrapper-env): Likewise.
29565         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29566         (run-built-tests): Define to yes.
29567         (run-program-prefix): Use $(test-wrapper).
29568         (built-program-cmd): Likewise.
29569         * Rules (make-test-out): Use $(test-wrapper-env) and
29570         $(host-built-program-cmd).
29571         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29572         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29573         tst-pathopt.sh.
29574         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29575         $(test-wrapper-env) to tst-rtld-load-self.sh.
29576         ($(objpfx)order2.out): Use $(test-wrapper).
29577         ($(objpfx)tst-initorder.out): Likewise.
29578         ($(objpfx)tst-initorder2.out): Likewise.
29579         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29580         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29581         (test_wrapper_env): New variable.  Use it to run ld.so.
29582         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29583         Use it to run ld.so.
29584         (test_wrapper_env): Likewise.
29585         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29586         $(test-wrapper) to run-iconv-test.sh.
29587         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29588         (ICONV): Use $test_wrapper.
29589         * posix/Makefile ($(objpfx)globtest.out): Pass
29590         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29591         globtest.sh, not $(run-program-prefix).
29592         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29593         (test_wrapper): Likewise.
29594         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29595         set together with run_via_rtld_prefix.
29596         (run_program_prefix): Define in terms of test_wrapper and
29597         run_via_rtld_prefix.
29598
29599 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29600
29601         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29602         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29603         Targets removed.
29604
29605         [BZ #14743]
29606         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29607         Declare __clock_getres, __clock_gettime, __clock_settime,
29608         __clock_nanosleep, and __clock_getcpuclockid.
29609         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29610         Remove librt_hidden_def (clock_gettime).
29611         * sysdeps/unix/clock_gettime.c: Likewise.
29612         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29613         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29614         * rt/clock_getres.c: Define __clock_getres as an alias.
29615         * sysdeps/posix/clock_getres.c: Likewise.
29616         * rt/clock_settime.c: Define __clock_settime as an alias.
29617         * sysdeps/unix/clock_settime.c: Likewise.
29618         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29619         * sysdeps/unix/clock_nanosleep.c: Likewise.
29620         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29621         * rt/clock-compat.c: New file.
29622         * rt/Makefile (librt-routines): Add clock-compat and move
29623         $(clock-routines) to ...
29624         (routines): ... here, new variable.
29625         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29626         Don't add get_clockfreq here.
29627         * rt/Versions (libc: GLIBC_2.17): New version set.
29628         Add clock_* symbols here.
29629         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29631         (GLIBC_2.17): Add clock_* symbols.
29632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29636         Likewise.
29637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29638         Likewise.
29639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29643         * NEWS: Mention the move.
29644
29645         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29646         Use __open, __read, __close rather than their public counterparts.
29647         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29648         (__get_clockfreq_via_cpuinfo): Likewise.
29649         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29650         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29651
29652         * config.h.in (HAVE_IFUNC): New #undef.
29653         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29654         was successful.
29655         * configure: Regenerated.
29656
29657 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29658
29659         * configure.in: Move READELF check to start of file.
29660         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29661         libc_cv_asm_gnu_indirect_function in the process.
29662         * configure: Regenerated.
29663
29664 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29665
29666         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29667         send the output to /dev/null.
29668         (libc_cv_cc_with_libunwind): Likewise.
29669         (libc_cv_as_noexecstack): Likewise.
29670         * configure: Regenerate.
29671
29672 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29673
29674         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29675
29676         * posix/globtest.sh (TMPDIR): Do not set.
29677         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29678         (testout): Likewise.
29679
29680 2012-10-24  Andreas Jaeger  <aj@suse.de>
29681
29682         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29683         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29684         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29685         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29686         posix_fadvise64, posix_fallocate64.
29687
29688         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29689         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29690         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29691         Likewise.
29692         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29693         Likewise.
29694         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29695
29696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29697         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29698         <bits/fcntl-linux.h>.
29699         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29700
29701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29702         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29703         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29704         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29705         [__WORDSIZE != 64]: Likewise.
29706
29707 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29708
29709         * Makeconfig (run-built-tests): New variable.
29710         * Rules [$(cross-compiling) = yes]: Change condition to
29711         [$(run-built-tests) = no].
29712         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29713         to [$(run-built-tests) = yes].
29714         * elf/Makefile [$(cross-compiling) = no]: Likewise
29715         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29716         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29717         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29718         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29719         * io/Makefile [$(cross-compiling) = no]: Likewise.
29720         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29721         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29722         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29723         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29724         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29725         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29726         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29727         * string/Makefile [$(cross-compiling) = no]: Likewise.
29728
29729         * posix/Makefile ($(objpfx)globtest.out): Pass
29730         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29731         $(rtld-installed-name).
29732         * posix/globtest.sh (elf_objpfx): Remove variable.
29733         (rtld_installed_name): Likewise.
29734         (library_path): Likewise.
29735         (run_program_prefix): New variable.  Use for running globtest
29736         binary.
29737
29738 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29739             Joseph Myers  <joseph@codesourcery.com>
29740
29741         * Makeconfig (host-built-program-cmd): New variable.
29742         * elf/Makefile (tst-stackguard1-ARGS): Use
29743         $(host-built-program-cmd).
29744         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29745         (tst-spawn-ARGS): Likewise.
29746         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29747
29748 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29749             Jim Blandy  <jimb@codesourcery.com>
29750
29751         * Makeconfig (run-via-rtld-prefix): New variable.
29752         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29753         (built-program-cmd): Likewise.
29754
29755 2012-10-22  Andreas Jaeger  <aj@suse.de>
29756
29757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29758         __O_RSYNC if it exists, otherwise to O_SYNC.
29759
29760 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29761             Joseph Myers  <joseph@codesourcery.com>
29762
29763         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29764         /dev/null.
29765         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29766         from /dev/null
29767         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29768         /dev/null.
29769
29770 2012-10-22  Andreas Jaeger  <aj@suse.de>
29771
29772         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29773         Define always.
29774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29775
29776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29777         bits/fcntl-linux.h.
29778
29779         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29780         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29781
29782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29783         to __O_LARGEFILE.
29784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29785         to __O_LARGEFILE.
29786
29787 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29788             Joseph Myers  <joseph@codesourcery.com>
29789
29790         * config.make.in (NM): New variable.
29791
29792 2012-10-21  Andreas Jaeger  <aj@suse.de>
29793
29794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29795         definitions and declarations that are provided by
29796         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29797
29798 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29799
29800         [BZ #14683]
29801         * elf/Makefile (tests-static): Add tst-leaks1-static.
29802         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29803         ($(objpfx)tst-leaks1-static): New rule.
29804         ($(objpfx)tst-leaks1-static-mem): Likewise.
29805         (tst-leaks1-static-ENV): New macro.
29806         * elf/dl-open.c (dl_open_worker): Check the main application
29807         only if SHARED is defined.
29808         * elf/tst-leaks1-static.c: New file.
29809
29810 2012-10-20  Andreas Jaeger  <aj@suse.de>
29811
29812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29813         generic values for Linux.
29814         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29815         and declarations that are provided by <bits/fcntl-linux.h> and
29816         include <bits/fcntl-linux.h>.
29817         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29818         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29819
29820 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29821
29822         * io/fcntl.h: Move include of <bits/types.h> to the top and
29823         include it unconditionally.
29824
29825 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29826
29827         * wcsmbs/Makefile (tests-ifunc): New variable.
29828         (tests): Add $(tests-ifunc).
29829         * wcsmbs/test-wcschr-ifunc.c: New file.
29830         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29831         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29832         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29833         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29834         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29835
29836         * string/Makefile (tests-ifunc): New variable.
29837         (tests): Add $(tests-ifunc).
29838         * string/test-memccpy.c (TEST_NAME): New macro.
29839         * string/test-memchr.c (TEST_NAME): Likewise.
29840         * string/test-memcmp.c (TEST_NAME): Likewise.
29841         * string/test-memcpy.c (TEST_NAME): Likewise.
29842         * string/test-memmem.c (TEST_NAME): Likewise.
29843         * string/test-memmove.c (TEST_NAME): Likewise.
29844         * string/test-memset.c (TEST_NAME): Likewise.
29845         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29846         * string/test-stpcpy.c (TEST_NAME): Likewise.
29847         * string/test-stpncpy.c (TEST_NAME): Likewise.
29848         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29849         * string/test-strcasestr.c (TEST_NAME): Likewise.
29850         * string/test-strcat.c (TEST_NAME): Likewise.
29851         * string/test-strchr.c (TEST_NAME): Likewise.
29852         * string/test-strcmp.c(TEST_NAME): Likewise.
29853         * string/test-strcpy.c (TEST_NAME): Likewise.
29854         * string/test-strcspn.c (TEST_NAME): Likewise.
29855         * string/test-strlen.c (TEST_NAME): Likewise.
29856         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29857         * string/test-strncmp.c (TEST_NAME): Likewise.
29858         * string/test-strncpy.c (TEST_NAME): Likewise.
29859         * string/test-strnlen.c (TEST_NAME): Likewise.
29860         * string/test-strpbrk.c (TEST_NAME): Likewise.
29861         * string/test-strrchr.c (TEST_NAME): Likewise.
29862         * string/test-strspn.c (TEST_NAME): Likewise.
29863         * string/test-strstr.c (TEST_NAME): Likewise.
29864         * string/test-bcopy-ifunc.c: New file.
29865         * string/test-bzero-ifunc.c: Likewise.
29866         * string/test-memccpy-ifunc.c: Likewise.
29867         * string/test-memchr-ifunc.c: Likewise.
29868         * string/test-memcmp-ifunc.c: Likewise.
29869         * string/test-memcpy-ifunc.c: Likewise.
29870         * string/test-memmem-ifunc.c: Likewise.
29871         * string/test-memmove-ifunc.c: Likewise.
29872         * string/test-mempcpy-ifunc.c: Likewise.
29873         * string/test-memset-ifunc.c: Likewise.
29874         * string/test-rawmemchr-ifunc.c: Likewise.
29875         * string/test-stpcpy-ifunc.c: Likewise.
29876         * string/test-stpncpy-ifunc.c: Likewise.
29877         * string/test-strcasecmp-ifunc.c: Likewise.
29878         * string/test-strcasestr-ifunc.c: Likewise.
29879         * string/test-strcat-ifunc.c: Likewise.
29880         * string/test-strchr-ifunc.c: Likewise.
29881         * string/test-strchrnul-ifunc.c: Likewise.
29882         * string/test-strcmp-ifunc.c: Likewise.
29883         * string/test-strcpy-ifunc.c: Likewise.
29884         * string/test-strcspn-ifunc.c: Likewise.
29885         * string/test-strlen-ifunc.c: Likewise.
29886         * string/test-strncasecmp-ifunc.c: Likewise.
29887         * string/test-strncat-ifunc.c: Likewise.
29888         * string/test-strncmp-ifunc.c: Likewise.
29889         * string/test-strncpy-ifunc.c: Likewise.
29890         * string/test-strnlen-ifunc.c: Likewise.
29891         * string/test-strpbrk-ifunc.c: Likewise.
29892         * string/test-strrchr-ifunc.c: Likewise.
29893         * string/test-strspn-ifunc.c: Likewise.
29894         * string/test-strstr-ifunc.c: Likewise.
29895
29896         * debug/Makefile (tests-ifunc): New variable.
29897         (tests): Add $(tests-ifunc).
29898         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29899         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29900         * debug/test-stpcpy_chk-ifunc.c: New file.
29901         * debug/test-strcpy_chk-ifunc.c: Likewise.
29902
29903 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29904
29905         [BZ #13601]
29906         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29907         header is not read in.
29908
29909 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29910
29911         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29912         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29913         directly.  Pass built executable to script as
29914         $(built-program-cmd).
29915         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29916         $testprogram without using LD_LIBRARY_PATH and $ldso.
29917
29918         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29919         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29920         $(rtld-installed-name).
29921         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29922         (rtld_installed_name): Likewise.
29923         (library_path): Likewise.
29924         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29925         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29926         $(run-program-prefix) to tst-tables.sh.
29927         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29928         it to run tst-table-from and tst-table-to.
29929         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29930         Pass it to tst-table.sh.
29931         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29932         $(run-program-prefix) to tst-gettext.sh.
29933         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29934         tst-translit.sh.
29935         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29936         tst-gettext2.sh.
29937         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29938         to run tst-gettext.
29939         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29940         to run tst-gettext2.
29941         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29942         to run tst-translit.
29943         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29944         $(run-program-prefix) to tst-mtrace.sh.
29945         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29946         to run tst-mtrace.
29947         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29948         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29949         $(rtld-installed-name).
29950         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29951         (rtld_installed_name): Likewise.
29952         (run_program_prefix): New variable.  Use it to run wordexp-test.
29953
29954         * Makeconfig (ARCH): Remove all definitions.
29955         (machine): Likewise.
29956         [ARCH]: Remove conditional code.
29957         [!objdir]: Give error.
29958         [!objdir] (objpfx): Remove.
29959         [!objdir] (common-objpfx): Likewise.
29960         [!objdir] (common-objdir): Likewise.
29961         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29962         AC_CONFIG_FILES call.
29963         * configure: Regenerated.
29964
29965         [BZ #13888]
29966         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29967         or TMPDIR.
29968         (testout): Likewise.
29969
29970         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29971         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29972         $(rtld-installed-name).
29973         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29974         (rtld_installed_name): Likwise.
29975         (runit): Remove function.
29976         (run_getconf): New variable,  Use it for running getconf binary.
29977
29978 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29979
29980         [BZ #14716]
29981         * string/test-memmem.c (check_result): New function.
29982         (do_one_test): Use it.
29983         (check1): New function.
29984         (test_main): Use it.
29985
29986 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29987
29988         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29989
29990 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29991
29992         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29993         (_G_LSEEK64): Likewise.
29994         (_G_MMAP64): Likewise.
29995         (_G_FSTAT64): Likewise.
29996         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29997         (_G_LSEEK64): Likewise.
29998         (_G_MMAP64): Likewise.
29999         (_G_FSTAT64): Likewise.
30000         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30001         unconditional.  Call __mmap64 directly.
30002         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30003         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30004         __lseek64 directly.
30005         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30006         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30007         __mmap64 directly.
30008         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30009         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30010         __lseek64 directly.
30011         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30012         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30013         __lseek64 directly.
30014         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30015         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30016         __lseek64 directly.
30017         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30018         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30019         __fxstat64 directly.
30020         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30021         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30022         unconditional.
30023         (freopen64) [!_G_OPEN64]: Remove conditional code.
30024         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30025         unconditional.
30026         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30027         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30028         unconditional.
30029         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30030         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30031         unconditional.
30032         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30033         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30034         unconditional.
30035         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30036         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30037         unconditional.
30038         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30039         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30040         unconditional.
30041         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30042         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30043         unconditional.
30044         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30045
30046 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30047
30048         [BZ #12140]
30049         * manual/memory.texi (Malloc Tunable Parameters): Add note
30050         about free list pointers overwriting some perturb bytes.
30051         Wording suggested by Roland McGrath.
30052
30053 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30054
30055         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30056         (lgamma_test): Likewise.
30057         (tgamma_test): Likewise.
30058
30059 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30060
30061         [BZ #14700]
30062         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30063         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30064
30065 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30066
30067         * NEWS: Mention BZ #14716.
30068         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30069         when removing AVAILABLE1_USES_J macro.
30070
30071 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30072
30073         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30074         (__bswap_64): __uint64_t for unsigned 64-bit int.
30075
30076 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30077
30078         * include/string.h (memmem): Declare libc hidden alias.
30079         * string/memmem.c (memmem): Define libc hidden alias.
30080         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30081         __read, __close instead of open, read, close.
30082
30083 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30084
30085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30086         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30087         global and hidden.
30088         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30089         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30090         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30091         Likewise.
30092         (__rawmemchr_sse2): Likewise.
30093         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30094         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30095         (__strchr_sse2): Likewise.
30096         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30097         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30098         (__strcasecmp_sse2): Likewise.
30099         (__strncasecmp_sse2): Likewise.
30100         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30101         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30102         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30103         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30104         (__strrchr_sse2): Likewise.
30105         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30106         ifunc-impl-list.c.
30107         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30109         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30110         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30111         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30112         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30113         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30115         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30116         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30117         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30118         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30119         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30120         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30121         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30122         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30123         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30124         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30125         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30126         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30127         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30128         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30129         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30130         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30131         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30132         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30133         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30134         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30135         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30136         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30137
30138         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30139         global and hidden.
30140         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30141         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30142         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30143         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30144         Likewise.
30145         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30146         Likewise.
30147         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30148         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30149         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30150         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30151         ifunc-impl-list.c.
30152         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30153         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30154         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30155         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30156         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30157         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30158         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30159         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30160         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30161         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30162         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30163         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30164         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30165         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30166         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30167         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30168         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30169         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30170         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30171         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30172         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30173         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30174         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30175         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30176         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30177         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30178         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30179         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30180         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30181         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30182         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30183         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30184         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30185         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30186         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30187         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30188         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30189         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30190         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30191         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30192         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30193
30194         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30195         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30196         * include/ifunc-impl-list.h: New file.
30197         * misc/ifunc-impl-list.c: Likewise.
30198         * misc/Makefile (routines): Add ifunc-impl-list.
30199         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30200         * string/test-string.h: Include <ifunc-impl-list.h>.
30201         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30202         TEST_NAME]: New variables.
30203         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30204         are defined.
30205         (test_init): Call __libc_ifunc_impl_list to initialize
30206         func_list if TEST_IFUNC and TEST_NAME are defined.
30207
30208         * string/Makefile (strop-tests): Add bcopy and bzero.
30209         * string/test-bcopy.c: New file.
30210         * string/test-bzero.c: Likewise.
30211         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30212         defined.
30213         * string/test-memset.c: Support bzero test if TEST_BZERO is
30214         defined.
30215         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30216         __libc_memmove.
30217         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30218         __libc_memset.
30219         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30220         of memset.
30221
30222 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30223
30224         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30225         * configure: Regenerated.
30226
30227         * Makeconfig (+link-static-before-libc): Don't include
30228         $(link-static-libc).
30229
30230         * libio/libio.h (_IO_pos_t): Remove.
30231
30232 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30233
30234         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30235         McGrath.
30236
30237 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30238
30239         * crypt/crypt-entry.c: Include fips-private.h.
30240         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30241         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30242         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30243         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30244
30245 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30246
30247         * crypt/crypt-private.h: Include stdbool.h.
30248         (_ufc_setup_salt_r): Return bool.
30249         * crypt/crypt-entry.c: Include errno.h.
30250         (__crypt_r): Return NULL with EINVAL for bad salt.
30251         * crypt/crypt_util.c (bad_for_salt): New.
30252         (_ufc_setup_salt_r): Check that salt is long enough and within
30253         the specified alphabet.
30254         * crypt/badsalttest.c: New file.
30255         * crypt/Makefile (tests): Add it.
30256         ($(objpfx)badsalttest): New.
30257
30258 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30259
30260         * NEWS: Add entry for BZ #14602.
30261
30262 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30263
30264         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30265         type-generic.
30266         * math/libm-test.inc: Update comment listing what functions and
30267         macros are tested.
30268         (isgreater_test): New function.
30269         (isgreaterequal_test): Likewise.
30270         (isless_test): Likewise.
30271         (islessequal_test): Likewise.
30272         (islessgreater_test): Likewise.
30273         (isunordered_test): Likewise.
30274         (main): Call the new functions.
30275
30276 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30277
30278         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30279         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30280         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30281         * sysdeps/i386/configure: Regenerated.
30282         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30283         * sysdeps/mach/configure: Regenerated.
30284         * sysdeps/mach/hurd/configure: Regenerated.
30285         * sysdeps/powerpc/configure: Regenerated.
30286         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30287         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30288         * sysdeps/s390/s390-32/configure: Regenerated.
30289         * sysdeps/s390/s390-64/configure: Regenerated.
30290         * sysdeps/sh/configure: Regenerated.
30291         * sysdeps/sparc/configure: Regenerated.
30292         * sysdeps/unix/sysv/linux/configure: Regenerated.
30293         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30294         * sysdeps/x86_64/configure: Regenerated.
30295
30296         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30297         defined.  Don't check if MAP is NULL.
30298
30299 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30300
30301         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30302         (_G_stat64): Likewise.
30303         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30304         (_G_stat64): Likewise.
30305         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30306         instead of struct _G_stat64.
30307         * libio/fileops.c (mmap_remap_check): Likewise.
30308         (decide_maybe_mmap): Likewise.
30309         (_IO_new_file_seekoff): Likewise.
30310         (_IO_file_stat): Likewise.
30311         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30312         _G_off64_t.
30313         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30314         instead of struct _G_stat64.
30315         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30316
30317 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30318
30319         [BZ #14602]
30320         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30321         Replace with ...
30322         (CHECK_EOL): New macro.
30323         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30324         CHECK_EOL.
30325         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30326         Replace with CHECK_EOL.
30327         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30328         Replace with CHECK_EOL.
30329
30330 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30331
30332         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30333         type-generic.
30334         * math/libm-test.inc: Update comment listing what functions and
30335         macros are tested.
30336         (finite_test): New function.
30337         (isinf_test): Likewise.
30338         (isnan_test): Likewise.
30339         (fpclassify_test): Test subnormal input.
30340         (isfinite_test): Likewise.
30341         (isnormal_test): Likewise.
30342         (main): Call the new functions.
30343
30344 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30345
30346         [BZ #14660]
30347         * Makerules (%.dynsym): Force C locale when running
30348         $(OBJDUMP) --dynamic-syms.
30349
30350 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30351
30352         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30353         <stdint.h>.
30354
30355 2012-10-06  David S. Miller  <davem@davemloft.net>
30356
30357         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30358         upper 32-bits of the length value in %o2 since we use branch-on-register
30359         tests which consider the entire 64-bit register.
30360
30361 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30362
30363         * string/test-strstr.c (check2): Add a test for page boundary.
30364
30365 2012-10-05  David S. Miller  <davem@davemloft.net>
30366
30367         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30368         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30369         file.
30370         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30371         sysdep_routines.
30372         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30373         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30374         and bzero when HWCAP_SPARC_CRYPTO is present.
30375
30376 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30377
30378         [BZ #14602]
30379         * string/test-strstr.c (check2): New function.
30380         (test_main): Call check2.
30381
30382         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30383         and bug-strchr1.
30384         * string/bug-strcasestr1.c (do_test): Moved to ...
30385         * string/test-strcasestr.c (check1): Here.  New function.
30386         (do_one_test): Break out result checking code into ...
30387         (check_result): This.  New function.
30388         (do_one_test): Call check_result.
30389         (test_main): Call check1.
30390         * string/bug-strchr1.c (do_test): Moved to ...
30391         * string/test-strchr.c (check1): Here.  New function.
30392         (do_one_test): Break out result checking code into ...
30393         (check_result): This.  New function.
30394         (do_one_test): Call check_result.
30395         (test_main): Call check1.
30396         * string/bug-strstr1.c (main): Moved to ...
30397         * string/test-strstr.c (check1): Here.  New function.
30398         (do_one_test): Break out result checking code into ...
30399         (check_result): This.  New function.
30400         (do_one_test): Call check_result.
30401         (test_main): Call check1.
30402         * string/bug-strcasestr1.c: Removed.
30403         * string/bug-strchr1.c: Likewise.
30404         * string/bug-strstr1.c: Likewise.
30405
30406         * elf/Makefile (dl-routines): Add hwcaps.
30407         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30408         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30409         (_dl_important_hwcaps): Moved to ...
30410         * elf/dl-hwcaps.c: Here.  New file.
30411         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30412
30413         [BZ #14557]
30414         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30415         if IS_IN_rtld isn't defined.
30416
30417         * elf/dl-support.c (_dl_sysinfo_map): New.
30418         Include "get-dynamic-info.h" and "setup-vdso.h".
30419         (_dl_non_dynamic_init): Call setup_vdso.
30420         * elf/dynamic-link.h: Don't include <assert.h>.
30421         (elf_get_dynamic_info): Moved to ...
30422         * elf/get-dynamic-info.h: Here.  New file.
30423         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30424         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30425         * elf/setup-vdso.h: Here.  New file.
30426         * elf/rtld.c: Include "setup-vdso.h".
30427         (dl_main): Call setup_vdso.
30428
30429 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30430
30431         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30432         creal in comment listing functions tested.  List finite, isinf,
30433         isnan, isless, islessequal, isgreater, isgreaterequal,
30434         islessgreater, isunordered, lgamma_r and pow10 as functions and
30435         macros not tested.  Mention which functions not tested are aliases
30436         for other functions.  Fix typo.  Note that signs of NaNs are not
30437         tested.
30438
30439         * scripts/config.guess: Update from config.git.
30440         * scripts/config.sub: Likewise.
30441
30442 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30443
30444         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30445         * misc/madvise.c (madvise): Renamed to __madvise.
30446         Make madvise a weak alias.
30447         * include/sys/mman.h: Declare __madvise.
30448         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30449         * sysdeps/unix/syscalls.list
30450         (madvise): Make __madvise the strong name, and madvise a weak alias.
30451         * sysdeps/unix/sysv/linux/syscalls.list
30452         (madvise, mmap): Remove redundant entries.
30453         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30454         * malloc/malloc.c (mtrim): Likewise.
30455         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30456
30457 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30458
30459         * sysdeps/mach/hurd/dl-cache.c: File removed.
30460         * config.h.in (USE_LDCONFIG): New #undef.
30461         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30462         * configure: Regenerated.
30463         * elf/Makefile (dl-routines): Add dl-cache only under
30464         [$(use-ldconfig) = yes].
30465         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30466         cache on [USE_LDCONFIG].
30467         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30468         [USE_LDCONFIG].
30469         * elf/rtld.c (dl_main): Likewise.
30470
30471 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30472
30473         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30474         _SC_LEVEL4_CACHE_LINESIZE.
30475
30476 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30477
30478         * sysdeps/unix/bsd/confstr.h: File removed.
30479
30480 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30481
30482         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30483         sys/sdt-config.h.
30484
30485 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30486
30487         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30488         Make 'mapoff' field ElfW(Off) rather than off_t.
30489
30490 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30491
30492         * nscd/Makefile: Remove nscd-cflags and all its users.
30493         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30494         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30495
30496         [BZ #10631]
30497         * malloc.c (malloc_printerr): Clarify error message.
30498
30499 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30500
30501         [BZ #14648]
30502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30503         Set bit_FMA_Usable if FMA is supported.
30504         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30505         macro.
30506         (bit_FMA4_Usable): Updated.
30507         (index_FMA_Usable): New macro.
30508         (CPUID_FMA): Likewise
30509         (HAS_FMA): Defined with bit_FMA_Usable.
30510
30511 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30512
30513         * bits/types.h (__swblk_t): Type removed.
30514         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30515         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30517         (__SWBLK_T_TYPE): Likewise.
30518         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30519         (__SWBLK_T_TYPE): Likewise.
30520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30521         (__SWBLK_T_TYPE): Likewise.
30522         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30523         (__SWBLK_T_TYPE): Likewise.
30524
30525 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30526             Honza Horak <hhorak@redhat.com>
30527
30528         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30529         (xdr_mapname): Use YPMAXMAP as maxsize.
30530         (xdr_peername): Use YPMAXPEER as maxsize.
30531         (xdr_keydat): Use YPAXRECORD as maxsize.
30532         (xdr_valdat): Use YPMAXRECORD as maxsize.
30533
30534 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30535
30536         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30537
30538         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30539         * csu/init-first.c: ... here.
30540         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30541         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30542         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30543         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30544         * sysdeps/i386/init-first.c: File removed.
30545         * sysdeps/sh/init-first.c: File removed.
30546
30547 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30548
30549         [BZ #14645]
30550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30551         if x * y might underflow to zero and z is zero.
30552         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30553         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30554         * math/libm-test.inc (min_subnorm_value): New variable.
30555         (fma_test): Add more tests.
30556         (fma_test_towardzero): Likewise.
30557         (fma_test_downward): Likewise
30558         (fma_test_upward): Likewise.
30559         (initialize): Set min_subnorm_value.
30560
30561 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30562
30563         [BZ #14638]
30564         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30565         0 + 0.
30566         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30567         mode for addition resulting in exact zero.
30568         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30569         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30570         exact 0 + 0.
30571         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30572         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30573         * math/libm-test.inc (fma_test): Add more tests.
30574         (fma_test_towardzero): New function.
30575         (fma_test_downward): Likewise.
30576         (fma_test_upward): Likewise.
30577         (main): Call the new functions.
30578
30579 2012-09-28  David S. Miller  <davem@davemloft.net>
30580
30581         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30582
30583 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30584
30585         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30586         instead of SIGALRM.
30587
30588         * sysdeps/gnu/_G_config.h: Moved to ...
30589         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30590         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30591         * sysdeps/generic/_G_config.h: ... here.
30592
30593         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30594
30595         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30596
30597         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30598         Conditionalize target on [libnss_test1.so-version].
30599
30600         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30601
30602         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30603         (elfobjdir): Move out of conditionals.
30604
30605         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30606         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30607         (__nss_lookup_function): Conditionalize label remove_from_tree on
30608         [!DO_STATIC_NSS || SHARED], matching its only use.
30609
30610 2012-09-28  David S. Miller  <davem@davemloft.net>
30611
30612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30613         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30614         file.
30615         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30616         sysdep_routines.
30617         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30619         when HWCAP_SPARC_CRYPTO is present.
30620
30621 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30622
30623         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30624
30625 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30626
30627         [BZ #6530]
30628         * stdio-common/vfprintf.c (process_string_arg): Revert
30629         2000-07-22 change.
30630
30631 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30632
30633         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30634         for testcase.
30635         * stdio-common/tst-sprintf.c: Include <locale.h>
30636         (main): Test sprintf's handling of incomplete multibyte
30637         characters.
30638
30639 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30640
30641         * elf/dl-runtime.c (VERSYMIDX): Removed.
30642         * elf/dl-version.c (VERSYMIDX): Likewise.
30643         * elf/do-rel.h (VERSYMIDX): Likewise.
30644         (VALIDX): Likewise.
30645         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30646         * elf/rtld.c (VALIDX): Likewise.
30647         (ADDRIDX): Likewise.
30648         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30649         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30650         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30651         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30652         (VALIDX): Likewise.
30653         (ADDRIDX): Likewise.
30654
30655 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30656
30657         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30658
30659 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30660
30661         [BZ #11438]
30662         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30663         to global scope.
30664         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30665         addresses are in the same scope as 192.0.2/24.
30666         * posix/gai.conf: Document new scope table defaults.
30667
30668 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30669
30670         [BZ #5298]
30671         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30672         for ftell.  Compute offsets from write pointers instead.
30673         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30674
30675 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30676
30677         [BZ #14543]
30678         * libio/Makefile (tests): New test case tst-fseek.
30679         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30680         combination works in wide mode.
30681         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30682         state when the external buffer state changes.
30683
30684 2012-09-27  David S. Miller  <davem@davemloft.net>
30685
30686         [BZ #14376]
30687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30688         pass reloc->r_addend in as the 'high' argument to
30689         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30690
30691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30692
30693 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30694
30695         * rt/tst-aio2.c: Include <pthread.h>.
30696         * rt/tst-aio3.c: Likewise.
30697
30698 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30699
30700         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30701
30702 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30703
30704         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30705         contents on [SHARED].
30706
30707 2012-09-26  Marek Polacek  <polacek@redhat.com>
30708
30709         [BZ #14530]
30710         [BZ #13741]
30711         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30712         for C++ and GCC <4.3 as well as for non GCC compilers.
30713
30714 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30715
30716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30717
30718 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30719
30720         * Makefile.in (all, install): Declare with .PHONY.
30721         Reported by Michael Hope <michael.hope@linaro.org>.
30722
30723 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30724
30725         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30726         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30727         system header.
30728         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30729         Likewise.
30730         (sydep_routines): Add the new and the internal functions.
30731         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30732         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30734         (GLIBC_2.17): Add the new function.
30735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30736         (GLIBC_2.17): Likewise.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30738         (GLIBC_2.17): Likewise.
30739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30740         (GLIBC_2.17): Likewise.
30741         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30742
30743 2012-09-25  Alan Modra  <amodra@gmail.com>
30744
30745         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30746         Add release barrier before setting once_control to say
30747         initialisation is done.  Add hints on lwarx.  Use macro in
30748         place of isync.
30749         (clear_once_control): Add release barrier.
30750
30751 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30752
30753         [BZ #13629]
30754         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30755         specially.
30756         * math/s_clog10.c (__clog10): Likewise.
30757         * math/s_clog10f.c (__clog10f): Likewise.
30758         * math/s_clog10l.c (__clog10l): Likewise.
30759         * math/s_clogf.c (__clogf): Likewise.
30760         * math/s_clogl.c (__clogl): Likewise.
30761         * math/Makefile (libm-calls): Add x2y2m1.
30762         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30763         (__x2y2m1): Likewise.
30764         (__x2y2m1l): Likewise.
30765         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30766         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30767         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30769         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30770         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30771         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30772         * sysdeps/i386/fpu/libm-test-ulps: Update.
30773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30774
30775         [BZ #14621]
30776         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30777         int as type of variable DEPTH.
30778         (glob): Use size_t instead of int as type of variables NEWCOUNT
30779         and OLD_PATHC.
30780
30781 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30782
30783         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30784         Add s_sincosf-sse2.
30785         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30786         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30787         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30788         macros for using routine as __sincosf_ia32.
30789         Use macro for function declaration and weak_alias.
30790         * sysdeps/i386/fpu/libm-test-ulps: Update.
30791
30792         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30794
30795         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30796         subnormal argument.
30797         * math/s_cexpf.c (__cexpf): Likewise.
30798         * math/s_csinf.c (__csinf): Likewise.
30799         * math/s_csinhf.c (__csinhf): Likewise.
30800         * math/s_ctanf.c (__ctanf): Likewise.
30801         * math/s_ctanhf.c (__ctanhf): Likewise.
30802         * math/s_ccosh.c (__ccoshf): Likewise.
30803         * math/s_cexp.c (__cexpl): Likewise.
30804         * math/s_csin.c (__csin): Likewise.
30805         * math/s_csinh.c (__csinh): Likewise.
30806         * math/s_ctan.c (__ctan): Likewise.
30807         * math/s_ctanh.c (ctanh): Likewise.
30808         * math/s_ccoshl.c (__ccoshl): Likewise.
30809         * math/s_cexpl.c (__cexpl): Likewise.
30810         * math/s_csinl.c (__csinl): Likewise.
30811         * math/s_csinhl.c (__csinhl): Likewise.
30812         * math/s_ctanl.c (__ctanl): Likewise.
30813         * math/s_ctanhl.c (__ctanhl): Likewise.
30814
30815 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30816
30817         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30818         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30819         (_IO_off_t): Define to __off_t, not _G_off_t.
30820         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30821         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30822         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30823         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30824         type of __dummy and __dummy2 fields.
30825         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30826         (_G_ssize_t): Likewise.
30827         (_G_off_t): Likewise.
30828         (_G_pid_t): Likewise.
30829         (_G_uid_t): Likewise.
30830         (_G_wchar_t): Likewise.
30831         (_G_wint_t): Likewise.
30832         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30833         (_G_ssize_t): Likewise.
30834         (_G_off_t): Likewise.
30835         (_G_pid_t): Likewise.
30836         (_G_uid_t): Likewise.
30837         (_G_wchar_t): Likewise.
30838         (_G_wint_t): Likewise.
30839         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30840         (_G_ssize_t): Likewise.
30841         (_G_off_t): Likewise.
30842         (_G_pid_t): Likewise.
30843         (_G_uid_t): Likewise.
30844         (_G_wchar_t): Likewise.
30845         (_G_wint_t): Likewise.
30846
30847 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30848
30849         * malloc/arena.c: Include malloc-sysdep.h.
30850         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30851         is sufficient to shrink the heap or an unmap is needed.
30852         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30853         new function check_may_shrink_heap.
30854         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30855         new function check_may_shrink_heap.
30856
30857 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30858
30859         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30860         comments.
30861
30862 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30863
30864         * catgets/test-gencat.sh: Add "set -e".
30865         * elf/tst-pathopt.sh: Likewise.
30866         * grp/tst_fgetgrent.sh: Likewise.
30867         * iconvdata/run-iconv-test.sh: Likewise.
30868         * intl/tst-gettext.sh: Likewise.
30869         * intl/tst-gettext2.sh: Likewise.
30870         * intl/tst-gettext4.sh: Likewise.
30871         * intl/tst-gettext6.sh: Likewise.
30872         * intl/tst-translit.sh: Likewise.
30873         * io/ftwtest-sh: Likewise.
30874         * libio/test-freopen.sh: Likewise.
30875         * malloc/tst-mtrace.sh: Likewise.
30876         * posix/globtest.sh: Likewise.
30877         * posix/tst-getconf.sh: Likewise.
30878         * posix/wordexp-tst.sh: Likewise.
30879         * stdio-common/tst-printf.sh: Likewise.
30880         * stdio-common/tst-unbputc.sh: Likewise.
30881         * stdlib/tst-fmtmsg.sh: Likewise.
30882         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30883         * catgets/Makefile: Do not specify -e option when running
30884         testsuite shell scripts.
30885         * elf/Makefile: Likewise.
30886         * grp/Makefile: Likewise.
30887         * iconvdata/Makefile: Likewise.
30888         * intl/Makefile: Likewise.
30889         * io/Makefile: Likewise.
30890         * libio/Makefile: Likewise.
30891         * malloc/Makefile: Likewise.
30892         * posix/Makefile: Likewise.
30893         * stdio-common/Makefile: Likewise.
30894         * stdlib/Makefile: Likewise.
30895         * sysdeps/x86_64/Makefile: Likewise.
30896
30897         * io/ftwtest-sh: Add copyright header.
30898         * posix/globtest.sh: Likewise.
30899         * posix/tst-getconf.sh: Likewise.
30900         * posix/wordexp-tst.sh: Likewise.
30901         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30902
30903 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30904
30905         [BZ #13679]
30906         * Makeconfig (+link): Defined as $(+link-static) if
30907         $(build-shared) isn't yes.
30908         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30909         isn't yes.
30910         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30911
30912         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30913
30914         [BZ #14562]
30915         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30916         new chunk size with MALLOC_ALIGN_MASK.
30917
30918 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30919
30920         [BZ #5044]
30921         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30922         <rounding-mode.h>.
30923         (__printf_fphex): Determine rounding using get_rounding_mode and
30924         round_away.
30925         * stdio-common/tst-printf-round.c (struct hex_test): New
30926         structure.
30927         (hex_tests): New variable.
30928         (test_hex_in_one_mode): New function.
30929         (do_test): Also run tests for hex float output.
30930
30931 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30932
30933         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30934         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30935         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30936         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30937         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30938         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30939         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30940         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30941
30942 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30943
30944         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30945         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30946         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30947         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30948
30949 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30950
30951         [BZ #14579]
30952         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30953         mode only.
30954         * elf/tst-rtld-load-self.sh: New test.
30955         * elf/Makefile: Run it.
30956
30957 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30958
30959         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30960         (tst-writev-ENV): Remove.
30961         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30962
30963 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30964
30965         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30966
30967 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30968
30969         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30970         unconditional.
30971         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30972         Likewise.
30973         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30974         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30975         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30976         Likewise.
30977
30978 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30979
30980         [BZ #14587]
30981         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30982         * config.make.in (have-cpp-asm-debuginfo): Removed.
30983         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30984         * configure: Regenerated.
30985
30986 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30987
30988         [BZ #5044]
30989         * stdio-common/printf_fp.c: Include <stdbool.h> and
30990         <rounding-mode.h>.
30991         (___printf_fp): Determine rounding using get_rounding_mode and
30992         round_away.
30993         * stdio-common/tst-printf-round.c: New file.
30994         * stdio-common/Makefile (tests): Add tst-printf-round.
30995         (link-libm): New variable.
30996         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30997
30998 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30999
31000         [BZ #14576]
31001         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31002         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31003         Likewise.
31004         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31005         Likewise.
31006
31007 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31008
31009         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31010         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31011         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31012         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31013
31014 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31015
31016         [BZ #14518]
31017         * include/rounding-mode.h: New file.
31018         * sysdeps/generic/get-rounding-mode.h: Likewise.
31019         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31020         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31021         (MAX_VALUE): New macro.
31022         (MIN_VALUE): Likewise.
31023         (overflow_value): New function.
31024         (underflow_value): Likewise.
31025         (round_and_return): Use overflow_value and underflow_value to
31026         determine return values in overflow and underflow cases.  Use
31027         round_away to determine rounding depending on rounding mode.
31028         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31029         determine return values in overflow and underflow cases.
31030         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31031         (struct test_results): New structure.
31032         (struct test): Use struct test_results to store expected results
31033         for all rounding modes.
31034         (TEST): Include expected results for all rounding modes.
31035         (test_in_one_mode): New function.
31036         (do_test): Use test_in_one_mode to compute and check results.
31037         Check results for all rounding modes.
31038         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31039         $(link-libm).
31040
31041 2012-12-09  Allan McRae  <allan@archlinux.org>
31042
31043         * sysdeps/i386/fpu/libm-test-ulps: Update
31044
31045 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31046
31047         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31048         (_G_int32_t): Likewise.
31049         (_G_uint16_t): Likewise.
31050         (_G_uint32_t): Likewise.
31051         (_G_HAVE_BOOL): Likewise.
31052         (_G_HAVE_ATEXIT): Likewise.
31053         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31054         (_G_HAVE_IO_FILE_OPEN): Likewise.
31055         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31056         (_G_int32_t): Likewise.
31057         (_G_uint16_t): Likewise.
31058         (_G_uint32_t): Likewise.
31059         (_G_HAVE_BOOL): Likewise.
31060         (_G_HAVE_ATEXIT): Likewise.
31061         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31062         (_G_HAVE_IO_FILE_OPEN): Likewise.
31063         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31064         (_G_int32_t): Likewise.
31065         (_G_uint16_t): Likewise.
31066         (_G_uint32_t): Likewise.
31067         (_G_HAVE_BOOL): Likewise.
31068         (_G_HAVE_ATEXIT): Likewise.
31069         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31070         (_G_HAVE_IO_FILE_OPEN): Likewise.
31071
31072 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31073
31074         * csu/libc-tls.c: Update copyright years.
31075
31076 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31077
31078         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31079         [!_G_USING_THUNKS]: Remove conditional code.
31080         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31081         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31082
31083         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31084         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31085         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31086         (_G_VTABLE_LABEL_PREFIX): Likewise.
31087         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31088         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31089         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31090         (_G_VTABLE_LABEL_PREFIX): Likewise.
31091         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31092         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31093         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31094         (_G_VTABLE_LABEL_PREFIX): Likewise.
31095         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31096
31097 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31098
31099         * libio/Makefile: Include ../Makeconfig before tests.
31100         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31101         only if $(build-shared) is yes.
31102
31103         * iconv/gconv_db.c: Update copyright years.
31104
31105 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31106
31107         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31108         unwind info if defined PIC. Fix special cases description.
31109         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31110
31111         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31112         DP_HI_MASK entry.
31113         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31114
31115 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31116
31117         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31118
31119         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31120         is NULL.
31121
31122         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31123         (LDLIBS-tst-chk4): This.
31124         (LDFLAGS-tst-chk5): Renamed to ...
31125         (LDLIBS-tst-chk5): This.
31126         (LDFLAGS-tst-chk6): Renamed to ...
31127         (LDLIBS-tst-chk6): This.
31128         (LDFLAGS-tst-lfschk4): Renamed to ...
31129         (LDLIBS-tst-lfschk4): This.
31130         (LDFLAGS-tst-lfschk5): Renamed to ...
31131         (LDLIBS-tst-lfschk5): This.
31132         (LDFLAGS-tst-lfschk6): Renamed to ...
31133         (LDLIBS-tst-lfschk6): This.
31134
31135         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31136         on $(common-objpfx)soversions.mk.
31137
31138 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31139
31140         [BZ #10014]
31141         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31142         example host name.
31143
31144 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31145
31146         * malloc/arena.c (arena_get_retry): New function that gets
31147         another arena for the caller to try its request on.
31148         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31149         current arena cannot fulfill the request.
31150         (__libc_memalign): Likewise.
31151         (__libc_memalign): Likewise.
31152         (__libc_pvalloc): Likewise.
31153         (__libc_calloc): Likewise.
31154
31155 2012-09-05  John Tobey  <john.tobey@gmail.com>
31156
31157         [BZ #13542]
31158         * manual/arith.texi (Operations on Complex): Fix description
31159         of carg branch cut.
31160
31161 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31162
31163         [BZ #10014]
31164         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31165         host name.
31166
31167         [BZ #10038]
31168         * manual/memory.texi (Memory): Make order of menu items match
31169         order of sections.
31170
31171 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31172
31173         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31174         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31175         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31176
31177 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31178
31179         * csu/libc-tls.c (static_dtv): Renamed to ...
31180         (_dl_static_dtv): This.  Make it global.
31181         (_dl_initial_dtv): Removed.
31182         (__libc_setup_tls): Updated.
31183         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31184         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31185         DL_INITIAL_DTV.
31186
31187 2012-09-06  Petr Machata  <pmachata@redhat.com>
31188
31189         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31190         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31191         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31192         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31193
31194 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31195
31196         [BZ #14545]
31197         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31198         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31199         freeing dtv[-1].
31200
31201 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31202
31203         [BZ #14544]
31204         * Makeconfig (link-static-before-libc): Replace $(+prector)
31205         with $(+prectorT).
31206         (link-static-after-libc): Replace $(+postctor) with
31207         $(+postctorT).
31208         (link-bounded): Replace $(+prector)/$(+postctor) with
31209         $(+prectorT)/$(+postctorT).
31210         (+prectorT): New macro.
31211         (+postctorT): Likewise.
31212
31213 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31214
31215         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31216         (round_str): Handle values above the maximum for IBM long double
31217         as inexact.
31218         * stdlib/tst-strtod-round.c (tests): Regenerated.
31219
31220 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31221
31222         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31223         assembler flag.
31224         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31225         zarch_nohighgprs around the zarch optimized routines.
31226         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31227         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31228         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31229         for zarch.
31230
31231 2012-09-05  David S. Miller  <davem@davemloft.net>
31232
31233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31234
31235         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31236         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31237         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31238         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31239         entries.
31240
31241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31242
31243         * malloc/arena.c: Fold copyright years.
31244         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31245
31246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31247
31248         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31249
31250 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31251
31252         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31253
31254 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31255
31256         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31257         change internal state upon failure.
31258
31259 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31260
31261         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31262         * malloc/memusage.c (mmap): Likewise.
31263         (mmap64, mremap): Likewise.  Adjust name in comment.
31264
31265 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31266
31267         * libio/fileops.c: Fix typos in comments.
31268         * libio/oldfileops.c: Likewise.
31269         * libio/wfileops.c: Likewise.
31270
31271 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31272
31273         [BZ #1349]
31274         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31275         (tst-malloc-usable-ENV): Set environment for test case.
31276         * malloc/hooks.c (malloc_check_get_size): New function to get
31277         requested size.
31278         * malloc/malloc.c (musable): Use malloc_check_get_size.
31279         * malloc/tst-malloc-usable.c: New test case.
31280
31281 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31282
31283         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31284
31285 2012-09-05  Allan McRae  <allan@archlinux.org>
31286
31287         [BZ #13966]
31288         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31289         determine header location.
31290         * configure: Regenerated.
31291
31292 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31293
31294         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31295         float format.
31296         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31297         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31298         format.
31299         (test): Regenerate.
31300
31301 2012-09-04  David S. Miller  <davem@davemloft.net>
31302
31303         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31304         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31305         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31306
31307 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31308
31309         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31310         failures.
31311
31312         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31313
31314 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31315
31316         [BZ #9914]
31317         * libio/iogetdelim.c: Include <limits.h>.
31318         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31319         + len + 1 would overflow.
31320
31321 2012-09-03  Andreas Jaeger  <aj@suse.de>
31322
31323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31324         * sysdeps/i386/fpu/libm-test-ulps: Update.
31325
31326 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31327
31328         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31329         Add s_sinf-sse2, s_conf-sse2.
31330
31331         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31332         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31333         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31334         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31335
31336         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31337         for using routine as __sinf_ia32.
31338         Use macro for function declaration and weak_alias.
31339         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31340         for using routine as __cosf_ia32.
31341         Use macro for function declaration and weak_alias.
31342
31343         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31344         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31345
31346         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31347         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31349
31350         * math/libm-test.inc (cos_test): Add more test cases.
31351         (sin_test): Likewise.
31352         (sincos_test): Likewise.
31353
31354 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31355
31356         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31357         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31358         hidden.
31359         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31360
31361 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31362
31363         [BZ #14538]
31364         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31365         first element of the GOT.
31366         (elf_machine_load_address): Return the difference between
31367         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31368
31369 2012-09-01  Allan McRae  <allan@archlinux.org>
31370
31371         [BZ #13412]
31372         * configure.in (AWK): Require gawk version 3.0 or later.
31373         * configure: Regenerated.
31374
31375 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31376
31377         * sysdeps/unix/sysv/linux/kernel-features.h
31378         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31379         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31380         [__NR_clock_getres]: Make code unconditional.
31381         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31382         (clock_getcpuclockid): Remove code left unreachable by removal of
31383         conditionals.
31384         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31385         code unconditional.
31386         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31387         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31388         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31389         Make code unconditional.
31390         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31391         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31392         * sysdeps/unix/sysv/linux/clock_settime.c
31393         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31394         conditional code.
31395         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31396         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31397
31398 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31399
31400         [BZ #14476]
31401         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31402         scripts/test-installation.pl.
31403
31404         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31405         and $ld_so_version if it is set.
31406
31407 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31408
31409         [BZ #14516]
31410         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31411         failure if reading from procfs failed.
31412         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31413
31414 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31415
31416         * sysdeps/unix/sysv/linux/kernel-features.h
31417         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31418         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31419         Remove conditional code.
31420         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31421         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31422         Remove conditional code.
31423         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31424         * sysdeps/unix/sysv/linux/i386/fxstat.c
31425         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31426         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31427         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31428         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31429         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31430         * sysdeps/unix/sysv/linux/i386/lxstat.c
31431         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31432         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31433         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31434         Remove conditional code.
31435         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31436         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31437         Remove conditional code.
31438         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31439         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31440         <kernel-features.h>.
31441         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31442         Remove.
31443         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31444         Remove conditional code.
31445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31446         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31447         Remove conditional.
31448
31449 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31450
31451         [BZ #5400]
31452         * NEWS: Add fixed bug number.
31453
31454 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31455
31456         [BZ #14519]
31457         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31458         underflowing exponent in case of negative sign.
31459         * stdlib/tst-strtod-round-data: Add more tests.
31460         * stdlib/tst-strtod-round.c (tests): Regenerated.
31461
31462         [BZ #3479]
31463         * stdlib/strtod_l.c (NDIG): Remove.
31464         (HEXNDIG): Likewise.
31465         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31466         smallest representable value.
31467         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31468         lie within an exact representation of 1/2 ulp of the result.
31469         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31470         unconditionally.
31471         (TENS_P9_IDX): Define unconditionally.
31472         (TENS_P9_SIZE): Likewise.
31473         (TENS_P10_IDX): Likewise.
31474         (TENS_P10_SIZE): Likewise.
31475         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31476         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31477         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31478         entries for 10^2^13 and 10^2^14.
31479         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31480         (TENS_P13_IDX): Define.
31481         (TENS_P13_SIZE): Likewise.
31482         (TENS_P14_IDX): Likewise.
31483         (TENS_P14_SIZE): Likewise.
31484         (_fpioconst_pow10): Change array size to
31485         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31486         unconditional.
31487         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31488         1024]: Add entries for 10^2^13 and 10^2^14.
31489         [LAST_POW10 > _LAST_POW10]: Remove #error.
31490         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31491         (_fpioconst_pow10): Change array size to
31492         FPIOCONST_POW10_ARRAY_SIZE.
31493         * stdlib/gen-fpioconst.c: New file.
31494         * stdlib/gen-tst-strtod-round.c: Likewise.
31495         * stdlib/tst-strtod-round-data: Likewise.
31496         * stdlib/tst-strtod-round.c: Likewise.
31497         * stdlib/Makefile (tests): Add tst-strtod-round.
31498
31499         [BZ #14459]
31500         * stdlib/strtod_l.c: Include <stdint.h>.
31501         (NDEBUG): Do not define.
31502         (round_and_return): Change EXPONENT parameter to type intmax_t.
31503         Rearrange calculations to avoid internal overflow possibilities.
31504         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31505         Rearrange calculations to avoid internal overflow possibilities.
31506         Assert that number fits inside MPNSIZE limbs.
31507         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31508         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31509         calculations and add assertions to avoid internal overflow
31510         possibilities.  Add casts to avoid signed/unsigned operations.
31511         * stdlib/tst-strtod-overflow.c: New file.
31512         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31513
31514 2012-08-25  Marek Polacek  <polacek@redhat.com>
31515
31516         * time/time.h: Fix some typos in comments.
31517
31518 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31519
31520         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31521         * posix/tst-rfc3484-2.c: Likewise.
31522         * posix/tst-rfc3484-3.c: Likewise.
31523
31524 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31525
31526         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31527         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31528
31529 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31530
31531         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31532         #include of fxstatat64.c.
31533
31534 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31535
31536         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31537         * shadow/getspent_r.c: Likewise.
31538         * shadow/getspnam.c: Likewise.
31539         * shadow/getspnam_r.c: Likewise.
31540         * gshadow/getsgent.c: Likewise.
31541         * gshadow/getsgent_r.c: Likewise.
31542         * gshadow/getsgnam.c: Likewise.
31543         * gshadow/getsgnam_r.c: Likewise.
31544         * inet/getnetbyad.c: Likewise.
31545         * inet/getnetbyad_r.c: Likewise.
31546         * inet/getnetbynm.c: Likewise.
31547         * inet/getnetbynm_r.c: Likewise.
31548         * inet/getnetent.c: Likewise.
31549         * inet/getnetent_r.c: Likewise.
31550         * inet/getproto.c: Likewise.
31551         * inet/getproto_r.c: Likewise.
31552         * inet/getprtent.c: Likewise.
31553         * inet/getprtent_r.c: Likewise.
31554         * inet/getprtname.c: Likewise.
31555         * inet/getprtname_r.c: Likewise.
31556         * inet/getrpcbyname.c: Likewise.
31557         * inet/getrpcbyname_r.c: Likewise.
31558         * inet/getrpcbynumber.c: Likewise.
31559         * inet/getrpcbynumber_r.c: Likewise.
31560         * inet/getrpcent.c: Likewise.
31561         * inet/getrpcent_r.c: Likewise.
31562         * inet/getaliasent.c: Likewise.
31563         * inet/getaliasent_r.c: Likewise.
31564         * inet/getaliasname.c: Likewise.
31565         * inet/getaliasname_r.c: Likewise.
31566         * nscd/getgrgid_r.c: Likewise.
31567         * nscd/getgrnam_r.c: Likewise.
31568         * nscd/gethstbyad_r.c: Likewise.
31569         * nscd/gethstbynm3_r.c: Likewise.
31570         * nscd/getpwnam_r.c: Likewise.
31571         * nscd/getpwuid_r.c: Likewise.
31572         * nscd/getsrvbynm_r.c: Likewise.
31573         * nscd/getsrvbypt_r.c: Likewise.
31574         * nscd/gai.c: Likewise.
31575
31576         * configure.in (build_nscd): New substituted variable, set
31577         by --disable-build-nscd and defaults to $use_nscd.
31578         * configure: Regenerated.
31579         * config.make.in (build-nscd): New substituted variable.
31580         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31581         Change conditional to require [$(build-nscd) = yes] as well.
31582         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31583
31584         [BZ# 13696]
31585         * configure.in (use_nscd): New substituted variable, set by
31586         --disable-nscd.  If enabled, define USE_NSCD.
31587         * configure: Regenerated.
31588         * config.h.in: Add USE_NSCD.
31589         * config.make.in (use-nscd): New substituted variable.
31590         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31591         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31592         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31593         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31594         (CFLAGS-getgrnam_r.c): Likewise.
31595         (CFLAGS-initgroups.c): Likewise.
31596         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31597         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31598         Variables removed.
31599         * inet/getnetgrent_r.c
31600         (nscd_setnetgrent): New function, broken out of ...
31601         (setnetgrent): ... here.  Call it.
31602         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31603         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31604         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31605         * nscd/Makefile (routines, aux): Move definitions after include of
31606         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31607         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31608         Conditionalize on [USE_NSCD].
31609         (is_nscd, nscd_init_cb): Likewise.
31610         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31611         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31612         * nss/nss_db/db-init.c: Likewise.
31613         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31614         [USE_NSCD].
31615         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31616         (make_request): Use it.
31617         (cache_valid_p): New function.
31618         (__check_pf): Use it.
31619         * NEWS: Add item for --disable-nscd.
31620
31621 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31622
31623         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31624         to support sed >= 4.2.1-20-ga9bf076.
31625         * configure: Regenerated.
31626
31627 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31628
31629         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31630         Conditionalize whole body on [IREL].
31631
31632 2012-08-22  Jeff Law <law@redhat.com>
31633
31634         [BZ #14505]
31635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31636         if the family is PF_UNSPEC.
31637
31638 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31639
31640         * Makerules (lib-version): Rename from V.
31641         (install-lib-nosubdir): Change V to lib-version.
31642
31643 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31644
31645         [BZ #14252]
31646         * powerpc32/power6/wcschr.c: New file.
31647         * powerpc32/power6/wcscpy.c: New file.
31648         * powerpc32/power6/wcsrchr.c: New file.
31649         * powerpc64/power6/wcschr.c: New file.
31650         * powerpc64/power6/wcscpy.c: New file.
31651         * powerpc64/power6/wcsrchr.c: New file.
31652
31653 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31654
31655         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31656         (two_way_short_needle): Use it.
31657         * string/strstr.c (AVAILABLE1_USES_J): Define.
31658         * string/strcasestr.c: Likewise.
31659
31660         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31661         array references.
31662         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31663
31664         [BZ #11607]
31665         * NEWS: Add an entry.
31666         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31667         define their defaults.
31668         (two_way_short_needle): Detect end-of-string on-the-fly.
31669         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31670         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31671         * string/bug-strcasestr1.c: New test.
31672         * string/Makefile: Run it.
31673
31674 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31675
31676         [BZ #11607]
31677         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31678         the first character.
31679
31680 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31681
31682         * csu/elf-init.c (__libc_csu_irel): Function removed.
31683         * csu/libc-start.c (apply_irel): New function.
31684         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31685
31686 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31687
31688         * sysdeps/unix/sysv/linux/kernel-features.h
31689         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31690         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31691         <kernel-features.h>.
31692         [__NR_fadvise64_64]: Make code unconditional.
31693         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31694         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31695         !__NR_fadvise64_64)]: Likewise.
31696         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31697         !__NR_fadvise64_64))]: Likewise.
31698         [__NR_fadvise64]: Make code unconditional.
31699         [!__NR_fadvise64]: Remove conditional code.
31700         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31701         <kernel-features.h>.
31702         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31703         unconditional.
31704         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31705         conditional code.
31706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31707         not include <kernel-features.h>.
31708         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31709         unconditional.
31710         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31711         conditional code.
31712         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31713         include <kernel-features.h>.
31714         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31715         unconditional.
31716         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31717         conditional code.
31718
31719 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31720
31721         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31722         slight instruction rearrangements per scrollpipe analysis.
31723         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31724
31725 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31726
31727         * manual/syslog.texi (syslog; vsyslog, closelog):
31728         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31729         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31730
31731         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31732         DSOCAPS to match condition on defining it.
31733
31734 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31735
31736         * sysdeps/unix/sysv/linux/kernel-features.h
31737         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31739         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31740         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31742         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31743         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31745         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31746         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31747
31748         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31749         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31750
31751         * sysdeps/unix/sysv/linux/kernel-features.h
31752         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31753         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31754         unconditional.
31755         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31756         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31757         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31758         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31759         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31760         Make code unconditional.
31761         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31762         (__mmap64) [!__NR_mmap2]: Likewise.
31763         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31764         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31765         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31766         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31767         [__NR_mmap2]: Make code unconditional.
31768         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31769         (__mmap64) [!__NR_mmap2]: Likewise.
31770
31771 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31772
31773         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31774
31775 2012-08-18  Andreas Jaeger  <aj@suse.de>
31776
31777         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31778
31779 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31780
31781         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31782         * include/unistd.h (__have_sock_cloexec): Likewise.
31783         (__have_pipe2): Likewise.
31784         (__have_dup3): Likewise.
31785
31786 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31787
31788         [BZ #9685]
31789         * include/unistd.h (__have_pipe2): Change define into an extern int.
31790         (__have_dup3): Likewise.
31791         * socket/have_sock_cloexec.c: Include fcntl.h.
31792         (__have_pipe2): New variable.
31793         (__have_dup3): Likewise.
31794
31795 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31796
31797         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31798
31799 2012-08-17  Marek Polacek  <polacek@redhat.com>
31800
31801         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31802         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31803
31804 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31805
31806         * configure.in: Add AC_SUBST for sysheaders.
31807         * configure: Regenerated.
31808         * config.make.in (sysheaders): New substituted variable.
31809
31810         * sysdeps/unix/mkfifo.c: Moved ...
31811         * sysdeps/posix/mkfifo.c: ... here.
31812         * sysdeps/unix/mkfifoat.c: Moved ...
31813         * sysdeps/posix/mkfifoat.c: ... here.
31814
31815         * sysdeps/unix/utime.c: Moved ...
31816         * sysdeps/posix/utime.c: ... here.
31817
31818         * sysdeps/unix/time.c: Moved ...
31819         * sysdeps/posix/time.c: ... here.
31820         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31821         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31822
31823         * sysdeps/unix/nice.c: Moved ...
31824         * sysdeps/posix/nice.c: ... here.
31825
31826         * sysdeps/unix/alarm.c: Moved ...
31827         * sysdeps/posix/alarm.c: ... here.
31828
31829         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31830
31831 2012-08-17  Jeff Law <law@redhat.com>
31832
31833         * intl/Makefile (codeset_mo): New variable.
31834         ($(codeset_mo)): New target.
31835         (tst-codeset.out): Depend on that.  Remove explicit rule.
31836         (tst-gettext3.out, tst-gettext5.out): Likewise.
31837         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31838         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31839         * intl/tst-codeset.sh: Remove.
31840         * intl/tst-gettext3.sh: Likewise.
31841         * intl/tst-gettext5.sh: Likewise.
31842
31843 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31844
31845         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31846         * sysdeps/unix/syscalls.list: ... here.
31847
31848         * sysdeps/posix/getaddrinfo.c
31849         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31850         (gaiconf_init, gaiconf_reload): Use them.
31851         [!_STATBUF_ST_NSEC]
31852         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31853         Define using time_t rather than struct timespec.
31854
31855         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31856         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31857         Macros removed.
31858         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31859         [!NO_THREADS].
31860         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31861         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31862         Likewise.
31863
31864         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31865         __libc_cleanup_push argument.
31866
31867         * bits/param.h: New file.
31868         * misc/sys/param.h: New file.
31869         * include/sys/param.h: New file.
31870         * misc/Makefile (headers): Add bits/param.h.
31871         * sysdeps/generic/sys/param.h: File removed.
31872         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31873         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31874         * sysdeps/mach/hurd/bits/param.h: New file.
31875         * sysdeps/mach/hurd/sys/param.h: File removed.
31876
31877         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31878         last change.
31879
31880         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31881         [_IO_MTSAFE_IO].
31882         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31883         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31884         New macros.
31885
31886         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31887         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31888         rather than -D_IO_MTSAFE_IO conditionally.
31889         * stdio-common/Makefile (CPPFLAGS): Likewise.
31890         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31891         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31892         Use $(libio-mtsafe).
31893         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31894         of -D_IO_MTSAFE_IO.
31895         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31896         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31897         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31898         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31899         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31900         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31901         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31902         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31903         (CFLAGS-fread_u_chk.c): Likewise.
31904         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31905         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31906         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31907         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31908         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31909         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31910         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31911         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31912         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31913
31914         * libio/Makefile: Test [$(libc-reentrant) = yes]
31915         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31916
31917         * Makeconfig
31918         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31919         * sysdeps/pthread/configure: File removed.
31920         * sysdeps/pthread/Makeconfig: New file.
31921         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31922         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31923
31924 2012-08-16  Gary Benson  <gbenson@redhat.com>
31925
31926         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31927         unmapping the first object in a namespace.
31928
31929 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31930
31931         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31932         (__internal_setnetgrent): ... this.  Add internal_function to
31933         definition.  Add libc_hidden_def.
31934         (setnetgrent): Update caller.
31935         (internal_endnetgrent): Renamed to ...
31936         (__internal_endnetgrent): ... this.  Add internal_function to
31937         definition.  Add libc_hidden_def.
31938         (endnetgrent): Update caller.
31939         (internal_getnetgrent_r): Renamed to ...
31940         (__internal_getnetgrent_r): ... this.  Add internal_function to
31941         definition.  Add libc_hidden_def.
31942         (__getnetgrent_r): Update caller.
31943         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31944
31945 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31946
31947         * stdlib/longlong.h: Update from GCC.
31948
31949 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31950
31951         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31952         on _QL, which is set by umul_ppmm but never used.
31953         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31954         variables, which are set by GMP macros but never used.
31955         * stdio-common/_itowa.c (_itowa): Likewise.
31956         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31957         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31958
31959 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31960
31961         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31962         struct La_sh_regs is not constant.
31963         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31964         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31965         and struct La_sparc64_regs are not constant.
31966
31967 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31968
31969         * sysdeps/unix/sysv/linux/kernel-features.h
31970         (__ASSUME_POSIX_TIMERS): Remove.
31971         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31972         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31973         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31974         Make code unconditional.
31975         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31976         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31977         Make code unconditional.
31978         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31979         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31980         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31981         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31982         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31983         Make code unconditional.
31984         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31985         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31986         (__libc_missing_posix_timers): Remove.
31987
31988 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31989
31990         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31991         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31992
31993         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31994
31995         * elf/dl-sym.c: Include <stdlib.h>.
31996
31997         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31998         constants, which avoids warnings in 32-bit builds.
31999
32000         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32001         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32002
32003         * misc/lseek.c: File moved to ...
32004         * io/lseek.c: ... here.
32005
32006         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32007
32008         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32009         shifting LEN more than 31 bits at once.
32010
32011 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32012
32013         [BZ #14195]
32014         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32015         segmentation fault for a case of two empty input strings.
32016         * string/test-strncasecmp.c (check1): Renamed to...
32017         (bz12205): ...this.
32018         (bz14195): Add new testcase for two empty input strings and N > 0.
32019         (test_main): Call new testcase, adapt for renamed function.
32020
32021 2012-08-15  Andreas Jaeger  <aj@suse.de>
32022
32023         [BZ #14090]
32024         * crypt/md5test2.c: New test, based on test supplied by Serge
32025         Belyshev <belyshev@depni.sinp.msu.ru>.
32026         * crypt/Makefile (xtests): Add md5test-giant..
32027         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32028
32029 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32030
32031         [BZ #14090]
32032         * crypt/md5.c (md5_process_block): Don't assume the buffer
32033         length is less than 2**32.
32034         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32035         length is less than 2**64.
32036
32037 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32038
32039         * string/str-two-way.h: Include <sys/param.h>.
32040         (MAX): Macro removed.
32041
32042         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32043         Move #define and #undef of memmove to just before and after
32044         including <string.h>.
32045
32046         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32047         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32048         and after including <string.h>.  Move declarations of
32049         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32050         to before #include "string/memmove.c".
32051
32052         * include/dirent.h: Declare __getdirentries.
32053
32054         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32055         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32056
32057 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32058
32059         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32060         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32061         * sysdeps/i386/configure: Regenerated.
32062         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32063         STABS_CURRENT_FILE, and STABS_FUN.
32064         (END): Remove call to STABS_FUN_END.
32065         (STABS_CURRENT_FILE1): Delete.
32066         (STABS_CURRENT_FILE): Likewise.
32067         (STABS_FUN): Likewise.
32068         (STABS_FUN_END): Likewise.
32069         (STABS_FUN2): Likewise.
32070         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32071         * sysdeps/x86_64/configure: Regenerated.
32072
32073 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32074
32075         * elf/dl-open.c: Include <atomic.h>.
32076         * elf/dl-lookup.c: Likewise.
32077
32078 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32079
32080         * sysdeps/unix/sysv/linux/kernel-features.h
32081         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32082         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32083         unconditionally.
32084         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32085         unconditionally.
32086         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32087         condition on __ASSUME_CLONE_THREAD_FLAGS.
32088
32089 2012-08-14  Andreas Jaeger  <aj@suse.de>
32090
32091         * sysdeps/i386/fpu/libm-test-ulps: Update.
32092
32093 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32094
32095         * include/atomic.h (atomic_exchange_and_add): Split into ...
32096         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32097         New atomic macros.
32098
32099 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32100
32101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32102
32103 2012-08-13  Jeff Law <law@redhat.com>
32104
32105         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32106         null byte in the output string.
32107
32108 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32109
32110         * sysdeps/unix/sysv/linux/kernel-features.h
32111         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32112         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32113         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32114         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32115         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32116         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32117         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32118
32119 2012-08-09  Jeff Law <law@redhat.com>
32120
32121         [BZ #13939]
32122         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32123         When avoid_arena is set, don't retry in the that arena.  Pick the
32124         next one, whatever it might be.
32125         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32126         (arena_lock): Pass in new parameter to arena_get2.
32127         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32128         arena_get2.
32129         (__libc_malloc): Unify retrying after main arena failure with
32130         __libc_memalign version.
32131         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32132
32133 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32134
32135         [BZ #14166]
32136         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32137         to __redirect_strstr.
32138         (__strstr_sse42): Use typeof __redirect_strstr.
32139         (__strstr_ia32): Likewise.
32140         (__libc_strstr): New prototype.
32141         (strstr): Renamed to ...
32142         (__libc_strstr): This.
32143         (strstr): New strong alias of __libc_strstr.
32144         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32145         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32146         __redirect_time.
32147         Include <time.h>.
32148         (__libc_time): New prototype.
32149         (time_ifunc): Replace time with __libc_time.
32150         (time): New strong alias and hidden definition of __libc_time.
32151         (__GI_time): Remove strong alias.
32152         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32153         Include <stddef.h>.
32154         (memmove): Redefined to __redirect_memmove.
32155         (__memmove_sse2): Use typeof __redirect_memmove.
32156         (__memmove_ssse3): Likewise.
32157         (__memmove_ssse3_back): Likewise.
32158         (__libc_memmove): New prototype.
32159         (memmove): Renamed to ...
32160         (__libc_memmove): This.
32161         (memmove): New strong alias of __libc_memmove.
32162
32163 2012-08-08  Mark Salter  <msalter@redhat.com>
32164
32165         * elf/elf.h
32166         (R_MN10300_TLS_GD): Define.
32167         (R_MN10300_TLS_LD): Likewise.
32168         (R_MN10300_TLS_LDO): Likewise.
32169         (R_MN10300_TLS_GOTIE): Likewise.
32170         (R_MN10300_TLS_IE): Likewise.
32171         (R_MN10300_TLS_LE): Likewise.
32172         (R_MN10300_TLS_DTPMOD): Likewise.
32173         (R_MN10300_TLS_DTPOFF): Likewise.
32174         (R_MN10300_TLS_TPOFF): Likewise.
32175         (R_MN10300_SYM_DIFF): Likewise.
32176         (R_MN10300_ALIGN): Likewise.
32177         (R_MN10300_NUM): Update.
32178
32179 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32180
32181         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32182         Remove.
32183
32184 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32185
32186         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32187
32188         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32189         sysdeps/unix -> sysdeps/posix move.
32190         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32191
32192 2012-08-07      Allan McRae     <allan@archlinux.org>
32193
32194         [BZ #14303]
32195         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32196         (SUNOS_CPP): Likewise.
32197         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32198         not found.
32199         (open_input): Call CPP using execvp.
32200
32201 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32202
32203         * sysdeps/unix/sysv/linux/kernel-features.h
32204         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32205         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32206         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32207         (__ASSUME_WAITID_SYSCALL): Likewise.
32208         * sysdeps/unix/sysv/linux/dl-execstack.c
32209         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32210         code unconditional.
32211         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32212         conditional code.
32213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32214         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32215         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32216         code.
32217         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32218         unconditional.
32219         [__ASSUME_WAITID_SYSCALL]: Likewise.
32220         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32221
32222 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32223
32224         * sysdeps/unix/closedir.c: Renamed to ...
32225         * sysdeps/posix/closedir.c: ... here.
32226         * sysdeps/unix/dirfd.c: Renamed to ...
32227         * sysdeps/posix/dirfd.c: ... here.
32228         * sysdeps/unix/dirstream.h: Renamed to ...
32229         * sysdeps/posix/dirstream.h: ... here.
32230         * sysdeps/unix/fdopendir.c: Renamed to ...
32231         * sysdeps/posix/fdopendir.c: ... here.
32232         * sysdeps/unix/opendir.c: Renamed to ...
32233         * sysdeps/posix/opendir.c: ... here.
32234         * sysdeps/unix/readdir.c: Renamed to ...
32235         * sysdeps/posix/readdir.c: ... here.
32236         * sysdeps/unix/readdir_r.c: Renamed to ...
32237         * sysdeps/posix/readdir_r.c: ... here.
32238         * sysdeps/unix/rewinddir.c: Renamed to ...
32239         * sysdeps/posix/rewinddir.c: ... here.
32240         * sysdeps/unix/seekdir.c: Renamed to ...
32241         * sysdeps/posix/seekdir.c: ... here.
32242         * sysdeps/unix/telldir.c: Renamed to ...
32243         * sysdeps/posix/telldir.c: ... here.
32244         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32245         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32246         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32247         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32248
32249         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32250         * bits/fcntl.h: ... here.
32251
32252         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32253         not 0.
32254         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32255         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32256         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32257         (struct flock): Move l_start, l_len to the beginning.
32258         Use __pid_t for l_pid.
32259         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32260         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32261         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32262         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32263         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32264         [__USE_LARGEFILE64] (struct flock64): New type.
32265         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32266
32267         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32268         * bits/dirent.h: ... here.
32269
32270         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32271         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32272
32273 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32274
32275         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32276         Change from 2.6.0 to 2.6.16.
32277         * sysdeps/unix/sysv/linux/configure: Regenerated.
32278         * sysdeps/unix/sysv/linux/kernel-features.h
32279         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32280         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32281         version.
32282         (__ASSUME_UTIMES): Likewise.
32283         (__ASSUME_CLONE_STOPPED): Remove.
32284         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32285         architectures, not kernel version.
32286         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32287         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32288         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32289         (__ASSUME_WAITID_SYSCALL): Likewise.
32290         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32291         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32292         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32293         refer to older versions.
32294
32295 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32296
32297         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32298         Define alphasort64 as an alias.
32299         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32300         Define versionsort64 as an alias.
32301         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32302         Define scandir64 as an alias.
32303         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32304         Define scandirat64 as an alias.
32305         * dirent/alphasort64.c (alphasort64):
32306         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32307         * dirent/versionsort64.c: Likewise.
32308         * dirent/scandir64.c: Likewise.
32309         * dirent/scandirat64.c: Likewise.
32310         * sysdeps/wordsize-64/alphasort.c: File removed.
32311         * sysdeps/wordsize-64/alphasort64.c: File removed.
32312         * sysdeps/wordsize-64/scandir.c: File removed.
32313         * sysdeps/wordsize-64/scandir64.c: File removed.
32314         * sysdeps/wordsize-64/scandirat.c: File removed.
32315         * sysdeps/wordsize-64/scandirat64.c: File removed.
32316         * sysdeps/wordsize-64/versionsort.c: File removed.
32317         * sysdeps/wordsize-64/versionsort64.c: File removed.
32318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32320         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32322         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32323         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32324         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32326
32327         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32329         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32331         [defined __arch64__ || defined __sparcv9]
32332         (__INO_T_MATCHES_INO64_T): New macro.
32333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32334         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32335         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32336         * sysdeps/unix/sysv/linux/bits/dirent.h
32337         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32338         (_DIRENT_MATCHES_DIRENT64): New macro.
32339
32340         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32341         Define lockf64 as an alias.
32342         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32343         Define fseeko64 as an alias.
32344         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32345         Define ftello64 as an alias.
32346         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32347         Define _IO_fgetpos64 and fgetpos64 as aliases.
32348         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32349         Define _IO_fsetpos64 and fsetpos64 as aliases.
32350         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32351         Conditionalize body on this.
32352         * libio/fseeko64.c: Likewise.
32353         * libio/ftello64.c: Likewise.
32354         * libio/iofgetpos64.c: Likewise.
32355         * libio/iofsetpos64.c: Likewise.
32356         * sysdeps/wordsize-64/lockf.c: File removed.
32357         * sysdeps/wordsize-64/lockf64.c: File removed.
32358         * sysdeps/wordsize-64/fseeko.c: File removed.
32359         * sysdeps/wordsize-64/fseeko64.c: File removed.
32360         * sysdeps/wordsize-64/ftello.c: File removed.
32361         * sysdeps/wordsize-64/ftello64.c: File removed.
32362         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32363         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32364         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32365         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32366         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32367         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32368         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32369         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32370         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32371         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32372         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32373         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32374         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32375         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32376
32377         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32379         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32380         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32381         [defined __arch64__ || defined __sparcv9]
32382         (__OFF_T_MATCHES_OFF64_T): New macro.
32383         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32384         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32385         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32386         (__OFF_T_MATCHES_OFF64_T): New macro.
32387
32388 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32389
32390         * stdlib/secure-getenv.c (__secure_getenv): Replace
32391         GLIBC_2_16 with GLIBC_2_17.
32392
32393 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32394
32395         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32396         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32397
32398 2012-08-03  David S. Miller  <davem@davemloft.net>
32399
32400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32401
32402 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32403
32404         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32405         Remove.
32406         (__ASSUME_CORRECT_SI_PID): Likewise.
32407         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32408         (__ASSUME_TMPFS_NAME): Likewise.
32409         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32410         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32411         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32412         (HAVE_AUX_SECURE): Make definition unconditional.
32413         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32414         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32415
32416 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32417
32418         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32419         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32420         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32421         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32422         __eloop_threshold instead of SYMLOOP_MAX.
32423
32424         * sysdeps/generic/eloop-threshold.h: New file.
32425         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32426         of MAXSYMLINKS.
32427         * elf/chroot_canon.c (chroot_canon): Likewise.
32428
32429 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32430
32431         [BZ #13717]
32432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32433         Change to 2.6.0 everywhere.
32434         * sysdeps/unix/sysv/linux/configure: Regenerated.
32435         * sysdeps/unix/sysv/linux/kernel-features.h
32436         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32437         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32438         kernel versions.
32439         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32440         (__ASSUME_FUTEX_REQUEUE): Remove.
32441         (__ASSUME_STATFS64): Define unconditionally.
32442         (__ASSUME_AT_SECURE): Likewise.
32443         (__ASSUME_CORRECT_SI_PID): Likewise.
32444         (__ASSUME_TGKILL): Define without depending on kernel version for
32445         i386.
32446         (__ASSUME_UTIMES): Likewise.
32447         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32448         kernel version.
32449         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32450         (__ASSUME_TMPFS_NAME): Likewise.
32451         * README: Update reference to Linux kernel versions.
32452
32453 2012-08-02  Marek Polacek  <polacek@redhat.com>
32454
32455         [BZ# 14150]
32456         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32457         libc_cv_asm_type_prefix with %.
32458         * configure: Regenerated.
32459         * include/libc-symbols.h: Remove comment about
32460         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32461         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32462         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32463         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32464         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32465         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32466         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32467         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32468         * elf/tst-unique2mod1.c: Likewise.
32469         * elf/tst-unique1mod2.c: Likewise.
32470         * elf/tst-unique1mod1.c: Likewise.
32471         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32472         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32473         Replace ASM_TYPE_DIRECTIVE with .type.
32474         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32475         * sysdeps/i386/sysdep.h: Likewise.
32476         * sysdeps/x86_64/sysdep.h: Likewise.
32477         * sysdeps/sh/sysdep.h: Likewise.
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32479         Do not define ASM_TYPE_DIRECTIVE.
32480         * sysdeps/powerpc/sysdep.h: Likewise.
32481         * sysdeps/powerpc/powerpc32/sysdep.h:
32482         Replace ASM_TYPE_DIRECTIVE with .type.
32483         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32484         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32485         * sysdeps/i386/fpu/e_powf.S: Likewise.
32486         * sysdeps/i386/fpu/e_expl.S: Likewise.
32487         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32488         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32489         * sysdeps/i386/fpu/e_pow.S: Likewise.
32490         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32491         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32492         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32493         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32494         * sysdeps/i386/fpu/e_log2.S: Likewise.
32495         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32496         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32497         * sysdeps/i386/fpu/e_powl.S: Likewise.
32498         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32499         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32500         * sysdeps/i386/fpu/e_logl.S: Likewise.
32501         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32502         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32503         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32504         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32505         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32506         * sysdeps/i386/fpu/e_log.S: Likewise.
32507         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32508         * sysdeps/i386/fpu/e_logf.S: Likewise.
32509         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32510         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32511         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32512         * sysdeps/i386/fpu/e_log10.S: Likewise.
32513         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32514         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32515         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32516         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32517         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32519         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32520         * sysdeps/i386/i686/strtok.S: Likewise.
32521         * sysdeps/i386/i386-mcount.S: Likewise.
32522         * sysdeps/i386/strtok.S: Likewise.
32523         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32524         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32525         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32526         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32527         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32528         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32529         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32530         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32531         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32532         * sysdeps/x86_64/_mcount.S: Likewise.
32533         * sysdeps/x86_64/strtok.S: Likewise.
32534         * sysdeps/sh/_mcount.S: Likewise.
32535
32536 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32537
32538         * libio/iofopen.c: Include <fcntl.h>.
32539         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32540         (_IO_fopen64, fopen64): Define as aliases.
32541         * libio/iofopen64.c: Include <fcntl.h>.
32542         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32543         Conditionalize body on this.
32544         * sysdeps/wordsize-64/iofopen.c: File removed.
32545         * sysdeps/wordsize-64/iofopen64.c: File removed.
32546
32547 2012-08-01  Marek Polacek  <polacek@redhat.com>
32548
32549         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32550         Use dlfcn directly instead of a variable.
32551         (binfmt-subdir): Do not define.
32552         (dlfcn): Likewise.
32553
32554 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32555
32556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32557         Remove all definitions.
32558         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32559         <kernel-features.h>.
32560         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32561         (miss_F_GETOWN_EX): Remove all definitions.
32562         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32563         macro definition.
32564         [!__ASSUME_FCNTL64]: Remove conditional code.
32565         [__ASSUME_FCNTL64]: Make code unconditional.
32566         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32567         <kernel-features.h>.
32568         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32569         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32570         (lockf64) [__NR_fcntl64]: Make code unconditional.
32571         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32572
32573         * sysdeps/unix/sysv/linux/kernel-features.h
32574         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32575         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32576         Make code unconditional.
32577         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32578         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32580         [__NR_vfork]: Make code unconditional.
32581         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32582         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32584         [__NR_vfork]: Make code unconditional.
32585         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32586         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32587
32588 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32589
32590         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32591         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32592
32593         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32594         Define mkstemp64 as an alias.
32595         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32596         Define mkstemps64 as an alias.
32597         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32598         Define mkostemp64 as an alias.
32599         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32600         Define mkostemps64 as an alias.
32601         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32602         Conditionalize body on this.
32603         * misc/mkostemp64.c: Likewise.
32604         * misc/mkostemps64.c: Likewise.
32605         * misc/mkstemps64.c: Likewise.
32606         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32607         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32608         * sysdeps/wordsize-64/mkostemp.c: File removed.
32609         * sysdeps/wordsize-64/mkstemp.c: File removed.
32610         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32611         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32612         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32613         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32614
32615         [BZ #14138]
32616         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32617         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32618         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32619         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32620
32621         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32622         compat_symbol macros from <shlib-compat.h> rather than the underlying
32623         default_symbol_version and symbol_version macros, so that DEFAULT
32624         lines in shlib-versions are respected.
32625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32626
32627 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32628
32629         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32630         Declare with warn_unused_result.
32631         (setgid, setregid, setegid, setresgid): Likewise.
32632         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32633         Likewise.
32634         * WUR-REPORT: Remove set*id functions.
32635
32636 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32637
32638         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32639
32640 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32641
32642         [BZ #10191]
32643         * include/sys/socket.h (__libc_accept, __libc_accept4):
32644         Add attribute_hidden.
32645         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32646
32647         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32648         use of PTR_MANGLE.
32649         * inet/getnetgrent_r.c (setup): Likewise.
32650
32651         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32652
32653 2012-07-31  David S. Miller  <davem@davemloft.net>
32654
32655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32656
32657 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32658
32659         [BZ #13629]
32660         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32661         value between 1.0 and 2.0 and smaller part has absolute value less
32662         than 1.0.
32663         * math/s_clog10.c (__clog10): Likewise.
32664         * math/s_clog10f.c (__clog10f): Likewise.
32665         * math/s_clog10l.c (__clog10l): Likewise.
32666         * math/s_clogf.c (__clogf): Likewise.
32667         * math/s_clogl.c (__clogl): Likewise.
32668         * math/libm-test.inc (clog_test): Add more tests.
32669         (clog10_test): Likewise.
32670         * sysdeps/i386/fpu/libm-test-ulps: Update.
32671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32672
32673 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32674
32675         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32676         Exit with zero in case no suitable GID is found, and write a
32677         message to standard error.
32678
32679 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32680
32681         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32682         rather than to 1.
32683         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32684         (MAXPATHLEN): Removed.
32685         (NOGROUP, NODEV): New macros.
32686         (setbit, clrbit, isset, isclr): New macros.
32687         (howmany, roundup, powerof2): New macros.
32688         (DEV_BSIZE): New macro.
32689
32690         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32691         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32692
32693         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32694         definition on [!__NO_LONG_DOUBLE_MATH].
32695
32696         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32697         PTR_MANGLE and PTR_DEMANGLE.
32698
32699         * socket/accept4.c (accept4): Rename to __libc_accept4.
32700         Define accept4 as a weak alias.
32701
32702         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32703         on [_DIRENT_HAVE_D_TYPE].
32704         * io/ftw.c (ftw_dir): Likewise.
32705
32706         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32707
32708         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32709
32710         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32711         Use the BSD numbers rather than the arbitrary ones we had.
32712         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32713         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32714         (SIGXCPU, SIGXFSZ): New macros.
32715         (_NSIG): Now 32.
32716
32717         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32718         initializer on [_LIBC_REENTRANT].
32719
32720         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32721         definitions inside [_POSIX_MAPPED_FILES].
32722
32723         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32724
32725         * dirent/opendir.c: Include <fcntl.h>.
32726
32727         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32728         (__libc_getspecific): Likewise.
32729         (__libc_key_create): Likewise.
32730
32731         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32732         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32733         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32734         (tmpfile64): Define as alias.
32735         * sysdeps/wordsize-64/tmpfile.c: File removed.
32736         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32737         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32738         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32739
32740         * stdio-common/vfscanf.c: Include <stdbool.h>.
32741         * nss/makedb.c: Likewise.
32742         * stdio-common/_i18n_number.h: Likewise.
32743         * argp/argp-help.c: Likewise.
32744         * posix/wordexp.c: Likewise.
32745         * sysdeps/posix/spawni.c: Likewise.
32746         * nss/nss_files/files-initgroups.c: Likewise.
32747         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32748         * nss/nss_files/files-initgroups.c: Likewise.
32749         * nss/nss_db/db-netgrp.c: Likewise.
32750         * nss/nss_db/db-initgroups.c: Likewise.
32751         * io/fchmodat.c: Include <sys/stat.h>.
32752
32753         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32754         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32755
32756         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32757         [HAVE_MMAP].
32758
32759         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32760         Add multiple inclusion protection.
32761
32762 2012-07-27  David S. Miller  <davem@davemloft.net>
32763
32764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32765
32766 2012-07-27  Gary Benson  <gbenson@redhat.com>
32767
32768         [BZ #14298]
32769         * elf/rtld.c: Include <stap-probe.h>.
32770         (dl_main): Added static probes "init_start" and "init_complete".
32771         * elf/dl-load.c: Include <stap-probe.h>.
32772         (lose): Take new parameter "nsid".
32773         Added static probe "map_failed".
32774         (_dl_map_object_from_fd): Pass namespace id to lose.
32775         Added static probe "map_start".
32776         (open_verify): Pass namespace id to lose.
32777         * elf/dl-open.c: Include <stap-probe.h>.
32778         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32779         and "reloc_complete".
32780         * elf/dl-close.c: Include <stap-probe.h>.
32781         (_dl_close_worker): Added static probes "unmap_start" and
32782         "unmap_complete".
32783         * elf/rtld-debugger-interface.txt: New file documenting the above.
32784
32785 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32786
32787         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32788         rather than a string variable.
32789         * sunrpc/rpc_main.c (h_output): Likewise.
32790         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32791
32792 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32793
32794         * inet/check_native.c: New file.
32795
32796 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32797
32798         [BZ #13629]
32799         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32800         if larger part has absolute value 1.0.
32801         * math/s_clog10.c (__clog10): Likewise.
32802         * math/s_clog10f.c (__clog10f): Likewise.
32803         * math/s_clog10l.c (__clog10l): Likewise.
32804         * math/s_clogf.c (__clogf): Likewise.
32805         * math/s_clogl.c (__clogl): Likewise.
32806         * math/libm-test.inc (clog_test): Add more tests.
32807         (clog10_test): Likewise.
32808         * sysdeps/i386/fpu/libm-test-ulps: Update.
32809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32810
32811         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32812         (pltexit): Likewise.
32813         (La_regs): Likewise.
32814         (La_retval): Likewise.
32815         (int_retval): Likewise.
32816         Update #error for removed macros to refer only to definitions in
32817         tst-audit.h.
32818         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32819         macro.
32820         (pltexit): Likewise.
32821         (La_regs): Likewise.
32822         (La_retval): Likewise.
32823         (int_retval): Likewise.
32824         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32825         macro.
32826         (pltexit): Likewise.
32827         (La_regs): Likewise.
32828         (La_retval): Likewise.
32829         (int_retval): Likewise.
32830         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32831         macro.
32832         (pltexit): Likewise.
32833         (La_regs): Likewise.
32834         (La_retval): Likewise.
32835         (int_retval): Likewise.
32836         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32837         macro.
32838         (pltexit): Likewise.
32839         (La_regs): Likewise.
32840         (La_retval): Likewise.
32841         (int_retval): Likewise.
32842         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32843         macro.
32844         (pltexit): Likewise.
32845         (La_regs): Likewise.
32846         (La_retval): Likewise.
32847         (int_retval): Likewise.
32848         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32849         macro.
32850         (pltexit): Likewise.
32851         (La_regs): Likewise.
32852         (La_retval): Likewise.
32853         (int_retval): Likewise.
32854         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32855         macro definitions in tst-audit.h.
32856         * sysdeps/i386/tst-audit.h: New file.
32857         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32858         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32859         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32860         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32861         * sysdeps/sh/tst-audit.h: Likewise.
32862         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32863         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32864         * sysdeps/x86_64/tst-audit.h: Likewise.
32865
32866 2012-07-26  Andreas Jaeger  <aj@suse.de>
32867
32868         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32869         ptrace.
32870
32871         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32872         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32873         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32874         PTRACE_O_MASK.
32875         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32876         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32877         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32878
32879         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32880         value.
32881
32882         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32883         _sigsys.
32884         (si_call_addr, si_syscall, si_arch): Define new macro.
32885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32886         _sigsys.
32887         (si_call_addr, si_syscall, si_arch): Define new marcro.
32888         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32889         _sigsys.
32890         (si_call_addr, si_syscall, si_arch): Define new macro.
32891         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32892         _sigsys.
32893         (si_call_addr, si_syscall, si_arch): Define new macro.
32894
32895 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32896
32897         [BZ #13717]
32898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32899         Change to 2.4.21 where previously 2.4.1.
32900         * sysdeps/unix/sysv/linux/configure: Regenerated.
32901         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32902         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32903         Linux kernel version.
32904         (__ASSUME_STD_AUXV): Remove.
32905         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32906         kernel version.
32907         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32908         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32909         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32910         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32911         (__ASSUME_NETLINK_SUPPORT): Likewise.
32912         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32913         (__no_netlink_support): Remove conditional definition.
32914         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32915         Remove.
32916         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32917         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32918         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32919         (if_nameindex_ioctl): Remove.
32920         (if_nameindex_netlink): Do not handle __no_netlink_support.
32921         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32922         code.
32923         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32924         Remove conditional code.
32925         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32926         code.
32927         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32928         unconditional.
32929         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32930         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32931         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32932         Remove.
32933         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32934         [!__ASSUME_STD_AUXV]: Remove conditional code.
32935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32936         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32937         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32939         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32940         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32941         code.
32942         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32944         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32945         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32946         conditional code.
32947         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32949         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32950         code.
32951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32952         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32953         conditional code.
32954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32955         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32956         code unconditional.
32957         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32958         conditional code.
32959         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32960         unconditional.
32961         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32962         conditional code.
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32964         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32965         unconditional.
32966         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32967         conditional code.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32969         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32970         code unconditional.
32971         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32972         conditional code.
32973         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32974         unconditional.
32975         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32976         conditional code.
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32978         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32979         code unconditional.
32980         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32981         conditional code.
32982         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32983         unconditional.
32984         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32985         conditional code.
32986
32987 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32988
32989         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32990         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32991         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32992         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32993         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32994         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32995         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32996         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32997         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32998         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32999         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33000         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33001         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33002         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33003         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33004         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33005         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33007         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33009         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33010         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33011         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33012
33013 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33014
33015         * Versions.def: Add GLIBC_2.17.
33016         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33017         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33018         Introduce __libc_secure_getenv.
33019         * stdlib/Versions (2.17): Add secure_getenv
33020         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33021         * stdlib/secure-getenv.c: Rename __secure_getenv to
33022         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33023         symbol __secure_getenv for GLIBC_2.0.
33024         * stdlib/tst-secure-getenv.c: New.
33025         * stdlib/Makefile (tests): Add testcase.
33026         * manual/startup.texi (Environment Access): Document
33027         secure_getenv.
33028         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33029         __libc_secure_getenv.
33030         * inet/ruserpass.c (ruserpass): Likewise.
33031         * malloc/mtrace.c (mtrace): Likewise.
33032         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33033         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33034         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33035         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33036         HAVE_SECURE_GETENV.
33037         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33038         __secure_getenv to __libc_secure_getenv.
33039         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33041         Likewise.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33043         Likewise.
33044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33051
33052 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33053
33054         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33055         (struct La_i86_retval): Likewise.
33056         (struct La_x86_64_regs): Likewise.
33057         (struct La_x86_64_retval): Likewise.
33058         (struct La_x32_regs): Likewise.
33059         (struct La_x32_retval): Likewise.
33060         (struct La_ppc32_regs): Likewise.
33061         (struct La_ppc32_retval): Likewise.
33062         (struct La_ppc64_regs): Likewise.
33063         (struct La_ppc64_retval): Likewise.
33064         (struct La_sh_regs): Likewise.
33065         (struct La_sh_retval): Likewise.
33066         (struct La_s390_32_regs): Likewise.
33067         (struct La_s390_32_retval): Likewise.
33068         (struct La_s390_64_regs): Likewise.
33069         (struct La_s390_64_retval): Likewise.
33070         (struct La_sparc32_regs): Likewise.
33071         (struct La_sparc32_retval): Likewise.
33072         (struct La_sparc64_regs): Likewise.
33073         (struct La_sparc64_retval): Likewise.
33074         (struct audit_ifaces): Remove architecture-specific pltenter and
33075         pltexit members.
33076         * sysdeps/i386/ldsodefs.h: New file.
33077         * sysdeps/powerpc/ldsodefs.h: Likewise.
33078         * sysdeps/s390/ldsodefs.h: Likewise.
33079         * sysdeps/sh/ldsodefs.h: Likewise.
33080         * sysdeps/sparc/ldsodefs.h: Likewise.
33081         * sysdeps/x86_64/ldsodefs.h: Likewise.
33082
33083 2012-07-25  Marek Polacek  <polacek@redhat.com>
33084
33085         [BZ #6808]
33086         * math/libm-test.inc (yn_test): Add another test.
33087         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33088         to ERANGE when the result is +-Inf.
33089         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33090         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33091         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33092         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33093
33094 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33095
33096         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33097         equal to 0.
33098         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33099         clock_t.
33100         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33101
33102 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33103
33104         * configure.in <sysdeps resolving>: Correct printing
33105         Implies_before.
33106         * configure: Regenerate.
33107
33108 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33109
33110         * math/w_ilogb.c: Include <limits.h>.
33111         * math/w_ilogbl.c: Likewise.
33112
33113 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33114
33115         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33116         va_copy.  Document allowing for unavailable va_copy only as
33117         pre-C99 compatibility.
33118         * manual/string.texi (Copying and Concatenation): Use va_copy
33119         instead of __va_copy in concat example.
33120
33121 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33122
33123         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33124         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33125         it if not null.
33126
33127         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33128         with O_NOLINK passed to __file_name_lookup.
33129
33130         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33131         with O_NOLINK passed to __file_name_lookup.
33132
33133         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33134         negative N or less than NGIDS.
33135
33136         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33137         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33138         enough.  Use memcpy instead of strncpy.
33139
33140 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33141
33142         * elf/Makefile (check-data): Remove.
33143         (localplt.data): New vpath directive.
33144         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33145         instead of $(check-data).
33146         * scripts/data/localplt-generic.data: Move to ...
33147         * sysdeps/generic/localplt.data: ... here.
33148         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33149         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33150         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33152         ... here.
33153         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33155         ... here.
33156         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33158         ... here.
33159         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33161         ... here.
33162         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33164         ... here.
33165         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33167         ... here.
33168
33169 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33170
33171         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33172         PPC32 and PPC64 files.
33173         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33174         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33175
33176 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33177
33178         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33179         __makecontext_ret to ...
33180         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33181         ... here and call exit if uc_link is NULL.  New file.
33182         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33183         __makecontext_ret.S.
33184         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33185         __makecontext_ret to ...
33186         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33187         ... here and call exit if uc_link is NULL.  New file.
33188         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33189         __makecontext_ret.S.
33190
33191 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33192
33193         * elf/elf.h (R_390_IRELATIVE): New definition.
33194         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33195         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33196         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33197         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33198         (elf_machine_lazy_rel): Likewise.
33199         * sysdeps/s390/dl-irel.h: New file.
33200         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33201         * sysdeps/s390/s390-64/memset.S: New asm code.
33202         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33203         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33205         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33206         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33207         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33209         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33210         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33211         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33212         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33213         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33214         * sysdeps/s390/s390-32/memset.S: New asm code.
33215         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33216
33217 2012-07-17  Marek Polacek  <polacek@redhat.com>
33218
33219         [BZ #14349]
33220         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33221         * sysdeps/s390/s390-64/configure.in: Likewise.
33222         * sysdeps/sparc/configure.in: Likewise.
33223         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33224         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33225         * sysdeps/i386/configure.in: Likewise.
33226         * sysdeps/x86_64/configure.in: Likewise.
33227         * sysdeps/sh/configure.in: Likewise.
33228         * sysdeps/s390/s390-32/configure: Regenerated.
33229         * sysdeps/s390/s390-64/configure: Likewise.
33230         * sysdeps/x86_64/configure: Likewise.
33231         * sysdeps/sh/configure: Likewise.
33232         * sysdeps/powerpc/powerpc64/configure: Likewise.
33233         * sysdeps/powerpc/powerpc32/configure: Likewise.
33234         * sysdeps/sparc/configure: Likwise.
33235         * sysdeps/i386/configure: Likewise.
33236
33237         * elf/dl-open.c: Comment fixes.
33238
33239 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33240
33241         * Makefile [CXX] (check-data): Remove.
33242         [CXX] (c++-types.data): New vpath directive.
33243         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33244         vpath.  Do not allow for C++ type data being missing.
33245         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33246         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33247         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33248         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33249         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33250         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33251         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33253         ... here.
33254         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33256         ... here.
33257         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33259         ... here.
33260         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33262         ... here.
33263         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33265         ... here.
33266         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33268         ... here.
33269         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33271         ... here.
33272         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33274
33275         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33276         definitions to architecture-specific files.
33277         (TLS_IE): Likewise.
33278         (TLS_LD): Likewise.
33279         (TLS_GD): Likewise.
33280         * sysdeps/i386/tls-macros.h: New file.
33281         * sysdeps/powerpc/tls-macros.h: Likewise.
33282         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33283         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33284         * sysdeps/sh/tls-macros.h: Likewise.
33285         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33286         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33287         * sysdeps/x86_64/tls-macros.h: Likewise.
33288
33289 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33290
33291         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33292         zero value for regular exit case.
33293
33294         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33295         (__start_context): Preserve zero value for regular exit case.
33296
33297 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33298             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33299
33300         * manual/setjmp.texi (setcontext): Clarify normal process
33301         termination when uc_link is the null pointer.
33302         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33303         exit call.
33304
33305 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33306
33307         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33308         preprocessor.  Test for each exception mask separately.
33309
33310 2012-07-16  Andreas Jaeger  <aj@suse.de>
33311
33312         * po/ru.po: Update from translation team.
33313
33314 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33315
33316         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33317         equal to 0.
33318         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33319         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33320         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33321         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33322         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33323
33324 2012-07-13  Andreas Jaeger  <aj@suse.de>
33325
33326         * po/fr.po: Update from translation team.
33327
33328 2012-07-12  Marek Polacek  <polacek@redhat.com>
33329
33330         [BZ #14173]
33331         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33332         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33333         loop condition.
33334
33335 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33336
33337         [BZ #13717]
33338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33339         Change to 2.4.1 where previously 2.4.0.
33340         * sysdeps/unix/sysv/linux/configure: Regenerated.
33341         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33342         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33343         version.
33344         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33345         (__ASSUME_AT_CLKTCK): Remove.
33346         (__ASSUME_AT_PAGESIZE): Likewise.
33347         (__ASSUME_AT_XID): Likewise.
33348         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33349         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33350         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33351         unconditionally.
33352         (HAVE_AUX_PAGESIZE): Likewise.
33353         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33354         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33355         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33356
33357 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33358
33359         [BZ #14307]
33360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33361         the temporary buffer used to invoke __gethostbyname2_r,
33362         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33363         host_data / struct gaih_addrtuple.
33364         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33365         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33366         header file nss/nsswitch.h.
33367         * nss/nsswitch.h (global scope): Add definition of implementation
33368         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33369         resolv/nss_dns/dns-host.c).
33370
33371 2012-07-11  Andreas Jaeger  <aj@suse.de>
33372
33373         * po/fr.po: Update from translation team.
33374
33375         * po/sv.po: Update from translation team
33376         * po/fr.po: Another update from translation team.
33377
33378 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33379
33380         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33381         for subnormals or multiply small sinh result by itself.
33382         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33384
33385 2012-07-11  David S. Miller  <davem@davemloft.net>
33386
33387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33388
33389 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33390
33391         [BZ #14347]
33392         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33393         (INTERNAL_MARK): Shift it here.
33394
33395 2012-07-10  Marek Polacek  <polacek@redhat.com>
33396
33397         [BZ #14151]
33398         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33399         libc_cv_asm_global_directive with .globl.
33400         * configure: Regenerated.
33401         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33402         with .globl.
33403         * sysdeps/i386/configure: Regenerated.
33404         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33405         with .globl.
33406         * sysdeps/x86_64/configure: Regenerated.
33407         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33408         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33409         * elf/tst-unique2mod2.c: Likewise.
33410         * elf/tst-unique2mod1.c: Likewise.
33411         * elf/tst-unique1mod2.c: Likewise.
33412         * elf/tst-unique1mod1.c: Likewise.
33413         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33414         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33416         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33417         * sysdeps/mach/sysdep.h: Likewise.
33418         * sysdeps/i386/sysdep.h: Likewise.
33419         * sysdeps/i386/i386-mcount.S: Likewise.
33420         * sysdeps/x86_64/_mcount.S: Likewise.
33421         * sysdeps/x86_64/sysdep.h: Likewise.
33422         * sysdeps/sh/_mcount.S: Likewise.
33423         * sysdeps/sh/sysdep.h: Likewise.
33424         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33425         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33426         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33427         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33428         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33429         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33430         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33431         * locale/localeinfo.h: Likewise.
33432         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33433         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33434
33435 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33436
33437         [BZ #14336]
33438         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33439         system".
33440         * manual/message.texi (The Uniforum approach): Likewise.
33441         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33442         (glibc iconv Implementation): Likewise.
33443
33444 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33445
33446         [BZ #14337]
33447         * math/s_clog.c (__clog): Avoid scaling a value down where that
33448         could result in underflow.
33449         * math/s_clog10.c (__clog10): Likewise.
33450         * math/s_clog10f.c (__clog10f): Likewise.
33451         * math/s_clog10l.c (__clog10l): Likewise.
33452         * math/s_clogf.c (__clogf): Likewise.
33453         * math/s_clogl.c (__clogl): Likewise.
33454         * math/libm-test.inc (clog_test): Add more tests.
33455         (clog10_test): Likewise.
33456         * sysdeps/i386/fpu/libm-test-ulps: Update.
33457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33458
33459 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33460
33461         [BZ #14283]
33462         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33463         by 7 not 8 to examine high bit of fractional part.
33464
33465         [BZ #14042]
33466         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33467         for call to __mcount_internal.
33468         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33469         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33470         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33471
33472 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33473
33474         [BZ #14154]
33475         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33476         approximation for values within 0x1p-13f of an odd multiple of
33477         pi/4.
33478         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33479         exception.  Add more tests.
33480         * sysdeps/i386/fpu/libm-test-ulps: Update.
33481
33482         [BZ #6778]
33483         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33484         inputs and return -1 for them.  Do not check for +Inf in case not
33485         reachable for +Inf.
33486         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33487         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33489         and return -1 for them.  Do not check for +Inf in case not
33490         reachable for +Inf.
33491         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33492         define.
33493         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33494         and return -1 for them.  Do not check for +Inf in case not
33495         reachable for +Inf.
33496         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33497         spurious underflow.
33498         * sysdeps/i386/fpu/libm-test-ulps: Update.
33499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33500
33501 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33502
33503         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33504
33505 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33506
33507         [BZ #14157]
33508         [BZ #14331]
33509         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33510         could result in spurious underflow.  Scale down values above
33511         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33512         * math/s_csqrtf.c (__csqrtf): Likewise.
33513         * math/s_csqrtl.c (__csqrtl): Likewise.
33514         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33515         spurious underflow.
33516         * sysdeps/i386/fpu/libm-test-ulps: Update.
33517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33518
33519 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33520
33521         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33522         xopen-msg.sed.
33523         * catgets/xopen-msg.awk: New file.
33524         * catgets/xopen-msg.sed: Removed.
33525
33526         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33527         po2text.sed.
33528         * intl/po2test.awk: New file.
33529         * intl/po2test.sed: Removed.
33530
33531 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33532
33533         [BZ #14328]
33534         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33535         or multiply small sinh result by itself.
33536         * math/s_ctanf.c (__ctanf): Likewise.
33537         * math/s_ctanh.c (__ctanh): Likewise.
33538         * math/s_ctanhf.c (__ctanhf): Likewise.
33539         * math/s_ctanhl.c (__ctanhl): Likewise.
33540         * math/s_ctanl.c (__ctanl): Likewise.
33541         * math/libm-test.inc (ctan_test_tonearest): New function.
33542         (ctan_test_towardzero): Likewise.
33543         (ctan_test_downward): Likewise.
33544         (ctan_test_upward): Likewise.
33545         (ctanh_test_tonearest): Likewise.
33546         (ctanh_test_towardzero): Likewise.
33547         (ctanh_test_downward): Likewise.
33548         (ctanh_test_upward): Likewise.
33549         (main): Call these new functions.
33550         * sysdeps/i386/fpu/libm-test-ulps: Update.
33551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33552
33553 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33554
33555         * .gitignore: Delete /ports entry.
33556
33557 2012-07-03  Andreas Jaeger  <aj@suse.de>
33558
33559         * po/bg.po: Update from translation team.
33560         * po/cs.po: Likewise.
33561         * po/de.po: Likewise.
33562         * po/hr.po: Likewise.
33563         * po/nl.pl: Likewise.
33564         * po/pl.po: Likewise.
33565         * po/vi.po: Likewise.
33566
33567 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33568
33569         * Makeconfig [!+link] (+link-before-libc): New variable.
33570         [!+link] (+link-after-libc): Likewise.
33571         [!+link] (+link-tests): Likewise.
33572         [!+link] (+link): Define in terms of $(+link-before-libc) and
33573         $(+link-after-libc).
33574         [!+link-static] (+link-static-before-libc): New variable.
33575         [!+link-static] (+link-static-after-libc): Likewise.
33576         [!+link-static] (+link-static-tests): Likewise.
33577         [!+link-static] (+link-static): Define in terms of
33578         $(+link-static-before-libc) and $(+link-static-after-libc).
33579         [build-shared] (link-libc-before-gnulib): New variable.
33580         [build-shared] (link-libc-tests): Likewise.
33581         [build-shared] (link-libc): Define in terms of
33582         $(link-libc-before-gnulib).
33583         [!build-shared] (link-libc-tests): New variable.
33584         (link-libc-static-tests): New variable.
33585         [!gnulib] (gnulib-arch): New variable.
33586         [!gnulib] (gnulib-tests): Likewise.
33587         [!gnulib] (static-gnulib-arch): Likewise.
33588         [!gnulib] (static-gnulib-tests): Likewise.
33589         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33590         Define with "=" instead of ":=".
33591         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33592         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33593         * Rules (binaries-all-notests): New variable.
33594         (binaries-all-tests): Likewise.
33595         (binaries-static-notests): Likewise.
33596         (binaries-static-tests): Likewise.
33597         (binaries-all): Define using $(binaries-all-notests) and
33598         $(binaries-all-tests).
33599         (binaries-static): Define using $(binaries-static-notests) and
33600         $(binaries-static-tests).
33601         (binaries-shared-tests): New variable.
33602         (binaries-shared-notests): Likewise.
33603         (binaries-shared): Remove variable.
33604         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33605         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33606         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33607         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33608         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33609         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33610         * elf/Makefile (sln-modules): New variable.
33611         (extra-objs): Add $(sln-modules:=.o).
33612         (ldconfig-modules): Add static-stubs.
33613         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33614         * elf/static-stubs.c: New file.
33615
33616         [BZ #14283]
33617         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33618         by 7 not 8 to examine high bit of fractional part.  Use volatile
33619         variables when splitting into final array of floats if
33620         __FLT_EVAL_METHOD__ != 0.
33621         * math/libm-test.inc (cos_test): Add another test.
33622         (sin_test): Likewise.
33623         * sysdeps/i386/fpu/libm-test-ulps: Update.
33624
33625         [BZ #14273]
33626         * math/libm-test.inc (cosh_test): Add more tests.
33627
33628         * version.h (RELEASE): Set to "development".
33629         (VERSION): Set to "2.16.90".
33630
33631 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33632
33633         * NEWS: Update copyright. Remove last-updated date.
33634         Mention math library bug fixes and timezone data changes.
33635         * README: Mention GNU/Hurd, x32, and HPPA support status.
33636
33637 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33638
33639         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33640
33641 2012-06-27  Andreas Jaeger  <aj@suse.de>
33642
33643         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33644
33645 2012-06-25  Andreas Jaeger  <aj@suse.de>
33646
33647         * sysdeps/s390/fpu/libm-test-ulps: Update.
33648
33649 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33650             Thomas Schwinge  <thomas@codesourcery.com>
33651
33652         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33653         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33654         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33655         fanotify_mark.
33656
33657 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33658
33659         * sysdeps/mach/start.c: Remove file.
33660         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33661         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33662         * sysdeps/sh/init-first.c: Likewise.
33663
33664         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33665         registers for frame unwinding purposes, add CFI directives.
33666         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33667         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33668         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33669         Likewise.
33670
33671         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33672         __fortify_fail returning.
33673         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33674
33675         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33676         sysdeps/sh/____longjmp_chk.S.
33677         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33678         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33679         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33680         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33681
33682         * sysdeps/sh/abort-instr.h: New file.
33683         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33684         process in case exit returns.
33685
33686         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33687         initialize the GOT register before use.
33688
33689         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33690         calculation of ARGC > 4.
33691
33692         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33693         meaningful names to some local labels.
33694
33695 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33696             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33697
33698         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33699         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33700         (__arch_compare_and_exchange_val_16_acq): Likewise.
33701         (__arch_compare_and_exchange_val_32_acq): Likewise.
33702         (atomic_exchange_and_add): Fix gUSA sequence.
33703         (atomic_add): Likewise.
33704         (atomic_add_negative): Likewise.
33705         (atomic_add_zero): Likewise.
33706         (atomic_bit_test_set): Likewise.
33707
33708 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33709
33710         [BZ #13579]
33711         * include/link.h (struct link_map): Add l_free_initfini.
33712         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33713         l_initfini.
33714         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33715         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33716         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33717         set.
33718
33719 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33720
33721         * configure.in: Use AC_LANG_SOURCE.
33722         * configure: Regenerate.
33723
33724 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33725
33726         * configure.in (libc_cv_localstatedir): New substituted variable.
33727         * configure: Regenerated.
33728         * config.make.in (localstatedir): New variable, substituted from
33729         libc_cv_localstatedir.
33730         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33731         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33732         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33733         * sysdeps/gnu/configure: Regenerated.
33734
33735 2012-06-21  Jeff Law  <law@redhat.com>
33736
33737         [BZ #14277]
33738         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33739         free.  Simplify list management for _LIBC case.
33740
33741 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33742
33743         [BZ #14273]
33744         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33745         Clear sign bit of 64-bit integer value before comparing against
33746         overflow value.
33747
33748         * sysdeps/mach/configure: Regenerated.
33749
33750 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33751
33752         [BZ #14278]
33753         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33754
33755 2012-06-21  Jeff Law  <law@redhat.com>
33756
33757         [BZ #13882]
33758         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33759         uint16_t for elements in the "seen" array to avoid char overflows.
33760         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33761         * elf/dl-open.c (dl_open_worker): Likewise.
33762
33763 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33764
33765         * scripts/list-sources.sh: Scan PORTS for translations.
33766         * po/libc.pot: Regenerated.
33767
33768 2012-06-21  Andreas Jaeger  <aj@suse.de>
33769
33770         [BZ #12194]
33771         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33772         warning.
33773         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33774         * bits/byteswap-16.h (__bswap_16): Likewise.
33775         * bits/byteswap.h (__bswap_constant_16): Likewise.
33776
33777 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33778
33779         [BZ #14117]
33780         * sysdeps/i386/fpu_control.h: Removed.
33781         * sysdeps/x86_64/fpu_control.h: Moved to ...
33782         * sysdeps/x86/fpu_control.h: Here.
33783
33784         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33785         (_FPU_SETCW): Likewise.
33786
33787 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33788
33789         [BZ #14117]
33790         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33791         * sysdeps/x86/fpu/bits/mathinline.h: This.
33792         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33793
33794         [BZ #14050]
33795         [BZ #14117]
33796         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33797         functions if __x86_64__ is defined.
33798
33799 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33800
33801         * string/endian.h: Add !__ASSEMBLER__ condition for including
33802         conversion interfaces.
33803
33804 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33805
33806         [BZ #14241]
33807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33808         of ABS(x) in calculating zero to negative powers other than odd
33809         integers.
33810         * math/libm-test.inc (pow_test): Add more tests.
33811
33812 2012-06-15  Andreas Jaeger  <aj@suse.de>
33813
33814         * manual/contrib.texi (Contributors): Update entry of Liubov
33815         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33816         Machado Filho.
33817
33818 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33819
33820         * string/string.h: Add __wur to GNU version of strerror_r.
33821
33822 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33823
33824         [BZ #14229]
33825         * string/Makefile (tests): Add tst-strtok_r.
33826         * string/tst-strtok_r.c: New file.
33827         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33828         RAX_LP/RDX_LP on SAVE_PTR.
33829
33830 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33831
33832         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33833
33834 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33835
33836         * libm_test.inc (csqrt_test): Allow more spurious underflow
33837         exceptions.
33838         (j0_test): Likewise.
33839         (j1_test): Likewise.
33840         (y0_test): Likewise.
33841         (y1_test): Likewise.
33842
33843 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33844
33845         * po/Makefile (libc.pot): Use UTF-8 charset.
33846
33847 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33848
33849         [BZ #14210]
33850         Suppress sign-conversion warning from FD_SET.
33851         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33852         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33853         not unsigned long int.
33854         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33855
33856 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33857
33858         [BZ #14050]
33859         [BZ #14117]
33860         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33861         __extern_always_inline instead of __extern_inline.
33862         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33863         (__signbit): Likewise.
33864         (__signbitl): Support C++ namespace.
33865         (lrintf): New inline function.
33866         (lrint): Likewise.
33867         (llrintf): Likewise.
33868         (llrint): Likewise.
33869         (fmaxf): Likewise.
33870         (fmax): Likewise.
33871         (fminf): Likewise.
33872         (fmin): Likewise.
33873         (rint): Likewise.
33874         (rintf): Likewise.
33875         (ceil): Likewise.
33876         (ceilf): Likewise.
33877         (floor): Likewise.
33878         (floorf): Likewise.
33879         (nearbyint): Likewise.
33880         (nearbyintf): Likewise.
33881
33882 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33883
33884         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33885         non-default versions.
33886
33887 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33888
33889         [BZ #14218]
33890         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33891
33892 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33893
33894         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33895         (FE_UPWARD, FE_DOWNWARD): Don't define.
33896         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33897         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33898
33899         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33900         reading it.
33901         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33902         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33903
33904 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33905
33906         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33907         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33908         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33909         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33910
33911 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33912
33913         [BZ #14117]
33914         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33915         * sysdeps/i386/fpu/Implies: New file.
33916         * sysdeps/x86_64/fpu/Implies: Likewise.
33917         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33918         * sysdeps/x86/fpu/bits/fenv.h: This.
33919
33920         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33921         __SSE_MATH__.
33922
33923 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33924
33925         [BZ #14134]
33926         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33927         character 0xffff that matches the last element of the
33928         conversion table.
33929
33930 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33931
33932         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33933         fmodl commit.
33934
33935 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33936
33937         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33938         values higher than 25.6283.
33939
33940 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33941
33942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33943         subnormal exponent extraction and add some __builtin_expect.
33944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33945         Fix for subnormal mantissa calculation.
33946
33947 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33948
33949         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33950         cpu2 is -1 and errno is not ENOSYS.
33951
33952 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33953
33954         [BZ #14117]
33955         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33956         * sysdeps/x86/bits/string.h: This.
33957         * sysdeps/x86_64/bits/string.h: Removed.
33958
33959         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33960         if not compiling for x86-64, but compiling for >= i486.
33961
33962         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33963         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33964
33965         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33966         New macro from Linux kernel 3.4.0.
33967         (FP_XSTATE_MAGIC2): Likewise.
33968         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33969         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33970         (struct _fpx_sw_bytes): New struct.
33971         (struct _xsave_hdr): Likewise.
33972         (struct _ymmh_state): Likewise.
33973         (struct _xstate): Likewise.
33974
33975         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33976         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33977         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33978         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33979         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33980         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33981
33982         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33983         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33984         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33985         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33986         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33987         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33988
33989 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33990
33991         [BZ #13743]
33992         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33993         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33994         (sysdep_headers): Include sys/platform/ppc.h.
33995         * sysdeps/powerpc/test-gettimebase.c: Test for
33996         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33997         * manual/Makefile (appendices): Include platform.texi.
33998         * manual/contrib.texi (Contributors): Update @node pointers.
33999         * manual/maint.texi (Maintenance): Likewise.
34000         (Platform): New node.
34001         * manual/platform.texi: New file.  Document the new features.
34002
34003 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004             Jakub Jelinek  <jakub@redhat.com>
34005
34006         [BZ #14188]
34007         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34008         where __builtin_expect is unavailable.
34009
34010 2012-06-03  David S. Miller  <davem@davemloft.net>
34011
34012         * stdlib/longlong.h: Updated from GCC.
34013
34014 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34015
34016         [BZ #14042]
34017         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34018         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34019         __mcount_internal.
34020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34021         (GLIBC_2.16): Likewise.
34022
34023 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34024
34025         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34026
34027 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34028
34029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34030         (default-abi): New variable.
34031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34032         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34033         variable.
34034         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34035         Likewise.
34036         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34037         Likewise.
34038         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34039         Likewise.
34040
34041         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34042         definition.  Document in comment.
34043
34044 2012-06-01  David S. Miller  <davem@davemloft.net>
34045
34046         * stdlib/longlong.h: Updated from GCC.
34047
34048 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34049
34050         [BZ #14117]
34051         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34052         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34053         sys/debugreg.h sys/io.h here.
34054         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34055         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34056         sys/io.h.
34057         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34058         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34059         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34060         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34061         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34062         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34063
34064         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34065         Define only if __x86_64__ is defined.
34066
34067 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34068
34069         [BZ #14048]
34070         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34071         Use int64_t for variable i.
34072         * math/libm-test.inc (fmod_test): Add more tests.
34073
34074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34075         z computation is not scheduled after fetestexcept.
34076         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34077         Use math_force_eval instead of asm to ensure calculation scheduled
34078         before exception test.
34079         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34080         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34081
34082 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34083
34084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34085         computation is not scheduled after fetestexcept.
34086
34087 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34088
34089         [BZ #14117]
34090         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34091         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34092
34093 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34094
34095         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34096         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34097
34098 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34099
34100         [BZ #14117]
34101         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34102         <bits/wordsize.h>.
34103         (__WCHAR_MIN): Support __WORDSIZE == 64.
34104         (__WCHAR_MAX): Likewise.
34105
34106         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34107         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34108
34109         [BZ #14183]
34110         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34111         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34112
34113         [BZ #14117]
34114         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34116
34117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34118         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34119
34120         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34121         Defined to 1 if __x86_64__ isn't defined.
34122         (_STAT_VER_LINUX_OLD): New.
34123         (st_atime): Remove duplicate.
34124         (st_mtime): Likewise.
34125         (st_ctime): Likewise.
34126
34127 2012-05-31  David S. Miller  <davem@davemloft.net>
34128
34129         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34130         entries.
34131
34132 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34133
34134         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34135         gen-libm-test.pl.
34136
34137         [BZ #14132]
34138         * elf/dl-reloc.c: Include <_itoa.h>.
34139         (_dl_reloc_bad_type): Remove use of INTUSE.
34140         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34141         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34142         * stdio-common/psiginfo.c (psiginfo): Likewise.
34143         * stdio-common/psignal.c (psignal): Likewise.
34144         * string/strsignal.c (strsignal): Likewise.
34145         * include/signal.h (_sys_siglist): Declare hidden proto.
34146         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34147         INTVARDEF with libc_hidden_data_def.
34148         * stdio-common/itoa-udigits.c: Likewise.
34149         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34150         (_itoa_lower_digits_internal): Remove declaration.
34151         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34152         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34153         (_sys_sigabbrev_internal): Remove aliases.
34154         (_sys_siglist): Define hidden alias.
34155
34156 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34157
34158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34159         bits/sysctl.h.
34160
34161 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34162
34163         [BZ #14117]
34164         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34165         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34166
34167         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34168         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34169         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34170         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34172         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34173
34174         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34175         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34176         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34177
34178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34179         with __addr.
34180         (insw): Likewise.
34181         (insl): Likewise.
34182         (outsb): Likewise.
34183         (outsw): Likewise.
34184         (outsl): Likewise.
34185
34186         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34187         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34188         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34189
34190         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34191         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34192         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34193         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34194         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34195         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34196
34197         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34198         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34199
34200         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34201         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34202
34203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34205         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34206
34207         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34208         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34209         to ...
34210         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34211
34212         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34213         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34214         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34215
34216         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34217         for x86-64.
34218         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34219
34220 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34221
34222         * math/math.h (M_El): Use two more decimal places.
34223         (M_LOG2El): Likewise.
34224         (M_LOG10El): Likewise.
34225         (M_LN2l): Likewise.
34226         (M_LN10l): Likewise.
34227         (M_PIl): Likewise.
34228         (M_PI_2l): Likewise.
34229         (M_PI_4l): Likewise.
34230         (M_1_PIl): Likewise.
34231         (M_2_PIl): Likewise.
34232         (M_2_SQRTPIl): Likewise.
34233         (M_SQRT2l): Likewise.
34234         (M_SQRT1_2l): Likewise.
34235
34236 2012-05-31  David S. Miller  <davem@davemloft.net>
34237
34238         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34239         values between float registers.
34240         * sysdeps/sparc/sparc64/memset.S: Likewise.
34241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34242
34243 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34244
34245         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34246         -D_FORTIFY_SOURCE=1.
34247         (CPPFLAGS-tst-longjmp_chk.c): Define.
34248         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34249         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34250         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34251         CFLAGS-tst-wchar-h.c.
34252
34253 2012-05-31  Marek Polacek  <polacek@redhat.com>
34254
34255         [BZ #14132]
34256         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34257         __endmntent_internal): Remove declaration.
34258         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34259         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34260         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34261
34262 2012-05-30  David S. Miller  <davem@davemloft.net>
34263
34264         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34265         (___Q_simulate_exceptions): Use real FP ops rather than writing
34266         into the %fsr.
34267         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34268         Likewise.
34269
34270 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34271
34272         [BZ #14117]
34273         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34274         * sysdeps/x86/bits/xtitypes.h: This.
34275
34276         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34277         * sysdeps/x86/bits/wordsize.h: This.
34278
34279         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34280         * sysdeps/x86/bits/huge_vall.h: This.
34281
34282         * sysdeps/i386/bits/select.h: Removed.
34283         * sysdeps/x86_64/bits/select.h: Renamed to ...
34284         * sysdeps/x86/bits/select.h: This.
34285
34286         * sysdeps/i386/bits/setjmp.h: Removed.
34287         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34288         * sysdeps/x86/bits/setjmp.h: This.
34289
34290         * sysdeps/i386/bits/mathdef.h: Removed.
34291         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34292         * sysdeps/x86/bits/mathdef.h: This.
34293
34294 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34295
34296         [BZ #14132]
34297         * include/sys/socket.h (__connect_internal)
34298         (__libc_sa_len_internal): Remove declaration.
34299         (__connect, __libc_sa_len): Declare hidden_proto.
34300         (SA_LEN): Remove use of INTUSE.
34301         * socket/connect.c: Add libc_hidden_def.
34302         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34303         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34304         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34305         alias.
34306         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34308         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34309         of adding _internal alias.
34310
34311 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         [BZ #14117]
34314         * sysdeps/i386/bits/link.h: Removed.
34315         * sysdeps/i386/bits/linkmap.h: Likewise.
34316         * sysdeps/x86_64/bits/link.h: Renamed to ...
34317         * sysdeps/x86/bits/link.h: This.
34318         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34319         * sysdeps/x86/bits/linkmap.h: This.
34320
34321         * sysdeps/i386/bits/endian.h: Removed.
34322         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34323         * sysdeps/x86/bits/endian.h: This.
34324
34325         * sysdeps/i386/bits/byteswap.h: Removed.
34326         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34327         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34328         * sysdeps/x86/bits/byteswap.h: This.
34329         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34330         * sysdeps/x86/bits/byteswap-16.h: This.
34331         * sysdeps/i386/Implies: Add x86.
34332         * sysdeps/x86_64/Implies: Likewise.
34333
34334 2012-05-30  David S. Miller  <davem@davemloft.net>
34335
34336         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34337         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34338         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34339         (FP_TRAPPING_EXCEPTIONS): Define.
34340         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34341         (FP_TRAPPING_EXCEPTIONS): Define.
34342         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34343         subnormals only when inexact has been signalled or underflow
34344         exceptions are enabled.
34345         (_FP_PACK_CANONICAL): Likewise.
34346
34347 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34348
34349         [BZ #14183]
34350         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34351         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34352
34353 2012-05-30  Richard Henderson  <rth@twiddle.net>
34354
34355         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34356         with #ifndef NOT_IN_libc.
34357
34358         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34359         marked to avoid plt entry.
34360
34361 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34362
34363         [BZ #14112]
34364         * Makeconfig (default-abi): New macro.
34365         (abi-includes): Likewise.
34366         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34367         $(abi-$(default-abi)-lib-soname) for soname if defined.
34368         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34369         abi-variants.
34370         * Makefile (installed-stubs): Likewise.
34371         * include/stubs-biarch.h: Removed.
34372         * scripts/lib-names.awk: Only handle one library at a time.
34373         * scripts/soversions.awk: Remove WORDSIZE support.
34374         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34375         entries.
34376         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34377         Removed.
34378         (syscall-list-default-condition): Likewise.
34379         (syscall-list-default-condition): Likewise.
34380         (syscall-list-includes): Likewise.
34381         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34382         syscall-list-* with abi-*.  Handle undefined abi-variants.
34383         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34384         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34385         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34386         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34387         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34388         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34389         Removed.
34390         (syscall-list-32-options): Likewise.
34391         (syscall-list-32-condition): Likewise.
34392         (syscall-list-64-options): Likewise.
34393         (syscall-list-64-condition): Likewise.
34394         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34395         macro.
34396         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34397         Renamed to ...
34398         (abi-*): This.
34399         (abi-64-ld-soname): New macro.
34400         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34401         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34402         Renamed to ...
34403         (abi-*): This.
34404         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34405         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34406
34407 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34408
34409         * sysdeps/unix/sysv/linux/kernel-features.h
34410         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34411         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34412         include <kernel-features.h>.
34413         [!__NR_ftruncate64]: Remove conditional code.
34414         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34415         [__NR_ftruncate64]: Make code unconditional.
34416         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34417         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34418         include <kernel-features.h>.
34419         [!__NR_ftruncate64]: Remove conditional code.
34420         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34421         [__NR_ftruncate64]: Make code unconditional.
34422         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34424         include <kernel-features.h>.
34425         [!__NR_ftruncate64]: Remove conditional code.
34426         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34427         [__NR_ftruncate64]: Make code unconditional.
34428         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34430         include <kernel-features.h>.
34431         [!__NR_ftruncate64]: Remove conditional code.
34432         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34433         [__NR_ftruncate64]: Make code unconditional.
34434         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34435
34436         * configure.in (libc_cv_fpie): Weaken to a compile test using
34437         LIBC_TRY_CC_OPTION.
34438         * configure: Regenerated.
34439
34440 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34441
34442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34446         Refreshed.
34447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34453         Refreshed.
34454
34455 2012-05-27  David S. Miller  <davem@davemloft.net>
34456
34457         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34458         (___Q_zero): New.
34459         (__Q_simulate_exceptions): Return void.  Change to simulate
34460         exceptions by writing into the %fsr.
34461         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34462         (__Qp_handle_exceptions): Likewise.
34463         (numbers): Delete.
34464         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34465         __Qp_handle_exceptions.
34466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34467         __Qp_handle_exceptions.
34468         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34469         as unused and give dummy FP_RND_NEAREST initializer.
34470         (FP_INHIBIT_RESULTS): Define.
34471         (___Q_simulate_exceptions): Update declaration.
34472         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34473         formatting.
34474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34475         as unused and give dummy FP_RND_NEAREST initializer.
34476         (__Qp_handle_exceptions): Update declaration.
34477         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34478         formatting.
34479
34480 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34481
34482         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34483         the temporary FPU control word.
34484         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34485         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34486         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34487         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34488         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34489         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34490         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34491         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34492         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34493         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34494         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34495
34496 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34497
34498         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34499         fields.
34500
34501 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34502
34503         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34504         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34505         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34506         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34507         Likewise.
34508         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34509         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34510         Likewise.
34511
34512 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34513
34514         * po/h.po: Update from translation team.
34515
34516 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34517
34518         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34519
34520         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34521         handling of denormals.
34522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34523         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34524         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34525         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34526         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34528         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34529         Likewise.
34530
34531 2012-05-26  Marek Polacek  <polacek@redhat.com>
34532
34533         [BZ #14152]
34534         * math/libm-test.inc (fma_test): Don't always expect underflow
34535         exception.
34536
34537 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34538
34539         [BZ #12416]
34540         * elf/tst-execstack.c: Include stackinfo.h.
34541         (do_test): Adjust test case to ensure that pthread_getattr_np
34542         behaviour remains the same after marking stack executable.
34543
34544 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34545
34546         * sysdeps/unix/sysv/linux/kernel-features.h
34547         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34548         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34549         kernel-features.h.
34550         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34551         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34552         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34553         kernel-features.h.
34554         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34555         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34556
34557 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34558
34559         * configure.in: Define the default includes to being none.
34560         * configure: Regenerated.
34561
34562 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34563
34564         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34565         * sysdeps/x86_64/setjmp.S: Likewise.
34566         * sysdeps/i386/bsd-setjmp.S: Likewise.
34567         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34568         * sysdeps/i386/setjmp.S: Likewise.
34569         * sysdeps/i386/__longjmp.S: Likewise.
34570         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34571         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34572
34573         * include/stap-probe.h: New file.
34574         * configure.in: Handle --enable-systemtap.
34575         * configure: Regenerated.
34576         * config.h.in (USE_STAP_PROBE): New #undef.
34577         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34578         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34579         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34580
34581 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34582
34583         [BZ #13717]
34584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34585         to 2.4.0 where earlier.
34586         * sysdeps/unix/sysv/linux/configure: Regenerated.
34587         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34588         <kernel-features.h>.
34589         [__ASSUME_32BITUIDS]: Make code unconditional.
34590         [!__ASSUME_32BITUIDS]: Remove conditional code.
34591         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34592         <kernel-features.h>.
34593         [__ASSUME_32BITUIDS]: Make code unconditional.
34594         [!__ASSUME_32BITUIDS]: Remove conditional code.
34595         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34596         [__ASSUME_32BITUIDS]: Make code unconditional.
34597         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34598         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34599         <kernel-features.h>.
34600         [__ASSUME_32BITUIDS]: Make code unconditional.
34601         [!__ASSUME_32BITUIDS]: Remove conditional code.
34602         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34603         <kernel-features.h>.
34604         [__ASSUME_32BITUIDS]: Make code unconditional.
34605         [!__ASSUME_32BITUIDS]: Remove conditional code.
34606         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34607         <kernel-features.h>.
34608         [__ASSUME_32BITUIDS]: Make code unconditional.
34609         [!__ASSUME_32BITUIDS]: Remove conditional code.
34610         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34611         <kernel-features.h>.
34612         [__ASSUME_32BITUIDS]: Make code unconditional.
34613         [!__ASSUME_32BITUIDS]: Remove conditional code.
34614         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34615         <kernel-features.h>.
34616         [__ASSUME_32BITUIDS]: Make code unconditional.
34617         [!__ASSUME_32BITUIDS]: Remove conditional code.
34618         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34619         <kernel-features.h>.
34620         [__ASSUME_32BITUIDS]: Make code unconditional.
34621         [!__ASSUME_32BITUIDS]: Remove conditional code.
34622         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34623         <kernel-features.h>.
34624         [__ASSUME_32BITUIDS]: Make code unconditional.
34625         [!__ASSUME_32BITUIDS]: Remove conditional code.
34626         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34627         <kernel-features.h>.
34628         [__ASSUME_32BITUIDS]: Make code unconditional.
34629         [!__ASSUME_32BITUIDS]: Remove conditional code.
34630         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34631         <kernel-features.h>.
34632         [__ASSUME_32BITUIDS]: Make code unconditional.
34633         [!__ASSUME_32BITUIDS]: Remove conditional code.
34634         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34635         <kernel-features.h>.
34636         [__ASSUME_32BITUIDS]: Make code unconditional.
34637         [!__ASSUME_32BITUIDS]: Remove conditional code.
34638         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34639         <kernel-features.h>.
34640         [__NR_setresgid] (__setresgid): Do not declare.
34641         [__ASSUME_32BITUIDS]: Make code unconditional.
34642         [!__ASSUME_32BITUIDS]: Remove conditional code.
34643         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34644         <kernel-features.h>.
34645         [__NR_setresuid] (__setresuid): Do not declare.
34646         [__ASSUME_32BITUIDS]: Make code unconditional.
34647         [!__ASSUME_32BITUIDS]: Remove conditional code.
34648         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34649         <kernel-features.h>.
34650         [__ASSUME_32BITUIDS]: Make code unconditional.
34651         [!__ASSUME_32BITUIDS]: Remove conditional code.
34652         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34653         <kernel-features.h>.
34654         [__ASSUME_32BITUIDS]: Make code unconditional.
34655         [!__ASSUME_32BITUIDS]: Remove conditional code.
34656         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34657         <kernel-features.h>.
34658         [__ASSUME_32BITUIDS]: Make code unconditional.
34659         [!__ASSUME_32BITUIDS]: Remove conditional code.
34660         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34661         <kernel-features.h>.
34662         [__ASSUME_32BITUIDS]: Make code unconditional.
34663         [!__ASSUME_32BITUIDS]: Remove conditional code.
34664         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34665         <kernel-features.h>.
34666         [__ASSUME_32BITUIDS]: Make code unconditional.
34667         [!__ASSUME_32BITUIDS]: Remove conditional code.
34668         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34669         <kernel-features.h>.
34670         [__ASSUME_32BITUIDS]: Make code unconditional.
34671         [!__ASSUME_32BITUIDS]: Remove conditional code.
34672         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34673         <kernel-features.h>.
34674         [__ASSUME_32BITUIDS]: Make code unconditional.
34675         [!__ASSUME_32BITUIDS]: Remove conditional code.
34676         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34677         <kernel-features.h>.
34678         [__ASSUME_32BITUIDS]: Make code unconditional.
34679         [!__ASSUME_32BITUIDS]: Remove conditional code.
34680         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34681         <kernel-features.h>.
34682         [__ASSUME_32BITUIDS]: Make code unconditional.
34683         [!__ASSUME_32BITUIDS]: Remove conditional code.
34684         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34685         <kernel-features.h>.
34686         [__ASSUME_32BITUIDS]: Make code unconditional.
34687         [!__ASSUME_32BITUIDS]: Remove conditional code.
34688         * sysdeps/unix/sysv/linux/kernel-features.h
34689         (__ASSUME_SETRESUID_SYSCALL): Remove.
34690         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34691         (__ASSUME_32BITUIDS): Likewise.
34692         (__ASSUME_LDT_WORKS): Likewise.
34693         (__ASSUME_O_DIRECTORY): Likewise.
34694         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34695         architecture but not kernel version.
34696         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34697         (__ASSUME_MMAP2_SYSCALL): Likewise.
34698         (__ASSUME_STAT64_SYSCALL): Likewise.
34699         (__ASSUME_IPC64): Likewise.
34700         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34701         <kernel-features.h>.
34702         [__ASSUME_32BITUIDS]: Make code unconditional.
34703         [!__ASSUME_32BITUIDS]: Remove conditional code.
34704         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34705         <kernel-features.h>.
34706         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34707         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34708         132096]: Remove conditional code.
34709         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34710         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34711         <kernel-features.h>.
34712         [__ASSUME_32BITUIDS]: Make code unconditional.
34713         [!__ASSUME_32BITUIDS]: Remove conditional code.
34714         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34715         <kernel-features.h>.
34716         [__ASSUME_32BITUIDS]: Make code unconditional.
34717         [!__ASSUME_32BITUIDS]: Remove conditional code.
34718         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34719         <kernel-features.h>.
34720         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34721         unconditional.
34722         (__setresgid): Do not declare.
34723         [__ASSUME_32BITUIDS]: Make code unconditional.
34724         [!__ASSUME_32BITUIDS]: Remove conditional code.
34725         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34726         <kernel-features.h>.
34727         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34728         unconditional.
34729         (__setresuid): Do not declare.
34730         [__ASSUME_32BITUIDS]: Make code unconditional.
34731         [!__ASSUME_32BITUIDS]: Remove conditional code.
34732         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34733         <kernel-features.h>.
34734         [__ASSUME_32BITUIDS]: Make code unconditional.
34735         [!__ASSUME_32BITUIDS]: Remove conditional code.
34736         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34737         <kernel-features.h>.
34738         [__ASSUME_32BITUIDS]: Make code unconditional.
34739         [!__ASSUME_32BITUIDS]: Remove conditional code.
34740
34741 2012-05-25  Richard Henderson  <rth@twiddle.net>
34742
34743         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34744         dl_hwcap to ifunc resolver.
34745         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34746         elf_ifunc_invoke.
34747         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34748         dl_hwcap to ifunc resolver.
34749         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34750
34751 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34752
34753         [BZ #14153]
34754         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34755         for |x| <= 2**-26, not 2**-57.
34756         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34757         exception.
34758
34759 2012-05-24  Jeff Law  <law@redhat.com>
34760
34761         * stdio-common/Makefile (tests): Add bug25.
34762         * stdio-common/bug25.c: New test.
34763
34764 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34765
34766         [BZ #13576]
34767         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34768         multiple of MALLOC_ALIGNMENT in size.
34769         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34770
34771 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34772
34773         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34774         Require >= 256.
34775         (FILENAME_MAX): Use macro-int-constant.
34776         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34777         (_IOFBF): Use macro-int-constant.
34778         (_IOLBF): Likewise.
34779         (_IONBF): Likewise.
34780         (SEEK_CUR): Likewise.
34781         (SEEK_END): Likewise.
34782         (SEEK_SET): Likewise.
34783         (TMP_MAX): Likewise.
34784         (EOF): Use macro-int-constant.  Require < 0.
34785         (NULL): Use macro-constant.  Require == 0.
34786         (stdin): Require type to be FILE *.
34787         (stdout): Likewise.
34788         (stderr): Likewise.
34789         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34790         macro-int-constant.
34791         (EXIT_SUCCESS): Likewise.
34792         (NULL): Use macro-constant.  Require == 0.
34793         (RAND_MAX): Use macro-int-constant.
34794         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34795         [C99-based standards] (strtof): Require function.
34796         [C99-based standards] (strtold): Likewise.
34797         [C99-based standards] (strtoll): Likewise.
34798         [C99-based standards] (strtoull): Likewise.
34799         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34800         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34801         [ISO || ISO99 || ISO11] (math.h): Likewise.
34802         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34803         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34804         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34805
34806 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34807
34808         [BZ #14132]
34809         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34810         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34811         * intl/dgettext.c (DCGETTEXT): Likewise.
34812         * intl/gettext.c (DCGETTEXT): Likewise.
34813         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34814         * posix/regex_internal.h (gettext): Likewise.
34815         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34816         Remove declaration.
34817         * include/argz.h (__argz_count_internal)
34818         (__argz_stringify_internal): Remove declaration.
34819         (__argz_count, __argz_stringify): Declare hidden proto.
34820         * intl/dcgettext.c: Remove use of INTDEF.
34821         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34822         * string/argz-stringify.c: Likewise.
34823         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34824         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34825         Declare hidden proto.
34826         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34827         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34828         Declare hidden proto.
34829         * include/stdio.h (__asprintf_internal): Don't declare.
34830         (__asprintf): Don't define as macro.  Declare hidden proto.
34831         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34832         (__fsetlocking): Declare hidden proto.
34833         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34834         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34835         hidden proto.
34836         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34837         (_IO_setlinebuf): Remove use of INTUSE.
34838         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34839         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34840         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34841         Remove declaration.
34842         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34843         (_IO_do_flush): Remove use of INTUSE.
34844         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34845         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34846         (_IO_adjust_column, _IO_least_wmarker)
34847         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34848         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34849         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34850         (_IO_default_doallocate, _IO_wdefault_doallocate)
34851         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34852         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34853         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34854         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34855         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34856         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34857         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34858         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34859         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34860         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34861         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34862         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34863         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34864         proto.
34865         (_IO_flush_all_internal, _IO_adjust_column_internal)
34866         (_IO_default_uflow_internal, _IO_default_finish_internal)
34867         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34868         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34869         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34870         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34871         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34872         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34873         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34874         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34875         (_IO_file_close_internal, _IO_file_close_it_internal)
34876         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34877         (_IO_file_init_internal, _IO_file_attach_internal)
34878         (_IO_file_fopen_internal, _IO_file_read_internal)
34879         (_IO_file_sync_internal, _IO_file_seek_internal)
34880         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34881         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34882         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34883         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34884         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34885         (_IO_list_all_internal, _IO_link_in_internal)
34886         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34887         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34888         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34889         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34890         (_IO_do_write_internal, _IO_padn_internal)
34891         (_IO_getline_info_internal, _IO_getline_internal)
34892         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34893         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34894         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34895         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34896         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34897         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34898         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34899         with libc_hidden_ver, remove use of INTUSE.
34900         * libio/genops.c: Likewise.
34901         * libio/freopen.c: Likewise.
34902         * libio/freopen64.c: Likewise.
34903         * libio/iofclose.c: Likewise.
34904         * libio/iofdopen.c: Likewise.
34905         * libio/iofflush.c: Likewise.
34906         * libio/iofflush_u.c: Likewise.
34907         * libio/iofgets.c: Likewise.
34908         * libio/iofgets_u.c: Likewise.
34909         * libio/iofopen.c: Likewise.
34910         * libio/iofopncook.c: Likewise.
34911         * libio/iofread.c: Likewise.
34912         * libio/iofread_u.c: Likewise.
34913         * libio/ioftell.c: Likewise.
34914         * libio/iofwrite.c: Likewise.
34915         * libio/iogetline.c: Likewise.
34916         * libio/iogets.c: Likewise.
34917         * libio/iogetwline.c: Likewise.
34918         * libio/iopadn.c: Likewise.
34919         * libio/iopopen.c: Likewise.
34920         * libio/ioseekoff.c: Likewise.
34921         * libio/ioseekpos.c: Likewise.
34922         * libio/iosetbuffer.c: Likewise.
34923         * libio/iosetvbuf.c: Likewise.
34924         * libio/ioungetc.c: Likewise.
34925         * libio/ioungetwc.c: Likewise.
34926         * libio/iovdprintf.c: Likewise.
34927         * libio/iovsprintf.c: Likewise.
34928         * libio/iovsscanf.c: Likewise.
34929         * libio/memstream.c: Likewise.
34930         * libio/obprintf.c: Likewise.
34931         * libio/oldfileops.c: Likewise.
34932         * libio/oldiofclose.c: Likewise.
34933         * libio/oldiofdopen.c: Likewise.
34934         * libio/oldiofopen.c: Likewise.
34935         * libio/oldiopopen.c: Likewise.
34936         * libio/oldstdfiles.c: Likewise.
34937         * libio/putc.c: Likewise.
34938         * libio/setbuf.c: Likewise.
34939         * libio/setlinebuf.c: Likewise.
34940         * libio/stdfiles.c: Likewise.
34941         * libio/strops.c: Likewise.
34942         * libio/vasprintf.c: Likewise.
34943         * libio/vscanf.c: Likewise.
34944         * libio/vsnprintf.c: Likewise.
34945         * libio/vswprintf.c: Likewise.
34946         * libio/wfiledoalloc.c: Likewise.
34947         * libio/wfileops.c: Likewise.
34948         * libio/wgenops.c: Likewise.
34949         * libio/wmemstream.c: Likewise.
34950         * libio/wstrops.c: Likewise.
34951         * libio/__fpurge.c: Likewise.
34952         * libio/__fsetlocking.c: Likewise.
34953         * assert/assert.c: Likewise.
34954         * debug/fgets_chk.c: Likewise.
34955         * debug/fgets_u_chk.c: Likewise.
34956         * debug/fread_chk.c: Likewise.
34957         * debug/fread_u_chk.c: Likewise.
34958         * debug/gets_chk.c: Likewise.
34959         * debug/obprintf_chk.c: Likewise.
34960         * debug/vasprintf_chk.c: Likewise.
34961         * debug/vdprintf_chk.c: Likewise.
34962         * debug/vsnprintf_chk.c: Likewise.
34963         * debug/vsprintf_chk.c: Likewise.
34964         * malloc/mtrace.c: Likewise.
34965         * misc/error.c: Likewise.
34966         * misc/syslog.c: Likewise.
34967         * stdio-common/asprintf.c: Likewise.
34968         * stdio-common/fxprintf.c: Likewise.
34969         * stdio-common/getw.c: Likewise.
34970         * stdio-common/isoc99_fscanf.c: Likewise.
34971         * stdio-common/isoc99_scanf.c: Likewise.
34972         * stdio-common/isoc99_vfscanf.c: Likewise.
34973         * stdio-common/isoc99_vscanf.c: Likewise.
34974         * stdio-common/isoc99_vsscanf.c: Likewise.
34975         * stdio-common/printf-prs.c: Likewise.
34976         * stdio-common/printf_fp.c: Likewise.
34977         * stdio-common/printf_fphex.c: Likewise.
34978         * stdio-common/printf_size.c: Likewise.
34979         * stdio-common/putw.c: Likewise.
34980         * stdio-common/scanf.c: Likewise.
34981         * stdio-common/sprintf.c: Likewise.
34982         * stdio-common/tmpfile.c: Likewise.
34983         * stdio-common/vfprintf.c: Likewise.
34984         * stdio-common/vfscanf.c: Likewise.
34985         * stdlib/strfmon_l.c: Likewise.
34986         * sunrpc/openchild.c: Likewise.
34987         * sunrpc/xdr_stdio.c: Likewise.
34988         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34989         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34990
34991 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34992
34993         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34994
34995         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34996         in the third column, to generate for the shared library an IFUNC
34997         that uses _dl_vdso_vsym.
34998         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34999         * Makeconfig (object-suffixes-noshared): New variable.
35000
35001         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35002         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35003         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35004         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35005
35006         [BZ #14132]
35007         * include/sys/time.h (__gettimeofday): Remove macro.
35008         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35009         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35010         Remove INTDEF.
35011         (__gettimeofday): Add libc_hidden_def.
35012         (gettimeofday): Add libc_hidden_weak.
35013         * sysdeps/mach/gettimeofday.c: Likewise.
35014         * sysdeps/posix/gettimeofday.c: Likewise.
35015         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35016         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35018         (__gettimeofday_internal): Remove strong_alias.
35019         (__gettimeofday): Add libc_hidden_def.
35020         (gettimeofday): Add libc_hidden_weak.
35021         * sysdeps/unix/syscalls.list (gettimeofday):
35022         Remove __gettimeofday_internal alias.
35023
35024 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35025             H.J. Lu  <hongjiu.lu@intel.com>
35026
35027         [BZ #12495]
35028         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35029         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35030         (largebin_index_32_big): New.
35031         (largebin_index): Use it for 16-byte alignment.
35032         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35033         correction with front_misalign.
35034
35035 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35036
35037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35039         Likewise.
35040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35041         Likewise.
35042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35043         Likewise.
35044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35045         Likewise.
35046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35047         Likewise.
35048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35049         Likewise.
35050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35051         Likewise.
35052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35053         Likewise.
35054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35055         Likewise.
35056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35057         Likewise.
35058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35059         Likewise.
35060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35061         Likewise.
35062
35063         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35064         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35065
35066 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35067
35068         [BZ #10846]
35069         [BZ #14036]
35070         * math/libm-test.inc (exp_test): Add test from bug 14036.
35071         (pow_test): Add test from bug 10846.
35072
35073         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35074         and other flags.
35075         (special_function): Do not include flags in test name.
35076         (parse_args): Likewise.
35077         * sysdeps/i386/fpu/libm-test-ulps: Update.
35078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35079         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35080         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35082
35083         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35084         exceptions.
35085         * math/libm-test.inc ("Philosophy"): Update comment about
35086         exception testing.
35087         (UNDERFLOW_EXCEPTION): New macro.
35088         (UNDERFLOW_EXCEPTION_OK): Likewise.
35089         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35090         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35091         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35092         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35093         (INVALID_EXCEPTION_OK): Update value.
35094         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35095         (OVERFLOW_EXCEPTION_OK): Likewise.
35096         (IGNORE_ZERO_INF_SIGN): Likewise.
35097         (test_exceptions): Handle underflow exceptions.
35098         (acos_test): Update for underflow exception expectations.
35099         (cexp_test): Likewise.
35100         (clog_test): Likewise.
35101         (clog10_test): Likewise.
35102         (csqrt_test): Likewise.
35103         (ctan_test): Likewise.
35104         (ctanh_test): Likewise.
35105         (exp_test): Likewise.
35106         (exp10_test): Likewise.
35107         (exp2_test): Likewise.
35108         (expm1_test): Likewise.
35109         (fma_test): Likewise.
35110         (j0_test): Likewise.
35111         (jn_test): Likewise.
35112         (nexttoward_test): Likewise.
35113         (pow_test): Likewise.
35114         (scalbn_test): Likewise.
35115         (scalbln_test): Likewise.
35116         (tan_test): Likewise.
35117         (y1_test): Likewise.
35118         * sysdeps/i386/fpu/libm-test-ulps: Update.
35119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35120
35121 2012-05-23  David S. Miller  <davem@davemloft.net>
35122
35123         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35124         (__libc_sigaction): Remove unused local variables.
35125
35126 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35127
35128         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35129
35130 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35131
35132         mktime: avoid signed integer overflow
35133         * time/mktime.c (__mktime_internal): Do not mishandle the case
35134         where diff == INT_MIN.
35135
35136         mktime: simplify computation of average
35137         * time/mktime.c (ranged_convert): Use new time_t_avg function
35138         instead of rolling our own (probably-slower) code.
35139
35140         mktime: do not assume signed right shift propagates sign bit
35141         * time/mktime.c (isdst_differ): New static function.
35142         (__mktime_internal): No need to normalize tm_isdst now.
35143         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35144         tm_isdst values.
35145
35146         mktime: merge another wrapv change from gnulib
35147         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35148         from some compilers.
35149
35150         mktime: remove incorrect attempt at unusual arithmetics
35151         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35152         The code didn't really work on such machines anyway.
35153         (TYPE_MINIMUM): Assume two's complement.
35154         (twos_complement_arithmetic): Verify that long_int and time_t
35155         are two's complement (or unsigned, in the latter case).
35156
35157         mktime: check signed shifts on long_int and time_t, too
35158         * time/mktime.c (SHR): Check that shifts work as desired
35159         on the types long_int and time_t too, as SHR is used on
35160         such types.
35161
35162         mktime: do not assume 'long' is wide enough
35163         * time/mktime.c (verify): Move decl up.
35164         (long_int): New type.
35165         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35166         to remove assumption in the code that 'long' is wide enough to
35167         store year values.  This assumption is not true on x32 and on
35168         some non-glibc platforms.
35169
35170         mktime: merge wrapv change from gnulib
35171         * time/mktime.c (WRAPV): New macro.
35172         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35173         (guess_time_tm, __mktime_internal): Do not assume that signed
35174         integer overflow wraps around; modern compilers generate code
35175         where this assumption is no longer valid.
35176
35177 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35178
35179         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35180         Replace "jmp L(pseudo_end)" with "ret".
35181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35182         Likewise.
35183
35184 2012-05-23  Andreas Jaeger  <aj@suse.de>
35185
35186         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35187         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35188
35189 2012-05-23  Andreas Jaeger  <aj@suse.de>
35190             Maximilian Attems  <max@stro.at>
35191
35192         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35193         New macros.
35194
35195 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35196
35197         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35198         code so that pseudo_end is just ret and the stack pointer is
35199         correct also for static library in error case.
35200
35201 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35202
35203         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35204         move to syscalls.list.
35205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35209
35210         * manual/install.texi (Running make install): Do not mention Linux
35211         kernel version for which pt_chown is not needed.
35212         (Linux): Do not mention problems with nscd with 2.0 kernels.
35213         * INSTALL: Regenerated.
35214
35215 2012-05-23  Andreas Jaeger  <aj@suse.de>
35216
35217         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35218         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35219         macro.
35220         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35221         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35222         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35223         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35224         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35225         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35226         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35227         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35228         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35229         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35230         * sysdeps/unix/sysv/linux/bits/in.h
35231         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35232
35233 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35234
35235         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35236         (PREPARE_VERSION): Just use assert instead, it will be elided
35237         under [NDEBUG] anyway.
35238
35239 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/Makefile: Include
35242         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35243         (sysdep_routines): Remove sysctl.
35244         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35245         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35246         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35247         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35248         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35249
35250 2012-05-22  Andreas Jaeger  <aj@suse.de>
35251
35252         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35253         that pseudo_end is just ret and the stack pointer is correct also
35254         for static library in error case.
35255
35256 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35257
35258         [BZ #14122]
35259         * nss/nsswitch.c (defconfig_entries): New variable.
35260         (__nss_database_lookup): Don't leak defconfig entries.
35261         (nss_parse_service_list): Don't leak on error paths.
35262         (free_database_entries): New function.
35263         (free_defconfig): New function.
35264         (free_mem): Move common code to free_database_entries.
35265
35266 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35267
35268         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35269         Add arch_prctl.
35270         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35271
35272         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35273         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35275         New macro.
35276         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35277         (INTERNAL_SYSCALL_TYPES): Likewise.
35278         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35279         (LOAD_REGS_TYPES_[1-6]): Likewise.
35280         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35281         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35282
35283 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35284
35285         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35286         copysignl for GLIBC_2_0.
35287         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35288         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35289         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35290         logbl for GLIBC_2_0.
35291         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35292         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35293
35294 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35295
35296         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35298
35299         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35300         Use "neg %eax".
35301
35302         * time/mktime.c: Update copyright years.
35303
35304 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35305
35306         mktime: merge comment-quoting-style change from gnulib
35307         * time/mktime.c: Quote 'like this' in comments.
35308         The GNU coding standards suggest that we no longer quote `like this',
35309         as "`" and "'" are typically rendered asymmetrically nowadays.
35310         The typical gnulib style is to quote 'like this' when quoting
35311         code, and "like this" when quoting English.
35312
35313         * time/mktime.c (compile-command): Add "-I.".
35314
35315         mktime: merge mktime-internal.h change from gnulib
35316         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35317
35318         mktime: merge time_r change from gnulib
35319         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35320
35321         mktime: merge DEBUG change from gnulib
35322         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35323         case system <time.h> has a #define.
35324
35325         mktime: merge <sys/types.h> change from gnulib
35326         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35327         since <time.t> is now guaranteed to define time_t.
35328
35329         mktime: merge HAVE_CONFIG_H change from gnulib
35330         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35331
35332 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35333
35334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35335         Use "neg %eax".
35336
35337         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35338         __rlim_t cast.
35339         (struct rusage): Use anonymous union to pad each field to
35340         __syscall_slong_t.
35341
35342 2012-05-21  David S. Miller  <davem@davemloft.net>
35343
35344         * Makefules (o-iterator): Remove .s cases.
35345         (compile-command.s): Delete.
35346         (COMPILE.s): Delete.
35347         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35348
35349 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35350
35351         * configure.in (libc_cv_predef_stack_protector): Only consider
35352         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35353         * configure: Regenerated.
35354
35355 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35356
35357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35358         New macro.  Use R*LP on int and pointer.
35359         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35360         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35361         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35362         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35363
35364         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35365         [__WORDSIZE_TIME64_COMPAT32] instead of
35366         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35367         (struct utmp): Likewise.
35368         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35369         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35370         Renamed to ...
35371         (__WORDSIZE_TIME64_COMPAT32): This.
35372         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35373         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35374         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35375         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35376         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35377         (__WORDSIZE_TIME64_COMPAT32): New macro.
35378
35379 2012-05-21  Andreas Jaeger  <aj@suse.de>
35380
35381         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35382         only if [SHARED]. Add prototype for __wcschr_ia32.
35383
35384 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35385
35386         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35387         of %rbp unmolested in the jmp_buf while mangling the low bits.
35388         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35389         unmolested high bits of %rbp while demangling the low bits.
35390         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35391
35392 2012-05-21  Andreas Jaeger  <aj@suse.de>
35393
35394         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35395         * sunrpc/svc_simple.c: Use it for registerrpc.
35396         * sunrpc/xcrypt.c: Use it for passwd2des.
35397
35398         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35399
35400 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35401
35402         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35403         Don't define if [__SYSCALL_WORDSIZE != 32].
35404         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35405         New macro.
35406
35407 2012-05-21  Bruno Haible  <bruno@clisp.org>
35408             Andreas Jaeger  <aj@suse.de>
35409
35410         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35411         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35412         inptr and inend for must_buffer_ch.
35413         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35414         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35415         * stdio-common/Makefile (tests): Remove bug15.
35416         (bug15-ENV): Remove macro.
35417         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35418         anymore.
35419
35420 2012-05-19  Andreas Jaeger  <aj@suse.de>
35421             Roland McGrath  <roland@hack.frob.com>
35422
35423         * manual/contrib.texi: Completely rewritten. It contains now an
35424         alphabetical list of contributors and their contributions.
35425
35426 2012-05-21  Richard Henderson  <rth@twiddle.net>
35427
35428         * misc/getauxval.c (__getauxval): Use unsigned long int.
35429         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35430         (getauxval): Use unsigned long int.
35431
35432 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35433
35434         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35435
35436 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35437
35438         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35439         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35440         __alignof__ (long double).
35441
35442 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35443
35444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35445
35446 2012-05-20  Richard Henderson  <rth@twiddle.net>
35447
35448         * misc/getauxval.c: New file.
35449         * misc/sys/auxv.h: New file.
35450         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35451         (routines): Add getauxval.
35452         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35453         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35454         * elf/dl-sysdep.c (_dl_auxv): Remove.
35455         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35456         * elf/dl-support.c (_dl_auxv): New variable.
35457         (_dl_aux_init): Initialize it.
35458         * manual/startup.texi (Auxiliary Vector): New node.
35459         * sysdeps/generic/bits/hwcap.h: New file.
35460         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35461         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35462         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35463         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35464         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35465         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35467         Update.
35468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35471         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35476
35477 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35478
35479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35480
35481 2012-05-19  David S. Miller  <davem@davemloft.net>
35482
35483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35484
35485 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35486
35487         [BZ #14123]
35488         * math/s_ccosh.c: Include <float.h>
35489         (__ccosh): Avoid internal overflow calculating sinh and cosh
35490         values before multiplying by sin and cos values.
35491         * math/s_ccoshf.c: Likewise.
35492         * math/s_ccoshl.c: Likewise.
35493         * math/s_csin.c: Likewise.
35494         * math/s_csinf.c: Likewise.
35495         * math/s_csinl.c: Likewise.
35496         * math/s_csinh.c: Likewise.
35497         * math/s_csinhf.c: Likewise.
35498         * math/s_csinhl.c: Likewise.
35499         * math/libm-test.inc (ccos_test): Add more tests.
35500         (ccosh_test): Likewise.
35501         (csin_test): Likewise.
35502         (csinh_test): Likewise.
35503         * sysdeps/i386/fpu/libm-test-ulps: Update.
35504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35505
35506 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35507
35508         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35509         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35510
35511         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35512
35513 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35514
35515         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35516         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35517         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35518         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35519         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35520         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35521         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35522         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35523         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35524         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35525         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35526         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35527         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35528         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35529         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35530         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35531         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35532         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35533         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35534         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35535         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35536         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35537         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35538         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35539         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35540         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35541         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35542         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35543         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35544         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35545         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35546
35547 2012-05-18  Andreas Jaeger  <aj@suse.de>
35548
35549         * csu/.gitignore: Delete.
35550
35551 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35552
35553         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35554         (timex): Use __syscall_slong_t.
35555
35556 2012-05-18  Andreas Jaeger  <aj@suse.de>
35557             Carlos O'Donell  <carlos_odonell@mentor.com>
35558
35559         * manual/install.texi (Configuring and compiling): Update
35560         description about files modified in the source directory.
35561         * INSTALL: Regenerated.
35562
35563 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35564
35565         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35566         value.  Use "or" to set return value to -1.
35567         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35568         negate return value.
35569
35570 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35571
35572         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35573         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35574         failure if the compiler has Graphite support disabled.
35575         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35576         Likewise.
35577         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35578         (CFLAGS-memmove.c): Likewise.
35579         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35580         Likewise.
35581
35582 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35583
35584         * sysdeps/x86_64/x32/_itoa.h: New file.
35585
35586         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35587         getdents system call only if kernel and user dirents have the
35588         same d_ino and d_off.
35589
35590         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35591         LLONG_MAX != LONG_MAX.
35592         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35593         (_fitoa_word): Likewise.
35594
35595         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35596         years.
35597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35598         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35599         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35600
35601         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35602         include <bits/wordsize.h>.  Check __x86_64__ instead of
35603         __WORDSIZE.
35604         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35605         if __x86_64__ is defined.  Use anonymous union on fpstate.
35606
35607         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35608         anonymous union.
35609
35610 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35611
35612         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35613         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35614         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35615         Refer to _rtld_local_ro instead of _rtld_global_ro.
35616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35617         Likewise.
35618         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35619         Likewise.
35620         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35621         Likewise.
35622         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35623         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35624         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35625
35626         * sysdeps/powerpc/powerpc32/dl-machine.c
35627         (__elf_machine_runtime_setup) [PROF]: Don't reference
35628         _dl_prof_resolve.
35629
35630 2012-05-18  Andreas Jaeger  <aj@suse.de>
35631
35632         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35633         function only available for GCCs before 3.4 since GCC 3.4
35634         introduced a builtin.
35635         (lrint): Likewise.
35636         (llrintf): Likewise.
35637         (llrint): Likewise.
35638         (fmaxf): Likewise.
35639         (fmax): Likewise.
35640         (fminf): Likewise.
35641         (fmin): Likewise.
35642         (rint): Likewise.
35643         (rintf): Likewise.
35644         (nearbyint): Likewise.
35645         (nearbyintf): Likewise.
35646         (ceil): Likewise.
35647         (ceilf): Likewise.
35648         (floor): Likewise.
35649         (floorf): Likewise.
35650
35651 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35652
35653         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35654         on both fields and cast pointer to __syscall_ulong_t.
35655
35656         * bits/types.h (__fsword_t): New type.
35657         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35658         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35660         (__FSWORD_T_TYPE): Likewise.
35661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35662         (__FSWORD_T_TYPE): Likewise.
35663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35664         (__FSWORD_T_TYPE): Likewise.
35665         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35666         (__FSWORD_T_TYPE): Likewise.
35667         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35668         __SWORD_TYPE with __fsword_t.
35669         (statfs64): Likewise.
35670
35671 2012-05-17  David S. Miller  <davem@davemloft.net>
35672
35673         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35674
35675 2012-05-17  Andreas Jaeger  <aj@suse.de>
35676
35677         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35678         warning.
35679
35680 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35681
35682         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35683
35684 2012-05-17  Andreas Jaeger  <aj@suse.de>
35685
35686         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35687         when it is used.
35688
35689 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35690
35691         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35692
35693 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35694
35695         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35696         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35697
35698 2012-05-17  Andreas Jaeger  <aj@suse.de>
35699             Carlos O'Donell  <carlos_odonell@mentor.com>
35700
35701         [BZ #14059]
35702         * sysdeps/x86_64/multiarch/init-arch.h
35703         (bit_YMM_Usable): Rename to...
35704         (bit_AVX_Usable): ... this.
35705         (bit_FMA4_Usable): New macro.
35706         (bit_XMM_state): New macro.
35707         (bit_YMM_state): New macro.
35708         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35709         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35710         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35711         (CPUID_OSXSAVE): New macro.
35712         (CPUID_AVX): New macro.
35713         (CPUID_FMA4): New macro.
35714         (index_YMM_Usable): Rename to...
35715         (index_AVX_Usable): ... this.
35716         (HAS_AVX): Use HAS_ARCH_FEATURE.
35717         (HAS_FMA4): Likewise.
35718         (HAS_YMM_USABLE): Remove.
35719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35720         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35721         are present.
35722         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35723         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35724         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35725         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35726         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35727
35728 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35729
35730         * math/libm-test.c: Support platforms without multiple rounding modes.
35731         * math/bug-nextafter.c: Support platforms without FP exceptions.
35732         * math/bug-nexttoward.c: Likewise.
35733         * math/test-fenv.c: Likewise.
35734         * math/test-misc.c: Likewise.
35735         * stdlib/bug-getcontext.c: Likewise.
35736
35737 2012-05-17  Andreas Jaeger  <aj@suse.de>
35738
35739         * manual/examples/search.c (critter_cmp): Change signature to
35740         avoid warnings.
35741         * manual/string.texi (Collation Functions): Likewise.
35742
35743 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35744
35745         * bits/types.h: Fold copyright years.
35746         * bits/typesizes.h: Likewise.
35747         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35751         * time/time.h: Likewise.
35752
35753 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35754
35755         [BZ #208]
35756         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35757         in instead of returning them.  Return void.
35758         (__libc_mallinfo): Accumulate over all arenas.
35759         (__malloc_stats): Adjust for change in int_mallinfo interface.
35760
35761 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35762
35763         [BZ #10375]
35764         * configure.in (NM): Add AC_CHECK_TOOL for it.
35765         (libc_extra_cflags): New substituted variable.
35766         Check for -fstack-protector being used implicitly.
35767         * configure: Regenerated.
35768         * config.make.in (config-extra-cflags): New variable,
35769         gets @libc_extra_cflags@.
35770         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35771
35772         [BZ #10375]
35773         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35774         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35775         * configure: Regenerated.
35776         * config.make.in (CPPUNDEFS): New substituted variable.
35777         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35778         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35779         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35780
35781 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35782
35783         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35784         (mq_attr): Use __syscall_slong_t.
35785
35786 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35787
35788         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35789         Check __x86_64__ instead of __WORDSIZE.
35790         (_STAT_VER_LINUX): Likewise.
35791         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35792         __syscall_ulong_t and __syscall_slong_t.
35793         (stat64): Likewise.
35794
35795 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35796
35797         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35798
35799 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35800
35801         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35802
35803 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35804
35805         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35806         __syscall_ulong_t.
35807
35808         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35809         include <bits/wordsize.h>.  Check __x86_64__ instead of
35810         __WORDSIZE.
35811         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35812         defined.
35813         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35814
35815         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35816         include <bits/wordsize.h>.  Check __x86_64__ instead of
35817         __WORDSIZE.
35818         (user_regs_struct): Use "__extension__ unsigned long long"
35819         instead of "unsigned long" if __x86_64__ is defined.
35820         (user): Likewise.  Pad after pointer field if __ILP32__ is
35821         defined.
35822
35823 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35824
35825         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35826         versions 5 to 9.
35827         * configure: Regenerated.
35828         * manual/install.texi (texinfo): Increase version requirement to
35829         4.5 or later.
35830         * INSTALL: Regenerated.
35831
35832         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35833
35834 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35835
35836         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35837
35838         * sysdeps/x86_64/x32/ffs.c: New file.
35839
35840         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35841         __syscall_ulong_t.
35842         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35843         defined.  Use __syscall_ulong_t.
35844         (shminfo): Use __syscall_ulong_t.
35845         (shm_info): Likewise.
35846
35847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35848         __syscall_ulong_t.
35849
35850         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35851         <bits/wordsize.h>.
35852         (msgqnum_t): Use __syscall_ulong_t.
35853         (msglen_t): Likewise.
35854         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35855         __syscall_ulong_t.
35856
35857         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35858         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35859
35860         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35861
35862         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35863         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35864
35865         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35866         __syscall_slong_t.
35867
35868         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35869         include <bits/wordsize.h>.  Check __x86_64__ instead of
35870         __WORDSIZE.
35871
35872         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35873         "unsigned long long int" if __x86_64__ is defined.
35874         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35875
35876         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35877         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35878         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35879
35880         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35881         <stdint.h>.
35882         (GET_PC): Cast to uintptr_t first.
35883         (GET_FRAME): Likewise.
35884         (GET_STACK): Likewise.
35885
35886         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35887         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35888         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35889         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35890         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35891         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35892         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35893         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35894         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35895         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35896         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35897         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35898         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35899         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35901         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35902         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35906         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35907         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35908         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35909         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35910         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35911         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35912         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35913         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35914         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35915
35916 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35917
35918         * Makerules (+depfiles): Also collect depfiles from .oS in
35919         $(extra-objs).
35920         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35921         .oS, $(libnldbl-routines)).
35922
35923         * Makerules (native-compile-mkdep-flags): Define.
35924         * sunrpc/Makefile (extra-objs): Add $(addprefix
35925         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35926         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35927         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35928         calling $(make-target-directory).
35929
35930 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35931
35932         * bits/types.h (__snseconds_t): Removed.
35933         * time/time.h (struct timespec): Replace __snseconds_t with
35934         __syscall_slong_t.
35935         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35936         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35937         Likewise.
35938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35939         (__SNSECONDS_T_TYPE): Likewise.
35940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35941         (__SNSECONDS_T_TYPE): Likewise.
35942         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35943         (__SNSECONDS_T_TYPE): Likewise.
35944
35945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35946
35947         * sysdeps/mach/hurd/bits/typesizes.h
35948         (__SYSCALL_SLONG_TYPE): New macro.
35949         (__SYSCALL_ULONG_TYPE): Likewise.
35950
35951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35952
35953         * bits/types.h (__syscall_slong_t): New type.
35954         (__syscall_ulong_t): Likewise.
35955
35956         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35957         (__SYSCALL_ULONG_TYPE): Likewise.
35958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35959         (__SYSCALL_SLONG_TYPE): Likewise.
35960         (__SYSCALL_ULONG_TYPE): Likewise.
35961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35962         (__SYSCALL_SLONG_TYPE): Likewise.
35963         (__SYSCALL_ULONG_TYPE): Likewise.
35964         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35965         (__SYSCALL_SLONG_TYPE): Likewise.
35966         (__SYSCALL_ULONG_TYPE): Likewise.
35967
35968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35969
35970         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35971         Add sigaltstack-offsets.sym.
35972         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35973         <sigaltstack-offsets.h>.
35974         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35975         longjmp_msg pointer.
35976         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35977         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35978         signal stack.
35979         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35980
35981 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35982
35983         * elf/stackguard-macros.h: Remove file.
35984         * sysdeps/generic/stackguard-macros.h: New file.
35985         * sysdeps/i386/stackguard-macros.h: Likewise.
35986         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35987         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35988         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35989         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35990         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35991         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35992         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35993         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35994         <elf/stackguard-macros.h>.
35995
35996         [BZ #14109]
35997         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35998         __aligned__ in attribute.
35999         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36000         (gregset_t): Likewise.
36001
36002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36003
36004         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36005         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36006         * sysdeps/x86_64/x32/Implies-after: New file.
36007
36008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36009
36010         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36011         and access return value for _dl_profile_fixup.  Use R10_LP to
36012         load frame size.
36013
36014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36015
36016         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36017
36018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36019
36020         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36021         * sysdeps/x86_64/x32/sysdep.h: New file.
36022
36023 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36024
36025         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36026         * sysdeps/x86_64/setjmp.S: Likewise.
36027
36028 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36029
36030         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36031         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36032         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36033         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36034         remove unused global constant.
36035
36036 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36037
36038         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36039         include of <not-cancel.h>.
36040
36041 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36042
36043         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36044
36045 2012-05-15  Jeff Law  <law@redhat.com>
36046             Andreas Jaeger  <aj@suse.de>
36047
36048         [BZ #13594]
36049         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36050         out from...
36051         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36052         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36053         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36054         code changing __hst_map_handle.map.
36055
36056 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36057
36058         * configure.in (sysnames): Look for Implies-before and Implies-after
36059         files.
36060         * configure: Regenerated.
36061
36062 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36063
36064         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36065         8-byte data alignment with LP_SIZE alignment.
36066
36067 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36068
36069         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36070         into R10_LP.
36071
36072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36073
36074         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36075
36076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36077
36078         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36079         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36080         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36081         Likewise.
36082         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36083
36084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36085
36086         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36087         (stackinfo_sub_sp): Likewise.
36088
36089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36090
36091         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36092         RAX_LP.
36093
36094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36095
36096         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36097         into R*_LP.
36098
36099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36100
36101         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36102         sizes into R*_LP.
36103
36104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36105
36106         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36107
36108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36109
36110         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36111         into R11_LP and load __x86_64_shared_cache_size_half into
36112         R8_LP.
36113
36114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36115
36116         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36117         R8_LP.
36118
36119 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36120
36121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36122         logb for POWER7.
36123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36124         logbf for POWER7.
36125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36126         logbl for POWER7.
36127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36128         powerpc32/power7/fpu/s_logb.c via #include.
36129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36130         powerpc32/power7/fpu/s_logbf.c via #include.
36131         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36132         powerpc32/power7/fpu/s_logbl.c via #include.
36133
36134 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36135
36136         * README.libm: Remove file.
36137
36138 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36139
36140         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36141         count for x32.  Use R*_LP and omit operand-size suffix.
36142
36143 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36144
36145         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36146         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36147         * sysdeps/x86_64/x32/shlib-versions: New file.
36148
36149 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36150
36151         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36152         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36153         Use _dl_fatal_printf instead.
36154
36155 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36156
36157         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36158         set if not set by the user.  Do not allow for being unset.
36159         * sysdeps/unix/sysv/linux/configure: Regenerated.
36160
36161 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36162
36163         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36164         the `q' suffix from lea and replace .quad with ASM_ADDR.
36165
36166 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36167
36168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36169         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36170         instead of $17.
36171         (PTR_DEMANGLE): Likewise.
36172
36173 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36174
36175         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36176         (LP_OP): Likewise.
36177         (ASM_ADDR): Likewise.
36178         (RAX_LP): Likewise.
36179         (RBP_LP): Likewise.
36180         (RBX_LP): Likewise.
36181         (RCX_LP): Likewise.
36182         (RDI_LP): Likewise.
36183         (RSI_LP): Likewise.
36184         (RSP_LP): Likewise.
36185         (R8_LP): Likewise.
36186         (R9_LP): Likewise.
36187         (R10_LP): Likewise.
36188         (R10_LP): Likewise.
36189         (R11_LP): Likewise.
36190         (R12_LP): Likewise.
36191         (R13_LP): Likewise.
36192         (R14_LP): Likewise.
36193         (R15_LP): Likewise.
36194
36195 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36196
36197         * sysdeps/x86_64/x32/dl-machine.h: New file.
36198
36199 2012-05-14  Andreas Jaeger  <aj@suse.de>
36200
36201         * manual/Makefile (subdir): Remove export of subdir.
36202         (all): Remove target.
36203         (.PHONY): Remove all from list.
36204         (mkinstalldirs): Remove.
36205         (.PHONY): Remove installdirs from list.
36206         ($(inst_infodir)/libc.info): Use make-target-directory.
36207         (installdirs): Remove.
36208         (subdir_%): Remove.
36209         (glibc-targets): Remove.
36210         (lib): Remove.
36211         (stubs): Remove.
36212         ($(objpfx)stubs ../po/manual.pot): Remove.
36213         ($(objpfx)stamp%): Remove.
36214         (make-target-directory): Remove.
36215         (subdir_install): Remove.
36216         (routines): Remove.
36217         (aux): Remove.
36218         (sources): Remove.
36219         (objects): Remove.
36220         (headers): Remove.
36221
36222         [BZ #13750]
36223         * manual/.gitignore: Remove, it's not needed anymore.
36224         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36225         all files in it.
36226         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36227         directory.
36228         (texis): Renamed to $(objpfx)texis.
36229         (texis-path): New, contains path to generated files.
36230         (chapters.%): Use texis-path for complete path, add extra argument
36231         libc-texinfo.sh.
36232         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36233         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36234         (summary,texi, stamp-summary): Use complete path of
36235         files. Generate files in build dir.
36236         (dir-add.texi): Build in build dir.
36237         (libm-err.texi,stamp-libm-err): Likewise.
36238         (version.texi, stamp-version): Likewise.
36239         (.%c.texi): Likewise.
36240         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36241         (mostlyclean): Remove target.
36242         (realclean): Remove target.
36243         (generated): Add new variable with contents from mostlyclean and
36244         realclean, remove entries duplicated in common-mostlyclean, add
36245         stamp-libm-err and stamp-version.
36246         (generated-dirs): Add libc directory.
36247         ($(inst_infodir)/libc.info): Install files from build dir.
36248
36249         * manual/install.texi (Configuring and compiling): Adjust since
36250         the info files are not part of the tar ball anymore.
36251
36252 2012-05-14  Andreas Jaeger  <aj@suse.de>
36253
36254         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36255         variable.
36256
36257 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36258
36259         [BZ #13717]
36260         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36261         to 2.2.0 where earlier.
36262         * sysdeps/unix/sysv/linux/configure: Regenerated.
36263         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36264         Remove conditional code.
36265         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36266         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36267         Remove conditional code.
36268         [!__NR_lchown]: Likewise.
36269         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36270         [__NR_lchown]: Likewise.
36271         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36272         comment referencing __ASSUME_LCHOWN_SYSCALL.
36273         * sysdeps/unix/sysv/linux/i386/sigaction.c
36274         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36275         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36276         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36277         Remove conditional code.
36278         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36279         (__protocol_available): Remove #if 0 code.
36280         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36281         conditional code.
36282         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36283         * sysdeps/unix/sysv/linux/kernel-features.h
36284         (__ASSUME_GETCWD_SYSCALL): Don't define.
36285         (__ASSUME_REALTIME_SIGNALS): Likewise.
36286         (__ASSUME_PREAD_SYSCALL): Likewise.
36287         (__ASSUME_PWRITE_SYSCALL): Likewise.
36288         (__ASSUME_POLL_SYSCALL): Likewise.
36289         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36290         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36291         non-SPARC.
36292         (__ASSUME_SIOCGIFNAME): Don't define.
36293         (__ASSUME_MSG_NOSIGNAL): Likewise.
36294         (__ASSUME_SENDFILE): Define unconditionally.
36295         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36296         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36297         conditional code.
36298         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36299         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36300         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36301         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36302         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36303         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36304         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36306         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36309         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36310         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36315         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36316         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36318         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36321         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36322         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36324         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36327         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36328         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36329         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36330         Remove conditional code.
36331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36332         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36333         Remove conditional code.
36334         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36335         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36336         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36337         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36338         Remove conditional code.
36339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36340         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36341         Remove conditional code.
36342         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36343         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36344         Remove conditional code.
36345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36346         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36347         Remove conditional code.
36348         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36349         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36350         Remove conditional code.
36351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36352         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36353         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36354         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36355         * sysdeps/unix/sysv/linux/sigaction.c
36356         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36357         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36358         * sysdeps/unix/sysv/linux/sigpending.c
36359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36361         * sysdeps/unix/sysv/linux/sigprocmask.c
36362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36364         * sysdeps/unix/sysv/linux/sigsuspend.c
36365         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36366         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36367         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36368         (__libc_missing_rt_sigs): Remove.
36369         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36370         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36371         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36372         Remove conditional code.
36373         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36374         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36375         return 1.
36376         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36377         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36378         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36379         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36380
36381 2012-05-14  Andreas Jaeger  <aj@suse.de>
36382
36383         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36384         it's not used in glibc.
36385         (__coshm1): Likewise.
36386         (__acosh1p): Likewise.
36387         (__sgn): Likewise.
36388
36389         * manual/string.texi (Copying and Concatenation): Add missing
36390         variable in concat example.
36391         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36392
36393 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36394
36395         [BZ #14103]
36396         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36397         __builtin_clzl with __builtin_clzll.
36398
36399 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36400
36401         [BZ #14104]
36402         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36403         libc_freeres_ptr.
36404
36405 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36406
36407         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36408         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36409         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36410         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36411
36412 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36413
36414         * NEWS: Update ia64 info.
36415
36416 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36417
36418         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36419         used as bcopy.
36420
36421 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36422
36423         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36424         * sysdeps/unix/syscalls.list (dup3): Likewise.
36425         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36426         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36427
36428 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36429
36430         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36431         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36432
36433 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36434
36435         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36436         thread pointer.
36437         (TLS_IE): Use mov/add instead of movq/addq to load thread
36438         pointer.
36439         (TLS_GD_PREFIX): New.
36440         (TLS_GD): Use it.
36441
36442 2012-05-11  David S. Miller  <davem@davemloft.net>
36443
36444         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36445         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36446         (_FPU_SETCW): Likewise.
36447
36448 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36449
36450         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36451         is 32-byte aligned.
36452
36453 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36454
36455         [BZ #11837]
36456         * iconvdata/gb18030.c: Update tables.
36457         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36458         characters specially.
36459         (BODY for TO_LOOP): Add encoding of missing ranges.
36460
36461 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36462
36463         [BZ #13673]
36464         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36465         * sysdeps/mach/hurd/dup3.c: Likewise.
36466         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36467         * sysdeps/powerpc/memmove.c:: Likewise.
36468
36469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36470
36471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36472         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36473
36474 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36475
36476         * elf/elf.h (R_X86_64_RELATIVE64): New.
36477         (R_X86_64_NUM): Updated.
36478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36479         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36480         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36481         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36482         tst-quad1pie tst-quad2pie
36483         (modules-names): Add tst-quadmod1 tst-quadmod2.
36484         ($(objpfx)tst-quad1): New dependency.
36485         ($(objpfx)tst-quad2): Likewise.
36486         ($(objpfx)tst-quad1pie): Likewise.
36487         ($(objpfx)tst-quad2pie): Likewise.
36488         * sysdeps/x86_64/tst-quad1.c: New file.
36489         * sysdeps/x86_64/tst-quad1pie.c: New file.
36490         * sysdeps/x86_64/tst-quad2.c: Likewise.
36491         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36492         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36493         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36494         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36495         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36496
36497 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36498
36499         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36500         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36501         * streams/stropts.h (t_scalar_t): Define type.
36502
36503         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36504         (_PATH_PRESERVE): Set to "/var/lib".
36505         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36506
36507         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36508         instead of int.
36509
36510         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36511         if __dir_mkfile succeeded.
36512
36513         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36514         checking for _hurd_dtablesize.  Unlock it right after having
36515         finished _hurd_dtable allocation.
36516
36517 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36518
36519         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36520         * sysdeps/mach/hurd/configure: Regenerated.
36521         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36522         special-casing to...
36523         * sysdeps/gnu/configure.in: ... this new file.
36524         * sysdeps/unix/sysv/linux/configure: Regenerated.
36525         * sysdeps/gnu/configure: New generated file.
36526
36527         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36528         for Linux: use nsec instead of usec, as well as:
36529         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36530         members of type struct timespec.
36531         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36532         New macros.
36533         (struct stat64): Likewise.
36534         (_STATBUF_ST_NSEC): New macro.
36535         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36536
36537         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36538         __strtoul_internal rather than strtoul.
36539
36540 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36541
36542         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36543         and reject them.
36544
36545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36546
36547         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36548         which preserves existing values.
36549         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36550
36551 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36552
36553         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36554         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36555         greater than FD_SETSIZE.
36556
36557 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36558
36559         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36560         allocated, call __vm_protect to finish enabling the existing space, and
36561         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36562         allocate the remainder.
36563
36564 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36565
36566         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36567         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36568
36569 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36570
36571         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36572         sysdeps/mach/hurd/readlink.c.
36573
36574         * posix/tst-sysconf.c (posix_options): Only use
36575         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36576         _POSIX_SYNCHRONIZED_IO when they are defined
36577         * sysdeps/mach/hurd/bits/posix_opt.h:
36578         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36579         (_XOPEN_REALTIME): Undefine macro.
36580         (_XOPEN_REALTIME_THREADS): Undefine macro.
36581         (_XOPEN_SHM): Undefine macro.
36582         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36583         macro to -1.
36584         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36585         macro to -1.
36586         (_POSIX_ASYNC_IO): Undefine macro.
36587         (_POSIX_PRIORITIZED_IO): Undefine macro.
36588         (_POSIX_SPIN_LOCKS): Define macro to -1.
36589
36590         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36591         SA_NODEFER, SA_RESETHAND.
36592         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36593         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36594         F_DUPFD_CLOEXEC.
36595
36596 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36597
36598         * elf/Makefile (pldd-modules): Define unconditionally.
36599
36600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36601
36602         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36603
36604 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36605
36606         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36607         Return ENOENT when name is empty.
36608         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36609
36610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36611
36612         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36613
36614         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36615
36616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36617
36618         Fix mlock in all cases except non-readable pages.
36619         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36620         instead of VM_PROT_ALL as parameter to __vm_wire function.
36621
36622         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36623         (__mkdir): When path is `/', just fail with EEXIST.
36624         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36625
36626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36627
36628         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36629         <sys/uio.h> (for writev).
36630         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36631         and <sys/param.h> (for MIN).
36632
36633 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36634
36635         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36636         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36637         if interrupted.
36638
36639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36640
36641         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36642         Depend on against $(link-rpcuserlibs).
36643
36644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36645
36646         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36647         (__libc_stack_end): Do not use attribute_relro.
36648         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36649         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36650         to libthread-provided value.
36651         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36652         attribute_relro.
36653
36654 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36655
36656         [BZ #3748]
36657         * bits/libc-lock.h (__libc_once_get): New macro.
36658         * sysdeps/mach/bits/libc-lock.h: Likewise.
36659         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36660         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36661         instead of using implementation details.
36662
36663         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36664         * libio/freopen.c: Likewise.
36665         * libio/freopen64.c: Likewise.
36666         * misc/syslog.c: Likewise.
36667         * nscd/connections.c: Likewise.
36668         * nscd/netgroupcache.c: Likewise.
36669         * sysdeps/posix/getcwd.c: Likewise.
36670
36671 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36672
36673         * math/w_ilogbf.c: Add #include <limits.h>.
36674
36675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36676
36677         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36678         path instead of returning without unlocking.
36679
36680         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36681         immediate-write ioctls.
36682         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36683
36684 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36685
36686         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36687         __builtin_frame_address instead of making assumptions about the
36688         location of the return address relative to DATA.  Force early load of
36689         the return address.
36690         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36691         __builtin_frame_address.
36692
36693         dup3 for GNU Hurd.
36694         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36695         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36696         implement dup3 and do some further code clean-ups.
36697         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36698         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36699
36700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36701
36702         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36703
36704         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36705         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36706         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36707         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36708         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36709         d->port.lock.
36710
36711         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36712         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36713         when handler == SIG_ERR, not when handler != SIG_ERR.
36714
36715 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36716
36717         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36718         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36719         definitions.
36720
36721         accept4 for GNU Hurd.
36722         * include/sys/socket.h (__libc_accept4): New prototype.
36723         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36724         to implement __libc_accept4.
36725         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36726         __libc_accept4.
36727         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36728
36729         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36730         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36731         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36732         signal-defines.sym.
36733
36734 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36735
36736         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36737
36738 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36739
36740         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36741         assertion on O_CLOEXEC flag.
36742         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36743         * hurd/intern-fd.c: Likewise.
36744         * hurd/port2fd.c: Likewise.
36745
36746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36747
36748         [BZ #3906]
36749         * bits/in.h (IPV6_PKTINFO): Define new macro.
36750         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36751
36752 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36753
36754         [BZ #13954]
36755         [BZ #13955]
36756         [BZ #13956]
36757         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36758         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36759         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36760         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36761         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36762         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36763         * math/libm-test.inc (logb_test) : Additional logb tests.
36764
36765 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36766             Andreas Jaeger  <aj@suse.de>
36767
36768         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36769         * configure: Regenerated.
36770         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36771         * config.make.in (link-obsolete-rpc): New substituted variable.
36772         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36773         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36774         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36775         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36776         so that libc.a contains the symbols.
36777         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36778         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36779         * sunrpc/auth_none.c: Likewise.
36780         * sunrpc/auth_unix.c: Likewise.
36781         * sunrpc/authdes_prot.c: Likewise.
36782         * sunrpc/authuxprot.c: Likewise.
36783         * sunrpc/clnt_gen.c: Likewise.
36784         * sunrpc/clnt_perr.c: Likewise.
36785         * sunrpc/clnt_raw.c: Likewise.
36786         * sunrpc/clnt_simp.c: Likewise.
36787         * sunrpc/clnt_tcp.c: Likewise.
36788         * sunrpc/clnt_udp.c: Likewise.
36789         * sunrpc/clnt_unix.c: Likewise.
36790         * sunrpc/des_crypt.c: Likewise.
36791         * sunrpc/des_soft.c: Likewise.
36792         * sunrpc/get_myaddr.c: Likewise.
36793         * sunrpc/key_call.c: Likewise.
36794         * sunrpc/key_prot.c: Likewise.
36795         * sunrpc/netname.c: Likewise.
36796         * sunrpc/pm_getmaps.c: Likewise.
36797         * sunrpc/pm_getport.c: Likewise.
36798         * sunrpc/pmap_clnt.c: Likewise.
36799         * sunrpc/pmap_prot.c: Likewise.
36800         * sunrpc/pmap_prot2.c: Likewise.
36801         * sunrpc/pmap_rmt.c: Likewise.
36802         * sunrpc/publickey.c: Likewise.
36803         * sunrpc/rpc_cmsg.c: Likewise.
36804         * sunrpc/rpc_common.c: Likewise.
36805         * sunrpc/rpc_dtable.c: Likewise.
36806         * sunrpc/rpc_prot.c: Likewise.
36807         * sunrpc/rpc_thread.c: Likewise.
36808         * sunrpc/rtime.c: Likewise.
36809         * sunrpc/svc.c: Likewise.
36810         * sunrpc/svc_auth.c: Likewise.
36811         * sunrpc/svc_raw.c: Likewise.
36812         * sunrpc/svc_run.c: Likewise.
36813         * sunrpc/svc_tcp.c: Likewise.
36814         * sunrpc/svc_udp.c: Likewise.
36815         * sunrpc/svc_unix.c: Likewise.
36816         * sunrpc/svcauth_des.c: Likewise.
36817         * sunrpc/xcrypt.c: Likewise.
36818         * sunrpc/xdr.c: Likewise.
36819         * sunrpc/xdr_array.c: Likewise.
36820         * sunrpc/xdr_float.c: Likewise.
36821         * sunrpc/xdr_intXX_t.c: Likewise.
36822         * sunrpc/xdr_mem.c: Likewise.
36823         * sunrpc/xdr_rec.c: Likewise.
36824         * sunrpc/xdr_ref.c: Likewise.
36825         * sunrpc/xdr_sizeof.c: Likewise.
36826         * sunrpc/xdr_stdio.c: Likewise.
36827
36828 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36829
36830         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36831         change.  Update copyright years.
36832
36833 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36834
36835         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36836
36837 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36838             Joseph Myers  <joseph@codesourcery.com>
36839             Paul Pluzhnikov  <ppluzhnikov@google.com>
36840
36841         [BZ #14012]
36842         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36843         requiring rpcgen.
36844         [cross-compiling] (extra-libs): Likewise.
36845         [cross-compiling] (extra-libs-others): Likewise.
36846         [cross-compiling] (librpcsvc-routines): Likewise.
36847         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36848         [cross-compiling] (omit-deps): Likewise.
36849         (sunrpc-CPPFLAGS): New variable.
36850         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36851         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36852         (cross-rpcgen-objs): New variable.
36853         (extra-objs): Append $(cross-rpcgen-objs).
36854         ($(cross-rpcgen-objs)): New rule.
36855         ($(objpfx)cross-rpcgen): Likewise.
36856         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36857         comment.
36858         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36859         ($(objpfx)x%.stmp): Likewise.
36860         * sunrpc/proto.h [IS_IN_build] (_): Define.
36861         [IS_IN_build] (_libc_intl_domainname): Likewise.
36862
36863 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36864
36865         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36866         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36867         and R_X86_64_TPOFF64.
36868
36869 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36870
36871         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36872         sysdeps/unix/sysv/syscalls.list.
36873         (stime): Likewise.
36874         (utime): Likewise.
36875         * sysdeps/unix/sysv/syscalls.list: Remove file.
36876
36877 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36878
36879         [BZ #3440]
36880         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36881         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36882         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36883         (__LC_IDENTIFICATION): Make these macros useful in #if
36884         expressions, as required by C99.
36885
36886 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36887
36888         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36889         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36890         after this.
36891
36892 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36893
36894         * stdlib/longlong.h: Updated from GCC.
36895
36896 2012-05-09  Andreas Jaeger  <aj@suse.de>
36897
36898         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36899         default is first entry.
36900         (run_mode): Set type.
36901         (main): Remove informal message about syslog.
36902         (options): Fix typo.
36903
36904         [BZ #14053]
36905         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36906         to asm.
36907         (lrint): Likewise.
36908         (llrintf): Likewise.
36909         (llrint): Likewise.
36910         (rint): Likewise.
36911         (rintf): Likewise.
36912         (nearbyint): Likewise.
36913         (nearbyintf): Likewise.
36914
36915 2012-05-09  Andreas Jaeger  <aj@suse.de>
36916             Pedro Alves  <palves@redhat.com>
36917
36918         * nscd/nscd.c (run_mode): Use enum.
36919         (main): Cleanup coding style issue.
36920
36921 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36922             Andreas Jaeger  <aj@suse.de>
36923
36924         * nscd/nscd.c (go_background): Replaced with...
36925         (run_mode): ... this.
36926         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36927         (options): Add -F --foreground.
36928         (main): Implement it.
36929         (parse_opt): Parse it.
36930
36931 2012-05-09  Andreas Jaeger  <aj@suse.de>
36932
36933         [BZ #14083]
36934         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36935         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36936         -Wconversion warning.
36937         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36938         Likewise.
36939
36940 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36941
36942         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36943         == 0.
36944         (LC_ALL): Use macro-int-constant.
36945         (LC_COLLATE): Likewise.
36946         (LC_CTYPE): Likewise.
36947         (LC_MESSAGES): Likewise.
36948         (LC_MONETARY): Likewise.
36949         (LC_NUMERIC): Likewise.
36950         (LC_TIME): Likewise.
36951         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36952         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36953         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36954         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36955         Specify type.
36956         [C99-based standards] (float_t): Expect type.
36957         [C99-based standards] (double_t): Expect type.
36958         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36959         type.
36960         [C99-based standards] (HUGE_VALL): Likewise.
36961         [C99-based standards] (INFINITY): Likewise.
36962         [C99-based standards] (NAN): Likewise.
36963         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36964         [C99-based standards] (FP_NAN): Likewise.
36965         [C99-based standards] (FP_NORMAL): Likewise.
36966         [C99-based standards] (FP_SUBNORMAL): Likewise.
36967         [C99-based standards] (FP_ZERO): Likewise.
36968         [C99-based standards] (FP_FAST_FMA): Use
36969         optional-macro-int-constant.  Specify type.  Require == 1.
36970         [C99-based standards] (FP_FAST_FMAF): Likewise.
36971         [C99-based standards] (FP_FAST_FMAL): Likewise.
36972         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36973         [C99-based standards] (FP_ILOGBNAN): Likewise.
36974         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36975         Specify type.
36976         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36977         [C99-based standards] (math_errhandling): Specify type.
36978         [ISO99 || ISO11] (signgam): Do not allow.
36979         [non-C99-based standards] (copysignf): Do not allow.
36980         [non-C99-based standards] (exp2f): Likewise.
36981         [non-C99-based standards] (log2f): Likewise.
36982         [non-C99-based standards] (modff): Allow.
36983         [non-C99-based standards] (erff): Do not allow.
36984         [non-C99-based standards] (erfcf): Likewise.
36985         [non-C99-based standards] (gammaf): Likewise.
36986         [non-C99-based standards] (hypotf): Likewise.
36987         [non-C99-based standards] (j0f): Likewise.
36988         [non-C99-based standards] (j1f): Likewise.
36989         [non-C99-based standards] (jnf): Likewise.
36990         [non-C99-based standards] (lgammaf): Likewise.
36991         [non-C99-based standards] (tgammaf): Likewise.
36992         [non-C99-based standards] (y0f): Likewise.
36993         [non-C99-based standards] (y1f): Likewise.
36994         [non-C99-based standards] (ynf): Likewise.
36995         [non-C99-based standards] (isnanf): Likewise.
36996         [non-C99-based standards] (acoshf): Likewise.
36997         [non-C99-based standards] (asinhf): Likewise.
36998         [non-C99-based standards] (atanhf): Likewise.
36999         [non-C99-based standards] (cbrtf): Likewise.
37000         [non-C99-based standards] (expm1f): Likewise.
37001         [non-C99-based standards] (ilogbf): Likewise.
37002         [non-C99-based standards] (log1pf): Likewise.
37003         [non-C99-based standards] (logbf): Likewise.
37004         [non-C99-based standards] (nextafterf): Likewise.
37005         [non-C99-based standards] (remainderf): Likewise.
37006         [non-C99-based standards] (rintf): Likewise.
37007         [non-C99-based standards] (scalbf): Likewise.
37008         [non-C99-based standards] (copysignl): Likewise.
37009         [non-C99-based standards] (exp2l): Likewise.
37010         [non-C99-based standards] (log2l): Likewise.
37011         [non-C99-based standards] (modfl): Allow.
37012         [non-C99-based standards] (erfl): Do not allow.
37013         [non-C99-based standards] (erfcl): Likewise.
37014         [non-C99-based standards] (gammal): Likewise.
37015         [non-C99-based standards] (hypotl): Likewise.
37016         [non-C99-based standards] (j0l): Likewise.
37017         [non-C99-based standards] (j1l): Likewise.
37018         [non-C99-based standards] (jnl): Likewise.
37019         [non-C99-based standards] (lgammal): Likewise.
37020         [non-C99-based standards] (tgammal): Likewise.
37021         [non-C99-based standards] (y0l): Likewise.
37022         [non-C99-based standards] (y1l): Likewise.
37023         [non-C99-based standards] (ynl): Likewise.
37024         [non-C99-based standards] (isnanl): Likewise.
37025         [non-C99-based standards] (acoshl): Likewise.
37026         [non-C99-based standards] (asinhl): Likewise.
37027         [non-C99-based standards] (atanhl): Likewise.
37028         [non-C99-based standards] (cbrtl): Likewise.
37029         [non-C99-based standards] (expm1l): Likewise.
37030         [non-C99-based standards] (ilogbl): Likewise.
37031         [non-C99-based standards] (log1pl): Likewise.
37032         [non-C99-based standards] (logbl): Likewise.
37033         [non-C99-based standards] (nextafterl): Likewise.
37034         [non-C99-based standards] (remainderl): Likewise.
37035         [non-C99-based standards] (rintl): Likewise.
37036         [non-C99-based standards] (scalbl): Likewise.
37037         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37038         [non-C99-based standards] (FP_*): Do not allow.
37039         [C99-based standards] (FP_*): Change to
37040         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37041         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37042         allow.
37043         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37044         (SIG_ERR): Likewise.
37045         [X/Open-based standards] (SIG_HOLD): Likewise.
37046         (SIG_IGN): Likewise.
37047         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37048         positive value.
37049         (SIGFPE): Likewise.
37050         (SIGILL): Likewise.
37051         (SIGINT): Likewise.
37052         (SIGSEGV): Likewise.
37053         (SIGTER): Likewise.
37054         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37055         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37056         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37057         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37058         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37059         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37060         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37061         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37062         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37063         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37064         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37065         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37066         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37067         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37068         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37069         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37070         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37071         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37072         [X/Open-based standards] (SIGTRAP): Likewise.
37073         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37074         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37075         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37076         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37077         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37078         allow.
37079
37080 2012-05-08  Ian Wienand  <ianw@vmware.com>
37081
37082         [BZ #14080]
37083         * time/tzset.c (__tzset_parse_tz): Update default rules for
37084         daylight time changes in the Energy Policy Act of 2005.
37085
37086 2012-05-09  Andreas Jaeger  <aj@suse.de>
37087
37088         [BZ #13983]
37089         * elf/ldconfig.c (parse_conf): Change string to make clear that
37090         ldconfig only issued a warning if ld.so.conf does not exist.
37091
37092 2012-05-08  David S. Miller  <davem@davemloft.net>
37093
37094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37095         movxtod instead of popping the value on the stack.
37096
37097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37098
37099 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37100
37101         * config.h.in: Add HAVE_ARM_PCS_VFP.
37102
37103 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37104
37105         [BZ #13979]
37106         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37107         checking but the checks are disabled for any reason.
37108
37109 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37110
37111         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37112         and ELF64_R_TYPE with ELFW(R_TYPE).
37113
37114 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37115
37116         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37117         (ulimit): Likewise.
37118
37119         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37120         (settimeofday): Likewise.
37121
37122 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37123
37124         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37125         a struct th_u2 inside the union, and move tu_block/tu_code into
37126         a new th_u3 union of tu_block/tu_code inside of that.  Move
37127         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37128         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37129         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37130         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37131         (th_stuff): Change to th_u1.tu_stuff.
37132         (th_data): Define.
37133         (th_msg): Change to th_u1.th_u2.tu_data.
37134
37135 2012-05-07  David S. Miller  <davem@davemloft.net>
37136
37137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37138
37139         [BZ #14074]
37140         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37141         (SETUP_PIC_REG): Use it.
37142         (SETUP_PIC_REG_LEAF): Use it.
37143
37144 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37145
37146         [BZ #13885]
37147         [BZ #13923]
37148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37149         USE_AS_EXPM1L.
37150         (EXPL_FINITE): Likewise.
37151         (FLDLOG): Likewise.
37152         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37153         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37154         e_expl.S.
37155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37156         USE_AS_EXPM1L.
37157         (EXPL_FINITE): Likewise.
37158         (FLDLOG): Likewise.
37159         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37160         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37161         e_expl.S.
37162         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37163         test of -max_value argument for long double.
37164         * sysdeps/i386/fpu/libm-test-ulps: Update.
37165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37166
37167 2012-05-06  David S. Miller  <davem@davemloft.net>
37168
37169         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37170         quad soft-float symbols whose references which are compiler
37171         generated.
37172         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37173
37174 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37175
37176         [BZ #13884]
37177         [BZ #13914]
37178         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37179         USE_AS_EXP10L.
37180         (EXPL_FINITE): Likewise.
37181         (FLDLOG): Likewise.
37182         (c0): Likewise.
37183         (c1): Likewise.
37184         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37185         Adjust comments for base varying.
37186         (__expl_finite): Change alias to EXPL_FINITE.
37187         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37188         e_expl.S.
37189         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37190         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37191         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37192         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37194         USE_AS_EXP10L.
37195         (EXPL_FINITE): Likewise.
37196         (FLDLOG): Likewise.
37197         (c0): Likewise.
37198         (c1): Likewise.
37199         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37200         Adjust comments for base varying.
37201         (__expl_finite): Change alias to EXPL_FINITE.
37202         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37203         tests for bugs.
37204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37205
37206         [BZ #14064]
37207         * math/libm-test.inc (check_float_internal): Correct ulp
37208         calculation for subnormal expected results.
37209
37210 2012-05-06  Andreas Jaeger  <aj@suse.de>
37211
37212         * Makeconfig (+math-flags): New, set to -frounding-math.
37213         (+cflags): Add +math-flags so that all of glibc gets compiled with
37214         it.
37215
37216         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37217
37218 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37219
37220         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37221         Disable one test.
37222
37223         [BZ #13787]
37224         [BZ #13922]
37225         [BZ #14036]
37226         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37227         (__ieee754_expl): Allow for and saturate large arguments.
37228         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37229         (u_threshold): Likewise.
37230         (__exp): Call __ieee754_exp before checking for overflow and
37231         underflow.
37232         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37233         (u_threshold): Likewise.
37234         (__expf): Call __ieee754_expf before checking for overflow and
37235         underflow.
37236         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37237         (u_threshold): Likewise.
37238         (__expl): Call __ieee754_expl before checking for overflow and
37239         underflow.
37240         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37241         (__ieee754_expl): Allow for and saturate large arguments.
37242         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37243         missing overflow exception on overflow.
37244         (expm1_test): Do not allow missing overflow exception on overflow.
37245
37246         * sysdeps/i386/fpu/e_expl.c: Move to ...
37247         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37248         rather than using inline asm.
37249         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37250         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37251         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37252
37253         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37254         (nice): Likewise.
37255         (poll): Likewise.
37256         (signal): Likewise.
37257         (time): Likewise.
37258         (times): Likewise.
37259
37260 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37261
37262         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37263         sysdeps/unix/common/syscalls.list.
37264         (fchmod): Likewise.
37265         (fchown): Likewise.
37266         (ftruncate): Likewise.
37267         (getrusage): Likewise.
37268         (gettimeofday): Likewise.
37269         (setpgid): Likewise.
37270         (setregid): Likewise.
37271         (setreuid): Likewise.
37272         (sigaction): Likewise.
37273         (truncate): Likewise.
37274         (vhangup): Likewise.
37275         * sysdeps/unix/common/syscalls.list: Remove file.
37276         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37277         * sysdeps/unix/sysv/linux/Implies: Likewise.
37278
37279 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37280
37281         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37283         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37284         Moved to ...
37285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37286         Here.
37287         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37288         to ...
37289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37290         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37291         to ...
37292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37293         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37294         to ...
37295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37296         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37297         to ...
37298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37299         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37300         to ...
37301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37302         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37303         to ...
37304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37305         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37306         to ...
37307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37308         Here.
37309         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37310         to ...
37311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37312         Here.
37313         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37314         to ...
37315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37316         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37317         Moved to ...
37318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37319         Here.
37320         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37321         to ...
37322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37323
37324 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37325
37326         * sysdeps/unix/common/bits/dirent.h: Remove file.
37327         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37328
37329         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37330         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37331         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37332         * sysdeps/unix/bsd/isatty.c: Likewise.
37333         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37334         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37335         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37336
37337 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37338
37339         [BZ #13563]
37340         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37341         long double comparison inaccuracies.
37342         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37344
37345 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37346
37347         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37348         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37349
37350 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37351
37352         [BZ #14049]
37353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37354         nonzero digits before rounding a hex value.
37355         * stdlib/tst-strtod.c (tests): Add another test.
37356
37357 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37358
37359         * sysdeps/s390/fpu/libm-test-ulps: Update.
37360
37361 2012-05-03  Andreas Jaeger  <aj@suse.de>
37362
37363         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37364         does not get optimized out.
37365         (malloc_opt_barrier): New.
37366
37367 2012-05-03  Andreas Jaeger  <aj@suse.de>
37368             Roland McGrath  <roland@hack.frob.com>
37369
37370         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37371         intermediate file deletion.
37372         (generated): Add .symlist files.
37373
37374 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37375
37376         [BZ #13775]
37377         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37378         Redirect under this condition.
37379         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37380         [__USE_GNU] (__dprintf_chk): Not under this condition.
37381         [__USE_GNU] (__vdprintf_chk): Likewise.
37382         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37383         under this condition.
37384         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37385         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37386         [__USE_XOPEN2K8] (vdprintf): Likewise.
37387         [__USE_GNU] (__dprintf_chk): Not under this condition.
37388         [__USE_GNU] (__vdprintf_chk): Likewise.
37389         [__USE_GNU] (dprintf): Likewise.
37390         [__USE_GNU] (vdprintf): Likewise.
37391
37392 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37393
37394         * elf/Makefile (common-generated): Set this instead of generated for
37395         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37396         $(all-built-dso)-derived lists.
37397
37398 2012-05-03  Andreas Jaeger  <aj@suse.de>
37399
37400         * sysdeps/i386/fpu/libm-test-ulps: Update.
37401
37402         * FAQ: Removed.
37403         * FAQ.in: Likewise.
37404         * scripts/gen-FAQ.pl: Likewise.
37405         * manual/install.texi (Installation): Point to online location of
37406         FAQ.
37407         * Makefile (files-for-dist): Remove FAQ.
37408         (FAQ): Remove.
37409
37410 2012-05-02  Allan McRae  <allan@archlinux.org>
37411
37412         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37413         (LDFLAGS-reldepmod5.so): Likewise.
37414         (LDFLAGS-reldep6mod1.so): Likewise.
37415         (LDFLAGS-reldep6mod4.so): Likewise.
37416         (LDFLAGS-reldep8mod3.so): Likewise.
37417         (LDFLAGS-unload4mod1.so): Likewise.
37418         (LDFLAGS-unload4mod2.so): Likewise.
37419         (LDFLAGS-tst-initorder): Likewise.
37420         (LDFLAGS-tst-initordera2.so): Likewise.
37421         (LDFLAGS-tst-initordera3.so): Likewise.
37422         (LDFLAGS-tst-initordera4.so): Likewise.
37423         (LDFLAGS-tst-initorderb2.so): Likewise.
37424         (LDFLAGS-noload): Likewise.
37425         (LDFLAGS-next): Likewise.
37426         (LDFLAGS-order2mod1.so): Likewise.
37427         (LDFLAGS-order2mod2.so): Likewise.
37428         (LDFLAGS-tst-initorder2): Likewise.
37429         (LDFLAGS-tst-initorder2a.so): Likewise.
37430         (LDFLAGS-tst-initorder2b.so): Likewise.
37431         (LDFLAGS-tst-initorder2c.so): Likewise.
37432         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37433
37434 2012-05-02  David S. Miller  <davem@davemloft.net>
37435
37436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37437
37438 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37439
37440         [BZ #14055]
37441         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37442
37443 2012-05-02  Andreas Jaeger  <aj@suse.de>
37444
37445         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37446         since we manipulate rounding mode.
37447         (CPPFLAGS-test-idouble.c): Likewise.
37448         (CPPFLAGS-test-ifloat.c): Likewise.
37449         (CFLAGS-test-ldouble.c): Likewise.
37450         (CFLAGS-test-double.c): Likewise.
37451         (CFLAGS-test-float.c): Likewise.
37452         (CFLAGS-test-misc.c): Likewise.
37453         (CFLAGS-test-test-fenv.c): Likewise.
37454
37455 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37456
37457         [BZ #2550]
37458         [BZ #2570]
37459         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37460         comparisons to determine direction to adjust input.
37461
37462 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37463
37464         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37465         output to the target.
37466
37467         * scripts/localplt.awk: New file.
37468         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37469         (check-localplt-CFLAGS): Variable removed.
37470         ($(all-built-dso:=.jmprel)): New static pattern rule.
37471         (generated): Add those targets.
37472         (localplt-built-dso): New variable.
37473         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37474
37475         * elf/check-localplt.c: File removed.
37476
37477         * scripts/check-execstack.awk: New file.
37478         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37479         (check-execstack-CFLAGS): Variable removed.
37480         ($(objpfx)check-execstack.h): Target removed.
37481         ($(objpfx)execstack-default): New target.
37482         (generated): Add that instead of check-execstack.h.
37483         ($(all-built-dso:=.phdr)): New static pattern rule.
37484         (generated): Add those targets.
37485         * elf/check-execstack.c: File removed.
37486
37487         * scripts/check-textrel.awk: New file.
37488         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37489         (check-textrel-CFLAGS): Variable removed.
37490         (all-built-dso): Use := to define.o
37491         ($(all-built-dso:=.dyn)): New static pattern rule.
37492         (generated): Add those targets.
37493         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37494         * config.make.in (READELF): New substituted variable.
37495         * elf/check-textrel.c: File removed.
37496
37497 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37498
37499         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37500         allow.
37501         * conform/data/ctype.h-data [C99-based standards] (isblank):
37502         Expect function.
37503         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37504         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37505         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37506         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37507         Specify type.  Require positive value.
37508         (EILSEQ): Likewise.
37509         (ERANGE): Likewise.
37510         [ISO || POSIX] (EILSEQ): Do not expect.
37511         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37512         Specify type.  Require positive value.
37513         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37514         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37515         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37516         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37517         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37518         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37519         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37520         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37521         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37522         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37523         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37524         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37525         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37526         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37527         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37528         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37529         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37530         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37531         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37532         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37533         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37534         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37535         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37536         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37537         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37538         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37539         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37540         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37541         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37542         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37543         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37544         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37545         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37546         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37547         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37548         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37549         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37550         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37551         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37552         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37553         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37554         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37555         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37556         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37557         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37558         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37559         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37560         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37561         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37562         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37563         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37564         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37565         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37566         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37567         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37568         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37569         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37570         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37571         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37572         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37573         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37574         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37575         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37576         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37577         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37578         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37579         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37580         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37581         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37582         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37583         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37584         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37585         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37586         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37587         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37588         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37589         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37590         Require >= 2.
37591         (FLT_ROUNDS): Expect as macro, not constant.
37592         (FLT_MANT_DIG): Use macro-int-constant.
37593         (DBL_MANT_DIG): Likewise.
37594         (LDBL_MANT_DIG): Likewise.
37595         (FLT_DIG): Likewise.
37596         (DBL_DIG): Likewise.
37597         (LDBL_DIG): Likewise.
37598         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37599         (DBL_MIN_EXP): Likewise.
37600         (LDBL_MIN_EXP): Likewise.
37601         (FLT_MAX_EXP): Use macro-int-constant.
37602         (DBL_MAX_EXP): Likewise.
37603         (LDBL_MAX_EXP): Likewise.
37604         (FLT_MAX_10_EXP): Likewise.
37605         (DBL_MAX_10_EXP): Likewise.
37606         (LDBL_MAX_10_EXP): Likewise.
37607         (FLT_MAX): Use macro-constant.
37608         (DBL_MAX): Likewise.
37609         (LDBL_MAX): Likewise.
37610         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37611         (DBL_EPSILON): Likewise.
37612         (LDBL_EPSILON): Likewise.
37613         (FLT_MIN): Likewise.
37614         (DBL_MIN): Likewise.
37615         (LDBL_MIN): Likewise.
37616         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37617         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37618         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37619         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37620         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37621         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37622         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37623         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37624         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37625         [ISO11] (FLT_TRUE_MIN): Likewise.
37626         [ISO11] (LDBL_TRUE_MIN): Likewise.
37627         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37628         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37629         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37630         (SCHAR_MAX): Likewise.
37631         (UCHAR_MAX): Likewise.
37632         (CHAR_MIN): Likewise.
37633         (CHAR_MAX): Likewise.
37634         (MB_LEN_MAX): Use macro-int-constant.
37635         (SHRT_MIN): Use macro-int-constant.  Specify type.
37636         (SHRT_MAX): Likewise.
37637         (USHRT_MAX): Likewise.
37638         (INT_MAX): Likewise.
37639         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37640         bound negative.
37641         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37642         bound with "U".
37643         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37644         bound with "L".
37645         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37646         bound negative.  Suffix upper bound with "L".
37647         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37648         bound with "UL".
37649         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37650         Specify type.
37651         [C99-based standards] (LLONG_MAX): Likewise.
37652         [C99-based standards] (ULLONG_MAX): Likewise.
37653         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37654         == 0.
37655         [ISO11] (max_align_t): Require type.
37656         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37657
37658         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37659         from $CFLAGS, without defining away __attribute__ calls.
37660         (checknamespace): Use $CFLAGS_namespace.
37661
37662         * conform/conformtest.pl (@keywords): Only include C99 keywords
37663         for standards based on C99 or C11.
37664
37665         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37666         Disable tests.
37667         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37668         UNIX98]: Likewise.
37669
37670         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37671         usability of symbols in #if.
37672
37673         * conform/conformtest.pl: If macro or constant types start
37674         "promoted:", expect the symbol to be of the following type
37675         promoted by the integer promotions.
37676
37677         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37678         in one place.  Also handle "macro-constant".
37679
37680         * conform/conformtest.pl: Only accept expected macro values with
37681         "==".  Parse all "macro" lines in one place.
37682         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37683
37684         * conform/conformtest.pl: Handle braced types on "constant" lines
37685         instead of handling "typed-constant".
37686         * conform/data/signal.h-data: Use "constant" instead of
37687         "typed-constant".
37688
37689         * conform/conformtest.pl: Handle "optional-" at start of lines in
37690         one place rather than duplicating several cases.  Handle each
37691         format of "macro" line with initial "optional-".
37692
37693         * conform/conformtest.pl: Only accept expected constant or
37694         optional-constant values with "==".  Parse all "constant" lines in
37695         one place.  Parse all "optional-constant" lines in one place.
37696         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37697         * conform/data/fmtmsg.h-data: Likewise.
37698         * conform/data/netinet/in.h-data: Likewise.
37699         * conform/data/tar.h-data: Likewise.
37700         * conform/data/limits.h-data: Use "==" form on "constant" and
37701         "optional-constant" lines.
37702
37703         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37704         Use -std=c99 for XOPEN2K.
37705         (@knownproblems): Remove.
37706         (newtoken): Don't check %isknown.
37707
37708         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37709         Do not expect macro.
37710         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37722         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37723         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37740         [XPG3] (acosh): Likewise.
37741         [XPG3] (asinh): Likewise.
37742         [XPG3] (atanh): Likewise.
37743         [XPG3] (cbrt): Likewise.
37744         [XPG3] (expm1): Likewise.
37745         [XPG3] (ilogb): Likewise.
37746         [XPG3] (log1p): Likewise.
37747         [XPG3] (logb): Likewise.
37748         [XPG3] (nextafter): Likewise.
37749         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37750         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37751         [XPG3] (remainder): Likewise.
37752         [XPG3] (rint): Likewise.
37753         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37754         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37755         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37756         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37757         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37758         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37759         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37760         [UNIX98 || XOPEN2K] (scalb): Expect.
37761         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37762         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37763         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37764         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37765         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37766         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37767         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37768         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37769         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37770         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37771         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37772         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37773         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37774         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37775         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37776         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37777         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37778         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37779         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37780         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37781         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37782         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37783         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37784         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37785         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37786         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37787         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37788         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37789         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37790         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37791         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37792         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37793         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37794         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37795         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37796         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37797         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37798         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37799         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37800         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37801         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37802         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37803         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37804         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37805         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37806         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37807         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37808         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37809         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37810         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37811         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37812         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37813         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37814         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37815         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37816         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37817         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37818         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37819         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37820         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37821         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37822         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37823         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37824         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37825         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37826         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37827         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37828         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37829         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37830         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37831         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37832         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37833         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37834         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37835         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37836         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37837         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37838         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37839         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37840         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37841         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37842         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37843         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37844         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37845         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37846         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37847         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37848         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37849         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37850         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37851         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37852         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37853         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37854         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37855         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37856         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37857         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37858         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37859         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37860         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37861         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37862         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37863         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37864         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37865         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37866         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37867         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37868         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37869         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37870         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37871         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37872         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37873         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37874         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37875         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37876         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37877         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37878         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37879         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37880         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37881         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37882         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37883         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37884         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37885         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37886         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37887         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37888         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37889         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37890         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37891         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37892         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37893         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37894         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37895         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37896         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37897         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37898
37899         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37900         _XOPEN_SOURCE_EXTENDED for XPG4.
37901
37902         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37903
37904         * Makeconfig (localtime): Remove variable.
37905         (inst_localtime-file): Likewise.
37906
37907 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37908
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37910         Update.
37911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37912         Update.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37914         Update.
37915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37916         Update.
37917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37918         Update.
37919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37920         Update.
37921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37922         Update.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37924         Update.
37925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37926         Update.
37927
37928 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37929
37930         [BZ #2550]
37931         [BZ #2570]
37932         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37933         comparisons to determine direction to adjust input.
37934         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37935         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37936         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37937         Likewise.
37938         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37939         Likewise.
37940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37941         Likewise.
37942         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37943         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37944         Likewise.
37945         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37946         Likewise.
37947         * math/libm-test.inc (nexttoward_test): Add more tests.
37948
37949 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37950
37951         [BZ #14040]
37952         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37953         in version GLIBC_2.1, not GLIBC_2.0.
37954         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37955         Likewise.
37956
37957 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37958
37959         [BZ #13942]
37960         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37961         (1 - x) * (1 + x).
37962         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37963         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37964         * math/libm-test.inc (acos_test): Add more tests.
37965         (asin_test): Likewise.
37966         * sysdeps/i386/fpu/libm-test-ulps: Update.
37967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37968
37969         [BZ #14034]
37970         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37971         of square root.
37972         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37973         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37974         * math/libm-test.inc (acos_test_tonearest): New function.
37975         (acos_test_towardzero): Likewise.
37976         (acos_test_downward): Likewise.
37977         (acos_test_upward): Likewise.
37978         (asin_test_tonearest): Likewise.
37979         (asin_test_towardzero): Likewise.
37980         (asin_test_downward): Likewise.
37981         (asin_test_upward): Likewise.
37982         (main): Call the new functions.
37983         * sysdeps/i386/fpu/libm-test-ulps: Update.
37984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37985
37986         [BZ #13884]
37987         [BZ #13924]
37988         * math/e_exp10.c: Include <float.h>.
37989         (__ieee754_exp10): Handle underflow here rather than multiplying
37990         large negative argument by M_LN10.
37991         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37992         of __ieee754_expf.
37993         * math/e_exp10l.c: Include <float.h>.
37994         (__ieee754_exp10l): Handle underflow here rather than multiplying
37995         large negative argument by M_LN10l.
37996         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37997         spurious overflow exception on underflow.
37998
37999 2012-04-29  Marek Polacek  <polacek@redhat.com>
38000
38001         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38002         (__fortify_function): New macro.
38003         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38004         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38005         __extern_always_inline.
38006         * libio/bits/stdio2.h: Likewise.
38007         * libio/bits/stdio.h: Likewise.
38008         * string/string.h: Likewise.
38009         * string/bits/string3.h: Likewise.
38010         * include/stdio.h: Likewise.
38011         * stdlib/bits/stdlib.h: Likewise.
38012         * stdlib/stdlib.h: Likewise.
38013         * rt/bits/mqueue2.h: Likewise.
38014         * rt/mqueue.h: Likewise.
38015         * posix/bits/unistd.h: Likewise.
38016         * posix/unistd.h: Likewise.
38017         * io/bits/poll2.h: Likewise.
38018         * io/bits/fcntl2.h: Likewise.
38019         * io/fcntl.h: Likewise.
38020         * io/sys/poll.h: Likewise.
38021         * misc/bits/syslog.h: Likewise.
38022         * misc/bits/syslog-ldbl.h: Likewise.
38023         * misc/sys/syslog.h: Likewise.
38024         * socket/bits/socket2.h: Likewise.
38025         * socket/sys/socket.h: Likewise.
38026         * debug/tst-chk1.c: Likewise.
38027         * wcsmbs/bits/wchar2.h: Likewise.
38028         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38029         * wcsmbs/wchar.h: Likewise.
38030
38031 2012-04-29  Andreas Jaeger  <aj@suse.de>
38032
38033         * Makerules (tests): Remove enable-check-abi protection.
38034         (check-abi-warn): Remove.
38035         (check-abi-%): Remove check-abi-warn usage.
38036
38037         * configure.in: Remove check-abi configure option.
38038         * configure: Regenerated.
38039         * config.make.in (enable-check-abi): Remove.
38040
38041 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38042
38043         [BZ #14033]
38044         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38045         double functions to double *_finite functions.
38046
38047         [BZ #13941]
38048         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38049         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38050         LDBL_MIN_EXP.
38051         * stdio-common/Makefile (tests): Add tst-sprintf3.
38052         * stdio-common/tst-sprintf3.c: New file.
38053
38054         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38055         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38056
38057 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38058
38059         * conform/conformtest.pl: Remove duplicate typed-constant
38060         handling.
38061
38062 2012-04-28  David S. Miller  <davem@davemloft.net>
38063
38064         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38065         (check-abi-%): Remove AWK script prerequisite and explicit
38066         abilist directory.
38067         (check-abi): Rewrite to just diff the symlist with the abilist.
38068         (config-tls, config-abi-config): Delete, no longer used.
38069         (update-abi-%): Remove AWK script and explicit abilist directory.
38070         (update-abi): Rewrite to simply compare and conditionally copy the
38071         symlist and the sysdep abilist file.  Remove update-abi-config
38072         checks.
38073         * abilist/ld.abilist: Remove.
38074         * abilist/libBrokenLocale.abilist: Remove.
38075         * abilist/libanl.abilist: Remove.
38076         * abilist/libcrypt.abilist: Remove.
38077         * abilist/libdl.abilist: Remove.
38078         * abilist/librt.abilist: Remove.
38079         * abilist/libthread_db.abilist: Remove.
38080         * abilist/libutil.abilist: Remove.
38081         * scripts/extract-abilist.awk: Remove.
38082         * scripts/merge-abilist.awk: Remove.
38083         * sysdeps/generic/libcidn.abilist: New file.
38084         * sysdeps/generic/libnss_compat.abilist: New file.
38085         * sysdeps/generic/libnss_db.abilist: New file.
38086         * sysdeps/generic/libnss_dns.abilist: New file.
38087         * sysdeps/generic/libnss_files.abilist: New file.
38088         * sysdeps/generic/libnss_hesiod.abilist: New file.
38089         * sysdeps/generic/libnss_nis.abilist: New file.
38090         * sysdeps/generic/libnss_nisplus.abilist: New file.
38091         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38092         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38093         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38094         file.
38095         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38096         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38097         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38098         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38099         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38100         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38101         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38102         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38103         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38104         file.
38105         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38106         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38107         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38108         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38109         file.
38110         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38111         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38112         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38113         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38114         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38115         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38116         file.
38117         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38118         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38119         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38120         file.
38121         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38123         New file.
38124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38125         New file.
38126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38127         New file.
38128         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38129         New file.
38130         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38131         New file.
38132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38133         New file.
38134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38135         New file.
38136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38137         New file.
38138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38139         New file.
38140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38141         New file.
38142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38143         New file.
38144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38145         New file.
38146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38147         New file.
38148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38149         file.
38150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38151         New file.
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38153         New file.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38155         file.
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38157         New file.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38159         New file.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38161         file.
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38163         New file.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38165         New file.
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38167         New file.
38168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38169         New file.
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38171         New file.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38173         New file.
38174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38176         file.
38177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38178         New file.
38179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38180         file.
38181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38182         file.
38183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38184         file.
38185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38186         file.
38187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38188         file.
38189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38190         New file.
38191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38192         file.
38193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38194         file.
38195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38196         New file.
38197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38198         file.
38199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38201         file.
38202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38203         New file.
38204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38205         file.
38206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38207         file.
38208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38209         file.
38210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38211         file.
38212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38213         file.
38214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38215         New file.
38216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38217         file.
38218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38219         file.
38220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38221         New file.
38222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38223         file.
38224         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38225         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38226         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38227         file.
38228         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38229         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38230         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38231         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38232         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38233         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38234         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38235         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38236         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38237         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38240         file.
38241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38242         New file.
38243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38244         file.
38245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38246         file.
38247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38248         file.
38249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38250         file.
38251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38252         file.
38253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38254         New file.
38255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38256         New file.
38257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38258         file.
38259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38260         New file.
38261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38262         file.
38263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38265         file.
38266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38267         New file.
38268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38269         file.
38270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38271         file.
38272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38273         file.
38274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38275         file.
38276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38277         file.
38278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38279         New file.
38280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38281         New file.
38282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38283         file.
38284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38285         New file.
38286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38287         file.
38288
38289 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38290
38291         * conform/conformtest.pl: Fix typo in handling typed-constant from
38292         allow-header.
38293
38294 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38295
38296         * README: Cut down references to pre-2.6 Linux kernels and
38297         Linuxthreads.  Update lists of configurations in libc and ports
38298         and sort alphabetically.  Say "or newer" with Linux kernel version
38299         requirements.
38300
38301         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38302
38303 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38304
38305         [BZ #887]
38306         * math/libm-test.inc (logb_test_downward): New test to expose
38307         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38308         rounding mode.
38309
38310 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38311
38312         [BZ #14027]
38313         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38314         to be done.
38315         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38316         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38317
38318 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38319
38320         * sysdeps/unix/i386/brk.S: Remove file.
38321         * sysdeps/unix/i386/dl-brk.S: Likewise.
38322         * sysdeps/unix/i386/pipe.S: Likewise.
38323         * sysdeps/unix/i386/sigreturn.S: Likewise.
38324         * sysdeps/unix/i386/syscall.S: Likewise.
38325         * sysdeps/unix/i386/vfork.S: Likewise.
38326         * sysdeps/unix/i386/wait.S: Likewise.
38327
38328         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38329         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38330
38331         * configure.in (arm*-none*): Do not allow without
38332         --enable-hacker-mode.
38333         (netbsd*): Remove case setting base_os.
38334         (386bsd*): Likewise.
38335         (freebsd*): Likewise.
38336         (bsdi*): Likewise.
38337         (osf*): Likewise.
38338         (sunos*): Likewise.
38339         (ultrix*): Likewise.
38340         (newsos*): Likewise.
38341         (dynix*): Likewise.
38342         (*bsd*): Likewise.
38343         (sysv*): Likewise.
38344         (isc*): Likewise.
38345         (esix*): Likewise.
38346         (sco*): Likewise.
38347         (minix*): Likewise.
38348         (irix4*): Likewise.
38349         (irix6*): Likewise.
38350         (solaris[2-9]*): Likewise.
38351         (none): Likewise.
38352         * configure: Regenerated.
38353
38354 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38355
38356         [BZ #11521]
38357         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38358         overflow or cancellation in calculating denominator.
38359         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38361         down expression to avoid unexpected rounding in newer GCCs.
38362         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38363
38364 2012-04-26  David S. Miller  <davem@davemloft.net>
38365
38366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38367         long-double compat symbols.
38368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38381
38382 2012-04-25  David S. Miller  <davem@davemloft.net>
38383
38384         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38385         HWCAP_* values only after the memory barriers have been defined.
38386         (atomic_full_barrier): Define.
38387         (atomic_read_barrier): Define.
38388         (atomic_write_barrier): Define.
38389
38390 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38391
38392         * shlib-versions: Add libgcc_s version information.
38393         * sysdeps/generic/libgcc_s.h: Remove.
38394         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38395         libgcc_s.h.
38396         * sysdeps/gnu/unwind-resume.c: Likewise.
38397         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38398
38399 2012-04-25  David S. Miller  <davem@davemloft.net>
38400
38401         * sysdeps/unix/sparc/brk.S: Delete.
38402         * sysdeps/unix/sparc/dl-brk.S: Delete.
38403         * sysdeps/unix/sparc/pipe.S: Delete.
38404         * sysdeps/unix/sparc/sysdep.S: Delete.
38405         * sysdeps/unix/sparc/sysdep.h: Delete.
38406         * sysdeps/unix/sparc/vfork.S: Delete.
38407         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38408         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38409         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38410         (ret_ERRVAL, r0, r1, MOVE): Define.
38411         (JUMPTARGET): Remove.
38412         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38413         sysdeps/unix/sparc/sysdep.h
38414         (ENTRY, END): Remove.
38415         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38416
38417 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38418
38419         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38420         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38421         -DIS_IN_build.
38422
38423         * timezone/README: Update upstream location and email address for
38424         tzcode and tzdata.
38425         * timezone/zdump.c: Update from tzcode 2012b.
38426         * timezone/zic.c: Likewise.
38427
38428         * configure.in (libc_cv_as_needed): Remove test.
38429         * configure: Regenerated.
38430         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38431         conditional definition.
38432         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38433         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38434         * config.make.in (have-as-needed): Remove variable.
38435
38436 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38437             Paul Pluzhnikov  <ppluzhnikov@google.com>
38438
38439         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38440         strings correctly.
38441
38442 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38443
38444         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38445         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38446         * sysdeps/sh/strlen.S: Likewise.
38447
38448 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38449
38450         * sysdeps/unix/fork.S: Remove file.
38451         * sysdeps/unix/i386/fork.S: Likewise.
38452         * sysdeps/unix/sparc/fork.S: Likewise.
38453
38454         * sysdeps/unix/system.c: Remove file.
38455         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38456
38457         * sysdeps/unix/getegid.S: Remove file.
38458         * sysdeps/unix/geteuid.S: Likewise.
38459
38460 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38461
38462         * scripts/check-localplt.awk: New file.
38463         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38464         of diff.
38465         * scripts/data/localplt-generic.data: Add a comment.
38466
38467         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38468         NODE when __dir_mkfile failed.
38469         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38470         Reported by Ludovic Courtès <ludo@gnu.org>.
38471
38472 2012-04-24  Andreas Jaeger  <aj@suse.de>
38473
38474         * Makerules (common-clean): Also remove gen-as-const-headers
38475         files.
38476
38477 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38478
38479         * Makerules (native-compile): Do not change working directory for
38480         build.  Use $(OUTPUT_OPTION) in command.
38481         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38482
38483 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38484
38485         [BZ #13886]
38486         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38487         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38488         * math/libm-test.inc (floor_test): Add more tests.
38489         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38490
38491 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38492
38493         * sysdeps/unix/getdents.c: Remove file.
38494         * sysdeps/unix/sysv/getdents.c: Likewise.
38495         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38496
38497         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38498         sysdeps/unix/mman/syscalls.list.
38499         (mmap): Likewise.
38500         (mprotect): Likewise.
38501         (msync): Likewise.
38502         (munmap): Likewise.
38503         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38504         * sysdeps/unix/mman/syscalls.list: Remove.
38505         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38506
38507         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38508         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38509         * configure: Regenerated.
38510         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38511         $(libgcc_s_suffix).
38512         * config.make.in (libgcc_s_suffix): Remove variable.
38513
38514 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38515
38516         * sysdeps/unix/sysv/gethostname.c: Move to ...
38517         * sysdeps/posix/gethostname.c: ... here.
38518
38519         * sysdeps/unix/execve.S: Remove file.
38520
38521         * sysdeps/unix/_exit.S: Remove file.
38522
38523 2012-04-23  Andreas Jaeger  <aj@suse.de>
38524
38525         [BZ #13739]
38526         * manual/Makefile: Remove make dist support, there's no
38527         need for a stand-alone documentation tar ball.
38528         (TEXI2DVI): Define always, it's not in Makeconfig.
38529         (dist): Removed.
38530         (tar-it): Removed.
38531         (edition): Removed.
38532         (glibc-doc-$(edition).tar): Removed
38533         (%.Z): Removed.
38534         (%.gz): Removed.
38535         (%.uu): Removed.
38536         (ETAGS): Remove, it's in Makeconfig.
38537         (move-if-change): Remove, it's in Makeconfig.
38538
38539 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38540
38541         [BZ #13970]
38542         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38543         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38544         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38545         (strtod_l, strtof_l, strtold_l): Remove __wur.
38546         It is not necessarily an error to ignore strtol's return value.
38547         One can reliably look at the stored endptr to decide whether
38548         the number had valid syntax.
38549
38550 2012-04-21  Andreas Jaeger  <aj@suse.de>
38551
38552         [BZ #13739]
38553         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38554
38555 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38556
38557         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38558         * sysdeps/unix/sysv/Versions: Remove file.
38559
38560 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38561
38562         [BZ #13927]
38563         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38564
38565 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38566
38567         [BZ #7064]
38568         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38569         version from __vm86.
38570
38571 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38572
38573         * sysdeps/unix/common/lxstat.c: Remove file.
38574         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38575
38576         * sysdeps/unix/sysv/Makefile: Remove file.
38577
38578         * sysdeps/unix/sysv/direct.h: Remove file.
38579
38580         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38581         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38582         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38583         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38584         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38585         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38586         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38587
38588         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38589
38590         * sysdeps/unix/xmknod.c: Remove file.
38591         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38592
38593         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38594
38595         * sysdeps/unix/sysv/i386/time.S: Remove file.
38596
38597         * sysdeps/unix/fxstat.c: Remove file.
38598         * sysdeps/unix/xstat.c: Likewise.
38599         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38600
38601         * sysdeps/unix/sysv/sigaction.c: Remove file.
38602
38603         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38604         (sysdep_headers): Remove variable.
38605         [termio.h not in sysdep_headers] (generated): Likewise.
38606         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38607         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38608         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38609         * sysdeps/unix/sysv/tcflow.c: Likewise.
38610         * sysdeps/unix/sysv/tcflush.c: Likewise.
38611         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38612         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38613         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38614         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38615         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38616
38617         * sysdeps/unix/siglist.c: Remove file.
38618
38619         * sysdeps/unix/getppid.S: Remove file.
38620
38621         * sysdeps/unix/mkdir.c: Remove file.
38622         * sysdeps/unix/rmdir.c: Likewise.
38623
38624 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38625
38626         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38627         ERR_MAX value.
38628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38629         errlist-compat value.
38630
38631 2012-04-18  David S. Miller  <davem@davemloft.net>
38632
38633         * sysdeps/generic/memcopy.h (reg_char): Delete.
38634         * debug/strcat_chk.c: Use char, not reg_char.
38635         * debug/strcpy_chk.c: Likewise.
38636         * debug/strncat_chk.c: Likewise.
38637         * debug/strncpy_chk.c: Likewise.
38638         * string/memchr.c: Likewise.
38639         * string/memrchr.c: Likewise.
38640         * string/rawmemchr.c: Likewise.
38641         * string/strcat.c: Likewise.
38642         * string/strchr.c: Likewise.
38643         * string/strchrnul.c: Likewise.
38644         * string/strcmp.c: Likewise.
38645         * string/strcpy.c: Likewise.
38646         * string/strncat.c: Likewise.
38647         * string/strncmp.c: Likewise.
38648         * string/strncpy.c: Likewise.
38649
38650 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38651
38652         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38653         __builtin_memcopy is called when src and dest ranges are known to not
38654         overlap.
38655
38656 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38657
38658         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38659         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38660         fwd_align_merge macro call.
38661         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38662         bwd_align_merge macro call.
38663         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38664
38665 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38666
38667         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38668         bwd_align_merge macros.
38669         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38670         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38671         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38672
38673 2012-04-18  David S. Miller  <davem@davemloft.net>
38674
38675         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38676
38677 2012-04-18  Andreas Jaeger  <aj@suse.de>
38678
38679         [BZ# 6794]
38680         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38681         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38682         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38683
38684         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38685         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38686         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38687
38688         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38689         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38690         Adjust for changed ldbl-128 files.
38691
38692         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38693         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38694         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38695
38696 2012-04-17  David S. Miller  <davem@davemloft.net>
38697
38698         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38699
38700 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38701
38702         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38703         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38704         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38705         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38706         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38707         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38708
38709 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38710
38711         [BZ #6794]
38712         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38713         * math/libm-test.inc: Add ilogb errno and exception tests.
38714         * math/w_ilogb.c: New file: ilogb wrapper.
38715         * math/w_ilogbf.c: New file: ilogbf wrapper.
38716         * math/w_ilogbl.c: New file: ilogbl wrapper.
38717         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38718         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38719         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38720         exception being thrown with 0.0 as argument.
38721         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38722         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38723         exception being thrown with 0.0 as argument.
38724         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38725         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38726         exception being thrown with 0.0 as argument.
38727         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38728         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38729         exception being thrown with 0.0 as argument.
38730         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38731         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38732         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38733         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38734         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38735         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38736         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38737         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38738         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38739
38740 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38741
38742         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38743         with altivec.
38744
38745 2012-04-16  Marek Polacek  <polacek@redhat.com>
38746
38747         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38748
38749 2012-04-16  Marek Polacek  <polacek@redhat.com>
38750
38751         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38752         operands of fdivp instruction.
38753
38754 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38755
38756         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38757         * elf/tst-auditmod3b.c: Likewise.
38758         * elf/tst-auditmod4b.c: Likewise.
38759         * elf/tst-auditmod5b.c: Likewise.
38760         * elf/tst-auditmod6b.c: Likewise.
38761         * elf/tst-auditmod6c.c: Likewise.
38762         * elf/tst-auditmod7b.c: Likewise.
38763         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38764         * sysdeps/x86_64/preconfigure.in: Likewise.
38765         * sysdeps/x86_64/preconfigure: Regenerated.
38766
38767 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38768
38769         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38770         __ILP32__.
38771
38772 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38773
38774         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38775         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38776
38777 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38778
38779         [BZ #13973]
38780         * locale/iso-639.def: Fix gl language name. Spotted by
38781         Yaron Shahrabani.
38782
38783 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38784
38785         [BZ #2074]
38786         * libio/libio.h (__io_write_fn): Update comment.
38787
38788 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38789
38790         [BZ #2074]
38791         * stdio.texi (Hook Functions): The user provided writer function
38792         is not allowed to return -1.
38793
38794 2012-04-11  David S. Miller  <davem@davemloft.net>
38795
38796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38797
38798 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38799
38800         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38801         Add a leading slash to rtkaio.
38802
38803 2012-04-11  Jim Meyering  <meyering@redhat.com>
38804
38805         [BZ #11959]
38806         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38807         It is not necessarily an error to ignore fwrite's return
38808         value.  One can reliably use ferror to test for errors after
38809         the fact.
38810
38811 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38812
38813         * bits/types.h (__snseconds_t): New type.
38814         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38815
38816         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38818         (__SNSECONDS_T_TYPE): Likewise.
38819         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38820         (__SNSECONDS_T_TYPE): Likewise.
38821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38822         (__SNSECONDS_T_TYPE): Likewise.
38823
38824 2012-04-10  Andreas Jaeger  <aj@suse.de>
38825
38826         [BZ #2636]
38827         * manual/time.texi (Processor Time): Return type of times is
38828         elapsed real time since an arbitrary point in the past.
38829         (CPU Time): Move CLK_TCK from here...
38830         (Processor Time): ...to here.  Correct description.
38831         * manual/conf.texi (Constants for Sysconf): Correct description of
38832         _SC_CLK_TCK.
38833
38834 2012-04-10  David S. Miller  <davem@davemloft.net>
38835
38836         [BZ #13967]
38837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38838         where the is a gap between DT_REL(A) and DT_JMPREL.
38839
38840 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38841
38842         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38843         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38844         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38845
38846 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38847
38848         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38849         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38850         (dl_main): Handle --inhibit-cache.
38851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38852         _dl_inhibit_cache.
38853         * elf/dl-load.c (_dl_map_object): Use it.
38854         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38855
38856 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38857
38858         [BZ #13872]
38859         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38860         (__ieee754_powl): Saturate large exponents rather than testing for
38861         overflow of y*log2(x).
38862         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38863         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38864         exceptions.
38865
38866         [BZ #11521]
38867         * math/s_ctan.c: Include <float.h>.
38868         (__ctan): Avoid internal overflow or cancellation in calculating
38869         denominator.
38870         * math/s_ctanf.c: Likewise.
38871         * math/s_ctanl.c: Likewise.
38872         * math/s_ctanh.c: Likewise.
38873         * math/s_ctanhf.c: Likewise.
38874         * math/s_ctanhl.c: Likewise.
38875         * math/libm-test.inc (ctan_test): Add more tests.
38876         (ctanh_test): Likewise.
38877         * sysdeps/i386/fpu/libm-test-ulps: Update.
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38879
38880 2012-04-09  Andreas Jaeger  <aj@suse.de>
38881
38882         [BZ #6894]
38883         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38884         is an optional BSD extension.
38885
38886         [BZ #10254]
38887         * manual/stdio.texi (Opening Streams): Document additional fopen
38888         parameters.
38889
38890 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38891
38892         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38893         %eax without telling the compiler.
38894
38895 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38896
38897         [BZ # 13963]
38898         * manual/install.texi: Use sourceware.org.
38899
38900 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38901
38902         [BZ #13873]
38903         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38904         (__ieee754_pow): Generate overflow and underflow using huge*huge
38905         and tiny*tiny rather than just returning constant infinity or zero
38906         for large exponents.
38907         * math/libm-test.inc (pow_test): Require overflow exceptions for
38908         applicable cases of large exponents.
38909
38910         [BZ #706]
38911         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38912         (__ieee754_pow): Use iterative multiplication algorithm only for
38913         integer exponents with absolute value below 1024.  Check for odd
38914         integer exponents when using algorithm for real exponents.
38915         * math/libm-test.inc (pow_test): Add more tests.
38916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38917
38918 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38919
38920         [BZ #13705]
38921         * math/libm-test.inc (exp_test): Do not allow overflow exception
38922         on underflow test.
38923
38924 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38925
38926         [BZ #13705]
38927         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38928         instead of __kernel_standard_f.
38929
38930 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38931
38932         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38933         * sysdeps/x86_64/memset_chk.S: Likewise.
38934
38935 2012-04-08  Andreas Jaeger  <aj@suse.de>
38936
38937         [BZ #10153]
38938         * manual/startup.texi (Environment Access): Describe return value
38939         for putenv and setenv.
38940
38941         [BZ #6895]
38942         * manual/filesys.texi (Directory Entries): Add description for
38943         DT_LNK.
38944
38945         [BZ #6890]
38946         * manual/filesys.texi (Directory Entries): Clarify that it's file
38947         system not operating system in the description of DT_UNKNOWN.
38948
38949         [BZ #6578]
38950         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38951
38952 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38953
38954         [BZ #6649]
38955         * manual/llio.texi (Opening and Closing Files): Add cross
38956         reference to explain mode argument.
38957
38958 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38959
38960         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38961         * sysdeps/x86_64/memset_chk.S: Likewise.
38962
38963 2012-04-07  David S. Miller  <davem@davemloft.net>
38964
38965         * elf/elf.h (R_SPARC_WDISP10): Define.
38966         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38967         R_SPARC_SIZE32.
38968         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38969         R_SPARC_SIZE64 and R_SPARC_H34.
38970
38971 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38972
38973         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38974         conditions and remove no longer applicable assertion.
38975
38976 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38977
38978         * bits/byteswap.h: Include <features.h>.
38979         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38980         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38981
38982 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38983
38984         * bits/byteswap.h (__bswap_16): Removed.
38985         Include <bits/byteswap-16.h> to get __bswap_16.
38986         * sysdeps/i386/bits/byteswap.h: Likewise.
38987         * sysdeps/s390/bits/byteswap.h: Likewise.
38988         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38989         * bits/byteswap-16.h: New file.
38990         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38991         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38992         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38993         * string/Makefile (headers): Add bits/byteswap-16.h.
38994
38995 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38996
38997         [BZ #13895]
38998         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38999         extra indirection.
39000         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39001         * nss/tst-nss-static.c: New.
39002
39003 2012-04-06  Robert Millan  <rmh@gnu.org>
39004
39005         [BZ #6486]
39006         * manual/llio.texi (File Position Primitive): lseek
39007         refers to WHENCE when it really means OFFSET.
39008
39009 2012-04-06  Andreas Jaeger  <aj@suse.de>
39010
39011         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39012         strncmp declarations.
39013
39014         * abilist/libc.abilist: Add __poll and __ppoll.
39015
39016 2012-04-05  David S. Miller  <davem@davemloft.net>
39017
39018         * scripts/check-local-headers.sh: Accept a host triplet in the
39019         path matched by the exclude regexp.
39020
39021         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39022         definition.
39023         * sysdeps/powerpc/powerpc32/dl-machine.h
39024         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39025         * sysdeps/s390/s390-32/dl-machine.h
39026         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39027         * sysdeps/sparc/sparc32/dl-machine.h
39028         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39029         * sysdeps/sparc/sparc64/dl-machine.h
39030         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39031
39032         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39033         lazy binding.
39034         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39035         undefined symbol errors.
39036
39037         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39038         DT_NEEDED entries.
39039
39040 2012-04-05  Michael Matz  <matz@suse.de>
39041
39042         [BZ #13592]
39043         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39044
39045 2012-04-05  Andreas Jaeger  <aj@suse.de>
39046
39047         [BZ #13908]
39048         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39049         comment.
39050
39051 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39052
39053         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39054         which ROUND is no valid rounding mode.
39055
39056 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39057
39058         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39059         read again.
39060         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39061
39062 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39063
39064         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39065         an exception using FPU order intentionally.
39066
39067 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39068
39069         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39070         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39071         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39072         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39073
39074 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39075
39076         [BZ #12340]
39077         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39078         EINVAL when BUFLEN is too smal.
39079
39080 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39081
39082         [BZ #13553]
39083         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39084         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39085
39086 2012-04-03  Andreas Jaeger  <aj@suse.de>
39087
39088         [BZ #13938]
39089         * manual/setjmp.texi (System V contexts): Fix sentence.
39090
39091         [BZ #13926]
39092         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39093         New macro for this case.
39094         [!__GNUC__] (__bswap_64): New inline function for this case.
39095         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39096         * bits/byteswap.h: Likewise.
39097         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39098         ull, guard with __GLIBC_HAVE_LONG_LONG.
39099
39100         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39101         __GLIBC_HAVE_LONG_LONG.
39102
39103         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39104         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39105
39106 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39107
39108         [BZ #13691]
39109         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39110         inptr and inend, rather than using last_ch.
39111
39112 2012-04-02  David S. Miller  <davem@davemloft.net>
39113
39114         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39115         * stdio-common/printf-parse.h (read_int): Change return type to
39116         'int', return -1 on INT_MAX overflow.
39117         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39118         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39119         overflows INT_MAX.  Check for overflow of in-format-string precision
39120         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39121         SIZE_MAX not INT_MAX for integer overflow test.
39122         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39123         skip the construct in the format string but do not record anything.
39124         * stdio-common/bug22.c: Adjust to test both width/prevision
39125         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39126         explicitly for proper errno values.
39127
39128 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39129
39130         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39131         CHAR_MAX.
39132         * string/test-strcmp.c [! WIDE]: Likewise.
39133         * time/tst-mktime2.c: Likewise for INT_MAX.
39134         * string/test-string.h: #include <sys/param.h> for MIN.
39135
39136         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39137         * sysdeps/i386/init-first.c (init): Likewise.
39138         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39139         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39140         * sysdeps/sh/init-first.c (init): Likewise.
39141
39142 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39143
39144         * po/ru.po: Update from translation team.
39145         * po/vi.po: Likewise.
39146
39147 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39148
39149         * resolv/nss_dns/dns-host.c: Merge copyright years.
39150
39151 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39152
39153         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39154         Optimize memcpy with prefetch if
39155         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39156         src, dst pointers have unequal 16 byte alignments.
39157
39158 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39159
39160         [BZ #13928]
39161         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39162         from a CNAME entry and return the minimum ttl for the query.
39163         (gaih_getanswer_slice): Likewise.
39164
39165 2012-03-30  Jeff Law  <law@redhat.com>
39166
39167         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39168         due to long keys.
39169         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39170         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39171
39172         * resolv/nss_dns/dns-host.c: Update copyright year.
39173
39174 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39175
39176         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39177         requests to save a system call.  Fix check that all bytes are sent.
39178
39179         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39180         comments for sendmmsg.
39181
39182 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39183
39184         [BZ #13691]
39185         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39186         with only 1 character between 0x0041 and 0x01b0.
39187         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39188         * wcsmbs/tst-mbsnrtowcs.c: New file.
39189
39190 2012-03-29  David S. Miller  <davem@davemloft.net>
39191
39192         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39193         small copies by hand.
39194
39195 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39196
39197         [BZ #13761]
39198         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39199         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39200         group memberships.
39201
39202 2012-03-28  David S. Miller  <davem@davemloft.net>
39203
39204         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39205         that branches into memcpy.
39206         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39209         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39211         bits.
39212         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39213         implementation too.
39214         * sysdeps/sparc/mempcpy.S: New file.
39215
39216         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39217         the IFUNC routine in the libc case.
39218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39219
39220         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39221         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39222         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39223         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39224         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39225         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39226         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39227         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39228
39229         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39230         loop to 256 bytes instead of 64 bytes and fix test signedness.
39231
39232         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39233         * sysdeps/sparc/sparc32/Makefile: rather than here...
39234         * sysdeps/sparc/sparc64/Makefile: and here.
39235
39236 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39237
39238         * malloc/mallocbug.c: Avoid warnings about unused variables.
39239
39240 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39241
39242         [BZ #13760]
39243         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39244         in the right place. Discard and retry query if response is
39245         larger than input buffer size.
39246
39247 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39248
39249         [BZ #369]
39250         [BZ #2678]
39251         [BZ #3866]
39252         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39253         x for large integer exponent.
39254         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39255         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39256         sign of result as needed afterwards.
39257         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39258         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39259         result for underflowing pow the same as for overflow.
39260         (__kernel_standard_l): Handle powl overflow and underflow here
39261         rather than calling __kernel_standard.
39262         * math/libm-test.inc (pow_test): Add more tests.
39263
39264         [BZ #3868]
39265         [BZ #13879]
39266         [BZ #13910]
39267         [BZ #13911]
39268         [BZ #13912]
39269         [BZ #13913]
39270         [BZ #13915]
39271         [BZ #13916]
39272         [BZ #13917]
39273         [BZ #13918]
39274         [BZ #13919]
39275         [BZ #13920]
39276         [BZ #13921]
39277         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39278         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39279         (__kernel_standard_l): New function.
39280         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39281         __kernel_standard.
39282         * math/w_acosl.c (__acosl): Likewise.
39283         * math/w_asinl.c (__asinl): Likewise.
39284         * math/w_atan2l.c (__atan2l): Likewise.
39285         * math/w_atanhl.c (__atanhl): Likewise.
39286         * math/w_coshl.c (__coshl): Likewise.
39287         * math/w_exp10l.c (__exp10l): Likewise.
39288         * math/w_exp2l.c (__exp2l): Likewise.
39289         * math/w_fmodl.c (__fmodl): Likewise.
39290         * math/w_hypotl.c (__hypotl): Likewise.
39291         * math/w_j0l.c (__j0l, __y0l): Likewise.
39292         * math/w_j1l.c (__j1l, __y1l): Likewise.
39293         * math/w_jnl.c (__jnl, __ynl): Likewise.
39294         * math/w_lgammal.c (__lgammal): Likewise.
39295         * math/w_log10l.c (__log10l): Likewise.
39296         * math/w_log2l.c (__log2l): Likewise.
39297         * math/w_logl.c (__logl): Likewise.
39298         * math/w_powl.c (__powl): Likewise.
39299         * math/w_remainderl.c (__remainderl): Likewise.
39300         * math/w_scalbl.c (sysv_scalbl): Likewise.
39301         * math/w_sinhl.c (__sinhl): Likewise.
39302         * math/w_sqrtl.c (__sqrtl): Likewise.
39303         * math/w_tgammal.c (__tgammal): Likewise.
39304         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39305         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39306         * math/libm-test.inc (acos_test): Add more tests.
39307         (acosh_test): Likewise.
39308         (asin_test): Likewise.
39309         (atanh_test): Likewise.
39310         (exp_test): Likewise.
39311         (exp10_test): Likewise.
39312         (exp2_test): Likewise.
39313         (expm1_test): Likewise.
39314         (lgamma_test): Likewise.
39315         (log_test): Likewise.
39316         (log10_test): Likewise.
39317         (log1p_test): Likewise.
39318         (log2_test): Likewise.
39319         (pow_test): Do not allow some spurious overflow exceptions.
39320         (sqrt_test): Add more tests.
39321         (tgamma_test): Likewise.
39322         (y0_test): Likewise.
39323         (y1_test): Likewise.
39324         (yn_test): Likewise.
39325
39326 2012-03-27  Anton Blanchard  <anton@samba.org>
39327
39328         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39329         MAP_HUGETLB.
39330         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39331         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39333
39334 2012-03-27  David S. Miller  <davem@davemloft.net>
39335
39336         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39337
39338         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39339         have-as-vis3 check.
39340
39341 2012-03-27  Andreas Jaeger  <aj@suse.de>
39342
39343         * sysdeps/x86_64/elf/configure.in: Moved to ...
39344         * sysdeps/x86_64/configure.in: ... here.
39345         * sysdeps/x86_64/elf/start.S: Moved to ...
39346         * sysdeps/x86_64/start.S: ... here.
39347         * sysdeps/x86_64/elf/configure: Delete.
39348
39349         * sysdeps/x86_64/configure.in: Merge contents from
39350         sysdeps/i386/configure.in (without i686 check).
39351
39352         * sysdeps/i386/elf/Versions: Merge into ...
39353         * sysdeps/i386/Versions: ... this.
39354         * sysdeps/i386/elf/Versions: Delete file.
39355         * sysdeps/i386/elf/start.S: Moved to ...
39356         * sysdeps/i386/start.S: ...here.
39357         * sysdeps/i386/elf/configure.in: Merge into...
39358         * sysdeps/i386/configure.in: ...here.
39359         * sysdeps/i386/elf/configure.in: Delete file.
39360         * sysdeps/i386/elf/configure: Delete file.
39361
39362         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39363         * debug/backtracesyms.c: ... here.
39364         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39365         * debug/backtracesymsfd.c: ... here.
39366         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39367         * sysdeps/generic/ifunc-sel.h: ... here.
39368
39369         * sysdeps/unix/i386/start.c: Delete file.
39370         * sysdeps/unix/sparc/start.c: Delete file.
39371         * sysdeps/unix/start.c: Delete file.
39372
39373         * sysdeps/sh/elf/configure.in: Moved to ...
39374         * sysdeps/sh/configure.in: ... here.
39375         * sysdeps/sh/elf/start.S: Moved to ...
39376         * sysdeps/sh/start.S: ... here.
39377         * sysdeps/sh/elf/configure: Delete file.
39378
39379         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39380         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39381         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39382         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39383         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39384         * sysdeps/powerpc/powerpc64/start.S: here.
39385         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39386         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39387         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39388         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39389         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39390
39391         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39392         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39393         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39394         * sysdeps/powerpc/powerpc32/start.S: ... here.
39395         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39396         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39397         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39398
39399         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39400         * sysdeps/powerpc/ifunc-sel.h: ... here.
39401         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39402         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39403
39404         * sysdeps/sparc/elf/configure.in: Moved to ...
39405         * sysdeps/sparc/configure.in: ... here.
39406         * sysdeps/sparc/elf/configure: Delete file.
39407         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39408         * sysdeps/sparc/sparc32/start.S: ... here.
39409         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39410         * sysdeps/sparc/sparc64/start.S: ... here.
39411         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39412         * sysdeps/sparc/sparc32/Makefile: ... this.
39413         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39414         * sysdeps/sparc/sparc64/Makefile: ... this.
39415
39416         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39417         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39418         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39419         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39420         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39421         * sysdeps/s390/s390-32/setjmp.S: ... here.
39422         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39423         * sysdeps/s390/s390-32/configure.in: ... here.
39424         * sysdeps/s390/s390-32/elf/configure: Delete file.
39425         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39426         * sysdeps/s390/s390-32/start.S: ... here.
39427
39428         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39429         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39430         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39431         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39432         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39433         * sysdeps/s390/s390-64/setjmp.S: ... here.
39434         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39435         * sysdeps/s390/s390-64/configure.in: ... here
39436         * sysdeps/s390/s390-64/elf/configure: Delete file.
39437         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39438         * sysdeps/s390/s390-64/start.S: ... here.
39439         * sysdeps/s390/s390-64/elf/configure: Delete.
39440
39441         * configure.in: Remove support for elf directories in sysdeps.
39442
39443         * configure: Regenerated.
39444         * sysdeps/i386/configure: Regenerated.
39445         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39446         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39447         * sysdeps/s390/s390-32/configure: Regenerated.
39448         * sysdeps/s390/s390-64/configure: Regenerated.
39449         * sysdeps/sh/configure: Regenerated.
39450         * sysdeps/sparc/configure: Regenerated.
39451         * sysdeps/x86_64/configure: Regenerated.
39452
39453 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39454
39455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39456
39457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39458         denormal result into account.
39459
39460 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39461
39462         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39463         Reported by Allan McRae <allan@archlinux.org>.
39464
39465 2012-03-23  Jeff Law  <law@redhat.com>
39466
39467         * nss/getnssent.c (__nss_getent): Fix typo.
39468
39469 2012-03-23  David S. Miller  <davem@davemloft.net>
39470
39471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39472
39473 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39474
39475         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39476         to pad to uint64_t for each field.
39477         (dl_tls_index): Replace unsigned long with uint64_t.
39478
39479 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39480         Paul Pluzhnikov  <ppluzhnikov@google.com>
39481
39482         [BZ #6528]
39483         * grp/Makefile (otherlibs): Don't set it.
39484         * inet/Makefile (otherlibs): Likewise.
39485         * login/Makefile (otherlibs): Likewise.
39486         * nscd/Makefile (otherlibs): Likewise.
39487         * posix/Makefile (otherlibs): Likewise.
39488         * pwd/Makefile (otherlibs): Likewise.
39489         * rt/Makefile (otherlibs): Likewise.
39490         * sunrpc/Makefile (otherlibs): Likewise.
39491         * nss/Makefile (otherlibs): Likewise.
39492         Add libnss_files to routines and static-only-routines.
39493         ($(objpfx)getent): Remove rule.
39494         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39495         static-only-routines.
39496
39497 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39498
39499         [BZ #13892]
39500         * math/s_cexp.c: Include <float.h>.
39501         (__cexp): Handle exp result overflowing not necessarily
39502         overflowing both real and imaginary parts of result.
39503         * math/s_cexpf.c: Likewise.
39504         * math/s_cexpl.c: Likewise.
39505         * math/libm-test.inc (cexp_test): Add more tests.
39506         * sysdeps/i386/fpu/libm-test-ulps: Update.
39507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39508
39509 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39510
39511         * include/link.h (ELFW): New macro.
39512         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39513         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39514
39515 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39516
39517         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39518         with uint64_t.
39519
39520 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39521
39522         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39523         declaration.
39524         (struct La_x32_retval): Likewise.
39525
39526 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39527
39528         * sysdeps/x86_64/preconfigure.in: New file.
39529         * sysdeps/x86_64/preconfigure: New generated file.
39530
39531 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39532
39533         [BZ #13824]
39534         * math/e_exp2l.c: Include <float.h>.
39535         (__ieee754_exp2l): Handle overflow and underflow cases
39536         separately.  Only pass fractional part of argument to
39537         __ieee754_expl.
39538         * math/libm-test.inc (exp2_test): Add more tests.
39539
39540         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39541         negating x to take absolute value.
39542         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39543         Likewise.
39544         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39546         Likewise.
39547         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39548         computing low part if x was negated.
39549         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39550
39551 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39552
39553         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39554         la_x32_gnu_pltexit.
39555         (pltexit): Cast int_retval to ptrdiff_t.
39556         * elf/tst-auditmod3b.c: Likewise.
39557         * elf/tst-auditmod4b.c: Likewise.
39558         * elf/tst-auditmod5b.c: Likewise.
39559         * elf/tst-auditmod6b.c: Likewise.
39560         * elf/tst-auditmod6c.c: Likewise.
39561         * elf/tst-auditmod7b.c: Likewise.
39562
39563         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39564         and x32_gnu_pltexit.
39565
39566         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39567         __ELF_NATIVE_CLASS.
39568         (La_x32_regs): New macro.
39569         (La_x32_retval): Likewise.
39570         (la_x32_gnu_pltenter): New function prototype.
39571         (la_x32_gnu_pltexit): Likewise.
39572
39573 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39574
39575         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39576         exponent.
39577
39578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39579
39580         * configure.in (libc_cv_cc_nofma): Check for option to disable
39581         generation of FMA instructions.
39582         * configure: Regenerate.
39583         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39584         * sysdeps/ieee754/dbl-64/Makefile: New file.
39585         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39586         Remove brandred-fma4.
39587         (CFLAGS-brandred-fma4.c): Remove.
39588         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39589         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39590         define.
39591         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39592         define.
39593
39594 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39595
39596         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39597         LLONG_MAX != LONG_MAX.
39598         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39599         (_fitoa_word): Likewise.
39600         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39601         LLONG_MAX != LONG_MAX.
39602         * stdio-common/_itowa.h: Include <_itoa.h>.
39603         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39604         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39605         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39606         only if not defined.
39607         (_ITOA_WORD_TYPE): Likewise.
39608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39609         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39610
39611 2012-03-21  David S. Miller  <davem@davemloft.net>
39612
39613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39614
39615 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39616
39617         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39618         of x86_64 when setting libc_cv_slibdir, libdir and
39619         libc_cv_localedir.
39620         * sysdeps/unix/sysv/linux/configure: Regenerated.
39621
39622 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39623
39624         * manual/lang.texi (Old Varargs): Remove section.
39625         (How Variadic): Update menu.
39626         (va_start): Do not mention varargs.h.
39627
39628 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39629             Joseph Myers  <joseph@codesourcery.com>
39630
39631         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39632         link test.
39633         * configure: Regenerated.
39634
39635 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39636
39637         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39638         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39639         conformtest.pl
39640
39641 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39642
39643         * NOTES: Remove.
39644         * Makefile (files-for-dist): Remove NOTES.
39645         (NOTES): Remove rule.
39646         * README: Don't refer to NOTES.
39647         * manual/creature.texi: Don't include macros.texi.
39648         * manual/intro.texi (creature.texi): Remove comment referring to
39649         NOTES.
39650
39651         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39652         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39653         * configure: Regenerated.
39654         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39655         LIBC_TRY_CC_OPTION.
39656         (libc_cv_as_i686): Likewise.
39657         (libc_cv_cc_avx): Likewise.
39658         (libc_cv_cc_sse2avx): Likewise.
39659         (libc_cv_cc_fma4): Likewise.
39660         (libc_cv_cc_novzeroupper): Likewise.
39661         * sysdeps/i386/configure: Regenerated.
39662
39663         [BZ #13883]
39664         * sysdeps/i386/fpu/s_cexp.S: Remove.
39665         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39666         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39667         * math/libm-test.inc (cexp_test): Add more tests.
39668         * sysdeps/i386/fpu/libm-test-ulps: Update.
39669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39670
39671 2012-03-21  Allan McRae  <allan@archlinux.org>
39672
39673         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39674
39675 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39676
39677         [BZ #13871]
39678         * math/w_exp2.c: Do not include <float.h>.
39679         (o_threshold, u_threshold): Remove.
39680         (__exp2): Calculate result before checking finiteness and calling
39681         __kernel_standard.
39682         * math/w_exp2f.c: Likewise.
39683         * math/w_exp2l.c: Likewise.
39684         * math/libm-test.inc (exp2_test): Require overflow exception for
39685         1e6 input.
39686
39687         [BZ #3866]
39688         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39689         range of signed 64-bit integers before using fistpll.  Remove
39690         checks for whether integers fit in mantissa bits.
39691         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39692         the range of signed 32-bit integers before using fistpl.  Remove
39693         checks for whether integers fit in mantissa bits.
39694         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39695         (__ieee754_powl): Test for y outside the range of signed 64-bit
39696         integers before using fistpll.  Reduce 64-bit values to 63-bit
39697         ones as needed.
39698         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39699         divide-by-zero is raised for zero to large negative powers.
39700         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39701         (__ieee754_powl): Test for y outside the range of signed 64-bit
39702         integers before using fistpll.  Reduce 64-bit values to 63-bit
39703         ones as needed.
39704         * math/libm-test.inc (pow_test): Add more tests.
39705
39706 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39707
39708         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39709         <stdio-common/_itoa.h>.
39710         * debug/segfault.c: Likewise.
39711         * elf/dl-cache.c: Likewise.
39712         * elf/dl-minimal.c: Likewise.
39713         * elf/dl-misc.c: Likewise.
39714         * elf/dl-sysdep.c: Likewise.
39715         * elf/dl-version.c: Likewise.
39716         * elf/rtld.c: Likewise.
39717         * hurd/hurdsock.c: Likewise.
39718         * hurd/lookup-retry.c: Likewise.
39719         * malloc/malloc.c: Likewise.
39720         * malloc/mtrace.c: Likewise.
39721         * nscd/nscd_getgr_r.c: Likewise.
39722         * nscd/nscd_getpw_r.c: Likewise.
39723         * nscd/nscd_getserv_r.c: Likewise.
39724         * posix/getopt_init.c: Likewise.
39725         * posix/wordexp.c: Likewise.
39726         * stdio-common/_itoa.c: Likewise.
39727         * stdio-common/printf_fphex.c: Likewise.
39728         * stdio-common/vfprintf.c: Likewise.
39729         * string/_strerror.c: Likewise.
39730         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39731         * sysdeps/i386/i686/hp-timing.h: Likewise.
39732         * sysdeps/mach/_strerror.c: Likewise.
39733         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39734         * sysdeps/mach/hurd/sethostid.c: Likewise.
39735         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39736         * sysdeps/mach/xpg-strerror.c: Likewise.
39737         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39738         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39739         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39740         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39741         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39742         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39743         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39744         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39745         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39746         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39747         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39748         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39749         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39751         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39752         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39753         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39754         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39755         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39756         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39757         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39758
39759         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39760
39761         * stdio-common/_itoa.h: Moved to ...
39762         * sysdeps/generic/_itoa.h: Here.
39763
39764         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39765
39766         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39767         instead of "_itoa.h" and "_itowa.h".
39768         * stdio-common/vfprintf.: Likewise.
39769
39770 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39771
39772         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39773         <bits/wordsize.h>.
39774         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39775         (__signbit): Likwise.
39776         (llrintf): Likwise.
39777         (llrint): Likwise.
39778
39779 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39780
39781         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39782         __WORDSIZE != 64.
39783
39784 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39785
39786         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39787         OVERFLOW_EXCEPTION_OK.
39788         * math/libm-test.inc ("Philosophy"): Update comment about
39789         exception testing.
39790         (OVERFLOW_EXCEPTION): Define.
39791         (OVERFLOW_EXCEPTION_OK): Likewise.
39792         (INVALID_EXCEPTION_OK): Renumber.
39793         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39794         (IGNORE_ZERO_INF_SIGN): Likewise.
39795         (test_exceptions): Handle FE_OVERFLOW.
39796         (exp10_test): Expect overflow exceptions.
39797         (exp2_test): Likewise.
39798         (expm1_test): Likewise.
39799         (nextafter_test): Likewise.
39800         (pow_test): Likewise.
39801         (scalbn_test): Likewise.
39802         (scalbln_test): Likewise.
39803
39804 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39805
39806         * sysdeps/x86_64/bits/atomic.h
39807         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39808         64bit integer.
39809         (atomic_exchange_acq): Likewise.
39810         (__arch_exchange_and_add_body): Likewise.
39811         (__arch_add_body): Likewise.
39812         (atomic_add_negative): Likewise.
39813         (atomic_add_zero): Likewise.
39814
39815 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39816
39817         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39818         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39819
39820 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39821
39822         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39823         Check __x86_64__ instead of __WORDSIZE.
39824
39825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39826
39827         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39828
39829 2012-03-19  David S. Miller  <davem@davemloft.net>
39830
39831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39832
39833         * sysdeps/sparc/fpu/fenv_private.h: New file.
39834         * sysdeps/sparc/fpu/math_private.h: Use it.
39835         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39836         Remove.
39837         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39838         (libc_feholdexcept_setroundl): Remove.
39839         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39840         Remove.
39841         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39842         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39843
39844 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39845
39846         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39847         int64_t instead of long int.
39848         (INSERT_WORDS64): Likwise.
39849
39850 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39851
39852         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39853         _Unwind_GetCFA return to _Unwind_Ptr first.
39854
39855 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39856
39857         [BZ #13629]
39858         * math/s_clog.c: Include <float.h>.
39859         (__clog): Scale large or subnormal inputs.
39860         * math/s_clogf.c: Likewise.
39861         * math/s_clogl.c: Likewise.
39862         * math/s_clog10.c: Include <float.h>.
39863         (M_LOG10_2): Define.
39864         (__clog10): Scale large or subnormal inputs.
39865         * math/s_clog10f.c: Likewise.
39866         * math/s_clog10l.c: Likewise.
39867         * math/libm-test.inc (clog_test): Add more tests.
39868         (clog10_test): Likewise.
39869         * sysdeps/i386/fpu/libm-test-ulps: Update.
39870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39871
39872         [BZ #11451]
39873         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39874         x and y.
39875         * math/libm-test.inc (atan2_test): Add another test.
39876
39877         * Makerules (common-objdir-compile): Remove.
39878         * sysdeps/unix/Makefile (config-generated): Do not add
39879         $(unix-generated) to variable.
39880         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39881         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39882         Remove rule.
39883         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39884         Likewise.
39885         [generic bits/local_lim.h] (before-compile): Do not append to
39886         variable.
39887         [generic bits/local_lim.h] (common-generated): Likewise.
39888         [generic sys/param.h] (before-compile): Do not append to variable.
39889         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39890         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39891         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39892         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39893         include.
39894         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39895         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39896         [generic sys/param.h] ($(addprefix
39897         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39898         [generic sys/param.h] (common-generated): Do not append to
39899         variable.
39900         [generic sys/param.h] (sysdep_headers): Likewise.
39901         [generic bits/errno.h] (before-compile): Do not append to
39902         variable.
39903         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39904         rule.
39905         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39906         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39907         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39908         [generic bits/errno.h] (common-generated): Do not append to
39909         variable.
39910         [generic bits/ioctls.h] (before-compile): Do not append to
39911         variable.
39912         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39913         rule.
39914         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39915         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39916         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39917         rule.
39918         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39919         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39920         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39921         [generic bits/ioctls.h] (common-generated): Do not append to
39922         variable.
39923         [generic sys/syscall.h] (syscall.h): Remove variable.
39924         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39925         rule.
39926         [generic sys/syscall.h] (before-compile): Do not append to
39927         variable.
39928         [generic sys/syscall.h] (common-generated): Likewise.
39929         * sysdeps/unix/errnos-tmpl.c: Remove file.
39930         * sysdeps/unix/errnos.awk: Likewise.
39931         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39932         * sysdeps/unix/ioctls.awk: Likewise.
39933         * sysdeps/unix/mk-local_lim.c: Likewise.
39934         * sysdeps/unix/snarf-ioctls: Likewise.
39935
39936 2012-03-19  Richard Henderson  <rth@twiddle.net>
39937
39938         * sysdeps/i386/fpu/fenv_private.h: New file.
39939         * sysdeps/i386/fpu/math_private.h: Use it.
39940         (math_opt_barrier, math_force_eval): Remove.
39941         (libc_feholdexcept_setround_53bit): Remove.
39942         (libc_feupdateenv_53bit): Remove.
39943         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39944         (math_opt_barrier, math_force_eval): Remove.
39945         (libc_feholdexcept): Remove.
39946         (libc_feholdexcept_setround): Remove.
39947         (libc_fetestexcept, libc_fesetenv): Remove.
39948         (libc_feupdateenv_test): Remove.
39949         (libc_feupdateenv, libc_feholdsetround): Remove.
39950         (libc_feresetround): Remove.
39951
39952         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39953         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39954
39955         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39956         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39957         (libc_feupdateenv_testl): New.
39958         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39959         (libc_feupdateenv_testf): New.
39960         (libc_feupdateenv): Use libc_feupdateenv_test.
39961         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39963
39964         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39965         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39966         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39967         (libc_feresetround_noex): New.
39968         (libc_feresetround_noexf): New.
39969         (libc_feresetround_noexl): New.
39970         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39971         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39972         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39973         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39974         SET_RESTORE_ROUND.
39975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39976         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39977         (__cos): Likewise.
39978         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39979         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39980         SET_RESTORE_ROUND_NOEX.
39981         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39982         SET_RESTORE_ROUND_NOEXF.
39983         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39984         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39985         (libc_feholdsetroundf): New.
39986         (libc_feresetround, libc_feresetroundf): New.
39987
39988         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39989         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39990         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39991
39992         * sysdeps/generic/math_private.h: Include <fenv.h>.
39993         (default_libc_feholdexcept): New.
39994         (default_libc_feholdexcept_setround): New.
39995         (default_libc_fesetenv, default_libc_feupdateenv): New.
39996         (libc_feholdexcept): Only define if undefined.
39997         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39998         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39999         (libc_feholdexcept_setroundl): Likewise.
40000         (libc_feholdexcept_setround_53bit): Likewise.
40001         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40002         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40003         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40004         (libc_feupdateenv_53bit): Likewise.
40005         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40006         (libc_feholdexcept): Convert from macro to inline function.
40007         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40008         (libc_fesetenv, libc_feupdateenv): Likewise.
40009
40010         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40011         not previously defined.
40012         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40013         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40014         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40015         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40016         * sysdeps/ieee754/flt-32/math_private.h: New file.
40017         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40018         math_private.h below SET_FLOAT_WORD.
40019         (__isnan, __isinf_ns, __finite): Remove.
40020         (__isnanf, __isinf_nsf, __finitef): Remove.
40021
40022 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40023
40024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40025
40026 2012-03-17  David S. Miller  <davem@davemloft.net>
40027
40028         [BZ #6471]
40029         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40030         for 2.16.
40031
40032 2012-03-16  David S. Miller  <davem@davemloft.net>
40033
40034         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40035         warnings.
40036
40037         [BZ #6471]
40038         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40039         properly.
40040         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40041         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40042         sysdep_routines when subdir is sysvipc.
40043         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40044         __getshmlba helper.
40045
40046         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40047
40048 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40049
40050         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40051         [__LP64__].
40052
40053 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40054
40055         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40056         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40057         (__lround): Renamed to ...
40058         (__llround): This.  Replace long int with long long int.
40059         Define lround functions as aliases of llround functions.
40060         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40061
40062 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40063
40064         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40065         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40066         adresses to uintptr_t.  Replace "long int" and "unsigned long
40067         int" with "greg_t" on va_arg.
40068
40069 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40070
40071         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40072         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40073
40074         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40075         Move e_machine check before EI_CLASS check.  Handle x32
40076         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40077         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40078         SKIP_EM_IA_64 and include
40079         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40080
40081         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40082         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40083         (add_system_dir): New macro.
40084
40085         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40086         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40087
40088 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40089
40090         [BZ #2551]
40091         [BZ #2552]
40092         [BZ #2553]
40093         [BZ #2554]
40094         [BZ #2562]
40095         [BZ #2563]
40096         [BZ #2565]
40097         [BZ #2566]
40098         [BZ #2576]
40099         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40100         (y0): Likewise.
40101         * math/w_j0f.c (j0f): Likewise.
40102         (y0f): Likewise.
40103         * math/w_j0l.c (__j0l): Likewise.
40104         (__y0l): Likewise.
40105         * math/w_j1.c (j1): Likewise.
40106         (y1): Likewise.
40107         * math/w_j1f.c (j1f): Likewise.
40108         (y1f): Likewise.
40109         * math/w_j1l.c (__j1l): Likewise.
40110         (__y1l): Likewise.
40111         * math/w_jn.c (jn): Likewise.
40112         (yn): Likewise.
40113         * math/w_jnf.c (jnf): Likewise.
40114         (ynf): Likewise.
40115         * math/w_jnl.c (__jnl): Likewise.
40116         (__ynl): Likewise.
40117         * math/libm-test.inc (j0_test): Add more tests.
40118         (j1_test): Likewise.
40119         (jn_test): Likewise.  Add trailing semicolon to existing test.
40120         (y0_test): Likewise.
40121         (y1_test): Likewise.
40122         * sysdeps/i386/fpu/libm-test-ulps: Update.
40123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40124
40125         [BZ #13851]
40126         [BZ #13854]
40127         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40128         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40129         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40130         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40131         (__tanl): Set errno for infinite argument.
40132         * sysdeps/i386/fpu/mptan.c: Remove.
40133         * sysdeps/i386/fpu/s_tan.S: Likewise.
40134         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40135         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40136         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40137         * math/libm-test.inc (tan_test): Add more tests and enable more
40138         tests for double and long double.
40139         * sysdeps/i386/fpu/libm-test-ulps: Update.
40140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40141
40142 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40143
40144         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40145         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40146
40147 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40148
40149         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40150         * configure.in: Use it for both main tree and add-ons.
40151         * configure: Regenerated.
40152
40153 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40154
40155         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40156
40157 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40158
40159         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40160         in comment.
40161
40162         [BZ #13851]
40163         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40164         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40165         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40166         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40167         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40168         infinite argument.
40169         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40170         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40171         != 0 for prec == 2.
40172         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40173         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40174         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40175         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40176         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40177         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40178         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40179         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40180         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40181         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40182         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40183         * math/libm-test.inc (cos_test): Add more tests and enable more
40184         tests for long double.
40185         (sin_test): Likewise.
40186         (sincos_test): Likewise.
40187         * sysdeps/i386/fpu/libm-test-ulps: Update.
40188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40189
40190 2012-03-16  David S. Miller  <davem@davemloft.net>
40191
40192         * sysdeps/sparc/fpu/math_private.h: New file.
40193
40194 2012-03-15  David S. Miller  <davem@davemloft.net>
40195
40196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40197         file.
40198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40200         file.
40201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40207         sysdep routines.
40208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40209
40210         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40211         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40212
40213         * sysdeps/sparc/sparc-ifunc.h: New file.
40214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40215         sparc-ifunc.h
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40218         Likewise.
40219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40220         Likewise.
40221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40225         Likewise.
40226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40231         Likewise.
40232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40233         Likewise.
40234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40238         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40239         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40241         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40258
40259 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40260
40261         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40262         scaling.
40263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40264
40265 2012-03-15  Andreas Jaeger  <aj@suse.de>
40266
40267         [BZ #13852]
40268         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40269         ieee754/flt-32 implementation for sin, cos and sincos.
40270         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40271         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40272         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40273         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40274         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40275         ieee754/flt-32 implementation for tan.
40276
40277         * math/libm-test.inc (cos_test): Enable some large input tests for
40278         float as well
40279         (sin_test): Likewise.
40280         (sincos_test): Likewise.
40281         (tan_test): Add tests for large input.
40282
40283         * sysdeps/i386/fpu/libm-test-ulps: Update.
40284
40285 2012-03-15  Andreas Jaeger  <aj@suse.de>
40286
40287         [BZ #13658]
40288         * math/libm-test.inc (cos_test): Add more test cases.
40289         (sin_test): Likewise.
40290         (sincos_test): Likewise.
40291
40292 2012-03-15  Andreas Jaeger  <aj@suse.de>
40293
40294         [BZ #13837]
40295         * math/libm-test.inc (cos_test): Add a test case for large input
40296         value.
40297         (sin_test): Likewise.
40298         (sincos_test): Likewise.
40299
40300 2012-03-15  Andreas Jaeger  <aj@suse.de>
40301             Joseph Myers  <joseph@codesourcery.com>
40302
40303         [BZ #13658]
40304         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40305         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40306         * sysdeps/i386/fpu/branred.c: Likewise.
40307         * sysdeps/i386/fpu/dosincos.c: Likewise.
40308         * sysdeps/i386/fpu/mpa.c: Likewise.
40309         * sysdeps/i386/fpu/s_cos.S: Likewise.
40310         * sysdeps/i386/fpu/s_sin.S: Likewise.
40311         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40312         * sysdeps/i386/fpu/sincos32.c: Likewise.
40313
40314         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40315         Define.
40316         (libc_feupdateenv_53bit): Define.
40317         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40318         Define.
40319         (libc_feupdateenv_53bit): Define.
40320
40321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40322         53 bit (without extend i386 double precision).
40323
40324         * math/libm-test.inc (sincos_test): Add tests for large input.
40325         (sin): Likewise.
40326         (cos): Likewise.
40327
40328         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40329
40330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40331
40332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40333
40334 2012-03-15  David S. Miller  <davem@davemloft.net>
40335
40336         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40337         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40338         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40339         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40350         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40352         file.
40353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40355         file.
40356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40358         file.
40359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40361         file.
40362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40363         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40364         fmin/fmax sysdep routines.
40365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40366
40367 2012-03-14  David S. Miller  <davem@davemloft.net>
40368
40369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40371         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40374         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40375         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40376         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40378         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40379         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40386         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40387         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40390         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40391         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40392         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40398         routines.
40399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40400         file.
40401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40403         file.
40404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40406         file.
40407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40409         file.
40410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40412         file.
40413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40415         file.
40416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40417         file.
40418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40419         file.
40420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40421         file.
40422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40423         New file.
40424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40425         file.
40426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40427         file.
40428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40430         file.
40431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40433         file.
40434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40436         file.
40437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40439         VIS3 routines.
40440
40441         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40442         New file.
40443
40444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40445
40446         * sysdeps/sparc/configure.in: New file.
40447         * sysdeps/sparc/configure: Generate.
40448         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40449         * configure: Regenerate.
40450         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40451         * config.make.in (have-as-vis3): New.
40452         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40453         available use -Av9d instead of -Av9a.
40454         * sysdeps/sparc/sparc64/Makefile: Likewise.
40455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40457         New file.
40458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40459         file.
40460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40461         New file.
40462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40463         file.
40464         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40466         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40467         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40468         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40469
40470         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40471         fzeros/fnegs to load 0x80000000 into a float register instead of
40472         using the stack.
40473         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40474
40475 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40476
40477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40478         bits/syscall.h.
40479         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40480         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40481         ($(inst_includedir)/bits/syscall.h): Remove rule.
40482         ($(objpfx)bits/syscall.d): Include instead of
40483         $(objpfx)syscall-list.d.
40484         (generated): Change syscall-list.h and syscall-list.d to
40485         bits/syscall.h and bits/syscall.d.
40486
40487 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40488
40489         [BZ #13846]
40490         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40491
40492 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40493
40494         [BZ #13841]
40495         * math/s_csqrt.c: Include <float.h>.
40496         (__csqrt): Scale large or subnormal inputs.
40497         * math/s_csqrtf.c: Likewise.
40498         * math/s_csqrtl.c: Likewise.
40499         * math/libm-test.inc (csqrt_test): Add more tests.
40500         * sysdeps/i386/fpu/libm-test-ulps: Update.
40501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40502
40503         [BZ #13840]
40504         * math/libm-test.inc (hypot_test): Add more tests.
40505
40506 2012-03-13  David S. Miller  <davem@davemloft.net>
40507
40508         [BZ #13840]
40509         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40510         double-precision for the calculation instead of scaling.
40511
40512 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40513
40514         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40515         manipulate bits before adding and subtracting TWO52[sx].
40516         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40517         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40518         Likewise.
40519         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40520
40521 2012-03-13  David S. Miller  <davem@davemloft.net>
40522
40523         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40524         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40525         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40526         rtld-global-offsets.h
40527         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40528
40529         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40530         large parameters.
40531
40532         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40533
40534         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40535         'err' in the ifdef scope in which it is actually used.
40536
40537         * nss/nss_db/db-init.c: Include string.h
40538
40539 2012-03-12  David S. Miller  <davem@davemloft.net>
40540
40541         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40542         masking out of the most significant byte of random value used.
40543         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40544         Fix coding style in previous change.
40545
40546         * sysdeps/unix/sysv/linux/kernel-features.h
40547         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40548         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40549         expression.
40550         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40551         later.
40552
40553 2012-03-11  David S. Miller  <davem@davemloft.net>
40554
40555         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40556         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40557         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40558         for 'resultvar' otherwise things get truncated on 64-bit.
40559
40560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40561         Fix masking out of the most significant byte of random value used.
40562
40563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40564
40565 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40566
40567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40568
40569 2012-03-09  David S. Miller  <davem@davemloft.net>
40570
40571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40572         variables with appropriate CPP guards.
40573         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40574         from the frame pointer, not the stack pointer.  Correct layout
40575         comments.  Fix test on resulting framesize and the management of
40576         the outregs buffer for pltexit.  Preserve floating point return
40577         values across _dl_call_pltexit call.
40578         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40579         framesize and the management of the outregs buffer for pltexit.
40580         Preserve floating point return values across _dl_call_pltexit
40581         call.
40582         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40583         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40584         (la_sparc64_gnu_pltexit): New functions.
40585         (print_exit): Fix format string for return register value.
40586
40587 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40588
40589         * sunrpc/Makefile (others): Add rpcgen.
40590         ($(objpfx)rpcgen): Remove special build rule and dependency on
40591         libc.
40592         * sunrpc/rpcgen.c: New file.
40593
40594 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40595
40596         [BZ #13673]
40597         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40598         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40599         * sysdeps/i386/crti.S: Likewise.
40600         * sysdeps/i386/crtn.S: Likewise.
40601         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40602         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40603         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40604         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40605         * sysdeps/sh/crti.S: Likewise.
40606         * sysdeps/sh/crtn.S: Likewise.
40607         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40608
40609         [BZ #13673]
40610         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40611         with URL.
40612         * locale/programs/locfile-kw.gperf: Likewise.
40613         * locale/programs/charmap-kw.h: Regenerated.
40614         * locale/programs/locfile-kw.h: Likewise.
40615
40616         [BZ #13673]
40617         * intl/plural.y: Replace FSF snail mail address with URL.
40618         * intl/plural.c: Regenerated.
40619
40620 2012-03-09  Richard Henderson  <rth@twiddle.net>
40621
40622         * include/math_private.h: Remove file.
40623         * math/math_private.h: Move file ...
40624         * sysdeps/generic/math_private.h: ... here.
40625
40626         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40627         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40628         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40629
40630         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40631         and <math_private.h>.
40632         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40633         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40634         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40635         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40636         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40637         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40638         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40639         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40640         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40641         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40642         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40643         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40644         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40646         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40647         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40648         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40649         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40650         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40651         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40653         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40654         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40656         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40657         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40672         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40673         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40674         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40675         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40676         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40677         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40678         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40679         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40681         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40682         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40683         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40684         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40685         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40686         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40687         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40688         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40690         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40691         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40692         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40693         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40694         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40695         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40696         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40697         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40698         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40699         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40700         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40701         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40702         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40703         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40704         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40705         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40706         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40709         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40711         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40712         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40716         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40717         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40719         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40720         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40721         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40722         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40723         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40724         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40725         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40726         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40727         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40728         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40729         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40730         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40731         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40732         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40733         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40734         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40735         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40736         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40737         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40738         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40739         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40740         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40741         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40742         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40743         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40744         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40745         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40746         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40747         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40748         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40749         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40750         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40751         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40752         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40753         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40754         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40755         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40756         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40757         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40758         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40759         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40760         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40761         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40762         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40763         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40764         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40765         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40766         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40767         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40768         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40769         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40770         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40771         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40772         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40773         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40774         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40775         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40776         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40777         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40778         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40779         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40780         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40781         * sysdeps/ieee754/k_standard.c: Likewise.
40782         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40786         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40792         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40794         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40795         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40796         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40799         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40804         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40805         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40806         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40807         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40809         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40810         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40811         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40812         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40813         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40814         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40815         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40816         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40817         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40818         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40819         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40820         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40821         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40822         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40823         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40824         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40825         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40826         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40827         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40828         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40829         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40830         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40831         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40832         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40833         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40834         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40835         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40836         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40837         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40838         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40839         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40840         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40841         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40842         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40843         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40844         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40845         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40846         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40848         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40849         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40850         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40851         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40852         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40853         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40854         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40856         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40857         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40859         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40860         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40861         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40862         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40863         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40864         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40865         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40866         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40867         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40868         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40869         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40870         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40871         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40872         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40873         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40874         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40875         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40877         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40878         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40879         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40880         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40881         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40884         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40886         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40889         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40893         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40894         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40895         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40896         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40897         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40898         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40899         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40900         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40901         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40903         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40904         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40905         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40906         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40907         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40908         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40909         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40910         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40911         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40912         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40913         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40914         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40915         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40916         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40917         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40921         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40922         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40923         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40924         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40926         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40927         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40928         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40931         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40932         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40937         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40938         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40942         * sysdeps/ieee754/s_lib_version.c: Likewise.
40943         * sysdeps/ieee754/s_matherr.c: Likewise.
40944         * sysdeps/ieee754/s_signgam.c: Likewise.
40945         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40946         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40947         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40948         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40949         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40950         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40951         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40952         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40953         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40954         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40955         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40956         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40957         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40958         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40959         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40960         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40962         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40963         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40964         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40965         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40966
40967 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40968
40969         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40970         * sunrpc/rpc_main.c: Likewise.
40971         * sunrpc/rpc_svcout.c: Likewise.
40972
40973 2012-03-09  David S. Miller  <davem@davemloft.net>
40974
40975         * include/math_private.h: New file.
40976
40977 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40978
40979         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40980         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40981         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40982         from <bits/socket_type.h>.
40983         (enum __socket_type): Don't define here.
40984         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40986         bits/socket_type.h.
40987
40988         [BZ #13566]
40989         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40990         checking __USE_GNU.
40991
40992         * Makerules ($(inst_includedir)/%.h): New rule.
40993         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40994         (install-others): Remove variable setting.
40995         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40996
40997 2012-03-08  Richard Henderson  <rth@twiddle.net>
40998
40999         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41000         from macro to inline function; merge with the
41001         !__LIBC_INTERNAL_MATH_INLINES version.
41002         (__ieee754_sqrtf): Likewise.
41003
41004         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41005         to inline function.
41006         (__rintf, __floor, __floorf): Likewise.
41007
41008         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41009         macro to inline function.
41010         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41011
41012         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41013         not <math/math_private.h>.
41014
41015 2012-03-08  David S. Miller  <davem@davemloft.net>
41016
41017         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41018         copyright year.
41019         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41020
41021 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41022
41023         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41024         normalization.
41025         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41026         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41027
41028 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41029
41030         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41031         be defined individually, they must be defined as a block.  Define
41032         S for printing a string instead of hidint the different by using a
41033         macro for adding the 'l'.
41034         * stdio-common/tst-fphex-wide.c: Adjust.
41035
41036 2012-03-07  Marek Polacek  <polacek@redhat.com>
41037
41038         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41039
41040 2012-03-08  Marek Polacek  <polacek@redhat.com>
41041
41042         [BZ #13806]
41043         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41044         * stdio-common/tst-fphex.c: Define a few macros to make the
41045         test reusable.  Use them.
41046         * stdio-common/tst-fphex-wide.c: New file.
41047
41048 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41049
41050         [BZ #6911]
41051         * manual/macros.texi (gnusystems): New macro.
41052         (nongnusystems): Likewise.
41053         (gnulinuxhurdsystems): Likewise.
41054         (gnuhurdsystems): Likewise..
41055         (gnulinuxsystems): Likewise.
41056         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41057         variants of the GNU system, not "GNU system".
41058         * manual/conf.texi: Likewise.
41059         * manual/errno.texi: Likewise.  Update example of errno macro
41060         expansion.
41061         * manual/filesys.texi: Likewise.
41062         (getumask): Document as specific to GNU/Hurd.
41063         * manual/install.texi: Likewise.  Reword some references to
41064         GNU/Linux.
41065         * manual/intro.texi: Likewise.
41066         * manual/io.texi: Likewise.
41067         (File Name Portability): Detail which constraints are inapplicable
41068         to all GNU systems and which are only inapplicable to GNU/Hurd.
41069         * manual/job.texi: Likewise.
41070         * manual/llio.texi: Likewise.
41071         (O_NOCTTY): Document as present on GNU/Linux.
41072         * manual/maint.texi: Likewise.
41073         * manual/memory.texi: Likewise.
41074         * manual/pattern.texi: Likewise.
41075         * manual/pipe.texi: Likewise.
41076         * manual/process.texi: Likewise.
41077         * manual/resource.texi: Likewise.
41078         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41079         child on GNU/Hurd.
41080         * manual/setjmp.texi: Likewise.
41081         * manual/signal.texi: Likewise.
41082         * manual/startup.texi: Likewise.
41083         * manual/stdio.texi: Likewise.
41084         * manual/terminal.texi: Likewise.
41085         (ONLCR): Document as POSIX.
41086         (OXTABS): Document availability on GNU/Linux as XTABS.
41087         (ONOEOT): Document availability separately from other bits.
41088         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41089         * manual/time.texi: Likewise.
41090         * manual/users.texi: Likewise.
41091         * INSTALL: Regenerated.
41092         * sysdeps/gnu/errlist.c: Regenerated.
41093
41094         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41095         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41096         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41097         puts.
41098         * configure: Regenerated.
41099
41100 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41101
41102         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41103         default includes instead of AC_HEADER_CHECK.
41104         * sysdeps/i386/configure: Regenerated.
41105
41106         [BZ #10716]
41107         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41108         * math/s_cacoshf.c (__cacoshf): Likewise.
41109         * math/s_cacoshl.c (__cacoshl): Likewise.
41110         * math/s_casinh.c (__casinh): Set signs of result from argument.
41111         * math/s_casinhf.c (__casinhf): Likewise.
41112         * math/s_casinhl.c (__casinhl): Likewise.
41113         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41114         (casinh_test): Add more tests.
41115         * sysdeps/i386/fpu/libm-test-ulps: Update.
41116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41117
41118 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41119
41120         * po/zh_TW.po: Update from translation team.
41121
41122         * login/Makefile (distribute): Remove variable.
41123         * catgets/Makefile: Likewise.
41124         * mach/Makefile: Likewise.
41125         * malloc/Makefile: Likewise.
41126         * misc/Makefile: Likewise.
41127         * iconv/Makefile: Likewise.
41128         * nscd/Makefile: Likewise.
41129         * hurd/Makefile: Likewise.
41130         * manual/Makefile: Likewise.
41131         * locale/Makefile: Likewise.
41132         * intl/Makefile: Likewise.
41133         * conform/Makefile: Likewise.
41134         * nss/Makefile: Likewise.
41135         * time/Makefile: Likewise.
41136         * soft-fp/Makefile: Likewise.
41137         * dirent/Makefile: Likewise.
41138         * gmon/Makefile: Likewise.
41139         * po/Makefile: Likewise.
41140         * rt/Makefile: Likewise.
41141         * socket/Makefile: Likewise.
41142         * math/Makefile: Likewise.
41143         * signal/Makefile: Likewise.
41144         * debug/Makefile: Likewise.
41145         * elf/Makefile: Likewise.
41146         * timezone/Makefile: Likewise.
41147         * stdlib/Makefile: Likewise.
41148         * iconvdata/Makefile: Likewise.
41149         * sunrpc/Makefile: Likewise.
41150         * io/Makefile: Likewise.
41151         * argp/Makefile: Likewise.
41152         * inet/Makefile: Likewise.
41153         * hesiod/Makefile: Likewise.
41154         * grp/Makefile: Likewise.
41155         * csu/Makefile: Likewise.
41156         * wctype/Makefile: Likewise.
41157         * crypt/Makefile: Likewise.
41158         * libio/Makefile: Likewise.
41159         * string/Makefile: Likewise.
41160         * nis/Makefile: Likewise.
41161         * resolv/Makefile: Likewise.
41162         * stdio-common/Makefile: Likewise.
41163         * wcsmbs/Makefile: Likewise.
41164         * dlfcn/Makefile: Likewise.
41165         * posix/Makefile: Likewise.
41166
41167         [BZ #6959]
41168         * timezone/Makefile: Don't install timezone files, just the programs
41169         and scripts.
41170
41171 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41172
41173         * nss/databases.def: Add missing gshadow entry.
41174
41175         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41176
41177 2012-03-06  Marek Polacek  <polacek@redhat.com>
41178
41179         [BZ #13726]
41180         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41181         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41182         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41183         * stdio-common/tst-long-dbl-fphex.c: New file.
41184
41185 2012-03-06  David S. Miller  <davem@davemloft.net>
41186
41187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41188         (set_obp_int): New function.
41189         (get_obp_int): New function.
41190         (__get_clockfreq_via_dev_openprom): Likewise.
41191         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41192         Avoid unused variable warnings on 'val' and use builtin_expect.
41193         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41194         __builtin_expect.
41195         (INLINE_CLONE_SYSCALL): Likewise.
41196
41197 2012-03-05  David S. Miller  <davem@davemloft.net>
41198
41199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41200
41201 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41202
41203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41204
41205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41206         only for |x| >= 40.
41207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41208
41209 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41210
41211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41212         Replace gettimeofday with __vdso_gettimeofday.
41213
41214         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41215         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41216         __vdso_clock_gettime and __vdso_getcpu.
41217
41218         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41219         time with __vdso_time.
41220
41221 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41222
41223         * manual/lang.texi (size_t): Note types to which size_t may be
41224         equivalent with the GNU C Library, but do not describe when
41225         differences between them are significant.
41226
41227 2012-03-05  Andreas Jaeger  <aj@suse.de>
41228
41229         * sysdeps/i386/fpu/libm-test-ulps: Update.
41230
41231 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41232
41233         [BZ #3976]
41234         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41235         (__ieee754_pow): Save and restore rounding mode and use
41236         round-to-nearest for main computations.
41237         * math/libm-test.inc (pow_test_tonearest): New function.
41238         (pow_test_towardzero): Likewise.
41239         (pow_test_downward): Likewise.
41240         (pow_test_upward): Likewise.
41241         (main): Call the new functions.
41242         * sysdeps/i386/fpu/libm-test-ulps: Update.
41243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244
41245         [BZ #3976]
41246         * math/libm-test.inc (cosh_test_tonearest): New function.
41247         (cosh_test_towardzero): Likewise.
41248         (cosh_test_downward): Likewise.
41249         (cosh_test_upward): Likewise.
41250         (sinh_test_tonearest): Likewise.
41251         (sinh_test_towardzero): Likewise.
41252         (sinh_test_downward): Likewise.
41253         (sinh_test_upward): Likewise.
41254         (main): Call the new functions.
41255         * sysdeps/i386/fpu/libm-test-ulps: Update.
41256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41257
41258 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41259
41260         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41261         default stack guard is set in last bytes.
41262         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41263
41264 2012-03-05  Kees Cook  <keescook@chromium.org>
41265
41266         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41267
41268         [BZ #13656]
41269         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41270         possibly allocate from heap instead of stack.
41271         * stdio-common/bug-vfprintf-nargs.c: New file.
41272         * stdio-common/Makefile (tests): Add nargs overflow test.
41273
41274 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41275
41276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41277
41278 2012-03-03  Marek Polacek  <polacek@redhat.com>
41279
41280         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41281         * math/math_private.h: Likewise.
41282         * stdlib/tst-strtod.c: Likewise.
41283         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41284         * sysdeps/x86_64/bits/atomic.h: Likewise.
41285
41286 2012-03-02  David S. Miller  <davem@davemloft.net>
41287
41288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41292         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41293         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41294         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41295         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41296
41297 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41298
41299         [BZ #13792]
41300         * manual/examples/README: New file, says the example source files
41301         can be used under GPL>=2.
41302         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41303         line containing just "*/".
41304         * manual/examples/add.c: Add copyright header (GPL>=2).
41305         * manual/examples/argp-ex1.c: Likewise.
41306         * manual/examples/argp-ex2.c: Likewise.
41307         * manual/examples/argp-ex3.c: Likewise.
41308         * manual/examples/argp-ex4.c: Likewise.
41309         * manual/examples/atexit.c: Likewise.
41310         * manual/examples/db.c: Likewise.
41311         * manual/examples/dir.c: Likewise.
41312         * manual/examples/dir2.c: Likewise.
41313         * manual/examples/execinfo.c: Likewise.
41314         * manual/examples/filecli.c: Likewise.
41315         * manual/examples/filesrv.c: Likewise.
41316         * manual/examples/fmtmsgexpl.c: Likewise.
41317         * manual/examples/genpass.c: Likewise.
41318         * manual/examples/inetcli.c: Likewise.
41319         * manual/examples/inetsrv.c: Likewise.
41320         * manual/examples/isockad.c: Likewise.
41321         * manual/examples/longopt.c: Likewise.
41322         * manual/examples/memopen.c: Likewise.
41323         * manual/examples/memstrm.c: Likewise.
41324         * manual/examples/mkfsock.c: Likewise.
41325         * manual/examples/mkisock.c: Likewise.
41326         * manual/examples/mygetpass.c: Likewise.
41327         * manual/examples/pipe.c: Likewise.
41328         * manual/examples/popen.c: Likewise.
41329         * manual/examples/rprintf.c: Likewise.
41330         * manual/examples/search.c: Likewise.
41331         * manual/examples/select.c: Likewise.
41332         * manual/examples/setjmp.c: Likewise.
41333         * manual/examples/sigh1.c: Likewise.
41334         * manual/examples/sigusr.c: Likewise.
41335         * manual/examples/stpcpy.c: Likewise.
41336         * manual/examples/strdupa.c: Likewise.
41337         * manual/examples/strftim.c: Likewise.
41338         * manual/examples/strncat.c: Likewise.
41339         * manual/examples/subopt.c: Likewise.
41340         * manual/examples/swapcontext.c: Likewise.
41341         * manual/examples/termios.c: Likewise.
41342         * manual/examples/testopt.c: Likewise.
41343         * manual/examples/testpass.c: Likewise.
41344         * manual/examples/timeval_subtract.c: Likewise.
41345
41346         [BZ #13792]
41347         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41348         function to ...
41349         * manual/timeval_subtract.c.texi: ... here, new file.
41350
41351 2012-03-02  David S. Miller  <davem@davemloft.net>
41352
41353         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41354
41355 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41356
41357         [BZ #3976]
41358         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41359         (__sin): Save and restore rounding mode and use round-to-nearest
41360         for all computations.
41361         (__cos): Save and restore rounding mode and use round-to-nearest
41362         for all computations.
41363         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41364         <fenv.h>.
41365         (tan): Save and restore rounding mode and use round-to-nearest for
41366         all computations.
41367         * math/libm-test.inc (cos_test_tonearest): New function.
41368         (cos_test_towardzero): Likewise.
41369         (cos_test_downward): Likewise.
41370         (cos_test_upward): Likewise.
41371         (sin_test_tonearest): Likewise.
41372         (sin_test_towardzero): Likewise.
41373         (sin_test_downward): Likewise.
41374         (sin_test_upward): Likewise.
41375         (tan_test_tonearest): Likewise.
41376         (tan_test_towardzero): Likewise.
41377         (tan_test_downward): Likewise.
41378         (tan_test_upward): Likewise.
41379         (main): Call the new functions.
41380         * sysdeps/i386/fpu/libm-test-ulps: Update.
41381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41382
41383         [BZ #10135]
41384         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41385         small n, then large n, before computing and testing k+n.
41386         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41388         Likewise.
41389         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41390         Likewise.
41391         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41392         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41395         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41396         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41397         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41398         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41399         * math/libm-test.inc (scalbn_test): Add more tests.
41400         (scalbln_test): Likewise.
41401
41402         * manual/filesys.texi (mode_t): Describe constraints on size and
41403         signedness, not exact equivalence to a particular type.
41404         (ino_t): Likewise.
41405         (ino64_t): Likewise.
41406         (dev_t): Likewise.
41407         (nlink_t): Likewise.
41408         (blkcnt_t): Likewise.
41409         (blkcnt64_t): Likewise.
41410         * manual/llio.texi (off_t): Likewise.
41411
41412         [BZ #3976]
41413         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41414         (__ieee754_exp): Save and restore rounding mode and use
41415         round-to-nearest for all computations.
41416         * math/libm-test.inc (exp_test_tonearest): New function.
41417         (exp_test_towardzero): Likewise.
41418         (exp_test_downward): Likewise.
41419         (exp_test_upward): Likewise.
41420         (main): Call the new functions.
41421         * sysdeps/i386/fpu/libm-test-ulps: Update.
41422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41423
41424 2012-03-01  Chris Demetriou  <cgd@google.com>
41425
41426         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41427         have predictable order.
41428
41429 2012-03-01  David S. Miller  <davem@davemloft.net>
41430
41431         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41432
41433         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41434         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41435         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41436         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41437
41438         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41439         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41440         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41442         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41443         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41444         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41445         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41446         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41447
41448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41449
41450         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41451         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41452         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41453
41454         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41455         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41456         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41457         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41458         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41459         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41460         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41461         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41462         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41463         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41464         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41465         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41467         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41468         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41469         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41470         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41471         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41472         * sysdeps/sparc/elf/configure: Regenerated.
41473
41474 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41475
41476         * configure.in (AS, LD): Require binutils 2.20 or later.
41477         * configure: Regenerated.
41478         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41479         as required minimum version.
41480         * INSTALL: Regenerated.
41481
41482         [BZ #2541]
41483         [BZ #4108]
41484         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41485         before squaring exponent.
41486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41487         bottom long double and 27 bits of top long double before squaring
41488         exponent.
41489         * math/libm-test.inc (erfc_test): Add more tests.
41490         * sysdeps/i386/fpu/libm-test-ulps: Update.
41491         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41493
41494 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41495
41496         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41497         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41498         containing bit-fields.
41499         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41500         * soft-fp/single.h (_FP_UNION_S): Likewise.
41501         * soft-fp/double.h (_FP_UNION_D): Likewise.
41502
41503 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41504
41505         [BZ #13786]
41506         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41507         not include ../strcmp.S.
41508         [USE_AS_STRNCASECMP_L]: Likewise.
41509         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41510         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41511         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41512         (__strncasecmp_l_ia32): Define as alias to
41513         __strncasecmp_l_nonascii.
41514
41515         [BZ #5794]
41516         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41517         * sysdeps/i386/fpu/libm-test-ulps: Update.
41518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41519
41520         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41522
41523 2012-02-29  Jeff Law  <law@redhat.com>
41524
41525         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41526         out of bounds read.
41527
41528 2012-02-29  Marek Polacek  <polacek@redhat.com>
41529
41530         [BZ #13706]
41531         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41532         * elf/Makefile: Add rules to run tst-unused-dep.out.
41533
41534 2012-02-28  David S. Miller  <davem@davemloft.net>
41535
41536         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41537         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41538         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41539         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41540         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41541         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41542
41543 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41544
41545         * math/libm-test.inc (llround_test): Move one test from
41546         lround_test.  Use TEST_f_L in moved test.
41547         (lround_test): Move misplaced test to llround_test.  Add testcase
41548         from bug 2561.
41549
41550 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41551
41552         * sysdeps/x86_64/fpu/e_expf.S: New file.
41553         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41554
41555 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41556
41557         [BZ #13637]
41558         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41559         of remain_len that may cause incomplete multi-byte character and
41560         false match.
41561         * posix/bug-regex33.c: New file.
41562         * posix/Makefile (tests): Add bug-regex33.
41563
41564 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41565
41566         * manual/macros.texi: New file.
41567         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41568         * manual/libc.texinfo: Include macros.texi.
41569         * manual/creatute.texi: Likewise.
41570         * manual/install.texi: Likewise.
41571         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41572         @glibcadj{} in references to the GNU C Library.
41573         * manual/charset.texi: Likewise.
41574         * manual/conf.texi: Likewise.
41575         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41576         when not using those macros.
41577         * manual/creature.texi: Likewise.
41578         * manual/crypt.texi: Likewise.
41579         * manual/errno.texi: Likewise.
41580         * manual/filesys.texi: Likewise.
41581         * manual/header.texi: Likewise.
41582         * manual/install.texi: Likewise.
41583         * manual/intro.texi: Likewise.
41584         * manual/io.texi: Likewise.
41585         * manual/job.texi: Likewise.
41586         * manual/lang.texi: Likewise.
41587         * manual/libc.texiinfo: Likewise.
41588         * manual/llio.texi: Likewise.
41589         * manual/locale.texi: Likewise.
41590         * manual/maint.texi: Likewise.
41591         * manual/math.texi: Likewise.
41592         * manual/memory.texi: Likewise.
41593         * manual/message.texi: Likewise.
41594         * manual/nss.texi: Likewise.
41595         * manual/pattern.texi: Likewise.
41596         * manual/process.texi: Likewise.
41597         * manual/resource.texi: Likewise.
41598         * manual/search.texi: Likewise.
41599         * manual/setjmp.texi: Likewise.
41600         * manual/signal.texi: Likewise.
41601         * manual/socket.texi: Likewise.
41602         * manual/startup.texi: Likewise.
41603         * manual/stdio.texi: Likewise.
41604         * manual/string.texi: Likewise.
41605         * manual/sysinfo.texi: Likewise.
41606         * manual/syslog.texi: Likewise.
41607         * manual/terminal.texi: Likewise.
41608         * manual/time.texi: Likewise.
41609         * manual/users.texi: Likewise.
41610         * INSTALL: Regenerated.
41611         * NOTES: Regenerated.
41612         * sysdeps/gnu/errlist.c: Regenerated.
41613
41614 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41615
41616         * include/dirent.h: Include <dirstream.h> before
41617         <dirent/dirent.h>.
41618
41619 2012-02-28  David S. Miller  <davem@davemloft.net>
41620
41621         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41622         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41623         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41624         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41625
41626 2012-02-27  David S. Miller  <davem@davemloft.net>
41627
41628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41630         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41631         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41632
41633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41634         frame pointer instead of stack pointer relative arg slot.
41635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41636         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41637         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41638
41639 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41640
41641         [BZ #3992]
41642         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41643
41644 2012-02-27  David S. Miller  <davem@davemloft.net>
41645
41646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41650         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41651         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41652         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41653         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41654
41655 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41656
41657         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41658         later.  Allow versions 5-9.
41659         * configure: Regenerated.
41660         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41661         required minimum version and 4.6 as recommended version.  Do not
41662         mention bugs in GCC 2.7 and 2.8.
41663         * INSTALL: Regenerated.
41664
41665 2012-02-27  David S. Miller  <davem@davemloft.net>
41666
41667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41671         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41672         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41673         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41674         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41675
41676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41677         manipulate bits before adding and subtracting TWO112[sx].
41678         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41679
41680 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41681
41682         [BZ #13775]
41683         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41684         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41685         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41686         being in POSIX, because they are in 1003.1-2008.
41687
41688         * rt/tst-aio.c: Include <fcntl.h>.
41689         * rt/tst-aio7.c: Likewise.
41690         * rt/tst-aio64.c: Likewise.
41691
41692         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41693
41694 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41695
41696         * manual/install.texi (--with-headers): Describe headers as
41697         interface headers, not private headers.
41698         (Specific advice for GNU/Linux systems): Describe use of headers
41699         from "make headers_install", not private headers from older
41700         kernels.
41701         * INSTALL: Regenerated.
41702         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41703         Change to 2.6.19.
41704         * sysdeps/unix/sysv/linux/configure: Regenerated.
41705
41706         * manual/llio.texi (fclean): Remove documentation.
41707
41708         * manual/Makefile (libc-texi-generated): New variable.  Include
41709         version.texi.
41710         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41711         $(libc-texi-generated), not duplicated list of files.
41712         (version.texi, stamp-version): New rules.
41713         (realclean): Remove $(libc-texi-generated), not individual files
41714         from that list.  Do not remove dir-add.texinfo.
41715         * manual/libc.texinfo: Comment out uses of edition numbers and
41716         references to printed manual.  Remove last-updated dates.
41717         (EDITION): Comment out.
41718         (ISBN): Likewise.
41719         (VERSION, UPDATED): Remove.
41720         (version.texi): Include.
41721
41722 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41723
41724         * sysdeps/posix/spawni.c: Include <signal.h>.
41725         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41726         * sysdeps/pthread/aio_fsync.c: Likewise.
41727
41728 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41729
41730         * conform/Makefile (tests): Run only when not cross-compiling and
41731         when fast-check is not defined.
41732
41733         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41734         * conform/data/limits.h-data: Fixes for POSIX2008.
41735         * conform/run-conformtest.sh: Run all tests.
41736         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41737         headers.
41738         * include/bits/dlfcn.h: Likewise.
41739         * include/langinfo.h: Likewise.
41740         * include/monetary.h: Likewise.
41741         * include/sys/poll.h: Likewise.
41742
41743         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41744         for __USE_GNU.
41745         * posix/spawn.h: Define __need_sigset_t.
41746         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41747         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41748         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41749         to get sigevent_t only.
41750         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41751         only for __USE_GNU.
41752         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41753         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41754         process_vm_writev only for __USE_GNU.
41755         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41756
41757         * conform/Makefile: For now ignore errors from run-conformtest.
41758         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41759         POSIX to avoid namespace pollution.  Don't prepend headers.
41760         * conform/data/aio.h-data: Fixes for POSIX testing.
41761         * conform/data/fcntl.h-data: Likewise.
41762         * conform/data/glob.h-data: Likewise.
41763         * conform/data/grp.h-data: Likewise.
41764         * conform/data/pthread.h-data: Likewise.
41765         * conform/data/pwd.h-data: Likewise.
41766         * conform/data/signal.h-data: Likewise.
41767         * conform/data/spawn.h-data: Likewise.
41768         * conform/data/stdio.h-data: Likewise.
41769         * conform/data/stdlib.h-data: Likewise.
41770         * conform/data/stropts.h-data: Likewise.
41771         * conform/data/sys/mman.h-data: Likewise.
41772         * conform/data/sys/stat.h-data: Likewise.
41773         * conform/data/sys/types.h-data: Likewise.
41774         * conform/data/sys/wait.h-data: Likewise.
41775         * conform/data/time.h-data: Likewise.
41776         * conform/data/unistd.h-data: Likewise.
41777         * conform/data/utime.h-data: Likewise.
41778
41779         * io/sys/stat.h: fchmod was always in POSIX.
41780         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41781         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41782         * rt/aio.h: Define __need_timespec before including <time.h>.
41783         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41784         struct.  Add forward declaration of pthread_attr_t and use it in
41785         sigevent.
41786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41788         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41789         always remove CLK_TCK definition.
41790
41791 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41792
41793         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41794
41795 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41796
41797         * conform/run-conformtest.sh: New file.
41798         * conform/Makefile: Run run-conformtest for tests.
41799         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41800         support.
41801
41802         * conform/data/uchar.h-data: New file.
41803         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41804         * conform/data/arpa/inet.h-data: Likewise.
41805         * conform/data/assert.h-data: Likewise.
41806         * conform/data/complex.h-data: Likewise.
41807         * conform/data/cpio.h-data: Likewise.
41808         * conform/data/ctype.h-data: Likewise.
41809         * conform/data/dirent.h-data: Likewise.
41810         * conform/data/dlfcn.h-data: Likewise.
41811         * conform/data/errno.h-data: Likewise.
41812         * conform/data/fcntl.h-data: Likewise.
41813         * conform/data/float.h-data: Likewise.
41814         * conform/data/fmtmsg.h-data: Likewise.
41815         * conform/data/fnmatch.h-data: Likewise.
41816         * conform/data/ftw.h-data: Likewise.
41817         * conform/data/glob.h-data: Likewise.
41818         * conform/data/grp.h-data: Likewise.
41819         * conform/data/iconv.h-data: Likewise.
41820         * conform/data/inttypes.h-data: Likewise.
41821         * conform/data/langinfo.h-data: Likewise.
41822         * conform/data/libgen.h-data: Likewise.
41823         * conform/data/limits.h-data: Likewise.
41824         * conform/data/locale.h-data: Likewise.
41825         * conform/data/math.h-data: Likewise.
41826         * conform/data/monetary.h-data: Likewise.
41827         * conform/data/mqueue.h-data: Likewise.
41828         * conform/data/ndbm.h-data: Likewise.
41829         * conform/data/net/if.h-data: Likewise.
41830         * conform/data/netdb.h-data: Likewise.
41831         * conform/data/netinet/in.h-data: Likewise.
41832         * conform/data/nl_types.h-data: Likewise.
41833         * conform/data/poll.h-data: Likewise.
41834         * conform/data/pthread.h-data: Likewise.
41835         * conform/data/pwd.h-data: Likewise.
41836         * conform/data/regex.h-data: Likewise.
41837         * conform/data/sched.h-data: Likewise.
41838         * conform/data/search.h-data: Likewise.
41839         * conform/data/semaphore.h-data: Likewise.
41840         * conform/data/setjmp.h-data: Likewise.
41841         * conform/data/signal.h-data: Likewise.
41842         * conform/data/spawn.h-data: Likewise.
41843         * conform/data/stdarg.h-data: Likewise.
41844         * conform/data/stdio.h-data: Likewise.
41845         * conform/data/stdlib.h-data: Likewise.
41846         * conform/data/string.h-data: Likewise.
41847         * conform/data/strings.h-data: Likewise.
41848         * conform/data/stropts.h-data: Likewise.
41849         * conform/data/sys/ipc.h-data: Likewise.
41850         * conform/data/sys/mman.h-data: Likewise.
41851         * conform/data/sys/msg.h-data: Likewise.
41852         * conform/data/sys/resource.h-data: Likewise.
41853         * conform/data/sys/select.h-data: Likewise.
41854         * conform/data/sys/sem.h-data: Likewise.
41855         * conform/data/sys/shm.h-data: Likewise.
41856         * conform/data/sys/socket.h-data: Likewise.
41857         * conform/data/sys/stat.h-data: Likewise.
41858         * conform/data/sys/statvfs.h-data: Likewise.
41859         * conform/data/sys/time.h-data: Likewise.
41860         * conform/data/sys/timeb.h-data: Likewise.
41861         * conform/data/sys/times.h-data: Likewise.
41862         * conform/data/sys/types.h-data: Likewise.
41863         * conform/data/sys/uio.h-data: Likewise.
41864         * conform/data/sys/un.h-data: Likewise.
41865         * conform/data/sys/utsname.h-data: Likewise.
41866         * conform/data/sys/wait.h-data: Likewise.
41867         * conform/data/syslog.h-data: Likewise.
41868         * conform/data/tar.h-data: Likewise.
41869         * conform/data/termios.h-data: Likewise.
41870         * conform/data/utime.h-data: Likewise.
41871         * conform/data/utmpx.h-data: Likewise.
41872         * conform/data/varargs.h-data: Likewise.
41873         * conform/data/wchar.h-data: Likewise.
41874         * conform/data/wctype.h-data: Likewise.
41875         * conform/data/wordexp.h-data: Likewise.
41876
41877         * include/stropts.h: New file.
41878         * include/uchar.h: New file.
41879         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41880         * include/assert.h: Likewise.
41881         * include/ctype.h: Likewise.
41882         * include/dirent.h: Likewise.
41883         * include/dlfcn.h: Likewise.
41884         * include/fcntl.h: Likewise.
41885         * include/fnmatch.h: Likewise.
41886         * include/glob.h: Likewise.
41887         * include/grp.h: Likewise.
41888         * include/libio.h: Likewise.
41889         * include/locale.h: Likewise.
41890         * include/math.h: Likewise.
41891         * include/net/if.h: Likewise.
41892         * include/netdb.h: Likewise.
41893         * include/netinet/in.h: Likewise.
41894         * include/pthread.h: Likewise.
41895         * include/pwd.h: Likewise.
41896         * include/regex.h: Likewise.
41897         * include/sched.h: Likewise.
41898         * include/search.h: Likewise.
41899         * include/setjmp.h: Likewise.
41900         * include/signal.h: Likewise.
41901         * include/stdio.h: Likewise.
41902         * include/stdlib.h: Likewise.
41903         * include/string.h: Likewise.
41904         * include/sys/cdefs.h: Likewise.
41905         * include/sys/mman.h: Likewise.
41906         * include/sys/msg.h: Likewise.
41907         * include/sys/resource.h: Likewise.
41908         * include/sys/select.h: Likewise.
41909         * include/sys/socket.h: Likewise.
41910         * include/sys/stat.h: Likewise.
41911         * include/sys/statvfs.h: Likewise.
41912         * include/sys/time.h: Likewise.
41913         * include/sys/times.h: Likewise.
41914         * include/sys/uio.h: Likewise.
41915         * include/sys/utsname.h: Likewise.
41916         * include/sys/wait.h: Likewise.
41917         * include/termios.h: Likewise.
41918         * include/time.h: Likewise.
41919         * include/ulimit.h: Likewise.
41920         * include/unistd.h: Likewise.
41921         * include/utime.h: Likewise.
41922         * include/wchar.h: Likewise.
41923         * include/wctype.h: Likewise.
41924         * include/wordexp.h: Likewise.
41925
41926         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41927
41928         * time/time.h: TIME_UTC must be a macro.
41929         Make timespec_get available for ISO C11 only as well.
41930
41931 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41932
41933         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41934         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41935
41936 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41937
41938         * configure.in: Use -o not -a in test for unsupported multi-arch.
41939
41940 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41941
41942         * manual/texinfo.tex: Update to version 2012-01-19.16.
41943
41944 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41945
41946         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41947
41948 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41949
41950         [BZ #13738]
41951         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41952         * manual/fdl-1.3.texi: New file.
41953         * manual/fdl-1.1.texi: File removed.
41954
41955         [BZ #13738]
41956         * manual/libc.texinfo (FDL_VERSION): New @set.
41957         Use it for mention of FDL in cover text.
41958         (Documentation License): Use it in @include file name.
41959
41960 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41961             Roland McGrath  <roland@hack.frob.com>
41962
41963         [BZ #5461]
41964         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41965         (not LONG_LONG_MAX and LONG_LONG_MIN.
41966         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41967         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41968         name.
41969         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41970
41971 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41972
41973         [BZ #2547]
41974         [BZ #11365]
41975         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41976         manipulate bits before adding and subtracting TWO23[sx].
41977         * math/libm-test.inc (nearbyint_test): Add more tests.
41978
41979 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41980
41981         [BZ #2548]
41982         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41983         bits before adding and subtracting TWO23[sx].
41984         * math/libm-test.inc (rint_test): Add more tests.
41985         (rint_test_tonearest): Likewise.
41986         (rint_test_towardzero): Likewise.
41987         (rint_test_downward): Likewise.
41988         (rint_test_upward: Likewise.
41989
41990 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41991
41992         [BZ #10110]
41993         * include/stdc-predef.h: New file.  Extracted from features.h.
41994         * include/features.h: Include stdc-predef.h.
41995         * Makefile (headers): Add stdc-predef.h.
41996         * CONFORMANCE (Compiler limitations): Update.
41997
41998 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41999
42000         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42001
42002 2012-02-21  David S. Miller  <davem@davemloft.net>
42003
42004         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42005         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42006
42007 2012-02-20  David S. Miller  <davem@davemloft.net>
42008
42009         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42010         using a normal save/restore sequence, rather than allocating a
42011         dummy stack frame just to store a frame pointer and restore.
42012         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42013
42014 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42015
42016         * manual/install.texi: Fix stray word in line-wrapped comment.
42017
42018 2012-02-20  David S. Miller  <davem@davemloft.net>
42019
42020         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42021         both binutils and gcc support GOTDATA.
42022
42023         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42024         "rd %pc" in the PIC register setup sequences.
42025
42026         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42027         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42028         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42029         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42030         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42032         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42033         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42034         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42035         (SYSCALL_ERROR_HANDLER): Likewise.
42036         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42037         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42039         (SYSCALL_ERROR_HANDLER): Likewise.
42040
42041         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42042         (HAVE_GCC_GOTDATA): New.
42043         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42044         relocation support in both binutils and gcc.
42045         * sysdeps/sparc/elf/configure: Regenerate.
42046
42047         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42048         * sysdeps/sparc/sparc32/elf/configure: Delete.
42049         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42050         * sysdeps/sparc/sparc64/elf/configure: Delete.
42051         * sysdeps/sparc/elf/configure.in: New file.
42052         * sysdeps/sparc/elf/configure: Generate.
42053
42054         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42055         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42056         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42057         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42058         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42059
42060 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42061
42062         * manual/install.texi: Do not mention specific glibc version
42063         numbers.
42064         * manual/libc.texinfo (VERSION, UPDATED): Update.
42065         (@copying): Use @copyright{} and range of years.
42066
42067 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42068
42069         [BZ #13695]
42070         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42071         [crti.S not in sysdirs] (generated): Do not append.
42072         [crti.S not in sysdirs] (omit-deps): Likewise.
42073         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42074         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42075         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42076         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42077         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42078         Likewise.
42079         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42080         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42081         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42082         * csu/defs.awk: Remove file.
42083         * sysdeps/generic/initfini.c: Likewise.
42084         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42085         variable.
42086         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42087         Likewise.
42088
42089 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42090
42091         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42092         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42093         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42094         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42095         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42096         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42097         <bits/epoll.h>.
42098         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42099         (__EPOLL_PACKED): Define to empty if not defined by
42100         <bits/epoll.h>.
42101         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42103         bits/epoll.h.
42104
42105 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42106
42107         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42108         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42109         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42110         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42111         <bits/timerfd.h>.
42112         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42114         bits/timerfd.h.
42115
42116 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42117
42118         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42119         in C locale.
42120         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42121         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42122         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42124
42125 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42126
42127         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42128         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42129
42130 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42131
42132         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42133         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42134         defined.
42135         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42136         Likewise.
42137         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42138         entry for 2.16.
42139
42140 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42141
42142         * math/w_acos.c: Use non-signaling floating-point comparisons.
42143         * math/w_acosf.c: Likewise.
42144         * math/w_acosh.c: Likewise.
42145         * math/w_acoshf.c: Likewise.
42146         * math/w_acoshl.c: Likewise.
42147         * math/w_acosl.c: Likewise.
42148         * math/w_asin.c: Likewise.
42149         * math/w_asinf.c: Likewise.
42150         * math/w_asinl.c: Likewise.
42151         * math/w_atanh.c: Likewise.
42152         * math/w_atanhf.c: Likewise.
42153         * math/w_atanhl.c: Likewise.
42154         * math/w_exp2.c: Likewise.
42155         * math/w_exp2f.c: Likewise.
42156         * math/w_exp2l.c: Likewise.
42157         * math/w_j0.c: Likewise.
42158         * math/w_j0f.c: Likewise.
42159         * math/w_j0l.c: Likewise.
42160         * math/w_j1.c: Likewise.
42161         * math/w_j1f.c: Likewise.
42162         * math/w_j1l.c: Likewise.
42163         * math/w_jn.c: Likewise.
42164         * math/w_jnf.c: Likewise.
42165         * math/w_log.c: Likewise.
42166         * math/w_log10.c: Likewise.
42167         * math/w_log10f.c: Likewise.
42168         * math/w_log10l.c: Likewise.
42169         * math/w_log2.c: Likewise.
42170         * math/w_log2f.c: Likewise.
42171         * math/w_log2l.c: Likewise.
42172         * math/w_logf.c: Likewise.
42173         * math/w_logl.c: Likewise.
42174         * math/w_sqrt.c: Likewise.
42175         * math/w_sqrtf.c: Likewise.
42176         * math/w_sqrtl.c: Likewise.
42177         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42178         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42179         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42180         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42181         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42182
42183 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42184
42185         [BZ #9739]
42186         * manual/string.texi (strnlen): Use correct parameter name in
42187         equivalent expression.
42188
42189 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42190
42191         [BZ #11174]
42192         * manual/users.texi (seteuid): Consistently use neweuid for
42193         argument name.
42194
42195 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42196
42197         [BZ #13704]
42198         * manual/nss.texi (Services in the NSS configuration): Correct
42199         list of services in example configuration file.
42200
42201 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42202
42203         [BZ #11322]
42204         * manual/arith.texi: Remove statements about negative zero
42205         behaving identically to zero.
42206
42207 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42208
42209         [BZ #5993]
42210         * manual/install.texi: Do not document upgrading from libc5.
42211
42212 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42213
42214         [BZ #4596]
42215         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42216
42217 2012-02-18  David S. Miller  <davem@davemloft.net>
42218
42219         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42220         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42221         %o7 across the call.
42222         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42223         instead.
42224         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42225         SETUP_PIC_REG_LEAF.
42226         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42227         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42228         * sysdeps/sparc/crtn.S: Likewise.
42229
42230 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42231
42232         * aout/Makefile: Remove.
42233
42234 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42235
42236         [BZ #13058]
42237         * manual/examples/argp-ex1.c (main): Format definition in GNU
42238         style.
42239         * manual/examples/argp-ex2.c (main): Likewise.
42240         * manual/examples/argp-ex3.c (main): Likewise.
42241         * manual/examples/argp-ex4.c (main): Likewise.
42242         * manual/examples/longopt.c (main): Use new-style prototype
42243         definition.
42244         * manual/examples/strncat.c (main): Specify return type and use
42245         (void) for arguments.
42246         * manual/examples/subopt.c (main): Use char **argv argument.
42247
42248 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42249
42250         [BZ #5077]
42251         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42252         rounding modes.
42253
42254 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42255
42256         [BZ #6907]
42257         * manual/string.texi (strchr): Change when strchrnul is
42258         recommended.
42259
42260 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42261
42262         [BZ #174]
42263         * manual/locale.texi (setlocale): Document LOCPATH.
42264
42265 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42266
42267         [BZ #10210]
42268         * manual/process.texi (execle): Move @dots{} before last argument.
42269
42270 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42271
42272         [BZ #12047]
42273         * manual/charset.texi (Generic Charset Conversion): Fix typo
42274         (LC_TYPE -> LC_CTYPE).
42275
42276 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42277
42278         [BZ #5805]
42279         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42280         (scalbnf): Likewise.
42281         (scalbnl): Likewise.
42282         (scalbln): Likewise.
42283         (scalblnf): Likewise.
42284         (scalblnl): Likewise.
42285         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42286         (vwarnx): Likewise.
42287         (verr): Likewise.
42288         (verrx): Likewise.
42289         * manual/filesys.texi (telldir): Use braces around return type.
42290         * manual/llio.texi (mmap): Add space after comma.
42291         (mmap64): Likewise.
42292         * manual/math.texi (jn): Use @var{} on parameter names.
42293         (jnf): Likewise.
42294         (jnl): Likewise.
42295         (yn): Likewise.
42296         (ynf): Likewise.
42297         (ynl): Likewise.
42298         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42299         line.
42300         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42301         "...".
42302         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42303         (sched_get_priority_max): Likewise.
42304         * manual/signal.texi (sigvec): Add space after comma.
42305         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42306         names.
42307         (if_indextoname): Likewise.
42308         (if_freenameindex): Likewise.
42309         (sendto): Use ',' instead of '.' in prototype.
42310         * manual/startup.texi (syscall): Use @dots{} instead of literal
42311         "...".
42312         * manual/stdio.texi (__fpending): Separate initial words of
42313         paragraph from @deftypefun line.
42314         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42315         "...".
42316         (vsyslog): Use @var{} on parameter names.
42317         * manual/terminal.texi (stty): Use @var{} on parameter names.
42318         * manual/users.texi (getutmp): Use @var{} on parameter names.
42319         (getutmpx): Likewise.
42320
42321 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42322
42323         [BZ #6884]
42324         * manual/stdio.texi (fopen): Fix typos in description of
42325         ",ccs=STRING".
42326
42327 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42328
42329         [BZ #4026]
42330         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42331         get clock_id definition.
42332
42333 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42334
42335         [BZ #4822]
42336         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42337         (madvise): Cast every argument to void on its own.
42338
42339 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42340
42341         [BZ #9902]
42342         * manual/startup.texi (Exit Status): Fix typo.
42343
42344 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42345
42346         [BZ #10140]
42347         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42348         * manual/examples/argp-ex2.c: Likewise.
42349         * manual/examples/argp-ex3.c: Likewise.
42350
42351 2012-02-16  Richard Henderson  <rth@redhat.com>
42352
42353         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42354         * sysdeps/s390/s390-32/initfini.c: Remove.
42355         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42356         * sysdeps/s390/s390-64/initfini.c: Remove.
42357
42358 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42359
42360         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42361         compiler output for sysdeps/generic/initfini.c.
42362         * sysdeps/sh/elf/initfini.c: Remove file.
42363
42364 2012-02-16  David S. Miller  <davem@davemloft.net>
42365
42366         [BZ #11494]
42367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42368
42369         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42370         * sysdeps/sparc/crti.S: New file.
42371         * sysdeps/sparc/crtn.S: New file.
42372         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42373         * sysdeps/sparc/sparc64/Makefile: Likewise.
42374
42375 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42376
42377         [BZ #3335]
42378         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42379
42380 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42381
42382         [BZ #4822]
42383         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42384
42385         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42386         (write, read, close): Likewise.
42387         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42388
42389 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42390
42391         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42392         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42393         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42394         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42395         <bits/signalfd.h>.
42396         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42397         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42398         bits/signalfd.h.
42399
42400 2012-02-14  Marek Polacek  <polacek@redhat.com>
42401
42402         * sysdeps/x86_64/crti.S: New file.
42403         * sysdeps/x86_64/crtn.S: New file.
42404         * sysdeps/x86_64/elf/initfini.c: Remove file.
42405
42406 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42407
42408         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42409         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42410         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42411         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42412         <bits/inotify.h>.
42413         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42415         bits/inotify.h.
42416
42417 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42418
42419         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42420         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42421         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42422         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42423         <bits/eventfd.h>.
42424         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42426         bits/eventfd.h.
42427
42428 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42429
42430         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42431         __feraiseexcept instead of feraiseexcept.
42432
42433         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42434         nanosleep invocations.
42435         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42436         strings, and add error checking for a nanosleep invocations.
42437
42438 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42439
42440         Replace FSF snail mail address with URLs, as per GNU coding standards.
42441         Most of the snail mail addresses were wrong anyway, and omitting
42442         them makes the source code easier to maintain.  Almost all of the
42443         changes are to license notices and to locale LC_IDENTIFICATION
42444         addresses, except for this one:
42445         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42446         not its snail mail address.
42447
42448 2012-02-09  Richard Henderson  <rth@twiddle.net>
42449
42450         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42451         of kernel-features.h.
42452
42453         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42454
42455 2012-02-08  Marek Polacek  <polacek@redhat.com>
42456
42457         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42458         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42459         * sysdeps/gnu/_G_config.h: Likewise.
42460         * sysdeps/generic/_G_config.h: Likewise.
42461
42462 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42463
42464         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42465         tests.
42466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42467
42468         * sysdeps/powerpc/powerpc32/crti.S: New file.
42469         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42470         * sysdeps/powerpc/powerpc64/crti.S: New file.
42471         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42472
42473         * Makeconfig (have-initfini): Don't set.
42474         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42475         * configure.in (nopic_initfini): Don't substitute.
42476         * config.h.in (HAVE_INITFINI): Don't #undef.
42477         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42478         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42479
42480 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42481
42482         Support crti.S and crtn.S provided directly by architectures.
42483         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42484         [crti.S in sysdirs] (omit-deps): Likewise.
42485         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42486         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42487         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42488         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42489         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42490         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42491         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42492         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42493         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42494         compiler output for sysdeps/generic/initfini.c.
42495         * sysdeps/i386/elf/Makefile: Remove file.
42496         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42497
42498 2012-02-07  Marek Polacek  <polacek@redhat.com>
42499
42500         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42501         * sysdeps/gnu/_G_config.h: Likewise.
42502         * sysdeps/mach/hurd/_G_config.h: Likewise.
42503
42504 2012-02-07  Marek Polacek  <polacek@redhat.com>
42505
42506         * math/Makefile (tests): Add tst-CMPLX2.
42507         * math/tst-CMPLX2.c: New file.
42508
42509 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42510
42511         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42512
42513         * math/libm-test.inc (jn_test): Add missing L suffix.
42514
42515 2012-02-06  Marek Polacek  <polacek@redhat.com>
42516
42517         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42518         * sysdeps/i386/fpu/e_powf.S: Likewise.
42519         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42520         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42521         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42522         * sysdeps/i386/fpu/e_pow.S: Likewise.
42523         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42524         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42525         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42526         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42527         * sysdeps/i386/fpu/e_log2.S: Likewise.
42528         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42529         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42530         * sysdeps/i386/fpu/e_powl.S: Likewise.
42531         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42532         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42533         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42534         * sysdeps/i386/fpu/e_logl.S: Likewise.
42535         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42536         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42537         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42538         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42539         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42540         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42541         * sysdeps/i386/fpu/e_log.S: Likewise.
42542         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42544         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42545         * sysdeps/i386/fpu/e_logf.S: Likewise.
42546         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42547         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42548         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42549         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42550         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42551         * sysdeps/i386/fpu/e_log10.S: Likewise.
42552         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42553         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42554         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42555         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42556         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42557         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42558         * sysdeps/i386/asm-syntax.h: Likewise.
42559         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42560         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42561         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42562         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42563         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42565         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42566         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42567         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42568         * sysdeps/powerpc/sysdep.h: Likewise.
42569         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42570         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42571
42572 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42573
42574         [BZ #411]
42575         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42576
42577 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42578
42579         * sysdeps/i386/sysdep.h: Include <features.h>.
42580         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42581         version.
42582
42583 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42584
42585         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42586         Define.
42587         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42588         LOAD_PIC_REG_STR.
42589
42590 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42591
42592         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42593         (SETUP_PIC_REG): Use GET_PC_THUNK.
42594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42595         macro.
42596
42597 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42598
42599         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42600         for non-PIC compilation.
42601         (SETUP_PIC_REG): Add .p2align directive.
42602         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42603         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42604         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42605         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42606         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42607         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42608         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42609         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42610         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42611         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42612         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42613         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42614         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42615         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42616         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42617         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42618         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42619         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42620         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42621         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42622         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42623         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42624         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42625         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42626         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42627         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42628         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42629         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42630         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42631         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42632         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42633         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42634         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42635         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42636         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42637         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42638         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42639         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42640         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42641         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42642         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42643
42644 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42645
42646         * math/tst-CMPLX.c: Include <stdio.h>.
42647
42648 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42649
42650         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42651         float.
42652         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42653         * sysdeps/sparc/bits/mathdef.h: Likewise.
42654
42655 2012-01-31  Marek Polacek  <polacek@redhat.com>
42656
42657         * libio/libio.h: Don't define _PARAMS.
42658         * locale/programs/config.h: Don't define PARAMS.
42659         * stdlib/strtol_l.c: Likewise.
42660         (__strtol_l): Remove PARAMS from the prototype.
42661
42662 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42663
42664         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42665         names.  Just use the correct names.  Remove unnecessary wrapper
42666         functions.
42667         * malloc/arena.c: Likewise.
42668         * malloc/hooks.c: Likewise.
42669
42670         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42671         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42672         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42673
42674 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42675
42676         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42677         into tail calls.
42678         (update_get_addr): New function.
42679         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42680         GET_ADDR_MODULE parameter.
42681
42682 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42683
42684         * crypt/cert.c: Remove __STDC__ conditionals.
42685         * crypt/crypt-entry.c: Likewise.
42686         * crypt/crypt_util.c: Likewise.
42687         * libio/filedoalloc.c: Likewise.
42688         * libio/fileops.c: Likewise.
42689         * libio/genops.c: Likewise.
42690         * libio/iofclose.c: Likewise.
42691         * libio/iofdopen.c: Likewise.
42692         * libio/iofopen.c: Likewise.
42693         * libio/iofopen64.c: Likewise.
42694         * libio/iogetdelim.c: Likewise.
42695         * libio/iopopen.c: Likewise.
42696         * libio/obprintf.c: Likewise.
42697         * libio/oldfileops.c: Likewise.
42698         * libio/oldiofclose.c: Likewise.
42699         * libio/oldiofdopen.c: Likewise.
42700         * libio/oldiofopen.c: Likewise.
42701         * libio/oldiopopen.c: Likewise.
42702         * libio/wfiledoalloc.c: Likewise.
42703         * libio/wgenops.c: Likewise.
42704         * locale/programs/xmalloc.c: Likewise.
42705         * misc/syslog.c: Likewise.
42706         * stdio-common/xbug.c: Likewise.
42707         * string/memchr.c: Likewise.
42708         * string/memcmp.c: Likewise.
42709         * string/memrchr.c: Likewise.
42710         * string/rawmemchr.c: Likewise.
42711         * sysdeps/posix/getcwd.c: Likewise.
42712         * time/strftime_l.c: Likewise.
42713
42714 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42715
42716         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42717         * config.make.in (config-cflags-sse2avx): Define.
42718         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42719         Fix typo.
42720
42721 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42722
42723         * scripts/config.guess: Update from upstream config git repository.
42724         * scripts/config.sub: Likewise.
42725
42726 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42727
42728         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42729         (EM_NUM): Update.
42730         (R_TILEPRO_*, R_TILEGX_*): New macros.
42731
42732         * scripts/firstversions.awk: Fix bug in version range handling.
42733
42734         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42735
42736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42737
42738         * include/sys/epoll.h: New file.
42739         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42740         libc_hidden_def.
42741
42742 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42743
42744         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42745         Avoid unnecessary __WORDSIZE == 64 test.
42746         (fmaxf): Use VEX format if possible.
42747         (fmax): Likewise.
42748         (fminf): Likewise.
42749         (fmin): Likewise.
42750
42751         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42752         * math/math_private.h: Remove libc_fegetround* and
42753         libc_fesetround*.
42754         * sysdeps/i386/configure.in: Check for -msse2avx.
42755         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42756         also if SSE2AVX is defined.
42757         Remove libc_fegetround* and libc_fesetround*.
42758         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42759         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42761         of HAS_YMM_USABLE.
42762         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42763         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42764         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42766         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42767
42768         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42769
42770 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42771
42772         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42773         size is not set.
42774         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42775
42776 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42777
42778         [BZ #13618]
42779         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42780         relocation.
42781         * Makeconfig (libm): Define.
42782         * elf/Makefile: Add rules to build and run tst-relsort1.
42783         * elf/tst-relsort1.c: New file.
42784         * elf/tst-relsort1mod1.c: New file.
42785         * elf/tst-relsort1mod2.c: New file.
42786
42787 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42788
42789         * math/s_ldexp.c: Remove __STDC__ conditionals.
42790         * math/s_ldexpf.c: Likewise.
42791         * math/s_ldexpl.c: Likewise.
42792         * math/s_nextafter.c: Likewise.
42793         * math/s_nexttowardf.c: Likewise.
42794         * math/s_significand.c: Likewise.
42795         * math/s_significandf.c: Likewise.
42796         * math/s_significandl.c: Likewise.
42797         * math/w_jnl.c: Likewise.
42798         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42799         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42800         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42801         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42802         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42803         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42804         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42805         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42806         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42807         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42808         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42809         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42810         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42812         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42814         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42815         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42817         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42818         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42819         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42820         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42821         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42822         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42823         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42824         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42825         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42826         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42827         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42828         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42829         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42830         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42831         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42832         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42833         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42834         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42835         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42836         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42837         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42838         * sysdeps/ieee754/k_standard.c: Likewise.
42839         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42840         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42841         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42842         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42843         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42844         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42845         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42846         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42847         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42848         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42849         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42850         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42851         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42852         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42853         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42854         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42855         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42856         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42857         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42858         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42859         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42860         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42861         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42862         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42863         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42864         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42865         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42866         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42868         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42869         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42870         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42871         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42872         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42873         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42874         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42875         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42877         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42878         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42879         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42881         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42882         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42883         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42884         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42886         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42887         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42888         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42889         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42890         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42891         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42892         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42893         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42894         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42895         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42896         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42897         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42898         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42899         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42900         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42901         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42902         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42903         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42904         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42905         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42906         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42907         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42908         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42909         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42910         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42911         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42912         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42913         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42914         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42915         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42916         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42917         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42918         * sysdeps/ieee754/s_matherr.c: Likewise.
42919         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42920         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42923
42924 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42925
42926         * crypt/md5.h: Remove __STDC__ conditionals.
42927         * libio/libioP.h: Likewise.
42928         * locale/programs/config.h: Likewise.
42929         * sysdeps/generic/sysdep.h: Likewise.
42930         * sysdeps/i386/asm-syntax.h: Likewise.
42931         * sysdeps/s390/asm-syntax.h: Likewise.
42932         * sysdeps/unix/sysdep.h: Likewise.
42933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42935
42936 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42937
42938         * libio/libio.h: Remove __STDC__ conditionals.
42939         * malloc/obstack.h: Likewise.
42940         * math/complex.h: Likewise.
42941         * math/math.h: Likewise.
42942         * sysdeps/generic/_G_config.h: Likewise.
42943         * sysdeps/gnu/_G_config.h: Likewise.
42944         * sysdeps/mach/hurd/_G_config.h: Likewise.
42945         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42946         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42947         * sysdeps/sparc/bits/mathdef.h: Likewise.
42948
42949 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42950
42951         [BZ #13583]
42952         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42953         Clean up HAS_* macros.
42954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42955         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42956         possible.
42957         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42958         HAS_AVX.
42959         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42960         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42961         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42962         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42963         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42964
42965 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42966
42967         * elf/tst-unique3.cc (gets): Remove declaration.
42968         * elf/tst-unique3lib.cc (gets): Likewise.
42969         * elf/tst-unique3lib2.cc (gets): Likewise.
42970         * elf/tst-unique4.cc (gets): Likewise.
42971
42972 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42973
42974         * include/stdio.h: Add C++ protection.  Add gets declarations and
42975         definitions.
42976         * debug/tst-chk1.c: Don't declare gets here.
42977         * stdio-common/tst-gets.c: Likewise.
42978
42979 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42980
42981         * posix/glob: Remove directory.
42982
42983 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42984
42985         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42986
42987 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42988
42989         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42990         of the non-standard EPFNOSUPPORT.
42991
42992 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42993
42994         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42995         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42996         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42997
42998 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42999
43000         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43001
43002 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43003
43004         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43005         transient errors.
43006         * nscd/grpcache.c (cache_addgr): Likewise.
43007         * nscd/hstcache.c (cache_addhst): Likewise.
43008         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43009         * nscd/pwdcache.c (cache_addpw): Likewise.
43010         * nscd/servicescache.c (cache_addserv): Likewise.
43011
43012 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43013
43014         * malloc/malloc.c: Various cleanups.
43015         * malloc/hooks.c: Likewise.
43016
43017         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43018         * stdlib/bug-fmtmsg1.c: New file.
43019
43020         * stdlib/fmtmsg.c (init): Add missing unlock.
43021         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43022
43023 2012-01-12  Marek Polacek  <polacek@redhat.com>
43024
43025         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43026         and _GNU_SOURCE.
43027
43028 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43029
43030         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43031         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43032         macro to ensure uniqueness of label name.
43033         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43034         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43035
43036 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43037
43038         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43039
43040         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43041         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43042         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43043         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43044
43045 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43046
43047         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43048
43049         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43050         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43051         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43052
43053         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43054
43055         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43056         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43057         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43058         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43059
43060         * math/bits/math-finite.h: Add ldexp support.
43061
43062 2012-01-10  Marek Polacek  <polacek@redhat.com>
43063
43064         * locale/programs/localedef.h (show_archive_content): Add noreturn
43065         attribute.
43066
43067 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43068
43069         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43070
43071 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43072
43073         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43074
43075         * io/Makefile (headers): Add bits/poll2.h.
43076
43077 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43078
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43080         typo #include statement.
43081
43082 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43083
43084         * include/sys/cdefs.h: Define __attribute_alloc_size.
43085         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43086         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43087         * elf/pldd.c: Likewise.
43088         * iconv/iconv_charmap.c: Likewise.
43089         * iconv/iconvconfig.c: Likewise.
43090         * iconv/strtab.c: Likewise.
43091         * locale/programs/locale.c: Likewise.
43092         * locale/programs/localedef.h: Likewise.
43093         * locale/programs/simple-hash.c: Likewise.
43094         * nscd/nscd.h: Likewise.
43095         * nss/makedb.c: Likewise.
43096         * sysdeps/generic/ldconfig.h: Likewise.
43097         * locale/programs/localedef.c: Remove xmalloc prototype.
43098         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43099
43100 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43101
43102         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43103         appropriate.
43104
43105 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43106
43107         * math/Makefile (tests): Add tst-CMPLX.
43108         * math/tst-CMPLX.c: New file.
43109
43110         * math/complex.h (CMPLXL): Fix typo.
43111
43112         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43113         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43114         GLIBC_2.16.
43115         * debug/tst-chk1.c: Add poll and ppoll tests.
43116         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43117         * include/sys/poll.h: Add hidden proto for ppoll.
43118         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43119         * sysdeps/mach/hurd/ppoll.c: Likewise.
43120         * io/ppoll.c: Likewise.
43121         * debug/poll_chk.c: New file.
43122         * debug/ppoll_chk.c: New file.
43123         * include/bits/poll2.h: New file.
43124         * io/bits/poll2.h: New file.
43125
43126         [BZ #1350]
43127         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43128
43129         * configure.in: static is always set to yes.  Remove.
43130         * config.make.in: Don't set build-static.
43131         * Makeconfig: Remove use of build-static.
43132         * dlfcn/Makefile: Likewise.
43133         * elf/Makefile: Likewise.
43134         * math/Makefile: Likewise.
43135         * misc/Makefile: Likewise.
43136         * nptl/Makefile: Likewise.
43137         * sysdeps/mach/hurd/Makefile: Likewise.
43138
43139         * configure.in: PWD_P is not used anymore.
43140         * config.make.in: Remove PWD_P entry.
43141
43142         * configure.in: Remove last remnants of RANLIB.
43143         No need to check for signed size_t anymore.
43144         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43145         and IA-64.
43146         Remove __builtin_expect test because we require at least gcc 3.4.
43147         * aclocal.m4: Likewise.
43148
43149         * wcsmbs/mbrtoc16.c: Implement using towc function.
43150         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43151         * wcsmbs/wcsmbsload.c: Likewise.
43152         * iconv/gconv_simple.c: Likewise.
43153         * iconv/gconv_int.h: Likewise.
43154         * iconv/gconv_builtin.h: Likewise.
43155         * iconv/iconv_prog.c: Remove CHAR16 handling.
43156
43157         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43158
43159         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43160
43161         * configure.in: Remove --with-elf and --enable-bounded options.
43162         Dont set base_machine for ia64.  More non-ELF conditions removed.
43163         Remove testing and setting of leading underscore information.
43164         * config.make.in (build-bounded): Set to no.
43165         * config.h.in: Remove NO_UNDERSCORES entry.
43166         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43167         them.
43168         * csu/start.c: Remove !NO_UNDERSCORE code.
43169         * locale/localeinfo.h: Likewise.
43170         * sysdeps/generic/machine-gmon.h: Likewise.
43171         * sysdeps/generic/sysdep.h: Likewise.
43172         * sysdeps/i386/sysdep.h: Likewise.
43173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43174         * sysdeps/mach/sysdep.h: Likewise.
43175         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43176         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43177         * sysdeps/sh/sysdep.h: Likewise.
43178         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43179         * sysdeps/unix/i386/sysdep.S: Likewise.
43180         * sysdeps/unix/sparc/start.c: Likewise.
43181         * sysdeps/unix/sparc/sysdep.S: Likewise.
43182         * sysdeps/unix/sparc/sysdep.h: Likewise.
43183         * sysdeps/unix/start.c: Likewise.
43184         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43185         * sysdeps/x86_64/sysdep.h: Likewise.
43186
43187 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43188
43189         [BZ #13553]
43190         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43191         for non-gcc.
43192         * argp/argp-fmtstream.h: Use const instead __const.
43193         * argp/argp.h: Likewise.
43194         * assert/assert.h: Likewise.
43195         * bits/fenv.h: Likewise.
43196         * bits/sched.h: Likewise.
43197         * bits/sigset.h: Likewise.
43198         * bits/sigthread.h: Likewise.
43199         * catgets/nl_types.h: Likewise.
43200         * conform/data/pthread.h-data: Likewise.
43201         * crypt/crypt-private.h: Likewise.
43202         * crypt/crypt.h: Likewise.
43203         * crypt/crypt_util.c: Likewise.
43204         * ctype/ctype.h: Likewise.
43205         * debug/execinfo.h: Likewise.
43206         * debug/mbsnrtowcs_chk.c: Likewise.
43207         * debug/mbsrtowcs_chk.c: Likewise.
43208         * debug/wcsnrtombs_chk.c: Likewise.
43209         * debug/wcsrtombs_chk.c: Likewise.
43210         * debug/wcstombs_chk.c: Likewise.
43211         * dirent/dirent.h: Likewise.
43212         * dlfcn/dlfcn.h: Likewise.
43213         * elf/neededtest4.c: Likewise.
43214         * grp/grp.h: Likewise.
43215         * gshadow/gshadow.h: Likewise.
43216         * iconv/gconv.h: Likewise.
43217         * iconv/gconv_int.h: Likewise.
43218         * iconv/gconv_simple.c: Likewise.
43219         * iconv/iconv.h: Likewise.
43220         * iconv/loop.c: Likewise.
43221         * iconv/skeleton.c: Likewise.
43222         * include/aio.h: Likewise.
43223         * include/aliases.h: Likewise.
43224         * include/argz.h: Likewise.
43225         * include/arpa/inet.h: Likewise.
43226         * include/assert.h: Likewise.
43227         * include/dirent.h: Likewise.
43228         * include/dlfcn.h: Likewise.
43229         * include/execinfo.h: Likewise.
43230         * include/fcntl.h: Likewise.
43231         * include/fenv.h: Likewise.
43232         * include/glob.h: Likewise.
43233         * include/grp.h: Likewise.
43234         * include/libintl.h: Likewise.
43235         * include/mntent.h: Likewise.
43236         * include/netdb.h: Likewise.
43237         * include/pwd.h: Likewise.
43238         * include/rpc/netdb.h: Likewise.
43239         * include/sched.h: Likewise.
43240         * include/search.h: Likewise.
43241         * include/shadow.h: Likewise.
43242         * include/signal.h: Likewise.
43243         * include/stdio.h: Likewise.
43244         * include/stdlib.h: Likewise.
43245         * include/string.h: Likewise.
43246         * include/sys/socket.h: Likewise.
43247         * include/sys/stat.h: Likewise.
43248         * include/sys/statfs.h: Likewise.
43249         * include/sys/statvfs.h: Likewise.
43250         * include/sys/syslog.h: Likewise.
43251         * include/sys/time.h: Likewise.
43252         * include/sys/uio.h: Likewise.
43253         * include/time.h: Likewise.
43254         * include/unistd.h: Likewise.
43255         * include/utmp.h: Likewise.
43256         * include/wchar.h: Likewise.
43257         * include/wctype.h: Likewise.
43258         * inet/aliases.h: Likewise.
43259         * inet/arpa/inet.h: Likewise.
43260         * inet/netinet/ether.h: Likewise.
43261         * inet/netinet/in.h: Likewise.
43262         * intl/libintl.h: Likewise.
43263         * io/bits/fcntl2.h: Likewise.
43264         * io/fcntl.h: Likewise.
43265         * io/ftw.h: Likewise.
43266         * io/sys/poll.h: Likewise.
43267         * io/sys/stat.h: Likewise.
43268         * io/sys/statfs.h: Likewise.
43269         * io/sys/statvfs.h: Likewise.
43270         * io/utime.h: Likewise.
43271         * libio/bits/stdio.h: Likewise.
43272         * libio/bits/stdio2.h: Likewise.
43273         * libio/libio.h: Likewise.
43274         * libio/libioP.h: Likewise.
43275         * libio/stdio.h: Likewise.
43276         * locale/lc-ctype.c: Likewise.
43277         * locale/locale.h: Likewise.
43278         * login/utmp.h: Likewise.
43279         * malloc/arena.c: Likewise.
43280         * malloc/malloc.c: Likewise.
43281         * malloc/malloc.h: Likewise.
43282         * malloc/mcheck.c: Likewise.
43283         * malloc/mtrace.c: Likewise.
43284         * math/bits/mathcalls.h: Likewise.
43285         * math/fenv.h: Likewise.
43286         * math/math_private.h: Likewise.
43287         * misc/bits/error.h: Likewise.
43288         * misc/bits/syslog.h: Likewise.
43289         * misc/err.h: Likewise.
43290         * misc/error.h: Likewise.
43291         * misc/fstab.h: Likewise.
43292         * misc/mntent.h: Likewise.
43293         * misc/regexp.h: Likewise.
43294         * misc/search.h: Likewise.
43295         * misc/sgtty.h: Likewise.
43296         * misc/sys/mman.h: Likewise.
43297         * misc/sys/syslog.h: Likewise.
43298         * misc/sys/uio.h: Likewise.
43299         * misc/sys/xattr.h: Likewise.
43300         * misc/ttyent.h: Likewise.
43301         * nis/rpcsvc/ypclnt.h: Likewise.
43302         * nss/nss.h: Likewise.
43303         * posix/bits/unistd.h: Likewise.
43304         * posix/fnmatch.h: Likewise.
43305         * posix/glob.h: Likewise.
43306         * posix/sched.h: Likewise.
43307         * posix/spawn.h: Likewise.
43308         * posix/sys/wait.h: Likewise.
43309         * posix/unistd.h: Likewise.
43310         * posix/wordexp.h: Likewise.
43311         * pwd/pwd.h: Likewise.
43312         * resolv/netdb.h: Likewise.
43313         * resource/sys/resource.h: Likewise.
43314         * rt/aio.h: Likewise.
43315         * rt/bits/mqueue2.h: Likewise.
43316         * rt/mqueue.h: Likewise.
43317         * shadow/shadow.h: Likewise.
43318         * signal/signal.h: Likewise.
43319         * socket/send.c: Likewise.
43320         * socket/sendto.c: Likewise.
43321         * socket/sys/socket.h: Likewise.
43322         * stdio-common/printf.h: Likewise.
43323         * stdlib/bits/stdlib.h: Likewise.
43324         * stdlib/fmtmsg.h: Likewise.
43325         * stdlib/monetary.h: Likewise.
43326         * stdlib/stdlib.h: Likewise.
43327         * stdlib/ucontext.h: Likewise.
43328         * streams/stropts.h: Likewise.
43329         * string/argz.h: Likewise.
43330         * string/bits/string2.h: Likewise.
43331         * string/string.h: Likewise.
43332         * string/strings.h: Likewise.
43333         * sunrpc/rpc/auth.h: Likewise.
43334         * sunrpc/rpc/auth_des.h: Likewise.
43335         * sunrpc/rpc/clnt.h: Likewise.
43336         * sunrpc/rpc/netdb.h: Likewise.
43337         * sunrpc/rpc/pmap_clnt.h: Likewise.
43338         * sunrpc/rpc/xdr.h: Likewise.
43339         * sysdeps/generic/inttypes.h: Likewise.
43340         * sysdeps/generic/net/if.h: Likewise.
43341         * sysdeps/generic/sys/swap.h: Likewise.
43342         * sysdeps/gnu/net/if.h: Likewise.
43343         * sysdeps/gnu/utmpx.h: Likewise.
43344         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43345         * sysdeps/i386/i486/bits/string.h: Likewise.
43346         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43347         * sysdeps/s390/bits/string.h: Likewise.
43348         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43349         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43350         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43351         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43352         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43353         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43354         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43355         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43356         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43357         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43358         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43359         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43360         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43361         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43362         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43363         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43364         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43366         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43367         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43368         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43369         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43370         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43371         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43372         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43373         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43374         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43375         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43376         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43377         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43378         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43379         * sysvipc/sys/ipc.h: Likewise.
43380         * sysvipc/sys/msg.h: Likewise.
43381         * sysvipc/sys/sem.h: Likewise.
43382         * sysvipc/sys/shm.h: Likewise.
43383         * termios/termios.h: Likewise.
43384         * time/sys/time.h: Likewise.
43385         * time/time.h: Likewise.
43386         * wcsmbs/bits/wchar2.h: Likewise.
43387         * wcsmbs/uchar.h: Likewise.
43388         * wcsmbs/wchar.h: Likewise.
43389         * wctype/wctype.h: Likewise.
43390
43391         [BZ #13551]
43392         * Makeconfig: Remove all but ELF support including AIX support.
43393         * Makerules: Likewise.
43394         * config.h.in: Likewise.
43395         * config.make.in: Likewise.
43396         * configure: Likewise.
43397         * configure.in: Likewise.
43398         * csu/Makefile: Likewise.
43399         * csu/version.c: Likewise.
43400         * debug/Makefile: Likewise.
43401         * dlfcn/Makefile: Likewise.
43402         * elf/Makefile: Likewise.
43403         * extra-lib.mk: Likewise.
43404         * iconv/Makefile: Likewise.
43405         * include/libc-symbols.h: Likewise.
43406         * include/shlib-compat.h: Likewise.
43407         * resolv/Makefile: Likewise.
43408         * resolv/res_libc.c: Likewise.
43409         * rt/Makefile: Likewise.
43410         * sysdeps/i386/asm-syntax.h: Likewise.
43411         * sysdeps/i386/sysdep.h: Likewise.
43412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43413         * sysdeps/mach/sysdep.h: Likewise.
43414         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43415         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43416         * sysdeps/s390/asm-syntax.h: Likewise.
43417         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43419         * sysdeps/sh/sysdep.h: Likewise.
43420         * sysdeps/unix/sparc/sysdep.h: Likewise.
43421         * sysdeps/wordsize-32/divdi3.c: Likewise.
43422         * sysdeps/x86_64/sysdep.h: Likewise.
43423
43424         * argp/Versions: Remove _argp_unlock_xxx.
43425
43426         [BZ #13559]
43427         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43428         * abilist/libBrokenLocale.abilist: Likewise.
43429         * abilist/libanl.abilist: Likewise.
43430         * abilist/libc.abilist: Likewise.
43431         * abilist/libcrypt.abilist: Likewise.
43432         * abilist/libdl.abilist: Likewise.
43433         * abilist/libm.abilist: Likewise.
43434         * abilist/libnsl.abilist: Likewise.
43435         * abilist/libpthread.abilist: Likewise.
43436         * abilist/libresolv.abilist: Likewise.
43437         * abilist/librt.abilist: Likewise.
43438         * abilist/libthread_db.abilist: Likewise.
43439         * abilist/libutil.abilist: Likewise.
43440         * abilist/libnss_db.abilist: New file.
43441
43442         * scripts/abilist.awk: Add support for indirect functions.
43443
43444         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43445
43446         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43447
43448         * shlib-versions: Remove entries for ports architectures.
43449
43450         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43451         files in ports.
43452         * elf/stackguard-macros.h: Remove support for IA-64.
43453         * elf/tst-auditmod1.c: Likewise.
43454         * sysdeps/generic/ldsodefs.h: Likewise.
43455
43456         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43457         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43458         configure files.
43459
43460         [BZ #13552]
43461         * configure.in: Remove --enable-omitfp support.
43462         * FAQ.in: Adjust.
43463         * config.make.in: Likewise.
43464         * Makeconfig: Likewise.
43465         * manual/install.texi: Likewise.
43466
43467         In case anyone cares, the IA-64 architecture could move to ports.
43468         * sysdeps/ia64/*: Removed.
43469         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43470         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43471
43472         [BZ #13555]
43473         * configure.in: Remove entries for unsupported architectures.
43474
43475         [BZ #13533]
43476         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43477         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43478         routines.
43479         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43480         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43481         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43482         fall back to using wcrtomb.
43483         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43484         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43485         renaming.
43486         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43487         * wcsmbs/tst-c16c32-1.c: New file.
43488
43489         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43490         local variable.
43491
43492         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43493
43494         * elf/tst-unique3.cc: Add explicit declaration of gets.
43495         * elf/tst-unique3lib.cc: Likewise.
43496         * elf/tst-unique3lib2.cc: Likewise.
43497         * elf/tst-unique4.cc: Likewise.
43498
43499         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43500
43501 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43502
43503         [BZ #13566]
43504         * assert/assert.h (static_assert): Don't define for C++.
43505         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43506         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43507
43508 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43509
43510         * iconv/loop.c (single loop): Fix assertion in storing of
43511         remaining bytes.
43512
43513         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43514
43515 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43516
43517         * posix/getconf.c: Update copyright year.
43518         * nss/getent.c: Likewise.
43519         * nss/makedb.c: Likewise.
43520         * iconv/iconvconfig.c: Likewise.
43521         * iconv/iconv_prog.c: Likewise.
43522         * elf/ldconfig.c: Likewise.
43523         * elf/pldd.c: Likewise.
43524         * elf/sotruss.ksh: Likewise.
43525         * catgets/gencat.c: Likewise.
43526         * csu/version.c: Likewise.
43527         * elf/ldd.bash.in: Likewise.
43528         * elf/sprof.c (print_version): Likewise.
43529         * locale/programs/locale.c: Likewise.
43530         * locale/programs/localedef.c: Likewise.
43531         * login/programs/pt_chown.c: Likewise.
43532         * nscd/nscd.c (print_version): Likewise.
43533         * debug/xtrace.sh: Likewise.
43534         * malloc/memusage.sh: Likewise.
43535         * malloc/mtrace.pl: Likewise.
43536         * debug/catchsegv.sh: Likewise.
43537
43538 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43539
43540         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43541         pure attribute.
43542
43543 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43544
43545         [BZ #13533]
43546         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43547         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43548         transformations.
43549         * iconv/gconv_int.h: Likewise.
43550         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43551         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43552         from libc for GLIBC_2.16.
43553         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43554         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43555         * wcsmbs/uchar.h: Really define mbstate_t.
43556         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43557         * wcsmbs/c16rtomb.c: New file.
43558         * wcsmbs/mbrtoc16.c: New file.
43559         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43560         for C/POSIX locale.
43561         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43562         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43563
43564         * wcsmbs/wchar.h: Add missing __restrict.
43565
43566 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43567
43568         [BZ #13532]
43569         * time/Makefile (routines): Add timespec_get.
43570         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43571         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43572         timespec for ISO C11.
43573         * time/timespec_get.c: New file.
43574         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43575         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43576
43577         [BZ #13531]
43578         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43579         * stdlib/stdlib.h: Declare aligned_alloc.
43580         * Versions.def: Add GLIBC_2.16 for libc.
43581         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43582
43583         [BZ 13527]
43584         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43585         ISO C11.
43586
43587         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43588         code.
43589
43590         [BZ #13528]
43591         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43592
43593         [BZ #13529]
43594         * assert/assert.h (static_assert): Define.
43595
43596         * version.h: Update for 2.16 development version.
43597
43598         [BZ #13526]
43599         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43600         _ISOC11_SOURCE.
43601
43602         * version.h (RELEASE): Bump for 2.15 release.
43603         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43604
43605         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43606         Patch by Marek Polacek <mpolacek@redhat.com>.
43607
43608         * bits/byteswap.h: Protect long long constants with __extension__.
43609         * sysdeps/i386/bits/byteswap.h: Likewise.
43610         * sysdeps/ia64/bits/byteswap.h: Likewise.
43611         * sysdeps/s390/bits/byteswap.h: Likewise.
43612         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43613
43614 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43615
43616         [BZ #13540]
43617         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43618         destination buffer.
43619         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43620
43621 2011-12-23  Marek Polacek  <polacek@redhat.com>
43622
43623         * elf/dl-addr.c (determine_info): Add inline keyword.
43624         * elf/tst-auditmod4b.c (check_avx): Likewise.
43625         * elf/tst-auditmod6b.c (check_avx): Likewise.
43626         * elf/tst-auditmod6c.c (check_avx): Likewise.
43627         * elf/tst-auditmod7b.c (check_avx): Likewise.
43628
43629 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43630
43631         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43632         !__SSE_MATH__.
43633
43634 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43635
43636         [BZ #13540]
43637         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43638         processing for last bytes.
43639
43640 2011-08-06  Bruno Haible  <bruno@clisp.org>
43641
43642         [BZ #13061]
43643         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43644         U+0385, not to U+1FEE.
43645
43646         [BZ #13062]
43647         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43648         entry for U+00A5 U+0301.
43649
43650 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43651
43652         [BZ #13166]
43653         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43654         buffer for the output is too small.
43655
43656         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43657         optimization.
43658
43659         [BZ #13185]
43660         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43661         SSE flags if possible.
43662
43663 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43664
43665         [BZ #13540]
43666         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43667         processing for last bytes.
43668
43669 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43670
43671         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43672         (syscall-list-default-options, syscall-list-default-condition)
43673         (syscall-list-includes): Define.
43674         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43675         list of ABIs and options and #if conditions for each ABI.  Do not
43676         handle common syscalls between ABIs specially.
43677         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43678         Remove.
43679         (syscall-list-variants, syscall-list-32bit-options)
43680         (syscall-list-32bit-condition, syscall-list-64bit-options)
43681         (syscall-list-64bit-condition): Define.
43682         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43683         (syscall-list-variants, syscall-list-32bit-options)
43684         (syscall-list-32bit-condition, syscall-list-64bit-options)
43685         (syscall-list-64bit-condition): Define.
43686         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43687         Remove.
43688         (syscall-list-variants, syscall-list-32bit-options)
43689         (syscall-list-32bit-condition, syscall-list-64bit-options)
43690         (syscall-list-64bit-condition): Define.
43691         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43692         Remove.
43693         (syscall-list-variants, syscall-list-32bit-options)
43694         (syscall-list-32bit-condition, syscall-list-64bit-options)
43695         (syscall-list-64bit-condition): Define.
43696
43697 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43698
43699         * locale/iso-639.def: Add brx entry.
43700
43701         [BZ #13328]
43702         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43703         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43704
43705         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43706         __feraiseexcept_renamed.
43707
43708 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43709
43710         [BZ #13538]
43711         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43712         EPOLLET with unsigned values.
43713         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43714         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43715
43716         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43717         to large cancellation.
43718         * math/s_cacoshf.c: Likewise.
43719         * math/s_cacoshl.c: Likewise.
43720
43721 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43722
43723         [BZ #13305]
43724         [BZ #12786]
43725         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43726         * math/s_cacoshf.c: Likewise.
43727         * math/s_cacoshl.c: Likewise.
43728
43729 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43730
43731         [BZ #13439]
43732         * iconv/gconv.h: Define __GCONV_SWAP.
43733         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43734         * iconvdata/utf-16.c: Likewise.
43735         * iconvdata/utf-32.c: Likewise.
43736
43737 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43738
43739         [BZ #13524]
43740         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43741         numerator after shifting it by one limb.
43742
43743 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43744
43745         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43746         under [__USE_EXTERN_INLINES].
43747
43748 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43749
43750         [BZ #13446]
43751         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43752
43753 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43754
43755         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43756         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43757         optimized code.
43758         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43759         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43760         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43761         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43762         for strncasecmp/strncasecmp_l compilation.
43763         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43764         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43765
43766 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43767
43768         [BZ #13484]
43769         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43770         of __asm__.
43771
43772 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43773
43774         [BZ #13506]
43775         * time/tzfile.c (__tzfile_read): Check values from file header.
43776
43777 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43778
43779         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43780         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43781         * powerpc/powerpc32/dl-start.S: Likewise.
43782         * powerpc/powerpc32/elf/start.S: Likewise.
43783         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43784         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43785         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43786         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43787         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43788         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43789         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43790         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43791         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43792         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43793         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43794         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43795         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43796         * powerpc/powerpc32/memset.S: Likewise.
43797         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43798         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43799         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43800         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43801         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43802         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43803         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43804         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43805         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43806         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43807         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43808         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43809         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43810
43811 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43812
43813         * math/libm-test.inc: Added more nearbyint tests.
43814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43815         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43817         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43818
43819 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43820
43821         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43822         FD_CLOEXEC.
43823
43824 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43825
43826         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43827         Add wcscpy-ssse3 wcscpy-c.
43828         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43829         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43830         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43831         * sysdeps/x86_64/wcschr.S: New file.
43832         * sysdeps/x86_64/wcsrchr.S: New file.
43833         * string/test-strcmp.c: Remove checking of wcscmp function for
43834         wrong alignments.
43835         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43836         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43837         wcsrchr-sse2 wcsrchr-c.
43838         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43839         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43840         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43841         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43842         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43843         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43844         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43845         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43846         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43847         * wcsmbc/wcschr.c (WCSCHR): New macro.
43848
43849 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43850
43851         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43852         * wcsmbs/test-wcsrchr.c: New file.
43853         * string/test-strrchr.c: Add wcsrchr support.
43854         (WIDE): New macro.
43855         * wcsmbs/test-wcscpy.c: New file.
43856         * string/test-strcpy.c: Add wcscpy support.
43857         (WIDE): New macro.
43858
43859 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43860
43861         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43862         the inner loop.
43863
43864 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43865
43866         [BZ #13472]
43867         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43868
43869 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43870
43871         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43872         Minor optimizations.
43873
43874         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43875         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43876         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43877
43878 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43879
43880         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43881         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43882         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43883         for gcc to avoid warnings.
43884         * inet/Makefile (tests): Add tst-checks.
43885         * inet/tst-checks.c: New file.
43886
43887         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43888         warning.
43889
43890         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43891         __wmemcmp_sse2.
43892
43893         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43894         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43895
43896         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43897
43898 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43899
43900         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43901         problem.
43902
43903         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43904
43905 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43906
43907         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43908         conditional on GCC version.
43909         (__arch_compare_and_exchange_val_8_acq)
43910         (__arch_compare_and_exchange_val_16_acq)
43911         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43912         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43913         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43914
43915 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43916
43917         * sysdeps/sh/backtrace.c: New file.
43918
43919 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43920
43921         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43922         parenthesis.
43923
43924 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43925
43926         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43927         falling back to utime.
43928
43929 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43930
43931         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43932         expectations for float.
43933
43934 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43935
43936         * locale/weight.h (findidx): Add parameter len.
43937         * locale/weightwc.h (findidx): Likewise.
43938         * posix/fnmatch_loop.c (FCT): Adjust caller.
43939         * posix/regcomp.c (build_equiv_class): Likewise.
43940         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43941         * posix/regexec.c (check_node_accept_bytes): Likewise.
43942         * string/strcoll_l.c (STRCOLL): Likewise.
43943         * string/strxfrm_l.c (STRXFRM): Likewise.
43944
43945 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43946
43947         * Makefile.in: Remove CVSOPT handling.
43948         * configure.in: Remove use of AC_REVISION.
43949         * iconvdata/Makefile (distribute): No need to filter out CVS.
43950         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43951         handling.
43952
43953 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43954
43955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43956         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43957         [USE_AS_STRNCASECMP_L]: Likewise.
43958         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43959         NO_TLS_DIRECT_SEG_REFS.
43960         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43961         Fix argument offsets for non-PIC.
43962         [USE_AS_STRNCASECMP_L]: Likewise.
43963         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43964         NO_TLS_DIRECT_SEG_REFS.
43965
43966 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43967
43968         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43969         O_CLOEXEC.
43970         * locale/loadlocale.c (_nl_load_locale): Likewise.
43971
43972 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43973
43974         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43975         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43976         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43977         (SYSCALL_GETTIME): Set errno on error.
43978
43979         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43980         count references to noai6ai_cached.
43981
43982 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43983
43984         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43985
43986         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43987         FD_CLOEXEC for /proc/self/maps.
43988
43989         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43990         FD_CLOEXEC for /proc/meminfo.
43991
43992         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43993         gai.conf.
43994
43995         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43996         FD_CLOEXEC for given file.
43997
43998         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43999
44000         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44001         FD_CLOEXEC for /etc/hosts.
44002         (_gethtent): Likewise.
44003
44004         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44005
44006         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44007         cancellation and set FD_CLOEXEC for /etc/netgroup.
44008
44009         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44010         reading /etc/publickey.
44011
44012         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44013         allow cancellation when reading /etc/group.
44014
44015         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44016         cancellation.
44017         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44018
44019         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44020         when using data file.
44021
44022         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44023
44024         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44025         (write_nis_obj): Use "c" and "e" in fopen.
44026
44027         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44028
44029         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44030
44031         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44032
44033         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44034
44035         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44036         locale.alias.
44037
44038         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44039
44040         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44041
44042         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44043
44044         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44045         file parsing and set FD_CLOEXEC.
44046
44047 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44048
44049         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44050
44051 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44052
44053         * malloc/arena.c (arena_get2): Don't call reused_arena when
44054         _int_new_arena failed.
44055
44056 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44057
44058         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44059         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44060         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44061         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44064         to compile strcasecmp and strncasecmp.
44065         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44066         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44067
44068         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44069
44070 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44071
44072         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44073         locale-defines.sym to gen-as-const-headers.
44074         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44075         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44076         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44077         to compile strcasecmp and strncasecmp.
44078         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44079         strcasecmp_l and strncasecmp_l.
44080         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44081         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44082         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44083         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44084         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44085         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44086         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44087         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44088         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44089         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44090         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44091
44092 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44093
44094         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44095         result of SYSDEP_GETTIME_CPU to retval.
44096         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44097         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44098
44099         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44100         variable.
44101
44102         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44103         mantissa words.
44104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44105
44106         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44107         from unused variable.
44108
44109         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44110         DWARF definitions.
44111         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44112         for assembling.
44113
44114         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44115         over namespaces.
44116
44117         * sunrpc/rpc_prot.c (rejected): Fix case value.
44118
44119         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44120         unsigned long long int to avoid warnings in shift.
44121
44122         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44123         of use of trans.
44124         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44125         variable tmp.
44126
44127         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44128         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44129         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44130
44131         * nis/nis_table.c (nis_list): Use variable of correct type for
44132         result of __follow_path call.
44133
44134 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44135
44136         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44137         of math functions ceil, trunc, floor, round, and sqrt, when
44138         avaliable on the platform.
44139         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44140         name clash.
44141         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44142         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44143         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44144
44145 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44146
44147         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44148         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44149
44150 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44151
44152         * include/unistd.h: Fix __readlink return type.
44153         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44154
44155 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44156
44157         * stdlib/ucontext.h: Undo last change for makecontext.
44158
44159 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44160
44161         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44162
44163         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44164         * setjmp/setjmp.h: Mark functions as non-leaf.
44165         * setjmp/bits/setjmp2.h: Likewise.
44166         * stdlib/ucontext.h: Likewise.
44167
44168 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44169
44170         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44171         (reused_arena): Don't check arena limit.
44172         (arena_get2): Atomically check arena limit.
44173
44174 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44175
44176         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44177         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44178
44179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44180         instructions.
44181
44182 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44183
44184         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44185         handler when locking.
44186
44187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44188         Fix size of allocated buffer.
44189
44190 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44191
44192         [BZ #10103]
44193         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44194         declarations for long double functions.
44195         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44196
44197         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44198
44199 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44200
44201         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44202         installed.
44203
44204         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44205         is disabled.
44206
44207 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44208
44209         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44210
44211 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44212
44213         * include/alloca.h (stackinfo_alloca_round): Define.
44214         (extend_alloca): Use it.
44215         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44216         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44217         here.
44218
44219         * scripts/check-local-headers.sh: Ignore libaudit.h.
44220
44221         * nscd/Makefile (extra-objs): Make recursively expanded.
44222
44223 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44224
44225         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44227
44228         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44229         * posix/tst-rfc3484-2.c: Likewise.
44230         * posix/tst-rfc3484-3.c: Likewise.
44231
44232         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44233         process_vm_writev.
44234         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44235         process_vm_writev.
44236         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44237         process_vm_writev from libc using GLIBC_2.15 version.
44238
44239         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44240
44241 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44242
44243         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44244         stack usage.
44245
44246 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44247
44248         [BZ #13367]
44249         * nss/getent.c (initgroups_keys): Show error message in case no group
44250         names are given.
44251
44252         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44253         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44254         __bump_nl_timestamp.
44255         * nscd/connections (nscd_init): When host database is served open
44256         netlink socket and request notification about configuration changes.
44257         (main_loop_poll): Track netlink file descriptor and bump timestamp
44258         in case data becomes available.
44259         (main_loop_epoll): Likewise.
44260         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44261         (database_pers_head): Add extra_data fileds.
44262         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44263         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44264         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44265         Adjust caller.
44266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44267         in6ai data, call __free_in6ai.
44268         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44269         Add -DHAVE_NETLINK.
44270         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44271         interface information.  Reuse previous data if netlink timestamp
44272         is not changed.
44273         (__bump_nl_timestamp): New function.
44274         (__free_in6ai): New function.
44275
44276 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44277
44278         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44279         close_not_cancel_no_status here.
44280         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44281
44282 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44283
44284         [BZ #13276]
44285         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44286         return value.
44287
44288         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44289         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44290         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44291
44292 2011-07-03  Andreas Jaeger  <aj@suse.de>
44293
44294         [BZ #10709]
44295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44296         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44297         * math/libm-test.inc (sin_test): Add test case.
44298
44299 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44300
44301         [BZ #13337]
44302         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44303         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44304
44305         * elf/chroot_canon.c (chroot_canon): Cleanups.
44306
44307         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44308
44309         [BZ #13335]
44310         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44311         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44312
44313         * string/test-strchr.c: Make usable for strchrnul testing.
44314         * string/test-strchrnul.c: New file.
44315         * string/Makefile (strop-tests): Add strchrnul.
44316
44317         * po/it.po: Update from translation team.
44318         * po/es.po: Likewise.
44319
44320 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44321
44322         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44323         the three constants needed as parameters.  Drop the others.
44324         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44325         __m128i_strloadu_tolower.
44326         Create and initialize variable zero and use it in all the places
44327         where _mm_setzero_si128 was used.
44328
44329         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44330         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44331         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44332         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44333         anymore.
44334         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44335         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44336         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44337         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44338         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44339         __mpranred, __mptan.
44340         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44341         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44342         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44343         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44344         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44345         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44346         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44347         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44348         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44349
44350 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44351
44352         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44353         redefine if SHARED.
44354         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44355
44356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44357         wide char related routines to wcsmbs subdir.
44358
44359 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44360
44361         [BZ #13344]
44362         * misc/sys/cdefs.h (__THROWNL): Define.
44363         * posix/unistd.h: Use __THREADNL instead of __THREAD
44364         for memory synchronization functions.
44365
44366 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44367
44368         [BZ #13349]
44369         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44370         doesn't exist.
44371         * manual/stdio.texi (Obstack Streams): Node removed.
44372
44373 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44374
44375         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44376         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44377         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44378
44379         * math/math_private.h (math_force_eval): Allow non-addressable
44380         arguments.
44381         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44382
44383 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44384
44385         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44386         file is not needed.
44387
44388         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44389         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44390         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44391         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44392         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44393         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44394         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44395         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44396         Add AVX variants.
44397         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44398         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44399         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44400         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44401         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44402         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44403         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44405         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44406         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44407         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44408         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44409         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44410         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44411         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44412         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44413         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44414         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44415         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44416
44417         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44418         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44419
44420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44421         place.  Use VEX encoding when compiling for AVX.
44422
44423 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44424
44425         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44426         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44427
44428         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44429
44430 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44431
44432         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44433         useless if() expression.
44434         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44436         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44438         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44439         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44440         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44441         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44442         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44443         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44444         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44445         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44446         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44447         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44448         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44449         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44450         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44452         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44453
44454         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44455
44456 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44457
44458         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44459         condition.
44460         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44461
44462 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44463
44464         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44465         .text section.  Avoid duplicate constants.
44466         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44467         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44468         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44469         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44470         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44472         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44474         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44475         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44476         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44477         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44478         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44479         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44480         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44482         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44483         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44484         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44485         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44486         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44487         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44488         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44489         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44490         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44491         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44492         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44493         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44494         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44495         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44496         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44497         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44498         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44499         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44500         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44501         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44502         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44503         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44504         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44505         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44506         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44507         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44508         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44509         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44510         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44511
44512 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44513
44514         * sysdeps/x86_64/dla.h: Move to ...
44515         * sysdeps/x86_64/fpu/dla.h: ...here.
44516         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44517         situations.  Use __builtin_fma only for gcc 4.6 and up.
44518
44519         * config.make.in: Add have-mfma4 entry.
44520         * configure.in: Substitute libc_cv_cc_fma4.
44521         * math/Makefile (dbl-only-routines): Add sincostab.
44522         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44523         Use __sincostab not sincos.
44524         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44525         name is a macro.
44526         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44528         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44529         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44530         using __copysign.
44531         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44532         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44533         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44534         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44535         and __inv.
44536         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44537         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44538         __copysign.
44539         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44540         define aliases when function name is a macro.
44541         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44542         sysdeps/ieee754/dbl-64/sincos.tbl.
44543         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44544         fma4-enabled routines.
44545         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44546         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44547         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44548         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44549         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44550         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44551         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44552         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44553         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44554         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44555         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44556         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44557         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44558         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44559         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44560         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44561         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44562         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44563         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44564         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44565         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44566         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44567         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44568         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44570         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44571         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44572         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44573         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44574         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44575
44576         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44577         rename.
44578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44585         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44586
44587 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44588
44589         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44590
44591 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44592
44593         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44594
44595         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44596         prediction.
44597         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44598
44599         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44600         Remove unused variable magic_bits.
44601         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44602
44603         * string/strnlen.c: Define and use STRNLEN macro.
44604         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44605         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44607         * wcsmbs/wcslen.c: Define and use WCSLEN.
44608         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44609         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44610         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44611         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44612         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44613         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44614         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44615
44616 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44617
44618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44619         strnlen-sse2-no-bsf.
44620         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44621         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44622         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44623         Add strnlen support.
44624         (USE_AS_STRNLEN): New macro.
44625         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44627         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44628         * sysdeps/x86_64/wcslen.S: New file.
44629
44630 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44631
44632         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44633         XMM-moves are used for copying on small sizes.
44634
44635 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44636
44637         * wcsmbs/Makefile (strop-tests): Add wcschr.
44638         * wcsmbs/test-wcschr.c: New file.
44639         * string/test-strchr.c: Update.
44640         Add wcschr support.
44641         (WIDE): New macro.
44642
44643 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44644
44645         * wcsmbs/Makefile (strop-tests): Add wcslen.
44646         * wcsmbs/test-wcslen.c: New file.
44647         * string/test-strlen.c: Update.
44648         Add wcslen support.
44649         (WIDE): New macro.
44650
44651 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44652
44653         * po/it.po: Update from translation team.
44654
44655 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44656
44657         * sysdeps/x86_64/wcscmp.S: Update.
44658         Fix wrong comparison semantics.
44659         wcscmp shall use signed comparison not unsigned.
44660         Don't use substraction to avoid overflow bug.
44661         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44662         * wcsmbc/wcscmp.c: Likewise.
44663         * string/test-strcmp.c: Likewise.
44664         Add new tests to check cases with negative values.
44665
44666 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44667
44668         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44669         * sysdeps/x86_64/dla.h: ...here.  New file.
44670         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44671         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44672         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44679
44680 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44681
44682         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44683         __ynl_finite aliases.
44684
44685 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44686
44687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44688
44689         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44690         define DLA_FMA.
44691         [DLA_FMA] (EMULV): Use DLA_FMA.
44692         [DLA_FMA] (MUL12): Use EMULV.
44693         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44694         that are not needed.
44695         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44696         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44697         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44698         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44699         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44701         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44702
44703 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44704
44705         * math/s_nan.c: Undef __nan.
44706         * math/s_nanf.c: Undef __nanf.
44707         * math/s_nanl.c: Undef __nanl.
44708         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44709         "math_private.h".
44710
44711 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44712
44713         * math/s_catan.c: Add branch predictions.
44714         * math/s_catanf.c: Likewise.
44715         * math/s_catanh.c: Likewise.
44716         * math/s_catanhf.c: Likewise.
44717         * math/s_catanhl.c: Likewise.
44718         * math/s_catanl.c: Likewise.
44719         * math/s_cexp.c: Likewise.
44720         * math/s_cexpf.c: Likewise.
44721         * math/s_cexpl.c: Likewise.
44722         * math/s_clog.c: Likewise.
44723         * math/s_clog10.c: Likewise.
44724         * math/s_clog10f.c: Likewise.
44725         * math/s_clog10l.c: Likewise.
44726         * math/s_clogf.c: Likewise.
44727         * math/s_clogl.c: Likewise.
44728         * math/s_csqrt.c: Likewise.
44729         * math/s_csqrtf.c: Likewise.
44730         * math/s_csqrtl.c: Likewise.
44731         * math/s_ctanf.c: Likewise.
44732         * math/s_ctanh.c: Likewise.
44733         * math/s_ctanhf.c: Likewise.
44734         * math/s_ctanhl.c: Likewise.
44735         * math/s_ctanl.c: Likewise.
44736
44737         * math/math_private.h: Define __nan, __nanf, __nanl.
44738         * math/s_cacosh.c: Include <math_private.h>.
44739         * math/s_cacoshl.c: Likewise.
44740         * math/s_casinh.c: Likewise.
44741         * math/s_casinhf.c: Likewise.
44742         * math/s_casinhl.c: Likewise.
44743         * math/s_ccos.c: Rely entire on ccosh.
44744         * math/s_ccosf.c: Rely entire on ccoshf.
44745         * math/s_ccosl.c: Rely entirely on ccoshl.
44746         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44747         Remove tests for FE_INVALID.
44748         * math/s_ccoshf.c: Likewise.
44749         * math/s_ccoshl.c: Likewise.
44750         * math/s_csin.c: Likewise.
44751         * math/s_csinf.c: Likewise.
44752         * math/s_csinh.c Likewise.
44753         * math/s_csinhf.c: Likewise.
44754         * math/s_csinhl.c: Likewise.
44755         * math/s_csinl.c: Likewise.
44756         * math/s_ctan.c: Likewise.
44757         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44758         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44759         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44760
44761 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44762
44763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44764         compilation problems.
44765
44766         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44767         __builtin_expect.
44768
44769 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44770
44771         * sysdeps/i386/configure.in: Test for -mfma4 option.
44772         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44773         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44774         COMMON_CPUID_INDEX_80000001.
44775         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44776         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44777         use it if FMA3 is not supported.
44778         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44779
44780         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44781         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44782
44783 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44784
44785         [BZ #12892]
44786         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44787         it would create a cycle with a link time dependency.
44788
44789 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44790
44791         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44792         instruction.
44793         * string/Makefile (strop-tests): Add rawmemchr.
44794         * string/test-rawmemchr.c: New file.
44795
44796         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44797         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44798         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44799         when compiling str{,n}casecmp and when AVX is available.  Hook up
44800         new optimized code in initializers.
44801
44802 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44803
44804         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44805         __feraiseexcept instead of feraiseexcept.
44806
44807 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44808
44809         * math/math_private.h: Define defaults for libc_fetestexcept and
44810         libc_feupdateenv.
44811         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44812         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44813         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44814         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44815         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44816         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44817         libc_fetestexcept and libc_feupdateenv.
44818
44819         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44820         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44821         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44822         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44823         libc_feholdexcept_setround.
44824
44825         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44826         Add s_nearbyint-c and s_nearbyintf-c.
44827         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44828         nearbyintf inlines.
44829         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44830         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44831         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44832         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44833
44834         * math/math_private.h: Define defaults for libc_fegetround,
44835         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44836         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44837         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44838         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44839         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44840         standard functions.
44841         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44842         Remove comments and hacks for old compiler versions.
44843         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44844         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44845         libc_feholdexceptl.
44846
44847 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44848
44849         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44850         (__feraiseexcept_renamed): Add __NTH.
44851         (feraiseexcept): Add __NTH.  Rename local variables to fix
44852         namespace violations.
44853
44854 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44855
44856         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44857
44858         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44859
44860         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44861         recently added interfaces.
44862         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44863
44864         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44865         about macro parameter expansion.
44866
44867         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44868         __NO_MATH_INLINES is defined.  Cleanups.
44869
44870         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44871         and __floorf is target has SSE4.1.
44872         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44873         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44874         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44875         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44876
44877         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44878         name.
44879         (floorf): Likewise.
44880
44881         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44882
44883 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44884
44885         * misc/sys/cdefs.h: Fix last change.
44886
44887         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44888         database lookup.
44889
44890 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44891
44892         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44893
44894         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44896         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44897         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44898         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44899         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44900         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44901         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44902         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44903         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44904         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44905         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44906         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44907         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44908         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44909         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44910         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44911         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44912         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44913         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44914         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44915         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44916
44917         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44918         ceil, ceilf, floor, floorf.
44919
44920         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44921         Perform IRELATIVE relocations last.
44922
44923         * elf/do-rel.h: Add another parameter nrelative, replacing the
44924         local variable with the same name.  Change name of the function
44925         to end in Rel or Rela (uppercase).
44926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44927         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44928         elf_dynamic_do_##reloc function.
44929
44930 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44931
44932         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44933         is sufficient, at least on modern CPUs.
44934
44935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44936
44937         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44938         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44939
44940         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44941         __expl_finite.
44942         * math/bits/math-finite.h: Add entries for exp.
44943         * math/e_expl.c: Add __*_finite alias.
44944         * sysdeps/i386/fpu/e_exp.S: Likewise.
44945         * sysdeps/i386/fpu/e_expf.S: Likewise.
44946         * sysdeps/i386/fpu/e_expl.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44948         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44950         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44952         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44953         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44954
44955         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44956         is sufficient, at least on modern CPUs.
44957
44958         * ctype/ctype-info.c (__ctype_init): Define.
44959         * include/ctype.h (__ctype_init): Declare.
44960         (__ctype_b_loc): The variable is always initialized.
44961         (__ctype_toupper_loc): Likewise.
44962         (__ctype_tolower_loc): Likewise.
44963         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44964         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44965
44966 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44967
44968         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44969
44970         * configure.in: Also look in $cxxmachine/include for C++ system
44971         headers.
44972
44973 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44974
44975         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44976         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44977         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44978         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44979         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44980         (USE_AS_WMEMCMP): New macro.
44981         Fixing indents.
44982         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44983         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44984         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44985         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44986         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44987         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44988         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44989         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44990         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44991         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44992         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44993         (USE_AS_WMEMCMP): New macro.
44994         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44995         * sysdeps/string/test-memcmp.c: Update.
44996         Fix simple_wmemcmp.
44997         Add new tests.
44998         * wcsmbs/wmemcmp.c: Update.
44999         (WMEMCMP): New macro.
45000         Fix overflow bug.
45001
45002 2011-10-12  Andreas Jaeger  <aj@suse.de>
45003
45004         [BZ #13268]
45005         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45006
45007 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45008
45009         * libio/iofwide.c (do_length): Avoid warning.
45010
45011         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45012
45013 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45014
45015         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45016
45017         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45018         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45019         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45020         * sysdeps/i386/i686/fpu/e_log.S: New file.
45021         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45022         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45023
45024         * ctype/ctype.h: Add support for inlined isXXX functions when
45025         compiling C++ code.
45026
45027 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45028
45029         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45030
45031         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45032
45033 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45034
45035         [BZ #13291]
45036         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45037
45038 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45039
45040         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45041         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45042         feraiseexcept.
45043
45044         * sysdeps/x86_64/memrchr.S: Check for zero size.
45045
45046         * string/stratcliff.c: Add memrchr tests.
45047
45048 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45049
45050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45051         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45052         rawmemchr-sse2 rawmemchr-sse2-bsf.
45053         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45054         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45055         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45056         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45057         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45058         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45059         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45060         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45061         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45062         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45063         * string/memrchr.c (MEMRCHR): New macro.
45064
45065 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45066
45067         Add integration with gcc's -ffinite-math-only and optimize wrapper
45068         functions in libm.
45069         * Versions.def: Define GLIBC_2.15 version for libm.
45070         * math/Makefile (headers): Add bits/math-finite.h.
45071         * math/bits/math-finite.h: New file.
45072         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45073         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45074         * math/e_acoshl.c: Add __*_finite alias.
45075         * math/e_acosl.c: Likewise.
45076         * math/e_asinl.c: Likewise.
45077         * math/e_atan2l.c: Likewise.
45078         * math/e_atanhl.c: Likewise.
45079         * math/e_coshl.c: Likewise.
45080         * math/e_exp10.c: Likewise.
45081         * math/e_exp10f.c: Likewise.
45082         * math/e_exp10l.c: Likewise.
45083         * math/e_exp2l.c: Likewise.
45084         * math/e_fmodl.c: Likewise.
45085         * math/e_gammal_r.c: Likewise.
45086         * math/e_hypotl.c: Likewise.
45087         * math/e_j0l.c: Likewise.
45088         * math/e_j1l.c: Likewise.
45089         * math/e_jnl.c: Likewise.
45090         * math/e_lgammal_r.c: Likewise.
45091         * math/e_log10l.c: Likewise.
45092         * math/e_log2l.c: Likewise.
45093         * math/e_logl.c: Likewise.
45094         * math/e_powl.c: Likewise.
45095         * math/e_sinhl.c: Likewise.
45096         * math/e_sqrtl.c: Likewise.
45097         * math/e_scalb.c: Completely rewritten and optimized.
45098         * math/e_scalbf.c: Likewise.
45099         * math/e_scalbl.c: Likewise.
45100         * math/w_acos.c: Likewise.
45101         * math/w_acosf.c: Likewise.
45102         * math/w_acosl.c: Likewise.
45103         * math/w_acosh.c: Likewise.
45104         * math/w_acoshf.c: Likewise.
45105         * math/w_acoshl.c: Likewise.
45106         * math/w_asin.c: Likewise.
45107         * math/w_asinf.c: Likewise.
45108         * math/w_asinl.c: Likewise.
45109         * math/w_atan2.c: Likewise.
45110         * math/w_atan2f.c: Likewise.
45111         * math/w_atan2l.c: Likewise.
45112         * math/w_atanh.c: Likewise.
45113         * math/w_atanhf.c: Likewise.
45114         * math/w_atanhl.c: Likewise.
45115         * math/w_exp10.c: Likewise.
45116         * math/w_exp10f.c: Likewise.
45117         * math/w_exp10l.c: Likewise.
45118         * math/w_fmod.c: Likewise.
45119         * math/w_fmodf.c: Likewise.
45120         * math/w_fmodl.c: Likewise.
45121         * math/w_j0.c: Likewise.
45122         * math/w_j0f.c: Likewise.
45123         * math/w_j0l.c: Likewise.
45124         * math/w_j1.c: Likewise.
45125         * math/w_j1f.c: Likewise.
45126         * math/w_j1l.c: Likewise.
45127         * math/w_jn.c: Likewise.
45128         * math/w_jnf.c: Likewise.
45129         * math/w_log.c: Likewise.
45130         * math/w_logf.c: Likewise.
45131         * math/w_logl.c: Likewise.
45132         * math/w_log10.c: Likewise.
45133         * math/w_log10f.c: Likewise.
45134         * math/w_log10l.c: Likewise.
45135         * math/w_log2.c: Likewise.
45136         * math/w_log2f.c: Likewise.
45137         * math/w_log2l.c: Likewise.
45138         * math/w_pow.c: Likewise.
45139         * math/w_powf.c: Likewise.
45140         * math/w_powl.c: Likewise.
45141         * math/w_remainder.c: Likewise.
45142         * math/w_remainderf.c: Likewise.
45143         * math/w_remainderl.c: Likewise.
45144         * math/w_scalb.c: Likewise.
45145         * math/w_scalbf.c: Likewise.
45146         * math/w_scalbl.c: Likewise.
45147         * math/w_sqrt.c: Likewise.
45148         * math/w_sqrtf.c: Likewise.
45149         * math/w_sqrtl.c: Likewise.
45150         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45151         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45152         used.
45153         * math/math_private.h: Declare __kernel_standard_f.
45154         * math/w_cosh.c: Remove cruft and optimize a bit.
45155         * math/w_coshf.c: Likewise.
45156         * math/w_coshl.c: Likewise.
45157         * math/w_exp2.c: Likewise.
45158         * math/w_exp2f.c: Likewise.
45159         * math/w_exp2l.c: Likewise.
45160         * math/w_hypot.c: Likewise.
45161         * math/w_hypotf.c: Likewise.
45162         * math/w_hypotl.c: Likewise.
45163         * math/w_lgamma.c: Likewise.
45164         * math/w_lgamma_r.c: Likewise.
45165         * math/w_lgammaf.c: Likewise.
45166         * math/w_lgammaf_r.c: Likewise.
45167         * math/w_lgammal.c: Likewise.
45168         * math/w_lgammal_r.c: Likewise.
45169         * math/w_sinh.c: Likewise.
45170         * math/w_sinhf.c: Likewise.
45171         * math/w_sinhl.c: Likewise.
45172         * math/w_tgamma.c: Likewise.
45173         * math/w_tgammaf.c: Likewise.
45174         * math/w_tgammal.c: Likewise.
45175         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45176         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45177         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45178         Minor optimizations.  Pretty printing.  Remove cruft.
45179         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45180         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45181         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45182         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45183         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45184         * sysdeps/i386/fpu/e_asin.S: Likewise.
45185         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45186         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45187         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45188         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45189         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45190         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45191         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45192         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45193         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45194         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45195         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45196         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45197         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45198         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45199         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45200         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45201         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45202         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45203         * sysdeps/i386/fpu/e_log.S: Likewise.
45204         * sysdeps/i386/fpu/e_log10.S: Likewise.
45205         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45206         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45207         * sysdeps/i386/fpu/e_log2.S: Likewise.
45208         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45209         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45210         * sysdeps/i386/fpu/e_logf.S: Likewise.
45211         * sysdeps/i386/fpu/e_logl.S: Likewise.
45212         * sysdeps/i386/fpu/e_pow.S: Likewise.
45213         * sysdeps/i386/fpu/e_powf.S: Likewise.
45214         * sysdeps/i386/fpu/e_powl.S: Likewise.
45215         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45216         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45217         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45219         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45221         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45222         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45223         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45224         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45225         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45226         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45227         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45228         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45229         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45230         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45231         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45232         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45233         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45234         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45235         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45236         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45237         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45238         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45239         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45240         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45242         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45243         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45244         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45245         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45246         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45247         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45248         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45249         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45250         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45251         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45252         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45253         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45255         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45256         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45258         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45259         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45260         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45261         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45262         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45263         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45264         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45265         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45266         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45267         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45268         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45269         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45270         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45271         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45272         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45273         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45274         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45275         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45276         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45277         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45279         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45280         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45281         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45282         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45283         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45284         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45286         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45289         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45292         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45293         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45294         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45295         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45298         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45300         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45301         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45302         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45303         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45304         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45305         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45306         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45307         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45308         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45310         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45311         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45312         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45313         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45314         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45315         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45316         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45317         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45318         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45319         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45320         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45321         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45322         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45323         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45324         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45325         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45326         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45327         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45328         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45329         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45331         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45332         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45334         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45335         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45336         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45337         (__isnanf): Likewise.
45338         (__isinf_ns): Likewise.
45339         (__isinf_nsf): Likewise.
45340         (__finite): Likewise.
45341         (__finitef): Likewise.
45342         (__ieee754_sqrt): Define as macro.
45343         (__ieee754_sqrtf): Define as macro.
45344         (__ieee754_sqrtl): Define as macro.
45345         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45346         inlined copy.
45347         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45348         __FINITE_MATH_ONLY__ consistent.
45349         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45350
45351 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45352
45353         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45354         of rawmemchr.
45355
45356         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45357
45358 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45359
45360         * po/ja.po: Update from translation team.
45361
45362 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45363
45364         * locale/programs/locarchive.c (prepare_address_space): New function.
45365         (create_archive, enlarge_archive, open_archive): Use it.
45366
45367         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45368         inside [SHARED], where it is used.
45369
45370         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45371
45372         * nss/getent.c (netgroup_keys): Remove unused variable.
45373         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45374
45375 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45376
45377         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45378         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45379         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45380         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45381         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45382         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45383         * math/Makefile (libm-calls): Add s_isinf_ns.
45384         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45385         * math/multc3.c: Likewise.
45386         * math/s_casin.c: Likewise.
45387         * math/s_casinf.c: Likewise.
45388         * math/s_casinl.c: Likewise.
45389         * math/s_ccos.c: Likewise.
45390         * math/s_ccosf.c: Likewise.
45391         * math/s_ccosl.c: Likewise.
45392         * math/s_ctan.c: Likewise.
45393         * math/s_ctanf.c: Likewise.
45394         * math/s_ctanh.c: Likewise.
45395         * math/s_ctanhf.c: Likewise.
45396         * math/s_ctanhl.c: Likewise.
45397         * math/s_ctanl.c: Likewise.
45398         * math/w_fmod.c: Likewise.
45399         * math/w_fmodf.c: Likewise.
45400         * math/w_fmodl.c: Likewise.
45401         * math/w_remainder.c: Likewise.
45402         * math/w_remainderf.c: Likewise.
45403         * math/w_remainderl.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45405         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45408         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45409         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45410         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45411         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45412
45413         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45414         of the number.
45415         * stdio-common/printf_fphex.c: Likewise.
45416         * stdio-common/printf_size.c: Likewise.
45417
45418         * math/e_exp10.c: Include math_private.h using <...> not "...".
45419         * math/e_exp10f.c: Likewise.
45420         * math/e_exp10l.c: Likewise.
45421         * math/e_exp2l.c: Likewise.
45422         * math/e_j0l.c: Likewise.
45423         * math/e_j1l.c: Likewise.
45424         * math/e_jnl.c: Likewise.
45425         * math/e_lgammal_r.c: Likewise.
45426         * math/e_rem_pio2l.c: Likewise.
45427         * math/e_scalb.c: Likewise.
45428         * math/e_scalbf.c: Likewise.
45429         * math/e_scalbl.c: Likewise.
45430         * math/k_cosl.c: Likewise.
45431         * math/k_sinl.c: Likewise.
45432         * math/k_tanl.c: Likewise.
45433         * math/s_cacoshf.c: Likewise.
45434         * math/s_catan.c: Likewise.
45435         * math/s_catanf.c: Likewise.
45436         * math/s_catanh.c: Likewise.
45437         * math/s_catanhf.c: Likewise.
45438         * math/s_catanhl.c: Likewise.
45439         * math/s_catanl.c: Likewise.
45440         * math/s_ccosh.c: Likewise.
45441         * math/s_ccoshf.c: Likewise.
45442         * math/s_ccoshl.c: Likewise.
45443         * math/s_cexp.c: Likewise.
45444         * math/s_cexpf.c: Likewise.
45445         * math/s_cexpl.c: Likewise.
45446         * math/s_clog.c: Likewise.
45447         * math/s_clog10.c: Likewise.
45448         * math/s_clog10f.c: Likewise.
45449         * math/s_clog10l.c: Likewise.
45450         * math/s_clogf.c: Likewise.
45451         * math/s_clogl.c: Likewise.
45452         * math/s_csin.c: Likewise.
45453         * math/s_csinf.c: Likewise.
45454         * math/s_csinh.c: Likewise.
45455         * math/s_csinhf.c: Likewise.
45456         * math/s_csinhl.c: Likewise.
45457         * math/s_csinl.c: Likewise.
45458         * math/s_csqrt.c: Likewise.
45459         * math/s_csqrtf.c: Likewise.
45460         * math/s_csqrtl.c: Likewise.
45461         * math/s_ctan.c: Likewise.
45462         * math/s_ctanf.c: Likewise.
45463         * math/s_ctanh.c: Likewise.
45464         * math/s_ctanhf.c: Likewise.
45465         * math/s_ctanhl.c: Likewise.
45466         * math/s_ctanl.c: Likewise.
45467         * math/s_ldexp.c: Likewise.
45468         * math/s_ldexpf.c: Likewise.
45469         * math/s_ldexpl.c: Likewise.
45470         * math/s_significand.c: Likewise.
45471         * math/s_significandf.c: Likewise.
45472         * math/s_significandl.c: Likewise.
45473         * math/w_acos.c: Likewise.
45474         * math/w_acosf.c: Likewise.
45475         * math/w_acosh.c: Likewise.
45476         * math/w_acoshf.c: Likewise.
45477         * math/w_acoshl.c: Likewise.
45478         * math/w_acosl.c: Likewise.
45479         * math/w_asin.c: Likewise.
45480         * math/w_asinf.c: Likewise.
45481         * math/w_asinl.c: Likewise.
45482         * math/w_atan2.c: Likewise.
45483         * math/w_atan2f.c: Likewise.
45484         * math/w_atan2l.c: Likewise.
45485         * math/w_atanh.c: Likewise.
45486         * math/w_atanhf.c: Likewise.
45487         * math/w_atanhl.c: Likewise.
45488         * math/w_cosh.c: Likewise.
45489         * math/w_coshf.c: Likewise.
45490         * math/w_coshl.c: Likewise.
45491         * math/w_dremf.c: Likewise.
45492         * math/w_exp10.c: Likewise.
45493         * math/w_exp10f.c: Likewise.
45494         * math/w_exp10l.c: Likewise.
45495         * math/w_exp2.c: Likewise.
45496         * math/w_exp2f.c: Likewise.
45497         * math/w_fmod.c: Likewise.
45498         * math/w_fmodf.c: Likewise.
45499         * math/w_fmodl.c: Likewise.
45500         * math/w_hypot.c: Likewise.
45501         * math/w_hypotf.c: Likewise.
45502         * math/w_hypotl.c: Likewise.
45503         * math/w_j0.c: Likewise.
45504         * math/w_j0f.c: Likewise.
45505         * math/w_j0l.c: Likewise.
45506         * math/w_j1.c: Likewise.
45507         * math/w_j1f.c: Likewise.
45508         * math/w_j1l.c: Likewise.
45509         * math/w_jn.c: Likewise.
45510         * math/w_jnf.c: Likewise.
45511         * math/w_jnl.c: Likewise.
45512         * math/w_lgamma.c: Likewise.
45513         * math/w_lgamma_r.c: Likewise.
45514         * math/w_lgammaf.c: Likewise.
45515         * math/w_lgammaf_r.c: Likewise.
45516         * math/w_lgammal.c: Likewise.
45517         * math/w_lgammal_r.c: Likewise.
45518         * math/w_log.c: Likewise.
45519         * math/w_log10.c: Likewise.
45520         * math/w_log10f.c: Likewise.
45521         * math/w_log10l.c: Likewise.
45522         * math/w_log2.c: Likewise.
45523         * math/w_log2f.c: Likewise.
45524         * math/w_log2l.c: Likewise.
45525         * math/w_logf.c: Likewise.
45526         * math/w_logl.c: Likewise.
45527         * math/w_pow.c: Likewise.
45528         * math/w_powf.c: Likewise.
45529         * math/w_powl.c: Likewise.
45530         * math/w_remainder.c: Likewise.
45531         * math/w_remainderf.c: Likewise.
45532         * math/w_remainderl.c: Likewise.
45533         * math/w_scalb.c: Likewise.
45534         * math/w_scalbf.c: Likewise.
45535         * math/w_scalbl.c: Likewise.
45536         * math/w_sinh.c: Likewise.
45537         * math/w_sinhf.c: Likewise.
45538         * math/w_sinhl.c: Likewise.
45539         * math/w_sqrt.c: Likewise.
45540         * math/w_sqrtf.c: Likewise.
45541         * math/w_sqrtl.c: Likewise.
45542         * math/w_tgamma.c: Likewise.
45543         * math/w_tgammaf.c: Likewise.
45544         * math/w_tgammal.c: Likewise.
45545
45546         * po/ja.po: Update from translation team.
45547
45548 2011-09-29  Andreas Jaeger  <aj@suse.de>
45549
45550         [BZ #13179]
45551         * sunrpc/netname.c (netname2host): Fix logic.
45552
45553         [BZ #6779]
45554         [BZ #6783]
45555         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45556         correctly.
45557         * math/w_remainder.c (__remainder): Likewise.
45558         * math/w_remainderf.c (__remainderf): Likewise.
45559         * math/libm-test.inc (remainder_test): Add test cases.
45560
45561 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45562
45563         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45564         sdiv_qrnnd.
45565
45566 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45567
45568         * string/test-memcmp.c: Avoid unncessary #defines.
45569         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45570
45571 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45572
45573         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45574         Use new sse2 version for core i3 - i7 as it's faster
45575         than sse42 version.
45576         (bit_Prefer_PMINUB_for_stringop): New.
45577         * sysdeps/x86_64/rawmemchr.S: Update.
45578         Replace with faster SSE2 version.
45579         * sysdeps/x86_64/memrchr.S: New file.
45580         * sysdeps/x86_64/memchr.S: Update.
45581         Replace with faster SSE2 version.
45582
45583 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45584
45585         * elf/dl-load.c (lose): Add cast to avoid warning.
45586
45587 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45588
45589         * po/ca.po: Update from translation team.
45590
45591         * inet/getnetgrent_r.c: Hook up nscd.
45592         * nscd/Makefile (routines): Add nscd_netgroup.
45593         (nscd-modules): Add netgroupcache.
45594         (CFLAGS-netgroupcache.c): Define.
45595         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45596         (cache_search): Add const to second parameter.
45597         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45598         INNETGR.
45599         (dbs): Add netgrdb entry.
45600         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45601         (verify_persistent_db): Handle netgrdb.
45602         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45603         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45604         GETFDNETGR.
45605         (netgroup_response_header): Define.
45606         (innetgroup_response_header): Define.
45607         (datahead): Add netgroup_response_header and innetgroup_response_header
45608         elements.
45609         * nscd/nscd.conf: Add entries for netgroup cache.
45610         * nscd/nscd.h (dbtype): Add netgrdb.
45611         (_PATH_NSCD_NETGROUP_DB): Define.
45612         (netgroup_iov_disabled): Declare.
45613         (xmalloc, xcalloc, xrealloc): Move declarations here.
45614         (cache_search): Adjust prototype.
45615         Add netgroup-related prototypes.
45616         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45617         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45618         (__nscd_innetgr): Declare.
45619         * nscd/selinux.c (perms): Use access_vector_t as element type and
45620         add netgroup-related initializers.
45621         * nscd/netgroupcache.c: New file.
45622         * nscd/nscd_netgroup.c: New file.
45623         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45624         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45625         For four parameters use innetgr.
45626         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45627         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45628         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45629         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45630
45631         * nscd/connections.c (register_traced_file): Don't register file
45632         for disabled databases.
45633
45634 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45635
45636         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45637
45638         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45639         from tree and freeing node.
45640
45641 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45642
45643         * nss/nsswitch.c (__nss_database_lookup): Handle
45644         nss_parse_service_list out of memory case.
45645
45646 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45647
45648         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45649         out of memory case.
45650
45651 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45652
45653         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45654         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45655         pass it down.
45656         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45657         elf_machine_rela, elf_machine_lazy_rel.
45658         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45659         (ELF_DYNAMIC_DO_REL): Likewise.
45660         (ELF_DYNAMIC_DO_RELA): Likewise.
45661         (ELF_DYNAMIC_RELOCATE): Likewise.
45662         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45663         to ELF_DYNAMIC_DO_REL.
45664         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45665         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45666         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45667         elf_machine_rela.
45668         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45669         skip_ifunc, don't call ifunc function if non-zero.
45670         (elf_machine_rela): Likewise.
45671         (elf_machine_lazy_rel): Likewise.
45672         (elf_machine_lazy_rela): Likewise.
45673         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45674         (elf_machine_lazy_rel): Likewise.
45675         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45676         Likewise.
45677         (elf_machine_lazy_rel): Likewise.
45678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45679         Likewise.
45680         (elf_machine_lazy_rel): Likewise.
45681         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45682         (elf_machine_lazy_rel): Likewise.
45683         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45684         (elf_machine_lazy_rel): Likewise.
45685         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45686         (elf_machine_lazy_rel): Likewise.
45687         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45688         (elf_machine_lazy_rel): Likewise.
45689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45690         (elf_machine_lazy_rel): Likewise.
45691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45692         (elf_machine_lazy_rel): Likewise.
45693
45694 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45695
45696         * nss/nss_files/files-init.c (_nss_files_init): Use static
45697         initialization for all the *_traced_file variables.
45698
45699 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45700
45701         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45702
45703 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45704
45705         [BZ #13226]
45706         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45707
45708 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45709
45710         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45711         Reread the line before reparsing it.
45712
45713 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45714
45715         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45716
45717 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45718             Maxim Kuvyrkov  <maxim@codesourcery.com>
45719             Joseph Myers  <joseph@codesourcery.com>
45720
45721         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45722         if needed for __stack_chk_guard.
45723
45724 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45725
45726         * sysdeps/posix/spawni.c (script_execute): Always define it.
45727         It will be optimized away if unused.
45728         (maybe_script_execute): New function.
45729         (__spawni): Call it.
45730
45731         * Makerules: Don't include tls.make.
45732         (config-tls): Always set to thread.
45733         * tls.make.c: File removed.
45734
45735 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45736
45737         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45738         * config.make.in (CPPFLAGS-config): New substituted variable.
45739
45740 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45741
45742         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45743
45744         [BZ #13192]
45745         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45746         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45747
45748 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45749
45750         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45751         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45752         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45753         (CALL_FAIL): Likewise.
45754         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45755         (CALL_FAIL): Macro removed.
45756         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45757
45758 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45759
45760         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45761         for __FINITE_MATH_ONLY__ == 1.
45762
45763 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45764
45765         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45766         __ieee754_sqrt instead of sqrt.
45767         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45768         __ieee754_sqrtf instead of sqrtf.
45769         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45770         __floorf instead of floorf.
45771         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45772         __floorf, __truncf instead of floorf, truncf.
45773
45774 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45775
45776         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45777
45778         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45779         __extern_always_inline.
45780         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45781         32-bit.
45782
45783 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45784
45785         * elf/rtld.c (dl_main): Also relocate in dependency order when
45786         doing symbol dependency testing.
45787
45788 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45789
45790         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45791         Always define `refsym'.
45792
45793 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45794
45795         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45796         (__FD_ELT): Renamed from __FDELT.
45797         * misc/bits/select2.h (__FD_ELT): Likewise.
45798         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45799         __FD_MASK instead of __FDELT, __FDMASK.
45800         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45801         Likewise.
45802         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45803         Likewise.
45804
45805         * elf/Makefile (gen-ldd): Fix pattern.
45806
45807         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45808         (init_tls): Likewise.
45809
45810 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45811
45812         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45813
45814 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45815
45816         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45817         `struct cmsghdr *' instead of `void *'.
45818         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45819         Likewise.
45820
45821 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45822
45823         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45824         if non-absolute.
45825         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45826         ldd_rewrite_script.
45827
45828 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45829
45830         * configure.in: Remove --with-tls option.
45831         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45832         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45833         out in case it is missing.
45834         * sysdeps/ia64/elf/configure.in: Likewise.
45835         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45836         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45837         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45838         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45839         * sysdeps/sh/elf/configure.in: Likewise.
45840         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45841         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45842         * sysdeps/x86_64/elf/configure.in: Likewise.
45843         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45844         * sysdeps/mach/hurd/tls.h: Likewise.
45845
45846         [BZ #13067]
45847         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45848
45849         [BZ #13090]
45850         * configure.in: Fix use of AC_INIT.
45851
45852         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45853
45854 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45855
45856         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45857         __set_errno.
45858         * malloc/hooks.c: Likewise.
45859
45860         [BZ #11929]
45861         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45862         variables statically.
45863         (narenas): Initialize.
45864         (list_lock): Initialize.
45865         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45866         initializtion of main_arena and list_lock.  Small cleanups.
45867         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45868         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45869         Add initializers to main_arena and mp_.
45870         (malloc_state): Remove pagesize member.  Change all users to use
45871         GLRO(dl_pagesize).
45872
45873         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45874         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45875         is always initialized.
45876
45877         * malloc/malloc.c: Removed unused configurations and dead code.
45878         * malloc/arena.c: Likewise.
45879         * malloc/hooks.c: Likewise.
45880         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45881
45882         * include/tls.h: Removed.  USE___THREAD must always be defined.
45883         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45884         * elf/dl-libc.c: Likewise.
45885         * elf/dl-tsd.c: Likewise.
45886         * include/errno.h: Likewise.
45887         * include/netdb.h: Likewise.
45888         * include/resolv.h: Likewise.
45889         * inet/herrno-loc.c: Likewise.
45890         * inet/herrno.c: Likewise.
45891         * malloc/arena.c: Likewise.
45892         * malloc/hooks.c: Likewise.
45893         * malloc/malloc.c: Likewise.
45894         * resolv/res-state.c: Likewise.
45895         * resolv/res_libc.c: Likewise.
45896         * sysdeps/i386/dl-machine.h: Likewise.
45897         * sysdeps/ia64/dl-machine.h: Likewise.
45898         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45899         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45900         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45901         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45902         * sysdeps/sh/dl-machine.h: Likewise.
45903         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45904         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45905         * sysdeps/unix/i386/sysdep.S: Likewise.
45906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45907         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45908         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45909         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45910         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45911         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45912         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45916         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45917         * sysdeps/x86_64/dl-machine.h: Likewise.
45918         * tls.make.c: Likewise.
45919
45920         * configure.in: Remove --with-__thread option.  Make tests for
45921         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45922         tls_model attribute fail if no support is available.  Remove
45923         USE_IN_LIBIO.
45924         * Makeconfig: Adjust for dropped configure option.  All features are
45925         now mandatory.
45926         * Makerules: Likewise.
45927         * Versions.def: Likewise.
45928         * argp/argp-fmtstream.c: Likewise.
45929         * argp/argp-fmtstream.h: Likewise.
45930         * argp/argp-help.c: Likewise.
45931         * assert/assert.c: Likewise.
45932         * config.h.in: Likewise.
45933         * config.make.in: Likewise.
45934         * configure: Likewise.
45935         * configure.in: Likewise.
45936         * csu/Versions: Likewise.
45937         * csu/init.c: Likewise.
45938         * elf/tst-audit2.c: Likewise.
45939         * elf/tst-tls10.c: Likewise.
45940         * elf/tst-tls10.h: Likewise.
45941         * elf/tst-tls11.c: Likewise.
45942         * elf/tst-tls12.c: Likewise.
45943         * elf/tst-tls14.c: Likewise.
45944         * elf/tst-tlsmod11.c: Likewise.
45945         * elf/tst-tlsmod12.c: Likewise.
45946         * elf/tst-tlsmod13.c: Likewise.
45947         * elf/tst-tlsmod13a.c: Likewise.
45948         * elf/tst-tlsmod14a.c: Likewise.
45949         * elf/tst-tlsmod15b.c: Likewise.
45950         * elf/tst-tlsmod16a.c: Likewise.
45951         * elf/tst-tlsmod16b.c: Likewise.
45952         * elf/tst-tlsmod7.c: Likewise.
45953         * elf/tst-tlsmod8.c: Likewise.
45954         * elf/tst-tlsmod9.c: Likewise.
45955         * gmon/gmon.c: Likewise.
45956         * grp/fgetgrent_r.c: Likewise.
45957         * grp/putgrent.c: Likewise.
45958         * hurd/fopenport.c: Likewise.
45959         * include/libc-symbols.h: Likewise.
45960         * include/tls.h: Likewise.
45961         * intl/gettextP.h: Likewise.
45962         * intl/loadinfo.h: Likewise.
45963         * locale/global-locale.c: Likewise.
45964         * locale/localeinfo.h: Likewise.
45965         * mach/devstream.c: Likewise.
45966         * malloc/arena.c: Likewise.
45967         * malloc/set-freeres.c: Likewise.
45968         * misc/err.c: Likewise.
45969         * misc/getttyent.c: Likewise.
45970         * misc/mntent_r.c: Likewise.
45971         * posix/getopt.c: Likewise.
45972         * posix/wordexp.c: Likewise.
45973         * pwd/fgetpwent_r.c: Likewise.
45974         * resolv/Versions: Likewise.
45975         * resolv/res_hconf.c: Likewise.
45976         * shadow/fgetspent_r.c: Likewise.
45977         * shadow/putspent.c: Likewise.
45978         * stdio-common/printf_fphex.c: Likewise.
45979         * stdio-common/tmpfile.c: Likewise.
45980         * stdlib/abort.c: Likewise.
45981         * stdlib/fmtmsg.c: Likewise.
45982         * sunrpc/auth_unix.c: Likewise.
45983         * sunrpc/clnt_perr.c: Likewise.
45984         * sunrpc/clnt_tcp.c: Likewise.
45985         * sunrpc/clnt_udp.c: Likewise.
45986         * sunrpc/clnt_unix.c: Likewise.
45987         * sunrpc/openchild.c: Likewise.
45988         * sunrpc/svc_simple.c: Likewise.
45989         * sunrpc/svc_tcp.c: Likewise.
45990         * sunrpc/svc_udp.c: Likewise.
45991         * sunrpc/svc_unix.c: Likewise.
45992         * sunrpc/xdr.c: Likewise.
45993         * sunrpc/xdr_array.c: Likewise.
45994         * sunrpc/xdr_rec.c: Likewise.
45995         * sunrpc/xdr_ref.c: Likewise.
45996         * sunrpc/xdr_stdio.c: Likewise.
45997
45998 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45999
46000         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46001
46002 2011-07-03  Andreas Jaeger  <aj@suse.de>
46003
46004         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46005         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46006         regenerate with gen-libm-tests.pl.
46007
46008 2010-05-12  Petr Baudis  <pasky@suse.cz>
46009
46010         [BZ #11589]
46011         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46012         around j0() zero points by switching to j1().
46013         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46014         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46016         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46017
46018 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46019
46020         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46021         instead of 0.
46022         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46023         instead of 0.
46024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46025         Patch in part by Pavel Roskin <proski@gnu.org>.
46026
46027         [BZ #13138]
46028         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46029         realloc.
46030         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46031         Free memory block if necessary.
46032
46033         [BZ #12847]
46034         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46035         be NULL.  Don't lock in this case.
46036
46037 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46038
46039         * elf/elf.h (ELFOSABI_GNU): New macro.
46040         (ELFOSABI_LINUX): Define to that.
46041
46042 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46043
46044         * string/strncat.c (strncat): Undef the symbol in case it has been
46045         defined in bits/string.h.
46046
46047 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46048
46049         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46050
46051         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46052         link map.
46053
46054 2011-08-17  Andreas Jaeger  <aj@suse.de>
46055
46056         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46057
46058 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46059             Ian Lance Taylor  <iant@google.com>
46060
46061         * math/libm-test.inc (lround_test): New testcase.
46062         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46063
46064 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46065
46066         * Makefile: Remove support for automatic cvs check-ins.
46067         * Makerules: Likewise.
46068         * config.make.in: Likewise.
46069         * configure.in: Likewise.
46070         * intl/Makefile: Likewise.
46071         * locale/Makefile: Likewise.
46072         * po/Makefile: Likewise.
46073         * posix/Makefile: Likewise.
46074         * sysdeps/gnu/Makefile: Likewise.
46075         * sysdeps/mach/hurd/Makefile: Likewise.
46076         * sysdeps/sparc/sparc32/Makefile: Likewise.
46077
46078         [BZ #13118]
46079         * posix/Makefile (bug-regex32-ENV): Define.
46080         Patch by John Stanley <jpsinthemix@verizon.net>.
46081
46082         * misc/Makefile (headers): Add bits/select2.h.
46083         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46084         * misc/bits/select2.h: New file.
46085         * include/bits/select2.h: New file.
46086         * debug/Makefile (routines): Add fdelt_chk.
46087         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46088         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46089         FD_ISSET.
46090         * debug/fdelt_chk.c: New file.
46091
46092         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46093         * wcsmbs/test-wmemcmp.c: Likewise.
46094         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46095         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46096
46097 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46098
46099         * string/Makefile (strop-tests): Add memcmp.
46100         * string/test-wmemcmp.c: New file.
46101         * string/test-memcmp.c: Add wmemcmp support.
46102
46103 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46104
46105         [BZ #13153]
46106         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46107         2011-07-19 change.
46108
46109         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46110         garbage value in a __mach_port_mod_refs call in the cases of the
46111         task-self and thread-self ports.
46112
46113 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46114
46115         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46116
46117 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46118
46119         * elf/dl-load.c (lose): Check for non-null L.
46120
46121 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46122
46123         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46124
46125         * elf/dl-libc.c (dlerror_run): Pass back error code from
46126         dl_catch_error.
46127
46128         [BZ #13123]
46129         * elf/dl-load.c (lose): Free l_origin if it is valid.
46130
46131         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46132         names.
46133         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46134         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46135         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46136         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46137         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46138         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46139
46140 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46141
46142         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46143         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46144         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46145         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46146         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46147         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46148         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46149         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46150         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46151         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46152
46153 2011-08-15  Alan Modra  <amodra@gmail.com>
46154
46155         [BZ #13092]
46156         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46157         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46158         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46159         ppc_mcount to static-only-routines.
46160         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46161         __mcount_internal.
46162         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46163         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46164
46165 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46166
46167         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46168         for finite and infinity parameters.
46169
46170 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46171
46172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46173         and add nop instructions for throughput optimization.
46174         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46175
46176 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46177
46178         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46179         aligned copy for power7 with vector-scalar instructions.
46180         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46181
46182 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46183
46184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46185         AVX check.
46186
46187 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46188
46189         [BZ #13144]
46190         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46191         last change.
46192
46193 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46194
46195         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46196         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46197         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46198         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46199         clock_gettime.
46200
46201 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46202
46203         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46204         Forgot to demangle the pointer.
46205
46206         * sysdeps/i386/sysdep.h: Define atom_text_section.
46207         * sysdeps/x86_64/sysdep.h: Likewise.
46208         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46209         section with atom_text_section.
46210         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46211         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46212         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46214         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46215
46216         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46217         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46218         already be defined.  Change to take two parameters and don't assign
46219         result to variable.  Adjust all users.
46220         Define INTERNAL_GETTIME if not already defined.
46221         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46222         call.
46223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46224         HAVE_CLOCK_GETTIME_VSYSCALL.
46225         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46226
46227         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46228         gettimeofday vsyscall, just use time.
46229
46230 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46231
46232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46233         <errno.h>.
46234
46235 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46236
46237         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46238         syscall on x86-64.
46239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46240         syscall.
46241         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46242         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46243         syscall if possible.
46244
46245 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46246
46247         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46248         e_ident.  Don't pass to find_mapsXX.
46249         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46250
46251 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46252
46253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46254         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46255         * sysdeps/x86_64/multiarch/strchr.S: Update.
46256         Check bit_slow_BSF bit.
46257         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46258         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46259         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46260
46261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46262
46263         [BZ #13134]
46264         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46265         before glibc 2.15.
46266         (tryshell): Define.
46267         (__spawni): Change last parameter to be flag.  Test
46268         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46269         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46270         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46271         * posix/spawni.c: Likewise.
46272         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46273         * posix/spawnp.c: Likewise.  Change normal version to use
46274         SPAWN_XFLAGS_USE_PATH.
46275         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46276         SPAWN_XFLAGS_TRY_SHELL.
46277
46278         [BZ #13150]
46279         * posix/glob.h: Remove gcc 1.x support.
46280
46281         [BZ #13068]
46282         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46283
46284 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46285
46286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46287         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46288         strrchr-sse2-bsf
46289         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46290         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46291         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46292         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46293         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46294         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46295
46296 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46297
46298         * sysdeps/x86_64/wcscmp.S: New file.
46299
46300         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46301         wcscmp-c wcscmp-sse2
46302         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46303         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46304         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46305         * wcsmbs/wcscmp.c: Allow renaming.
46306
46307 2011-09-05  David S. Miller  <davem@davemloft.net>
46308
46309         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46310         stack slot, rather than the struct return pointer slot.
46311         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46312         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46314         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46315
46316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46317
46318         * po/ja.po: Update from translation team.
46319
46320         [BZ #13144]
46321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46322         kernel in 64-bit binaries.
46323
46324 2011-09-01  David S. Miller  <davem@davemloft.net>
46325
46326         * elf/elf.h (HWCAP_SPARC_*): Move to..
46327         * sysdeps/sparc/sysdep.h: this new file and add new values.
46328         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46329         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46330         _DL_HWCAP_COUNT to 24.
46331         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46332         entries.
46333         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46334         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46335         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46336         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46337         instead of magic constants.
46338         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46339
46340 2011-08-31  David S. Miller  <davem@davemloft.net>
46341
46342         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46344         Reimplement to do errno handling inline.
46345         (SYSCALL_ERROR_HANDLER): New macro.
46346         (__SYSCALL_STRING): Do not do errno handling in asm.
46347         (__CLONE_SYSCALL_STRING): Delete.
46348         (__INTERNAL_SYSCALL_STRING): Delete.
46349         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46350         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46351         (PSEUDO): Reimplement to do errno handling inline.
46352         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46353         (SYSCALL_ERROR_HANDLER): New macro.
46354         (__SYSCALL_STRING): Do not do errno handling in asm.
46355         (__CLONE_SYSCALL_STRING): Delete.
46356         (__INTERNAL_SYSCALL_STRING): Delete.
46357         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46358         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46359         i386.
46360         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46361         (inline_syscall*): Add 'err' argument.
46362         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46363         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46364         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46365         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46366
46367         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46368         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46369
46370 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46371
46372         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46373
46374 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46375
46376         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46377         directive.
46378
46379 2011-08-24  David S. Miller  <davem@davemloft.net>
46380
46381         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46382
46383 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46384
46385         * elf/Makefile: Add rules to build and run unload8 test.
46386         * elf/unload8.c: New file.
46387         * elf/unload8mod1.c: New file.
46388         * elf/unload8mod1x.c: New file.
46389         * elf/unload8mod2.c: New file.
46390         * elf/unload8mod3.c: New file.
46391
46392         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46393         it wasn't used.
46394
46395 2011-08-23  David S. Miller  <davem@davemloft.net>
46396
46397         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46398         subtract stack bias.
46399         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46400         %sp not %fp in calculations.
46401         (_JMPBUF_UNWINDS_ADJ): Likewise.
46402
46403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46404         (aio_suspend): Call it to force an exception region around the
46405         AIO_MISC_WAIT() invocation.
46406
46407 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46408
46409         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46410         backslash.
46411
46412 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46413
46414         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46415         protection macro.
46416         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46417         and <dl-machine.h>.
46418         (Elf64_FuncDesc): Remove.
46419
46420 2011-08-22  David S. Miller  <davem@davemloft.net>
46421
46422         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46423         sigaltstack check, add missing cfi directives.
46424         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46425         missing cfi directives, and sigaltstack handling.
46426
46427 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46428
46429         [BZ #11724]
46430         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46431         object is seen twice.
46432         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46433
46434         * elf/Makefile (distribute): Add tst-initorder2.c.
46435         (tests): Add tst-initorder2.
46436         (modules-names): Add tst-initorder2a tst-initorder2b
46437         tst-initorder2c tst-initorder2d.  Add rules to build them.
46438         ($(objpfx)tst-initorder2.out): New rule.
46439         * elf/tst-initorder2.c: New file.
46440         * elf/tst-initorder2.exp: New file.
46441
46442 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46443
46444         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46445
46446         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46447         dependencies back to end of function.
46448
46449         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46450         $(elfobjdir)/ld.so.
46451
46452 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46453
46454         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46455         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46457         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46458         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46459         of __vdso_gettimeofday.
46460         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46461         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46462         attribute_hidden.
46463         (_libc_vdso_platform_setup): Remove initialization of
46464         __vdso_gettimeofday and __vdso_time.
46465
46466 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46467
46468         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46469         and fgetc_unlocked.
46470         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46471         getc_unlocked.
46472
46473         * elf/dl-open.c (add_to_global): Report additions to the global scope
46474         for LD_DEBUG=scopes.
46475         (dl_open_worker): Also print scope of newly loaded dependencies.
46476         (_dl_show_scope): Indicate if there is no scope.
46477
46478         [BZ #13114]
46479         * stdio-common/Makefile (tests): Add bug24.
46480         * stdio-common/bug24.c: New file.
46481
46482 2011-08-19  Andreas Jaeger  <aj@suse.de>
46483
46484         [BZ #13114]
46485         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46486         non-existant file when using close-on-exec mode.
46487
46488 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46489
46490         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46491         the very first instruction.
46492
46493         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46494         the CFI state in the end.
46495         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46496         inclusion of dl-trampoline.h.
46497         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46498
46499 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46500
46501         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46502         expectations for long double.
46503
46504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46505         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46506
46507 2011-08-14  David S. Miller  <davem@davemloft.net>
46508
46509         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46510         artificual limit depends upon the system page size.
46511
46512 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46513
46514         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46515         * resolv/Makefile: Define CFLAGS-libresolv.
46516
46517 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46518
46519         * nss/makedb.c (compute_tables): Make variables used in nested
46520         function static.
46521
46522 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46523
46524         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46525         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46526         if buffer was too small.
46527
46528         * elf/pldd.c (main): Attach to all threads in the process.
46529         Rewrite /proc handling to use *at functions.
46530
46531 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46532
46533         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46534         specifies first scope to show.
46535         (dl_open_worker): Update callers.  Move printing scope of new
46536         object to before the relocation.
46537         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46538         * sysdeps/generic/ldsodefs.h: Update declaration.
46539
46540         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46541         string for the scope number.
46542
46543 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46544
46545         * nscd/servicescache.c (cache_addserv): Make sure written is always
46546         initialized.
46547
46548 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46549
46550         * sysdeps/i386/i486/bits/atomic.h
46551         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46552         statement expression, so as to suppress "set but not used" warning.
46553         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46554
46555         * string/strncat.c (STRNCAT): Use prototype definition.
46556
46557         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46558         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46559         -Iprograms here.
46560         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46561         (localedef-modules): Add localedef.
46562         (locale-modules): Add locale.
46563
46564         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46565         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46566         to avoid a warning.
46567
46568 2011-08-14  David S. Miller  <davem@davemloft.net>
46569
46570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46571         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46572
46573 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46574
46575         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46576         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46577         * elf/rtld.c (dl_main): Set l_name of vDSO.
46578         Call _dl_show_scope when DL_DEBUG_SCOPES.
46579         (process_dl_debug): Recognize scopes flag and also set it for all.
46580         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46581         Declare _dl_show_scope.
46582
46583         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46584         (do_dlopen): Pass caller_dlopen to dl_open.
46585         (__libc_dlopen_mode): Initialize caller_dlopen.
46586
46587         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46588         of libc.  Make tolower call locale-independent.  Optimize a bit by
46589         using isdigit instead of isalnum.
46590         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46591
46592 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46593
46594         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46595         was a dependency or dynamically loaded.
46596
46597 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46598
46599         * intl/l10nflist.c: Allow architecture-specific pop function.
46600         * sysdeps/x86_64/l10nflist.c: New file.
46601
46602         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46603         classification.
46604
46605 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46606
46607         * include/dirent.h: Add libc_hidden_proto for scandirat and
46608         scandirat64.  Don't declare __scandirat64.
46609         * dirent/scandirat.c: Add libc_hidden_def.
46610         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46611         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46612
46613 2011-08-10  David S. Miller  <davem@davemloft.net>
46614
46615         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46616         enum.
46617         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46618         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46619         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46620
46621 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46622
46623         * Versions.def [libc]: Add GLIBC_2.15.
46624         * dirent/Makefile (routines): Add scandirat and scandirat64.
46625         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46626         GLIBC_2.15.
46627         * dirent/dirent.h: Declare scandirat and scandirat64.
46628         * dirent/scandirat.c: New file.
46629         * dirent/scandirat64.c: New file.
46630         * sysdeps/wordsize-64/scandirat.c: New file.
46631         * sysdeps/wordsize-64/scandirat64.c: New file.
46632         * dirent/opendir.c: Define opendirat.
46633         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46634         using scandirat.
46635         * dirent/scandir64.c: Adjust for scandir.c change.
46636         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46637         __scandirat64, and __scandir_cancel_handler.
46638         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46639         additional parameter and use openat instead of open (outside of ld.so).
46640         Add new __opendir as wrapper around __opendirat.
46641         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46642         here without requiring old scandirat implementation.
46643
46644 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46645
46646         * dirent/scandir.c (cancel_handler): Renamed to
46647         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46648         defined.  Adjust users.
46649         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46650         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46651
46652 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46653
46654         * string/test-string.h (IMPL): Use __STRING to expand name and then
46655         stringify it.
46656
46657         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46658         of cleanups.
46659
46660 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46661
46662         * string/Makefile: Update.
46663         (strop-tests): Append strncat.
46664         * string/test-wcscmp.c: New file.
46665         New comprehensive test for wcscmp.
46666         * string/test-strcmp.c: Update.
46667         (WIDE): New define.
46668
46669 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46670
46671         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46672         line.
46673
46674 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46675
46676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46677         encoding to ACE if AI_IDN.
46678
46679 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46680
46681         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46682         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46683
46684 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46685
46686         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46687         Fix overflow bug in strncat.
46688         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46689
46690         * string/test-strncat.c: Update.
46691         Add new tests for checking overflow bugs.
46692
46693 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46694
46695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46696         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46697         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46698         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46699         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46700         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46701         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46702         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46703         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46704
46705         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46706         (USE_AS_STRCAT): Define.
46707         Add strcat and strncat support.
46708         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46709
46710 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46711
46712         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46713         __n bigger than INT_MAX+1.
46714         (__strncmp_g): Likewise.
46715
46716 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46717
46718         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46719         * libio/stido.h: Likewise.
46720
46721         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46722         (AF_NFC): Define.
46723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46724         (AF_NFC): Define.
46725
46726         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46728         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46729         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46731
46732         [BZ #13021]
46733         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46734         installed.
46735
46736         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46737         typo.
46738         (_dl_x86_64_save_sse): Likewise.
46739
46740 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46741
46742         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46743         OSXSAVE.
46744         (_dl_x86_64_save_sse): Likewise.
46745
46746         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46747
46748         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46749
46750 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46751
46752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46753         change.
46754         (_dl_x86_64_save_sse): Use correct AVX check.
46755
46756 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46757
46758         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46759         bug in strncpy/strncat.
46760         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46761
46762 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46763
46764         * string/tester.c (test_strcat): Add tests for different alignments
46765         of source and destination.
46766         (test_strncat): Likewise.
46767
46768 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46769
46770         [BZ #12852]
46771         * posix/glob.c (glob): Check passed in values before using them in
46772         expressions to avoid some overflows.
46773         (glob_in_dir): Likewise.
46774
46775         [BZ #13007]
46776         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46777         check for AVX enablement so that we don't crash with old kernels and
46778         new hardware.
46779         * elf/tst-audit4.c: Add same checks here.
46780         * elf/tst-audit6.c: Likewise.
46781
46782         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46783
46784 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46785
46786         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46787
46788 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46789
46790         * po/cs.po: Update from translation team.
46791         * po/bg.po: Likewise.
46792
46793 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46794
46795         * misc/sys/cdefs.h: Add support for const attribute.
46796         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46797         to gnu_dev_{major,minor,makedev} functions.
46798
46799 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46800
46801         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46802
46803 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46804
46805         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46806         strlen results.
46807
46808 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46809
46810         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46811         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46812         register in order to avoid conflicts with the soft frame pointer
46813         being held in r11 when necessary.
46814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46815         (INTERNAL_VSYSCALL_NCS): Likewise.
46816
46817 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46818
46819         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46820         * elf/dl-fini.c (_dl_fini): Adjust caller.
46821         * elf/dl-close.c (_dl_close_worker): Likewise.
46822         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46823
46824 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46825
46826         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46827         "aux_cache->nlibs < 0".
46828
46829         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46830         in the reload-count case.
46831
46832 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46833
46834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46835         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46836         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46837         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46838         * sysdeps/x86_64/multiarch/strcat.S: New file.
46839         * sysdeps/x86_64/multiarch/strncat.S: New file.
46840         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46842         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46843         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46844         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46845         (USE_AS_STRCAT): Define.
46846         Add strcat and strncat support.
46847         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46848         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46849         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46850         * string/strncat.c: Update.
46851         (USE_AS_STRNCAT): Define.
46852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46853         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46854         and i7.
46855         * sysdeps/x86_64/multiarch/init-arch.h
46856         (bit_Prefer_PMINUB_for_stringop): New.
46857         (index_Prefer_PMINUB_for_stringop): Likewise.
46858         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46859         bit_Prefer_PMINUB_for_stringop.
46860
46861 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46862
46863         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46864         buffer64.
46865         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46866         of casting of buffer.
46867         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46868         buffer32 and buffer64.
46869         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46870         writes instead of casting of buffer.
46871         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46872         buffer32.
46873         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46874         casting of buffer.
46875
46876 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46877
46878         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46879
46880 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46881
46882         * nscd/nscd.c (termination_handler): Don't do anything for a database
46883         if it has not yet been initialized.
46884
46885 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46886
46887         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46888
46889 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46890
46891         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46892
46893 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46894
46895         * po/nl.po: Update from translation team.
46896         * po/sv.po: Likewise.
46897
46898 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46899
46900         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46901         now disallowed by GCC.
46902
46903         * configure.in (use-default-link): Default to yes if a test -shared
46904         link meets our qualifications.
46905         * configure: Regenerated.
46906
46907         * config.make.in (output-format): New variable.
46908         * configure.in: Check for ld --print-output-format support.
46909         * configure: Regenerated.
46910         * Makerules ($(common-objpfx)format.lds)
46911         [$(output-format) != unknown]: Just use $(output-format),
46912         instead of the linker-script munging.
46913
46914 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46915
46916         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46917         of $(common-objpfx)shlib.lds.
46918         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46919
46920         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46921         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46922
46923         * configure.in (-z relro check): Adjust test code to add a large
46924         writable data section after it.
46925         * configure: Regenerated.
46926
46927 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46928
46929         * configure.in (-z relro check): Fix test code to make the variable
46930         truly const.
46931         * configure: Regenerated.
46932
46933 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46934
46935         * nscd/nscd.h (struct traced_file): Define.
46936         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46937         elements.  Add traced_files.
46938         (inotify_fd): Declare.
46939         (register_traced_file): Declare.
46940         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46941         (inotify_fd): Export.
46942         (resolv_conf_descr): Remove.
46943         (nscd_init): Move inotify descriptor creation to main.
46944         Don't register files for notification here.
46945         (register_traced_file): New function.
46946         (invalidate_cache): Don't use reset_res to determine whether to call
46947         res_init, go through the list of registered files.
46948         (main_loop_poll): The inotify descriptors are now stored in the
46949         structures for the traced files.
46950         (main_loop_epoll): Likewise
46951         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46952         to __nss_disable_nscd.
46953         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46954         for a database anymore.  Check the records for all the registered
46955         files instead.
46956         * nss/Makefile (libnss_files-routines): Add files-init.
46957         (libnss_db-routines): Add db-init.
46958         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46959         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46960         * nss/nss_db/db-init.c: New file.
46961         * nss/nss_files/files-init.c: New file.
46962         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46963         __nss_lookup_function.
46964         (__nss_lookup_function): Call nss_load_library.
46965         (nss_load_all_libraries): New function.
46966         (__nss_disable_nscd): Take parameter with callback function for files
46967         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46968         used for the cached services.
46969         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46970         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46971         options for features to all the files in nscd.
46972
46973         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46974
46975 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46976
46977         * csu/elf-init.c (__libc_csu_init): Comment typo.
46978
46979 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46980
46981         * po/pl.po: Update from translation team.
46982         * po/ja.po: Likewise.
46983         * po/ru.po: Likewise.
46984         * po/ko.po: Likewise.
46985         * po/fr.po: Likewise.
46986
46987 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46988
46989         * configure.in (.ctors/.dtors header and trailer check):
46990         Use an empirical test on a built program.
46991         * configure: Regenerated.
46992
46993         * configure.in (-z relro check): Use an empirical test on a built DSO.
46994         Detect, but do not require, on ia64.
46995         * configure: Regenerated.
46996
46997         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46998         Update tests that use readelf to use $READELF instead.
46999         * configure: Regenerated.
47000
47001 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47002
47003         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47004         if the result is not used.
47005
47006 2011-07-05  Andreas Jaeger  <aj@suse.de>
47007
47008         [BZ#9696]
47009         * stdlib/tst-strtod.c: Add testcase.
47010
47011 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47012
47013         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47014         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47015         The latter has a higher limit.  Take additional parameter to pass to
47016         the new function.
47017         (__pathconf): Pass file to __statfs_link_max.
47018         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47019         __statfs_link_max.
47020         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47021         __statfs_link_max.
47022
47023         [BZ #12868]
47024         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47026         Handle Lustre.
47027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47028         (__statfs_filesize_max): Likewise.
47029         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47030
47031 2011-07-05  Andreas Jaeger  <aj@suse.de>
47032
47033         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47034
47035 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47036
47037         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47038         `status' variable.
47039         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47040         Likewise.
47041
47042 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47043
47044         * Makefile (strop-tests): Add strncat.
47045         * string/test-strncat.c: New file.
47046
47047 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47048
47049         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47050
47051 2011-06-21  Andreas Jaeger  <aj@suse.de>
47052
47053         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47054         Copy rule from iconvdata/Makefile.
47055
47056 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47057
47058         [BZ #12922]
47059         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47060         but no long options are defined, just return 'W'.
47061
47062 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47063
47064         [BZ #9696]
47065         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47066
47067 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47068
47069         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47070         netgroups to read.
47071         (innetgr): Likewise.
47072
47073 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47074
47075         * config.make.in (install_root): Default to $(DESTDIR).
47076
47077 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47078
47079         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47080
47081 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47082
47083         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47084
47085         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47086         containing directory rather than embedding absolute directory names.
47087
47088         * scripts/check-local-headers.sh: Rewritten using awk.
47089         Match by word, not by line.  Print error messages for matches.
47090         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47091
47092         * Makerules [shlib-lds-flags empty]:
47093         ($(common-objpfx)libc_pic.opts): New target.
47094         ($(common-objpfx)libc_pic.os.clean): New target.
47095         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47096
47097         * config.make.in (OBJCOPY): New variable.
47098         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47099         * configure: Regenerated.
47100
47101         * config.make.in (use-default-link): New variable.
47102         * configure.in (use_default_link): Grok --with-default-link to set it.
47103         * configure: Regenerated.
47104         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47105         (shlib-lds, shlib-lds-flags): Define to empty.
47106
47107         * Makerules (shlib-lds): New variable.
47108         (shlib-lds-flags): New variable.
47109         (build-shlib, build-moduile, build-module-asneeded): Use it.
47110         ($(common-objpfx)libc.so): Use $(shlib-lds).
47111         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47112         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47113
47114         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47115         DT_FLAGS/DT_FLAGS_1 with zero flags.
47116
47117         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47118         linker script munging.
47119
47120 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47121
47122         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47123         as 128-bit value.
47124         * crypt/sha512.c (sha512_process_block): Perform total addition using
47125         128-bit if possible.
47126         (__sha512_finish_ctx): Likewise.
47127         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47128         as 64-bit value.
47129         * crypt/sha256.c (SWAP64): Define.
47130         (sha256_process_block): Perform total addition using 64-bit if
47131         possible.
47132         (__sha256_finish_ctx): Likewise.
47133
47134 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47135
47136         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47138         * nscd/hstcache.c (cache_addhst): Likewise.
47139         * nscd/grpcache.c (cache_addgr): Likewise.
47140         * nscd/aicache.c (addhstaiX): Likewise
47141         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47142
47143 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47144
47145         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47146         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47147         * nscd/hstcache.c (cache_addhst): Likewise.
47148         * nscd/grpcache.c (cache_addgr): Likewise.
47149         * nscd/aicache.c (addhstaiX): Likewise
47150
47151 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47152
47153         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47154         domain only when needed.
47155
47156 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47157
47158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47159         is always restored.
47160
47161 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47162
47163         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47164         are re-adding the entry.
47165         * nscd/servicescache.c (cache_addserv): Likewise.
47166
47167 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47168
47169         * sysdeps/generic/dl-irel.h: fix protection against multiple
47170         inclusions.
47171         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47172
47173 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47174
47175         [BZ #12935]
47176         * malloc/memusage.sh: Fix quoting in message.
47177         * debug/xtrace.sh: Likewise.
47178
47179         * configure.in: Remove support for --experimental-malloc option, make
47180         it the default.
47181         * config.make.in: Likewise.
47182         * malloc/Makefile: Likewise.
47183
47184 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47185
47186         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47187         two-byte characters.
47188
47189 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47190
47191         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47192         AC_CACHE_CHECK invocation.
47193         * configure: Regenerated.
47194
47195         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47196
47197 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47198
47199         [BZ #12350]
47200         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47201         bit from old_res_options.
47202
47203         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47204
47205         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47206         value type for setfct.
47207
47208 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47209
47210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47211         __gettimeofday instead of gettimeofday.
47212
47213 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47214
47215         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47216
47217 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47218
47219         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47220
47221         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47222         info.
47223
47224 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47225
47226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47227         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47228         strcpy-sse2-unaligned strncpy-sse2-unaligned
47229         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47230         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47231         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47232         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47233         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47234         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47235         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47236         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47237         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47238         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47239         (STRCPY): Support SSE2 and SSSE3 versions.
47240
47241 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47242
47243         [BZ #12874]
47244         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47245         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47246         kernels which artificially limit size of requests.
47247
47248 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47249
47250         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47251         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47252         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47253         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47254         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47255         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47256         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47257         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47258         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47259         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47260         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47261         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47262         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47263         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47264         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47266         Enable unaligned load optimization for Intel Core i3, i5 and i7
47267         processors.
47268         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47269         Define.
47270         (index_Fast_Unaligned_Load): Define.
47271         (HAS_FAST_UNALIGNED_LOAD): Define.
47272
47273 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47274
47275         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47276
47277 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47278
47279         [BZ #12907]
47280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47281         until it is clear that the information is realy needed.
47282         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47283
47284 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47285
47286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47287
47288 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47289
47290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47291         /sys/devices/system/cpu/online if it is usable.
47292
47293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47294         reading the information from the /proc filesystem to once a second.
47295
47296 2011-06-21  Andreas Jaeger  <aj@suse.de>
47297
47298         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47299         NULL after inclusion of kernel headers.
47300
47301 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47302
47303         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47304         calls to internal_setent.
47305
47306         [BZ #12885]
47307         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47308         addresses using gethostbyname4_r ignore IPv4 addresses.
47309
47310         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47311         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47312
47313         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47314
47315 2011-06-20  David S. Miller  <davem@davemloft.net>
47316
47317         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47318         inclusions.
47319         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47320
47321         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47322         (elf_irel): Use it.
47323         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47324         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47325         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47326         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47327         * sysdeps/x86_64/dl-irel.h: Likewise.
47328
47329         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47330         * elf/dl-sym.c: Likewise.
47331
47332 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47333
47334         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47335         need to dereference resplen2.
47336
47337 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47338
47339         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47340
47341 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47342
47343         * Makeconfig: Define vardbdir and inst_vardbdir.
47344         * nss/Makefile: Add rules to install db-Makefile.
47345
47346         * nss/nss_db/db-XXX.c: Cleanup.
47347
47348         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47349         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47350         GLIBC_PRIVATE.
47351         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47352         * nss/makedb.c: Implement -g option to specify that value strings
47353         are generated and should not be added to table iterated over for
47354         get*ent calls.
47355         * nss/nss_db/db-initgroups.c: New file.
47356
47357         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47358         interface.
47359
47360         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47361         (internal_getgrouplist): Adjust to name change.
47362         Update use_initgroups_entry if this is not the first call.
47363         * nss/databases.def: Add initgroups entry.
47364
47365         * nss/makedb.c (compute_tables): Check result of multiple hash table
47366         sizes to minimize maximum chain length.
47367
47368 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47369
47370         * Versions.def: Add entry for libnss_db.
47371         * shlib-versions: Likewise.
47372         * nss/Makefile: Add rules to build libnss_db.
47373         * nss/Versions: Add libnss_db information.  Organize libnss_files
47374         entries better.
47375         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47376         makedb progra.  Some minor improvements to generate smaller files.
47377         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47378         here from...
47379         * nss/makedb.c: ...here.
47380         Improve database format to be smaller and require less memory at
47381         runtime.
47382         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47383         db anymore.
47384         * nss/nss_db/db-netgrp.c: Likewise.
47385         * nss/nss_db/db-open.c: Likewise.
47386         * nss/nss_files/flies-XXX.x: Adjust comments.
47387         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47388         * nss/nss_files/files-grp.c: Likewise.
47389         * nss/nss_files/files-hosts.c: Likewise.
47390         * nss/nss_files/files-network.c: Likewise.
47391         * nss/nss_files/files-proto.c: Likewise.
47392         * nss/nss_files/files-pwd.c: Likewise.
47393         * nss/nss_files/files-rpc.c: Likewise.
47394         * nss/nss_files/files-service.c: Likewise.
47395         * nss/nss_files/files-sgrp.c: Likewise.
47396         * nss/nss_files/files-spwd.c: Likewise.
47397         * nss/nss_db/db-alias.c: Removed.
47398         * nss/nss_db/dummy-db.h: Removed.
47399
47400 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47401
47402         * nss/makedb.c: Rewritten to not use database library.
47403         * nss/Makefile: Update to build new makedb program.
47404
47405 2011-06-14  Andreas Jaeger  <aj@suse.de>
47406
47407         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47408         memset declaration.
47409
47410 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47411
47412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47413         tmpbuf.
47414
47415 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47416
47417         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47418         * elf/Makefile ($(objpfx)ld.so): Likewise.
47419
47420         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47421         Don't list ld.so twice in dependencies.
47422
47423         * posix/bug-regex31.c: Include <stdlib.h>.
47424
47425         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47426
47427         * nis/nss_compat/compat-spwd.c
47428         (getspent_next_nss_netgr): Remove unused variable.
47429         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47430
47431         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47432         nonmembers" output to use the right array.
47433
47434         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47435
47436         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47437
47438         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47439         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47440         * catgets/gencat.c (read_input_file): Likewise.
47441         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47442
47443         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47444         variable definition inside #if's controlling its use.
47445
47446         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47447
47448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47449
47450         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47451
47452         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47453         unreachable code.
47454
47455         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47456
47457         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47458         * configure: Regenerated.
47459
47460         * Makerules: Revert last change.
47461         * elf/Makefile: Likewise.
47462
47463 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47464
47465         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47466         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47467         (reloc-link): Likewise.
47468
47469 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47470
47471         * elf/Makefile: Add rules to build pldd.
47472         * elf/pldd.c: New file.
47473         * elf/pldd-xx.c: New file.
47474
47475 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47476
47477         * version.h: Update for 2.15 development version.
47478
47479 2011-06-07  David S. Miller  <davem@davemloft.net>
47480
47481         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47482         ifuncs.
47483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47484         elf_machine_lazy_rel): Likewise.
47485         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47486         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47487         elf_machine_lazy_rel): Likewise.
47488         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47489         dl_hwcap via passed in argument.
47490         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47491         Likewise.
47492
47493 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47494
47495         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47496
47497 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47498
47499         [BZ #12849]
47500         * manual/fdl-1.1.texi: New file, verbatim from:
47501         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47502         * manual/lgpl-2.1.texi: New file, verbatim from:
47503         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47504         * manual/Makefile (licenses): New variable, list those new file names.
47505         (texis): Use it.
47506         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47507
47508         * manual/fdl.texi: File removed.
47509         * manual/lesser.texi: File removed.
47510         * manual/libc.texinfo (Copying, Documentation License):
47511         Use new @include file names, put @appendix directive before @include.
47512
47513 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47514
47515         [BZ #12841]
47516         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47517         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47518         (mq_open): Add __NTH.
47519
47520 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47521
47522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47523         Assume Intel Core i3/i5/i7 processor if AVX is available.
47524
47525 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47526
47527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47528         typo.
47529
47530 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47531
47532         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47533         memory.  Use alloca_account.  Fix memory leak when retrying.
47534
47535 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47536
47537         * version.h (RELEASE): Bump for 2.14 release.
47538         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47539
47540         * config.make.in (RANLIB): Remove entry.
47541
47542 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47543
47544         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47545         (libc.pot): Work around missing support for .ksh extension in xgettext.
47546
47547         [BZ #12684]
47548         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47549         if both request failed.
47550         (send_dg): In case of server errors clear resplen or *resplen2.
47551
47552         [BZ #12454]
47553         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47554         when there are multiple maps.
47555         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47556         (_dl_fini): Remove test here.
47557
47558         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47559
47560 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47561
47562         [BZ #12350]
47563         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47564         bit from old_res_options.
47565         (gaih_inet): Likewise.
47566
47567         [BZ #11099]
47568         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47569         as signed.
47570
47571         * resolv/res_init.c (res_setoptions): Make the code more compact.
47572
47573         [BZ #11558]
47574         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47575         set RES_USEVC.
47576
47577         [BZ #11634]
47578         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47579
47580         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47581
47582         [BZ #11781]
47583         * malloc/malloc.h: Declare malloc hook variables as volatile.
47584
47585         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47586         in last patch.
47587
47588         [BZ #11799]
47589         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47590         raise in the comment.
47591         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47592         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47593         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47594
47595 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47596
47597         [BZ #12811]
47598         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47599         grow the buffers more if it already has to be sufficient.
47600         (build_wcs_upper_buffer): Likewise.
47601         * posix/regexec.c (check_matching): Likewise.
47602         (clean_state_log_if_needed): Likewise.
47603         (extend_buffers): Don't enlarge buffers beyond size of the input
47604         buffer.
47605         Patches mostly by Emil Wojak <emil@wojak.eu>.
47606         * posix/bug-regex32.c: New file.
47607         * posix/Makefile (tests): Add bug-regex32.
47608
47609         * locale/findlocale.c (_nl_find_locale): Return right away if
47610         _nl_explode_name failed.
47611         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47612
47613         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47614
47615         * debug/xtrace.sh: Unify messages.
47616         * malloc/memusage.sh: Likewise.
47617
47618         [BZ #12813]
47619         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47620         time symbol from vDSO.  Substitute with vsyscall if not available.
47621         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47622         __vdso_time.
47623
47624         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47625         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47626         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47627         Add sendmmsg and internal_sendmmsg.
47628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47629         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47630         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47631
47632         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47633         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47634         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47635
47636 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47637
47638         [BZ #12813]
47639         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47640         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47641         available.
47642         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47643         __vdso_getcpu.
47644
47645         [BZ #12814]
47646         * iconvdata/Makefile (tests): Add bug-iconv9.
47647         * iconvdata/bug-iconv9.c: New file.
47648
47649 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47650
47651         [BZ #12814]
47652         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47653
47654 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47655
47656         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47657         (struct user_regs_struct): Change intcs field back to cs.
47658
47659 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47660
47661         * po/ja.po: Update from translation team.
47662
47663 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47664
47665         [BZ #12795]
47666         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47667         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47668
47669 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47670
47671         * stdlib/longlong.h: Update from GCC.
47672
47673 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47674
47675         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47676         parameter name.
47677         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47678         Add parameter name.
47679         (__sysconf): Pass it down.
47680
47681 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47682
47683         [BZ #12671]
47684         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47685         some situations.
47686         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47687         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47688         add in in __libc_use_alloca calls.  Adjust callers.
47689         (glob): Use malloc in some situations.
47690
47691         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47692         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47693         pltexit.
47694
47695 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47696
47697         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47698         and CLOCK_BOOTTIME_ALARM.
47699
47700         [BZ #12782]
47701         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47702         is returned.
47703
47704         * string/_strerror.c (__strerror_r): Print negative errors as signed
47705         numbers.
47706
47707         [BZ #12777]
47708         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47709         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47710         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47711
47712         * configure.in: Fix typo in redirection and correct removal of test
47713         files in two cases.
47714
47715         [BZ #12788]
47716         * locale/setlocale.c (new_composite_name): Fix test to check for
47717         identical name of all categories.
47718
47719         [BZ #12792]
47720         * libio/filedoalloc.c (local_isatty): New function.
47721         (_IO_file_doallocate): Use local_isatty.
47722         * stdio-common/perror.c (perror): In case a new stream is used
47723         forward the stream error.
47724         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47725         error flag.
47726
47727 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47728
47729         [BZ #11869]
47730         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47731         alloca.
47732         * include/alloca.h (extend_alloca_account): Define.
47733
47734         [BZ #11857]
47735         * posix/regex.h: Fix comments with documentation of user-accessible
47736         fields after compilation and describe correct free'ing of pattern
47737         after re_compile_pattern.
47738         Patch by Reuben Thomas <rrt@sc3d.org>.
47739
47740 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47741
47742         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47743         and -mno-altivec to prevent the compiler from using Altivec and/or
47744         VSX instructions when the corresponding registers are not available.
47745
47746 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47747
47748         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47749
47750 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47751
47752         * libio/freopen.c (freopen): Use __dup2, not dup2.
47753         * libio/freopen64.c (freopen64): Likewise.
47754
47755 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47756
47757         [BZ #12775]
47758         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47759         * math/Makefile (tests): Add test-powl.
47760         (CFLAGS-test-powl.c): Define.
47761         * math/test-powl.c: New file.
47762
47763 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47764
47765         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47766
47767 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47768
47769         [BZ #11837]
47770         * iconvdata/gb18030.c: Update to GB18020-2005.
47771
47772 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47773
47774         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47775         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47776         Patch by Aharon Robbins <arnold@skeeve.com>.
47777
47778         [BZ #11892]
47779         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47780         on the stack.
47781
47782         [BZ #11895]
47783         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47784         through underflows.
47785
47786         [BZ #12766]
47787         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47788         point to strings before performing equality test for error_one_per_line
47789         mode.
47790
47791         [BZ #11697]
47792         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47793
47794         [BZ #11820]
47795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47796         (struct user_fpregs_struct): Avoid __uint*_t types.
47797
47798         [BZ #6420]
47799         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47800         symbol info.  Use it instead of calling _dl_addr locally.
47801         (lock_and_info): New function.
47802         (tr_freehook): Call lock_and_info and pass symbol info as additional
47803         parameter to tr_where.
47804         (tr_mallochook): Likewise.
47805         (tr_reallochook): Likewise.
47806         (tr_memalignhook): Likewise.
47807
47808         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47809         used and couldn't be at all thread-safe.
47810
47811 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47812
47813         * libio/freopen.c (freopen): Don't close old file descriptor
47814         before the new one is opened.  Instead dup the new file descriptor
47815         to the old one after the new stream is created.
47816         * libio/freopen64.c (freopen64): Likewise.
47817         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47818         * libio/fileops.c (_IO_new_file_close_it): Handle new
47819         _IO_FLAGS2_NOCLOSE flag.
47820         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47821         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47822         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47823         _IO_FLAGS2_NOCLOSE flag.
47824         * include/unistd.h: Add hidden_proto for dup3.
47825         Define __have_dup3.
47826         * io/dup3.c: Define hidden symbol.
47827         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47828
47829         [BZ #7101]
47830         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47831         when an incomplete long option is used.
47832         * posix/tst-getopt_long1.c: New file.
47833         * posix/Makefile (tests): Add tst-getopt_long1.
47834
47835         [BZ #10138]
47836         * scripts/config.guess: Update from autoconf-2.68.
47837         * scripts/config.sub: Likewise.
47838
47839         [BZ #10157]
47840         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47841         tests into ...
47842         (has_cpuclock): ...this.  New function.
47843         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47844         macro here based on has_cpuclock code.
47845
47846         [BZ #10149]
47847         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47848         First byte (not low byte) is now always NUL.
47849         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47850
47851         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47852         Use non-cancelable interfaces.
47853
47854         [BZ #9809]
47855         * locale/iso-639.def: Add entry for Sorani.
47856
47857         [BZ #11901]
47858         * include/stdlib.h: Move include protection to the right place.
47859         Define abort_msg_s.  Declare __abort_msg with it.
47860         * stdlib/abort.c (__abort_msg): Adjust type.
47861         * assert/assert.c (__assert_fail_base): New function.  Majority
47862         of code from __assert_fail.  Allocate memory for __abort_msg with
47863         mmap.
47864         (__assert_fail): Now call __assert_fail_base.
47865         * assert/assert-perr.c: Remove bulk of implementation.  Use
47866         __assert_fail_base.
47867         * include/assert.hL Declare __assert_fail_base.
47868         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47869         mmap.
47870         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47871
47872 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47873
47874         [BZ #11952]
47875         [BZ #12453]
47876         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47877         until all modules are registered in the DTV.
47878         * elf/Makefile: Add rules to build and run tst-tls19.
47879         * elf/tst-tls19.c: New file.
47880         * elf/tst-tls19mod1.c: New file.
47881         * elf/tst-tls19mod2.c: New file.
47882         * elf/tst-tls19mod3.c: New file.
47883         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47884
47885         [BZ #12083]
47886         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47887         correctly.
47888
47889         [BZ #12601]
47890         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47891         two-byte sequence errors.
47892         * iconvdata/Makefile (tests): Add bug-iconv8.
47893         * iconvdata/bug-iconv8.c: New file.
47894
47895         [BZ #12626]
47896         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47897         buf2 definition.
47898
47899         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47900
47901         [BZ #12432]
47902         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47903         (dummy_getcfa): New function.
47904         (init): Get _Unwind_GetCFA address, use dummy if not found.
47905         (backtrace_helper): In recursion check, also check whether CFA changes.
47906         (__backtrace): Completely initialize arg.
47907
47908         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47909         storing incomplete byte sequence in state object.  Avoid testing for
47910         guaranteed too small input if we know there is enough data available.
47911
47912 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47913
47914         * Makeconfig (+link-pie): Indent.
47915         * Rules (binaries-pie): Define if $(have-fpie) and
47916         $(build-shared).
47917         (binaries-shared): Also filter out $(binaries-pie).
47918         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47919         * nscd/Makefile (others-pie): Add nscd.
47920         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47921         ($(objpfx)nscd): Remove command override.
47922         * login/Makefile (others-pie): Add pt_chown.
47923         ($(objpfx)pt_chown): Remove command override.
47924         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47925         remove command overrides.
47926
47927 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47928
47929         * libio/tst_putwc.c: Fix error messages.
47930
47931         [BZ #12724]
47932         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47933         currently writing and seek to current position when not.
47934         * libio/Makefile (tests): Add bug-fclose1.
47935         * libio/bug-fclose1.c: New file.
47936
47937 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47938
47939         [BZ #12511]
47940         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47941         don't set DF_1_NODELETE here.
47942         (do_lookup_x): When entering new entry test for copy relocation
47943         and if necessary set DF_1_NODELETE flag.
47944         * elf/tst-unique4.cc: New file.
47945         * elf/tst-unique4.h: New file.
47946         * elf/tst-unique4lib.cc: New file.
47947         * elf/Makefile: Add rules to build and run tst-unique4.
47948         Patch by Piotr Bury <pbury@goahead.com>.
47949
47950 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47951
47952         [BZ #12052]
47953         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47954
47955         [BZ #12625]
47956         * misc/mntent_r.c (addmntent): Flush the stream after the output
47957
47958         [BZ #12393]
47959         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47960         (is_trusted_path_normalize): Skip initial colon.  Append slash
47961         to empty buffer.  Duplicate is_trusted_path code but allow
47962         constructed patch to be prefix.
47963         (is_dst): Allow $ORIGIN followed by /.
47964         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47965         Correct testing of result of is_trusted_path_normalize
47966         (decompose_rpath): Fix warning.
47967
47968 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47969
47970         [BZ #11257]
47971         * grp/initgroups.c (internal_getgrouplist): When we found the service
47972         list through the initgroups entry in nsswitch.conf do not always
47973         continue on a successful lookup.  Don't always use the
47974         __nss_group_database value if it is set.
47975         * nss/nsswitch.conf (initgroups): Change action for successful db
47976         lookup to continue for compatibility.
47977
47978 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47979
47980         [BZ #11532]
47981         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47982         and CP774 modules.
47983         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47984         and CP774 modules.
47985         * iconvdata/tst-tables.sh: Likewise.
47986         * iconvdata/cp770.c: New file.
47987         * iconvdata/cp771.c: New file.
47988         * iconvdata/cp772.c: New file.
47989         * iconvdata/cp773.c: New file.
47990         * iconvdata/cp774.c: New file.
47991         * iconvdata/testdata/CP770: New file.
47992         * iconvdata/testdata/CP770..UTF8: New file.
47993         * iconvdata/testdata/CP771: New file.
47994         * iconvdata/testdata/CP771..UTF8: New file.
47995         * iconvdata/testdata/CP772: New file.
47996         * iconvdata/testdata/CP772..UTF8: New file.
47997         * iconvdata/testdata/CP773: New file.
47998         * iconvdata/testdata/CP773..UTF8: New file.
47999         * iconvdata/testdata/CP774: New file.
48000         * iconvdata/testdata/CP774..UTF8: New file.
48001
48002         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48003         END CHARMAP line.
48004         * iconvdata/gen-8bit-gap.sh: Likewise.
48005         * iconvdata/gen-8bit.sh: Likewise.
48006
48007         * locale/iso-639.def: Add ary entry.
48008
48009         [BZ #11258]
48010         * locale/C-translit.h.in: Add U20A1 transliteration.
48011
48012         [BZ #12178]
48013         * locale/iso-639.def: Add wae entry.
48014         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48015
48016         [BZ #12545]
48017         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48018         for n.
48019
48020         [BZ #12711]
48021         * locale/C-translit.h.in: Add entry for U20B9.
48022         Patch by pravin.d.s@gmail.com.
48023
48024 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48025
48026         [BZ #12713]
48027         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48028         ENAMETOOLONG use generic getcwd.
48029         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48030         in rtld.  Use *stat64.
48031         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48032         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48033         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48034         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48035         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48036         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48037         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48038         __fstatat64 macros.
48039         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48040         * dirent/rewinddir.c: Add libc_hidden_def.
48041         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48042         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48043
48044         * include/dirent.h (__alloc_dir): Add flags parameter.
48045         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48046         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48047         __alloc_dir.
48048         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48049         from fdopendir if O_CLOEXEC is already set.
48050
48051 2011-03-15  Alan Modra  <amodra@gmail.com>
48052
48053         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48054         l_tls_firstbyte_offset non-zero.  Save padding offset in
48055         l_tls_firstbyte_offset for later use.
48056         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48057         freeing static tls block.
48058
48059 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48060
48061         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48062         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48063         being defined by the kernel headers.
48064
48065 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48066
48067         [BZ #12734]
48068         * resolv/resolv.h: Define RES_NOTLDQUERY.
48069         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48070         no-tld-query and set RES_NOTLDQUERY.
48071         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48072         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48073         modern BIND to search name as TLD unless forbidden.
48074
48075 2011-05-07  Petr Baudis  <pasky@suse.cz>
48076             Ulrich Drepper  <drepper@gmail.com>
48077
48078         [BZ #12393]
48079         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48080         (is_trusted_path): ...to here.
48081         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48082         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48083         using is_trusted_path_normalize() in setuid scripts.
48084
48085 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48086
48087         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48088         __BEGIN/__END_DECLS.
48089
48090 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48091
48092         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48093         NSS_STATUS_NOTFOUND if no record was found.
48094
48095 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48096
48097         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48098         (headers-not-in-tirpc): Remove rpc/netdb.h
48099         * resolv/netdb.h: Revert last change.
48100
48101 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48102
48103         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48104         circular dependency between libgcc.a and libc.a.
48105
48106 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48107
48108         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48109         * nis/Makefile: Don't install rpcsvc/*.
48110         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48111         instead of <rpc/types.h>.
48112         (MAXHOSTNAMELEN): Define.
48113
48114 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48115
48116         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48117
48118 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48119
48120         [BZ #12714]
48121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48122         gethostbyname4_r when IPv6 results are possible.
48123
48124 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48125
48126         [BZ #12723]
48127         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48128         _PC_PIPE_BUF handling.
48129
48130 2011-04-30  Bruno Haible  <bruno@clisp.org>
48131
48132         [BZ #12717]
48133         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48134         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48135         to 'int'.
48136         * inet/getnameinfo.c (getnameinfo): Likewise.
48137
48138 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48139
48140         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48141         to groups setting in database lookup.
48142         * nss/nsswitch.conf: Add initgroups entry.
48143
48144 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48145
48146         [BZ #12685]
48147         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48148         mode string.
48149         Patch by Eric Blake <eblake@redhat.com>.
48150
48151 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48152
48153         * sunrpc/Makefile (need-export-routines): Add svc_run.
48154         (routines): Remove svc_run.
48155         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48156         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48157         * sunrpc/svc_run.c (svc_run): Likewise.
48158         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48159
48160 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48161
48162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48163         problem in reallocation in last patch.
48164
48165 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48166
48167         * sunrpc/Makefile: Move inclusion of Rules.
48168
48169 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48170
48171         * nss/nss_files/files-initgroups.c: New file.
48172         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48173         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48174         _nss_files_initgroups_dyn.
48175
48176 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48177
48178         * elf/elf.h (R_ARM_IRELATIVE): Define.
48179
48180 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48181
48182         * po/ru.po: Update from translation team.
48183
48184 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48185
48186         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48187         dependencies.
48188
48189 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48190
48191         [BZ #12653]
48192         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48193         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48194         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48196         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48197
48198 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48199
48200         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48201         differing bytes.
48202         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48203         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48204         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48205
48206 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48207
48208         [BZ #12420]
48209         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48210         storing it.
48211         * stdlib/bug-getcontext.c: New file.
48212         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48213
48214 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48215
48216         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48217         instructions into .machine "z9-109".
48218         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48219         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48220
48221 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48222
48223         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48224         between environment variables and auxiliary vector.
48225
48226 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48227
48228         * Makefile: Add rules to build linkobj/libc.so.
48229         * include/libc-symbols.h: Define libc_hidden_nolink.
48230         * include/rpc/auth.h: Mark functions which are to be hidden.
48231         * include/rpc/auth_des.h: Likewise.
48232         * include/rpc/auth_unix.h: Likewise.
48233         * include/rpc/clnt.h: Likewise.
48234         * include/rpc/des_crypt.h: Likewise.
48235         * include/rpc/key_prot.h: Likewise.
48236         * include/rpc/pmap_clnt.h: Likewise.
48237         * include/rpc/pmap_prot.h: Likewise.
48238         * include/rpc/pmap_rmt.h: Likewise.
48239         * include/rpc/rpc_msg.h: Likewise.
48240         * include/rpc/svc.h: Likewise.
48241         * include/rpc/svc_auth.h: Likewise.
48242         * include/rpc/xdr.h: Likewise.
48243         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48244         * nss/Makefile: Likewise.
48245         * sunrpc/Makefile: Don't install headers.  Build library with normal
48246         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48247         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48248         for the compat linking library.  Remove use of INTDEF/INTUSE.
48249         * sunrpc/auth_none.c: Likewise.
48250         * sunrpc/auth_unix.c: Likewise.
48251         * sunrpc/authdes_prot.c: Likewise.
48252         * sunrpc/authuxprot.c: Likewise.
48253         * sunrpc/clnt_gen.c: Likewise.
48254         * sunrpc/clnt_perr.c: Likewise.
48255         * sunrpc/clnt_raw.c: Likewise.
48256         * sunrpc/clnt_simp.c: Likewise.
48257         * sunrpc/clnt_tcp.c: Likewise.
48258         * sunrpc/clnt_udp.c: Likewise.
48259         * sunrpc/clnt_unix.c: Likewise.
48260         * sunrpc/des_crypt.c: Likewise.
48261         * sunrpc/des_soft.c: Likewise.
48262         * sunrpc/get_myaddr.c: Likewise.
48263         * sunrpc/key_call.c: Likewise.
48264         * sunrpc/key_prot.c: Likewise.
48265         * sunrpc/netname.c: Likewise.
48266         * sunrpc/pm_getmaps.c: Likewise.
48267         * sunrpc/pm_getport.c: Likewise.
48268         * sunrpc/pmap_clnt.c: Likewise.
48269         * sunrpc/pmap_prot.c: Likewise.
48270         * sunrpc/pmap_prot2.c: Likewise.
48271         * sunrpc/pmap_rmt.c: Likewise.
48272         * sunrpc/publickey.c: Likewise.
48273         * sunrpc/rpc_cmsg.c: Likewise.
48274         * sunrpc/rpc_common.c: Likewise.
48275         * sunrpc/rpc_dtable.c: Likewise.
48276         * sunrpc/rpc_prot.c: Likewise.
48277         * sunrpc/rpc_thread.c: Likewise.
48278         * sunrpc/rtime.c: Likewise.
48279         * sunrpc/svc.c: Likewise.
48280         * sunrpc/svc_auth.c: Likewise.
48281         * sunrpc/svc_authux.c: Likewise.
48282         * sunrpc/svc_raw.c: Likewise.
48283         * sunrpc/svc_run.c: Likewise.
48284         * sunrpc/svc_simple.c: Likewise.
48285         * sunrpc/svc_tcp.c: Likewise.
48286         * sunrpc/svc_udp.c: Likewise.
48287         * sunrpc/svc_unix.c: Likewise.
48288         * sunrpc/svcauth_des.c: Likewise.
48289         * sunrpc/xcrypt.c: Likewise.
48290         * sunrpc/xdr.c: Likewise.
48291         * sunrpc/xdr_array.c: Likewise.
48292         * sunrpc/xdr_float.c: Likewise.
48293         * sunrpc/xdr_intXX_t.c: Likewise.
48294         * sunrpc/xdr_mem.c: Likewise.
48295         * sunrpc/xdr_rec.c: Likewise.
48296         * sunrpc/xdr_ref.c: Likewise.
48297         * sunrpc/xdr_sizeof.c: Likewise.
48298         * sunrpc/xdr_stdio.c: Likewise.
48299
48300 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48301
48302         [BZ #12650]
48303         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48304         * sysdeps/ia64/dl-tls.h: Likewise.
48305         * sysdeps/powerpc/dl-tls.h: Likewise.
48306         * sysdeps/s390/dl-tls.h: Likewise.
48307         * sysdeps/sh/dl-tls.h: Likewise.
48308         * sysdeps/sparc/dl-tls.h: Likewise.
48309         * sysdeps/x86_64/dl-tls.h: Likewise.
48310         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48311
48312 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48313
48314         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48315         rpath element also skip the following colon.
48316         (expand_dynamic_string_token): Add is_path parameter and pass
48317         down to DL_DST_REQUIRED and _dl_dst_substitute.
48318         (decompose_rpath): Call expand_dynamic_string_token with
48319         non-zero is_path.  Ignore empty rpaths.
48320         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48321         with zero is_path.
48322
48323 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48324
48325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48326         Make cancelable.
48327
48328 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48329
48330         [BZ #12655]
48331         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48332         Patch by Filipe David Manana <fdmanana@apache.org>.
48333
48334 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48335
48336         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48337         Maintain aligned stack.
48338         (CHECK_RSP): Remove unused macro.
48339
48340 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48341
48342         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48343         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48344
48345 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48346
48347         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48348
48349         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48350
48351 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48352
48353         [BZ #12518]
48354         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48355         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48356         * sysdeps/x86_64/memmove.c: New file.
48357         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48358         (memcpy): Renamed to ...
48359         (__new_memcpy): This.
48360         (memcpy): Provide GLIBC_2_14 memcpy.
48361         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48362         (memcpy): Provide GLIBC_2_2_5 memcpy.
48363
48364 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48365
48366         [BZ #12631]
48367         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48368
48369 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48370
48371         * misc/syncfs.c: New file.
48372         * misc/Makefile (routines): Add syncfs.
48373         * posix/unistd.h: Declare syncfs.
48374         * sysdeps/unix/syscalls.list: Add syncfs.
48375
48376 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48377
48378         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48379         open_by_handle_at.
48380         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48381         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48382         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48383         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48385         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48387
48388 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48389
48390         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48391         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48392         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48393         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48394         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48397
48398         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48399         sync_file_range.c with -fexceptions.
48400         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48401         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48402         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48403         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48404         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48405         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48406         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48407         sync_file_range as cancellation point
48408         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48409         now a wrapper around __call_sync_file_range with cancellation handling.
48410         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48411         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48412         function name to __call_sync_file_range.
48413         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48414         Add call_sync_file_range.
48415
48416 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48417
48418         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48419         bits/timex.h.
48420
48421 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48422
48423         * iconv/iconv.h: Fix typo in comment.
48424         * io/fcntl.h: Likewise.
48425         * libio/stdio.h: Likewise.
48426         * posix/spawn.h: Likewise.
48427         * posix/unistd.h: Likewise.
48428         * stdlib/stdlib.h: Likewise.
48429         * time/time.h: Likewise.
48430         * wcsmbs/wchar.h: Likewise.
48431
48432         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48433         open_by_handle): Add.
48434         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48435         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48436         Augment a few comments.
48437         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48438         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48439         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48441         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48442         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48443         open_by_handle.
48444
48445         * io/fcntl.h (AT_EMPTY_PATH): Define.
48446
48447 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48448
48449         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48450         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48451         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48452         to...
48453         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48454         * Versions.def: Add GLIBC_2.14.
48455         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48456         Export.
48457
48458 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48459
48460         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48461         round counter.
48462         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48463
48464 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48465
48466         [BZ #12597]
48467         * string/test-strncmp.c (do_page_test): New function.
48468         (check2): Likewise.
48469         (test_main): Call check2.
48470         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48471
48472 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48473
48474         [BZ #12587]
48475         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48476         Handle cache information in CPU leaf 4.
48477         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48478
48479 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48480
48481         [BZ #12583]
48482         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48483         character representation.
48484         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48485
48486 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48487
48488         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48489         END(__isnan) to END(__isnanf) to match function entry point/label
48490         EALIGN(__isnanf,...).
48491
48492 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48493
48494         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48495
48496 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48497
48498         [BZ #12510]
48499         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48500         copy from the symbol referenced in the relocation to initialize the
48501         used variable.
48502         Patch by Piotr Bury <pbury@goahead.com>.
48503         * elf/Makefile: Add rules to build and tst-unique3.
48504         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48505         * elf/tst-unique3.cc: New file.
48506         * elf/tst-unique3.h: New file.
48507         * elf/tst-unique3lib.cc: New file.
48508         * elf/tst-unique3lib2.cc: New file.
48509
48510         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48511
48512 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48513
48514         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48515         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48516         to _start.
48517
48518 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48519
48520         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48521         to-be-loaded object along a path to loader is ld.so.
48522
48523 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48524             Ulrich Drepper  <drepper@gmail.com>
48525
48526         * sysdeps/x86_64/memset.S: After aligning destination, code
48527         branches to different locations depending on the value of
48528         misalignment, when multiarch is enabled. Fix this.
48529
48530 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48531
48532         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48533         Set _x86_64_preferred_memory_instruction for AMD processsors.
48534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48535         Set bit_Prefer_SSE_for_memop for AMD processors.
48536
48537 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48538
48539         * libio/fmemopen.c (fmemopen): Optimize a bit.
48540
48541 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48542
48543         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48544
48545 2011-03-03  Roland McGrath  <roland@redhat.com>
48546
48547         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48548
48549 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48550
48551         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48552         __bzero_ultra1 instead of __memset_ultra1.
48553
48554 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48555             Ulrich Drepper  <drepper@gmail.com>
48556
48557         [BZ #12509]
48558         * include/link.h (struct link_map): Add l_orig_initfini.
48559         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48560         returning unsuccessfully.
48561         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48562         close of a file loaded at startup, restore the original l_initfini
48563         list.
48564         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48565         list, store the pointer.
48566         * elf/Makefile ($(objpfx)noload-mem): New rule.
48567         (noload-ENV): Define.
48568         (tests): Add $(objpfx)noload-mem.
48569         * elf/noload.c: Include <memcheck.h>.
48570         (main): Call mtrace.  Close all opened handles.
48571
48572 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48573
48574         [BZ #12454]
48575         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48576         dependencies are missing.
48577
48578 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48579
48580         Fix __if_freereq crash: Unlike the generic version which uses free,
48581         Hurd needs munmap.
48582         * sysdeps/mach/hurd/ifreq.h: New file.
48583
48584 2011-01-27  Petr Baudis  <pasky@suse.cz>
48585             Ulrich Drepper  <drepper@gmail.com>
48586
48587         [BZ 12445]#
48588         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48589         to extend_alloca().
48590         * stdio-common/bug23.c: New file.
48591         * stdio-common/Makefile (tests): Add bug23.
48592
48593 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48594             Ulrich Drepper  <drepper@gmail.com>
48595
48596         [BZ #12489]
48597         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48598         before performing relro protection.  At old place add assertion
48599         to make sure nothing changed.
48600
48601 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48602             Glauber de Oliveira Costa  <glommer@gmail.com>
48603
48604         * elf/elf.h: Add new ARM TLS relocs.
48605
48606 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48607
48608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48609         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48610         cast from r3.
48611         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48612         'tests' variable.
48613         * sysdeps/wordsize-64/tst-writev.c: New file.
48614
48615 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48616
48617         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48618         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48619         insns in _dl_start to prevent a TOC reference before relocs are
48620         resolved.
48621
48622 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48623
48624         [BZ #12469]
48625         * Makeconfig: Remove RANLIB definition.
48626         * Makerules: Don't use RANLIB.
48627         * aclocal.m4: Remove ranlib test.
48628         * configure.in: No need to check for ranlib.
48629         * elf/rtld-Rules: Don't use RANLIB.
48630
48631 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48632
48633         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48634         protection macro.
48635         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48636         inclusion protection macro.
48637
48638         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48639         SIGRTMIN and SIGRTMAX and print information in that case only when
48640         SIGRTMIN is defined.
48641
48642 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48643
48644         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48645         arginfo fn returning -1.
48646
48647         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48648         and thousands string is zero terminated.
48649
48650 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48651
48652         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48653         sysdeps/unix/sysv/linux/bits/socket.h.
48654
48655 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48656
48657         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48658         (__CPU_COUNT): Remove old macros.
48659         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48660         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48661         (__CPU_ALLOC, __CPU_FREE): Add macros.
48662         (__sched_cpualloc, __sched_cpufree): Add declarations.
48663
48664 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48665
48666         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48667         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48668         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48669         (readdhstai): Return value of addhstaiX call.
48670         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48671         (addgrbyX): Return value returned by cache_addgr.
48672         (readdgrbyname): Return value returned by addgrbyX.
48673         (readdgrbygid): Likewise.
48674         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48675         (addpwbyX): Return value returned by cache_addpw.
48676         (readdpwbyname): Return value returned by addhstbyX.
48677         (readdpwbyuid): Likewise.
48678         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48679         (addservbyX): Return value returned by cache_addserv.
48680         (readdservbyname): Return value returned by addservbyX:
48681         (readdservbyport): Likewise.
48682         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48683         (addhstbyX): Return value returned by cache_addhst.
48684         (readdhstbyname): Return value returned by addhstbyX.
48685         (readdhstbyaddr): Likewise.
48686         (readdhstbynamev6): Likewise.
48687         (readdhstbyaddrv6): Likewise.
48688         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48689         (readdinitgroups): Return value returned by addinitgroupsX.
48690         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48691         (prune_cache): Keep track of timeout value of re-added entries.
48692         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48693         * nscd/nscd.h: Adjust prototypes of readd* functions.
48694
48695 2011-02-04  Roland McGrath  <roland@redhat.com>
48696
48697         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48698         (nis_stats): Likewise.
48699         * nis/nis_modify.c (nis_modify): Likewise.
48700         * nis/nis_remove.c (nis_remove): Likewise.
48701         * nis/nis_add.c (nis_add): Likewise.
48702
48703         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48704
48705         * posix/fnmatch_loop.c: Add some consts.
48706
48707         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48708
48709 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48710
48711         [BZ #12460]
48712         * config.make.in (config-cflags-novzeroupper): Define.
48713         * configure.in: Substitute libc_cv_cc_novzeroupper.
48714         * elf/Makefile (AVX-CFLAGS): Define.
48715         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48716         (CFLAGS-tst-auditmod4a.c): Likewise.
48717         (CFLAGS-tst-auditmod4b.c): Likewise.
48718         (CFLAGS-tst-auditmod6b.c): Likewise.
48719         (CFLAGS-tst-auditmod6c.c): Likewise.
48720         (CFLAGS-tst-auditmod7b.c): Likewise.
48721         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48722
48723 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48724
48725         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48726         function to the callback.
48727         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48728
48729 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48730
48731         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48732         of errno.
48733
48734 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48735
48736         [BZ #11724]
48737         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48738         of constructors.
48739         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48740         of destructors.
48741         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48742
48743         [BZ #11724]
48744         * elf/Makefile: Add rules to build and run new test.
48745         * elf/tst-initorder.c: New file.
48746         * elf/tst-initorder.exp: New file.
48747         * elf/tst-initordera1.c: New file.
48748         * elf/tst-initordera2.c: New file.
48749         * elf/tst-initordera3.c: New file.
48750         * elf/tst-initordera4.c: New file.
48751         * elf/tst-initorderb1.c: New file.
48752         * elf/tst-initorderb2.c: New file.
48753         * elf/tst-order-a1.c: New file.
48754         * elf/tst-order-a2.c: New file.
48755         * elf/tst-order-a3.c: New file.
48756         * elf/tst-order-a4.c: New file.
48757         * elf/tst-order-b1.c: New file.
48758         * elf/tst-order-b2.c: New file.
48759         * elf/tst-order-main.c: New file.
48760         New test case by George Gensure <werkt0@gmail.com>.
48761
48762 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48763
48764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48765         decoding ACE if AI_CANONIDN.
48766
48767 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48768
48769         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48770
48771 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48772
48773         * version.h (RELEASE): Bump for 2.13 release.
48774         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48775
48776         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48777
48778         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48779         MADV_NOHUGEPAGE.
48780         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48781         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48782         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48783         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48784         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48785         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48786
48787         * posix/getconf.c: Update copyright year.
48788         * catgets/gencat.c: Likewise.
48789         * csu/version.c: Likewise.
48790         * debug/catchsegv.sh: Likewise.
48791         * debug/xtrace.sh: Likewise.
48792         * elf/ldconfig.c: Likewise.
48793         * elf/ldd.bash.in: Likewise.
48794         * elf/sprof.c (print_version): Likewise.
48795         * iconv/iconv_prog.c: Likewise.
48796         * iconv/iconvconfig.c: Likewise.
48797         * locale/programs/locale.c: Likewise.
48798         * locale/programs/localedef.c: Likewise.
48799         * malloc/memusage.sh: Likewise.
48800         * malloc/mtrace.pl: Likewise.
48801         * nscd/nscd.c (print_version): Likewise.
48802         * nss/getent.c: Likewise.
48803
48804         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48805         PF_CAIF, and PF_ALG.
48806         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48807
48808 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48809
48810         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48811         (modules-names): Use them.
48812         (ifunc-test-modules, ifunc-pie-tests): Define.
48813         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48814         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48815         (test-extras): Likewise.
48816         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48817         $(compile-command.c).
48818         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48819         (all-built-dso): Define.
48820         (check-textrel.out, check-execstack.out): Depend on it.
48821
48822         * configure.in: Don't override --enable-multi-arch.
48823
48824 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48825
48826         [BZ #6812]
48827         * nscd/hstcache.c (tryagain): Define.
48828         (cache_addhst): Return tryagain not notfound for temporary errors.
48829         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48830         failed.
48831
48832 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48833
48834         [BZ #10563]
48835         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48836         to make the syscall.
48837         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48838
48839         [BZ #12378]
48840         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48841         and fall back to matching as normal character if the string ends before
48842         the matching ']' is found.  This is what POSIX requires.
48843         * posix/testfnm.c: Adjust test result.
48844         * posix/globtest.sh: Adjust test result.  Add new test.
48845         * posix/tst-fnmatch.input: Likewise.
48846         * posix/tst-fnmatch2.c: Add new test.
48847
48848 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48849
48850         * elf/Makefile (check-execstack): Revert last change.  Depend on
48851         check-execstack.h.
48852         (check-execstack.h): New target.
48853         (generated): Add check-execstack.h.
48854         * elf/check-execstack.c: Include "check-execstack.h".
48855         (main): Revert last change.
48856         (handle_file): Return zero if GNU_STACK is absent and
48857         DEFAULT_STACK_PERMS doesn't include PF_X.
48858
48859 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48860
48861         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48862         in child fails because the descriptor is already closed.
48863         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48864         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48865         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48866
48867         [BZ #12397]
48868         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48869         syscall.
48870
48871         [BZ #10484]
48872         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48873         temporary buffer used to handle multi lookups locally.
48874         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48875
48876 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48877
48878         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48879         loader is ld.so.
48880
48881 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48882
48883         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48884         alignment for SSE2.
48885
48886 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48887
48888         [BZ #12394]
48889         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48890         characters.  When rounding increased number of integer digits recompute
48891         number of groups.
48892         * stdio-common/tst-grouping.c: New file.
48893         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48894
48895 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48896
48897         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48898         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48899
48900         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48901         void.
48902         * bits/select.h: Likewise.
48903
48904 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48905
48906         * po/ja.po: Update from translation team.
48907
48908 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48909
48910         [BZ #11155]
48911         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48912         implementation just like for lxstat, fxstatat, et al.
48913
48914 2010-12-27  Jim Meyering  <meyering@redhat.com>
48915
48916         [BZ #12348]
48917         * posix/regexec.c (build_trtable): Return failure indication upon
48918         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48919
48920 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48921
48922         [BZ #12201]
48923         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48924         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48925         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48926         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48927
48928         [BZ #12207]
48929         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48930
48931         [BZ #12204]
48932         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48933         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48934
48935 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48936
48937         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48938         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48939         script has SORT_BY_INIT_PRIORITY.
48940         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48941         NO_CTORS_DTORS_SECTIONS is defined.
48942         * elf/soinit.c: Likewise.
48943         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48944         NO_CTORS_DTORS_SECTIONS is defined.
48945         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48946         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48947         * sysdeps/sh/init-first.c: Likewise.
48948         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48949
48950 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48951
48952         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48953         always use the slow path.
48954
48955 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48956
48957         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48958         similar rule which adds the sysdep directories to the header search in
48959         order to pick up the correct platform stackinfo.h.
48960         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48961         perform test if it is, otherwise return successfully without testing.
48962         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48963         DEFAULT_STACK_PERMS define in stackinfo.h.
48964         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48965         defined in stackinfo.h.
48966         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48967         DEFAULT_STACK_PERMS defined in stackinfo.h.
48968         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48969         * sysdeps/ia64/stackinfo.h: Likewise.
48970         * sysdeps/s390/stackinfo.h: Likewise.
48971         * sysdeps/sh/stackinfo.h: Likewise.
48972         * sysdeps/sparc/stackinfo.h: Likewise.
48973         * sysdeps/x86_64/stackinfo.h: Likewise.
48974         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48975         PF_X for powerpc64.  Retain PF_X for powerpc32.
48976
48977 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48978
48979         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48980         accurately.
48981         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48982         GETDENTS_64BIT_ALIGNED.
48983
48984 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48985
48986         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48987
48988 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48989
48990         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48991         _GNU_SOURCE.
48992
48993         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48994         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48995         Remove __restrict.
48996         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48997         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48998
48999 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49000
49001         [BZ #11655]
49002         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49003         are initialized.
49004
49005 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49006
49007         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49008
49009 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49010
49011         * po/it.po: Update from translation team.
49012
49013 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49014
49015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49016         unused codes.
49017
49018 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49019
49020         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49021
49022 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49023
49024         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49025         specially.
49026         (gaih_getanswer_slice): Likewise.
49027
49028 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49029
49030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49031
49032 2010-05-31  Petr Baudis  <pasky@suse.cz>
49033
49034         [BZ #11149]
49035         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49036         silently even in the chroot mode.
49037
49038 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49039
49040         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49041         last patch a bit.  Pretty printing
49042
49043 2010-05-31  Petr Baudis <pasky@suse.cz>
49044
49045         [BZ #10085]
49046         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49047         initialization of skip_initgroups_dyn.
49048
49049 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49050
49051         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49052         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49053
49054 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49055
49056         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49057
49058 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49059
49060         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49061         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49062         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49063         ($(objpfx)tst-fnmatch-mem): New rule.
49064         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49065         * posix/tst-fnmatch.c (main): Call mtrace.
49066
49067 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49068
49069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49070         Support Intel processor model 6 and model 0x2c.
49071
49072 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49073
49074         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49075           signed comparison.
49076
49077 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49078
49079         [BZ #12205]
49080         * string/test-strncasecmp.c (check_result): New function.
49081         (do_one_test): Use it.
49082         (check1): New function.
49083         (test_main): Use it.
49084         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49085         Support strcasecmp and strncasecmp.
49086
49087 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49088
49089         [BZ #12194]
49090         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49092
49093 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49094
49095         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49096         IFUNC support.
49097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49098         memset-x86-64.
49099         * sysdeps/x86_64/multiarch/bzero.S: New file.
49100         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49101         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49102         * sysdeps/x86_64/multiarch/memset.S: New file.
49103         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49105         Set bit_Prefer_SSE_for_memop for Intel processors.
49106         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49107         Define.
49108         (index_Prefer_SSE_for_memop): Define.
49109         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49110
49111 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49112
49113         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49114         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49115
49116 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49117
49118         [BZ #12191]
49119         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49120         (__x86_64_raw_data_cache_size_half): Likewise.
49121         (__x86_64_raw_shared_cache_size): Likewise.
49122         (__x86_64_raw_shared_cache_size_half): Likewise.
49123
49124         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49125         (__x86_64_raw_data_cache_size_half): Likewise.
49126         (__x86_64_raw_shared_cache_size): Likewise.
49127         (__x86_64_raw_shared_cache_size_half): Likewise.
49128         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49129         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49130         and __x86_64_raw_shared_cache_size_half.  Round
49131         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49132         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49133         to multiple of 256 bytes.
49134
49135 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49136
49137         [BZ #12167]
49138         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49139         of inacessible symlinks.  Verify result of symlink before returning it.
49140         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49141         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49142
49143 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49144
49145         * math/math.h (isinf): Fix typo in comment.
49146
49147 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49148
49149         * po/da.po: Update from translation team.
49150
49151 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49152
49153         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49154         is added to the list.
49155
49156 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49157             Ulrich Drepper  <drepper@gmail.com>
49158
49159         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49160         the global list here.  Move code to...
49161         (_dl_add_to_namespace_list): ...here.  New function.
49162         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49163         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49164         * elf/dl-load.c (lose): Don't remove the element from the list.
49165         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49166         (_dl_map_object): Likewise.
49167
49168 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49169
49170         [BZ #12159]
49171         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49172         into all bytes of SSE register.
49173         Patch by Richard Li <richardpku@gmail.com>.
49174
49175 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49176
49177         [BZ #12140]
49178         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49179         perturbing.
49180
49181 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49182
49183         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49184         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49185         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49186         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49188         submachine.
49189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49190
49191 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49192
49193         * include/dlfcn.h (__RTLD_SECURE): Define.
49194         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49195         mode & __RTLD_SECURE instead.
49196         (open_path): Rename preloaded parameter to secure.
49197         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49198         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49199         * elf/dl-deps.c (openaux): Likewise.
49200         * elf/rtld.c (struct map_args): Remove is_preloaded.
49201         (map_doit): Don't use it.
49202         (dl_main): Likewise.
49203         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49204         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49205
49206 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49207
49208         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49209         (sysd-rules-targets): Remove duplicates.
49210         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49211         rtld-%.$o dependency.
49212
49213 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49214
49215         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49216         _dl_map_object do it.
49217
49218 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49219
49220         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49221         fast fma builtins, define the macros in the C99 standard.
49222         (FP_FAST_FMAF): Likewise.
49223         (FP_FAST_FMAL): Likewise.
49224         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49225
49226         * bits/mathdef.h: Update copyright year.
49227         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49228
49229 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49230
49231         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49232         builtins, define the macros in the C99 standard.
49233         (FP_FAST_FMAF): Likewise.
49234         (FP_FAST_FMAL): Likewise.
49235         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49236         multiply/add.
49237         (FP_FAST_FMAF): Likewise.
49238
49239 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49240
49241         [BZ #3268]
49242         * math/libm-test.inc (fma_test): Some new testcases.
49243         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49244         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49245         y and infinite z.  Do multiplication by C already in long double.
49246         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49248         y and infinite z.  Do bitwise or of inexact bit into u.d.
49249         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49250         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49251         * sysdeps/i386/fpu/s_fma.S: Removed.
49252         * sysdeps/i386/fpu/s_fmal.S: Removed.
49253
49254 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49255
49256         [BZ #3268]
49257         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49259         computation is not scheduled after fetestexcept.  Fix value
49260         of minimum denormal long double.
49261
49262 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49263
49264         [BZ #3268]
49265         * math/libm-test.inc (fma_test): Add some more tests.
49266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49267         correctly.
49268
49269 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49270
49271         * scripts/data/localplt-s390-linux-gnu.data: New file.
49272         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49273
49274 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49275
49276         [BZ #3268]
49277         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49278         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49279         instead of dbl-64.
49280         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49281         inlines.
49282         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49283         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49284         if one of x and y is very large and the other is subnormal.
49285         * sysdeps/s390/fpu/s_fmaf.c: New file.
49286         * sysdeps/s390/fpu/s_fma.c: New file.
49287         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49288         * sysdeps/powerpc/fpu/s_fma.S: New file.
49289         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49290         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49291         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49292
49293 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49294
49295         [BZ #3268]
49296         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49297         fma tests.
49298         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49299         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49300         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49301         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49302         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49303         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49304         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49305
49306 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49307
49308         [BZ #12078]
49309         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49310         * posix/bug-regex31.input: Add test case.
49311
49312 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49313
49314         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49315         * posix/bug-regex31.input: New file.
49316
49317         [BZ #12078]
49318         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49319         (parse_sub_exp): Fix last change, use postorder.
49320
49321         * posix/bug-regex31.c: New file.
49322         * posix/Makefile: Add rules to build and run bug-regex31.
49323
49324         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49325
49326         [BZ #12078]
49327         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49328
49329         [BZ #12108]
49330         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49331         to have entries in sys_siglist.
49332
49333         [BZ #12093]
49334         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49335         be NULL.
49336
49337 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49338
49339         [BZ #3268]
49340         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49341         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49342         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49343         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49344         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49345         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49346         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49347         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49348         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49349         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49350         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49351         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49352         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49353         * math/ftestexcept.c (fetestexcept): Likewise.
49354         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49355         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49356         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49357         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49358         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49359         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49360         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49361
49362 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49363
49364         [BZ #12107]
49365         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49366         newline.
49367
49368 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49369
49370         * string/bug-strstr1.c: New file.
49371         * string/Makefile: Add rules to build and run bug-strstr1.
49372
49373 2010-10-05  Eric Blake  <eblake@redhat.com>
49374
49375         [BZ #12092]
49376         * string/str-two-way.h (two_way_long_needle): Always clear memory
49377         when skipping input due to the shift table.
49378
49379 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49380
49381         [BZ #12005]
49382         * malloc/mcheck.c: Handle large requests.
49383
49384         [BZ #12077]
49385         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49386         for strncmp and strncasecmp.
49387         * string/stratcliff.c: Add tests for strcmp and strncmp.
49388         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49389
49390 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49391
49392         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49393         __set_fpscr.
49394
49395 2010-09-30  Andreas Jaeger  <aj@suse.de>
49396
49397         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49398         (CGROUP_SUPER_MAGIC): Define.
49399         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49400         Handle btrfs and cgroup file systems.
49401         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49402         Likewise.
49403
49404 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49405
49406         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49407         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49408
49409 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49410
49411         [BZ #12067]
49412         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49413         trying to locate the ELF header.
49414
49415 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49416
49417         [BZ #11611]
49418         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49419         Mask out sign-bit copies when constructing f_fsid.
49420
49421 2010-09-24  Petr Baudis <pasky@suse.cz>
49422
49423         * debug/stack_chk_fail_local.c: Add missing licence exception.
49424         * debug/warning-nop.c: Likewise.
49425
49426 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49427
49428         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49429         implementing getdents64 using getdents syscall, set d_type if
49430         __ASSUME_GETDENTS32_D_TYPE.
49431
49432 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49433
49434         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49435         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49436
49437 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49438
49439         [BZ #12037]
49440         * posix/unistd.h: Undo change of feature selection for ftruncate from
49441         2010-01-11.
49442
49443 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49444
49445         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49446         detection.
49447
49448 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49449
49450         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49451         fanotify_mark.
49452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49453
49454 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49455
49456         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49457         variables after CHECK_SP call.
49458         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49459
49460 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49461             Ulrich Drepper  <drepper@redhat.com>
49462
49463         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49464         re-relocationg ld.so.
49465         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49466         _dl_init_paths call.
49467         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49468         here anymore.
49469
49470 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49471
49472         * resolv/res_init.c (__res_vinit): Count the default server we added.
49473
49474 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49475             Ulrich Drepper  <drepper@redhat.com>
49476
49477         [BZ #11968]
49478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49479         (____longjmp_chk): Use %ebx for saving value across system call.
49480         Add unwind info.
49481
49482 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49483
49484         * manual/Makefile: Don't mix pattern rules with normal rules.
49485
49486 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49487
49488         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49489         operation.
49490         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49491         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49492         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49493         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49494         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49495         Likewise.
49496
49497 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49498
49499         [BZ #11979]
49500         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49501         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49502
49503 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49504
49505         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49506         * sysdeps/x86_64/addmul_1.S: Likewise.
49507         * sysdeps/x86_64/lshift.S: Likewise.
49508         * sysdeps/x86_64/mul_1.S: Likewise.
49509         * sysdeps/x86_64/rshift.S: Likewise.
49510         * sysdeps/x86_64/sub_n.S: Likewise.
49511         * sysdeps/x86_64/submul_1.S: Likewise.
49512
49513 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49514
49515         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49516         Define __sched_param instead of SCHED_* and sched_param when
49517         <bits/sched.h> is included with __need_schedparam defined.
49518         * bits/sched.h [__need_schedparam]
49519         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49520         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49521         (__defined_schedparam): Define to 1.
49522         (__sched_param): New structure, identical to sched_param.
49523         (__need_schedparam): Undefine.
49524
49525 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49526
49527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49528         (epoll_create1): Declare.
49529
49530         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49531
49532 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49533
49534         [BZ #7066]
49535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49536         shifting retval into place.
49537
49538 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49539
49540         * nis/rpcsvc/nis.h: Update copyright notice.
49541         * nis/rpcsvc/nis.x: Likewise.
49542         * nis/rpcsvc/nis_callback.h: Likewise.
49543         * nis/rpcsvc/nis_callback.x: Likewise.
49544         * nis/rpcsvc/nis_object.x: Likewise.
49545         * nis/rpcsvc/nis_tags.h: Likewise.
49546         * nis/rpcsvc/yp.h: Likewise.
49547         * nis/rpcsvc/yp.x: Likewise.
49548         * nis/rpcsvc/ypupd.h: Likewise.
49549         * nis/yp_xdr.c: Likewise.
49550         * nis/ypupdate_xdr.c: Likewise.
49551
49552         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49553         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49554         (pmap_getport): Use __libc_rpc_getport.
49555         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49556         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49557         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49558
49559 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49560
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49562         fanotify_mark.
49563
49564 2010-08-27  Roland McGrath  <roland@redhat.com>
49565
49566         * sysdeps/i386/i686/multiarch/Makefile
49567         (CFLAGS-varshift.c): New variable.
49568
49569 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49570
49571         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49572         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49573
49574         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49575
49576         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49577
49578 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49579
49580         * sysdeps/x86_64/strlen.S: Unroll the loop.
49581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49582         strlen-sse2 strlen-sse2-bsf.
49583         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49584         __strlen_no_bsf if bit_Slow_BSF is set.
49585         (__strlen_sse42): Removed.
49586         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49587         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49588
49589 2010-08-25  Roland McGrath  <roland@redhat.com>
49590
49591         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49592         * sysdeps/x86_64/multiarch/varshift.c: New file.
49593         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49594         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49595         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49596         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49597
49598 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49599
49600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49601         strlen-sse2 strlen-sse2-bsf.
49602         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49603         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49604         (__strlen_sse2): Removed.
49605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49608         bit_Slow_BSF for Atom.
49609         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49610         (index_Slow_BSF): Define.
49611         (HAS_SLOW_BSF): Define.
49612
49613 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49614
49615         [BZ #10851]
49616         * resolv/res_init.c (__res_vinit): When no server address at all
49617         is given default to loopback.
49618
49619 2010-08-24  Roland McGrath  <roland@redhat.com>
49620
49621         * configure.in: Remove config-name.h generation.
49622         * configure: Regenerated.
49623         * config-name.in: File removed.
49624         * scripts/config-uname.sh: New file.
49625         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49626         ($(objdir)config-name.h): New target.
49627
49628         * sunrpc/rpc_parse.h: Avoid nested comment.
49629
49630 2010-08-24  Richard Henderson  <rth@redhat.com>
49631             Ulrich Drepper  <drepper@redhat.com>
49632             H.J. Lu  <hongjiu.lu@intel.com>
49633
49634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49636         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49637         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49638         _mm_alignr_epi8 with _mm_loadu_si128.
49639         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49640         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49641         (__m128i_shift_right): Removed.
49642         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49643         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49644         * sysdeps/x86_64/multiarch/varshift.h: New file.
49645         * sysdeps/x86_64/multiarch/varshift.S: New file.
49646
49647 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49648
49649         * configure.in: Move assembler checks to before sysdep dir checking.
49650
49651 2010-08-20  Petr Baudis  <pasky@suse.cz>
49652
49653         * LICENSES: Sync the sunrpc license.
49654
49655 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49656
49657         * sunrpc/auth_des.c: Update copyright notice once again.
49658         * sunrpc/auth_none.c: Likewise.
49659         * sunrpc/auth_unix.c: Likewise.
49660         * sunrpc/authdes_prot.c: Likewise.
49661         * sunrpc/authuxprot.c: Likewise.
49662         * sunrpc/bindrsvprt.c: Likewise.
49663         * sunrpc/clnt_gen.c: Likewise.
49664         * sunrpc/clnt_perr.c: Likewise.
49665         * sunrpc/clnt_raw.c: Likewise.
49666         * sunrpc/clnt_simp.c: Likewise.
49667         * sunrpc/clnt_tcp.c: Likewise.
49668         * sunrpc/clnt_udp.c: Likewise.
49669         * sunrpc/clnt_unix.c: Likewise.
49670         * sunrpc/des_crypt.c: Likewise.
49671         * sunrpc/des_soft.c: Likewise.
49672         * sunrpc/get_myaddr.c: Likewise.
49673         * sunrpc/getrpcport.c: Likewise.
49674         * sunrpc/key_call.c: Likewise.
49675         * sunrpc/key_prot.c: Likewise.
49676         * sunrpc/openchild.c: Likewise.
49677         * sunrpc/pm_getmaps.c: Likewise.
49678         * sunrpc/pm_getport.c: Likewise.
49679         * sunrpc/pmap_clnt.c: Likewise.
49680         * sunrpc/pmap_prot.c: Likewise.
49681         * sunrpc/pmap_prot2.c: Likewise.
49682         * sunrpc/pmap_rmt.c: Likewise.
49683         * sunrpc/rpc/auth.h: Likewise.
49684         * sunrpc/rpc/auth_unix.h: Likewise.
49685         * sunrpc/rpc/clnt.h: Likewise.
49686         * sunrpc/rpc/des_crypt.h: Likewise.
49687         * sunrpc/rpc/key_prot.h: Likewise.
49688         * sunrpc/rpc/netdb.h: Likewise.
49689         * sunrpc/rpc/pmap_clnt.h: Likewise.
49690         * sunrpc/rpc/pmap_prot.h: Likewise.
49691         * sunrpc/rpc/pmap_rmt.h: Likewise.
49692         * sunrpc/rpc/rpc.h: Likewise.
49693         * sunrpc/rpc/rpc_des.h: Likewise.
49694         * sunrpc/rpc/rpc_msg.h: Likewise.
49695         * sunrpc/rpc/svc.h: Likewise.
49696         * sunrpc/rpc/svc_auth.h: Likewise.
49697         * sunrpc/rpc/types.h: Likewise.
49698         * sunrpc/rpc/xdr.h: Likewise.
49699         * sunrpc/rpc_clntout.c: Likewise.
49700         * sunrpc/rpc_cmsg.c: Likewise.
49701         * sunrpc/rpc_common.c: Likewise.
49702         * sunrpc/rpc_cout.c: Likewise.
49703         * sunrpc/rpc_dtable.c: Likewise.
49704         * sunrpc/rpc_hout.c: Likewise.
49705         * sunrpc/rpc_main.c: Likewise.
49706         * sunrpc/rpc_parse.c: Likewise.
49707         * sunrpc/rpc_parse.h: Likewise.
49708         * sunrpc/rpc_prot.c: Likewise.
49709         * sunrpc/rpc_sample.c: Likewise.
49710         * sunrpc/rpc_scan.c: Likewise.
49711         * sunrpc/rpc_scan.h: Likewise.
49712         * sunrpc/rpc_svcout.c: Likewise.
49713         * sunrpc/rpc_tblout.c: Likewise.
49714         * sunrpc/rpc_util.c: Likewise.
49715         * sunrpc/rpc_util.h: Likewise.
49716         * sunrpc/rpcinfo.c: Likewise.
49717         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49718         * sunrpc/rpcsvc/key_prot.x: Likewise.
49719         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49720         * sunrpc/rpcsvc/mount.x: Likewise.
49721         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49722         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49723         * sunrpc/rpcsvc/rex.x: Likewise.
49724         * sunrpc/rpcsvc/rstat.x: Likewise.
49725         * sunrpc/rpcsvc/rusers.x: Likewise.
49726         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49727         * sunrpc/rpcsvc/spray.x: Likewise.
49728         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49729         * sunrpc/rtime.c: Likewise.
49730         * sunrpc/svc.c: Likewise.
49731         * sunrpc/svc_auth.c: Likewise.
49732         * sunrpc/svc_authux.c: Likewise.
49733         * sunrpc/svc_raw.c: Likewise.
49734         * sunrpc/svc_run.c: Likewise.
49735         * sunrpc/svc_simple.c: Likewise.
49736         * sunrpc/svc_tcp.c: Likewise.
49737         * sunrpc/svc_udp.c: Likewise.
49738         * sunrpc/svc_unix.c: Likewise.
49739         * sunrpc/svcauth_des.c: Likewise.
49740         * sunrpc/xcrypt.c: Likewise.
49741         * sunrpc/xdr.c: Likewise.
49742         * sunrpc/xdr_array.c: Likewise.
49743         * sunrpc/xdr_float.c: Likewise.
49744         * sunrpc/xdr_mem.c: Likewise.
49745         * sunrpc/xdr_rec.c: Likewise.
49746         * sunrpc/xdr_ref.c: Likewise.
49747         * sunrpc/xdr_sizeof.c: Likewise.
49748         * sunrpc/xdr_stdio.c: Likewise.
49749
49750         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49751         handling.
49752
49753 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49754
49755         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49756
49757 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49758
49759         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49760         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49761         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49762         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49763         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49764         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49765         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49766         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49767         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49768         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49769         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49770         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49771         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49772         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49773
49774 2010-07-26  Anton Blanchard  <anton@samba.org>
49775
49776         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49777         * malloc/arena.c (heap_trim): Likewise.
49778
49779 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49780
49781         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49782         here.  Not...
49783         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49784         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49785
49786 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49787
49788         * sysdeps/i386/elf/Makefile: New file.
49789
49790 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49791
49792         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49793         from fanotify_init.
49794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49795         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49796
49797 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49798
49799         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49800         of strncasecmp_l.
49801         * sysdeps/multiarch/strcmp.S: Likewise.
49802
49803 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49804
49805         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49806         strncase_l-nonascii.
49807         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49808         Add strncase_l-ssse3.
49809         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49810         * sysdeps/x86_64/strcmp.S: Likewise.
49811         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49812         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49813         * sysdeps/x86_64/strncase.S: New file.
49814         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49815         * sysdeps/x86_64/strncase_l.S: New file.
49816         * string/Makefile (strop-tests): Add strncasecmp.
49817         * string/test-strncasecmp.c: New file.
49818
49819         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49820         warning.
49821
49822         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49823         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49824
49825 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49826
49827         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49828
49829 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49830
49831         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49832         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49833         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49834
49835 2010-05-01  Alan Modra  <amodra@gmail.com>
49836
49837         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49838         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49839         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49840         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49841         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49842         tidying.  Don't tail-call __sigjmp_save for static lib.
49843         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49844         save location.
49845         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49846         (CALL_MCOUNT): Add eh info, and nop after bl.
49847         (TAIL_CALL_SYSCALL_ERROR): New macro.
49848         (PSEUDO_RET): Use it.
49849         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49850         Correct save location of integer regs and cr.
49851         (_dl_profile_resolve): Correct cr save location.  Delete nops
49852         after bl when SHARED.  Reduce cfi size a little by better
49853         placement of cfi directives.
49854         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49855         make a stack frame.  Instead use parm save area as a temp.
49856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49857         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49859         Don't make a stack frame for parent, use parm save area.
49860         Increase child stack frame to 112 bytes.  Don't save unused reg,
49861         and adjust reg usage.  Set up cfi on error recovery and
49862         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49864         (__makecontext): Add dummy nop after jump to exit.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49866         Use correct parm save area and cr save, reduce stack frame.
49867         Correct cfi for possible PSEUDO_RET frame setup.
49868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49869         Branch to local label emitted by PSEUDO_RET rather than
49870         __syscall_error.
49871
49872 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49873
49874         [BZ #11904]
49875         * locale/programs/locale.c (print_assignment): New function.
49876         (show_locale_vars): Use it.
49877
49878 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49879
49880         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49881         field.
49882         (struct statfs64): Likewise.
49883         (_STATFS_F_FLAGS): Define.
49884         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49885         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49886         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49887         (ST_VALID): Define locally.
49888         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49889         __statvfs_getflags, use the provided value.
49890         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49891         __ASSUME_STATFS_F_FLAGS.
49892
49893         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49894
49895         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49896         Add sys/fanotify.h.
49897         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49898         fanotify_mask for GLIBC_2.13.
49899         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49900         fanotify_init and fanotify_mark.
49901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49902         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49903
49904         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49905         Add prlimit.
49906         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49907         prlimit64 for GLIBC_2.13.
49908         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49909         prlimit64.
49910         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49911         syscall.
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49914         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49915         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49917         add prlimit alias.
49918         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49919
49920         [BZ #11903]
49921         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49922         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49923
49924         * nss/Makefile: Add rules to build and run tst-nss-test1.
49925         * shlib-versions: Add entry for libnss_test1.
49926         * nss/nss_test1.c: New file.
49927         * nss/tst-nss-test1.c: New file.
49928
49929         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49930         (__nss_configure_lookup): Set appropriate entry in
49931         __nss_configure_lookup to true.
49932         * nss/nsswitch.h: Define enum with indeces of databases in
49933         databases and __nss_database_custom arrays.  Declare
49934         __nss_database_custom.
49935         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49936         to avoid using nscd when custom rules are installed.
49937         * nss/getXXbyYY_r.c: Likewise.
49938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49939
49940         * nss/nss_files/files-parse.c: Whitespace fixes.
49941
49942 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49943
49944         [BZ #11883]
49945         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49946         * posix/fnmatch_loop.c: Likewise.
49947
49948 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49949
49950         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49951         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49952         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49953         * Versions.def [GLIBC_2.13]: Add.
49954
49955 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49956
49957         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49958         Also fail if tpwd after pwuid call is NULL.
49959
49960 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49961
49962         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49963         when converting to ms.
49964
49965 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49966
49967         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49968         EOPNOTSUPP errors with ENOTTY.
49969         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49970         EOPNOTSUPP errors with ENOTTY.
49971
49972 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49973
49974         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49975         Add strcasecmp_l-ssse3.
49976         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49977         strcasecmp.
49978         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49979         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49980         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49981
49982 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49983
49984         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49985
49986         * string/Makefile (strop-tests): Add strcasecmp.
49987         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49988         strcasecmp_l-nonascii.
49989         (gen-as-const-headers): Add locale-defines.sym.
49990         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49991         * sysdeps/x86_64/strcasecmp.S: New file.
49992         * sysdeps/x86_64/strcasecmp_l.S: New file.
49993         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49994         * sysdeps/x86_64/locale-defines.sym: New file.
49995         * string/test-strcasecmp.c: New file.
49996
49997         * string/test-strcasestr.c: Test both ends of the range of characters.
49998         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49999
50000 2010-07-29  Roland McGrath  <roland@redhat.com>
50001
50002         [BZ #11856]
50003         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50004
50005 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50006
50007         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50008         for ld.so.
50009
50010 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50011
50012         * manual/memory.texi (Malloc Tunable Parameters): Document
50013         M_PERTURB.
50014
50015 2010-07-26  Roland McGrath  <roland@redhat.com>
50016
50017         [BZ #11840]
50018         * configure.in (-fgnu89-inline check): Set and substitute
50019         gnu89_inline, not libc_cv_gnu89_inline.
50020         * configure: Regenerated.
50021         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50022
50023 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50024
50025         * string/test-strnlen.c: New file.
50026         * string/Makefile (strop-tests): Add strnlen.
50027         * string/tester.c (test_strnlen): Add a few more test cases.
50028         * string/tst-strlen.c: Better error reporting.
50029
50030         * sysdeps/x86_64/strnlen.S: New file.
50031
50032 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50033
50034         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50035         lower-latency instructions.
50036
50037 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50038
50039         * string/test-strcasestr.c: New file.
50040         * string/test-strstr.c: New file.
50041         * string/Makefile (strop-tests): Add strstr and strcasestr.
50042         * string/str-two-way.h: Don't undefine MAX.
50043         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50044
50045 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50046
50047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50048         strcasestr-nonascii.
50049         (CFLAGS-strcasestr-nonascii.c): Define.
50050         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50051         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50052         Remove unused attribute.
50053
50054 2010-07-20  Roland McGrath  <roland@redhat.com>
50055
50056         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50057         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50058         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50059         like LD_HWCAP_MASK can disable hwcaps.
50060
50061 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50062
50063         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50064
50065 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50066
50067         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50068         call in strcasestr.
50069         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50070         __strcasestr_sse42_nonascii.
50071         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50072         strcasestr-nonascii.c.
50073         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50074
50075 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50076
50077         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50078         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50079         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50080         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50081
50082 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50083
50084         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50085         fcntl.
50086
50087 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50088
50089         [BZ #11577]
50090         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50091         dl_signal_cerror.
50092
50093 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50094
50095         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50096         _PC_PIPE_BUF using F_GETPIPE_SZ.
50097
50098 2010-07-05  Roland McGrath  <roland@redhat.com>
50099
50100         * manual/arith.texi (Rounding Functions): Fix rint description
50101         implicit in round description.
50102
50103 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50104
50105         * elf/Makefile: Fix linking for a few tests to make recent linker
50106         happy.
50107
50108 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50109
50110         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50111         $(common-objpfx)libc_nonshared.a.
50112
50113 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50114
50115         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50116         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50117         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50118         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50119         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50120         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50121         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50122         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50137         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50138         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50139         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50140         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50141         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50142         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50143         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50144         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50145         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50146         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50147         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50148         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50163
50164 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50165
50166         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50167         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50168         * string/memmove.c (memmove): Renamed to ...
50169         (MEMMOVE): ...this.  Default to memmove.
50170         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50171         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50172         (END_CHK): Define.
50173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50174         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50175         mempcpy-ssse3-back memmove-ssse3-back.
50176         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50177         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50178         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50179         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50180         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50181         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50182         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50183         * sysdeps/x86_64/multiarch/memmove.c: New file.
50184         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50185         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50186         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50187         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50188         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50189         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50190         Define.
50191         (index_Fast_Copy_Backward): Define.
50192         (HAS_ARCH_FEATURE): Define.
50193         (HAS_FAST_REP_STRING): Define.
50194         (HAS_FAST_COPY_BACKWARD): Define.
50195
50196 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50197
50198         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50199         Restore proper fallback handling.
50200
50201 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50202
50203         [BZ #11701]
50204         * posix/group_member.c (__group_member): Correct checking loop.
50205
50206         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50207         OOM in getpwuid_r correctly.  Return error number when the caller
50208         should return, otherwise -1.
50209         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50210         call returning > 0 value.
50211         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50212
50213 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50214
50215         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50216         libc_nonshared.a from targets in modules-names.
50217
50218 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50219
50220         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50221         requires it.
50222
50223 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50224
50225         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50226         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50227         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50228         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50229
50230 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50231
50232         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50233
50234 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50235
50236         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50237         and F_GETPIPE_SZ.
50238         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50240         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50241         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50244
50245 2010-06-14  Roland McGrath  <roland@redhat.com>
50246
50247         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50248
50249 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50250
50251         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50252         __REDIRECT followed by __THROW.
50253         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50254         * posix/getopt.h (getopt): Likewise.
50255
50256 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50257
50258         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50259         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50260         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50261         in AT_FLAGS.
50262         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50263         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50264
50265 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50266
50267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50268
50269 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50270
50271         [BZ #11640]
50272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50273         Properly check family and model.
50274
50275 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50276
50277         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50278
50279 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50280
50281         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50282
50283 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50284
50285         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50286         symbol reference.
50287
50288 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50289
50290         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50291         symbol reference.
50292
50293 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50294
50295         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50296         and internal_recvmmsg.
50297         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50298         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50299         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50300         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50301
50302         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50303         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50304         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50305
50306 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50307
50308         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50309
50310 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50311
50312         POWER7 optimizations.
50313         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50314         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50315
50316 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50317
50318         * version.h: Update for 2.13 development version.
50319
50320 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50321
50322         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50323         exceptions.  Return 0.
50324
50325 2010-05-07  Roland McGrath  <roland@redhat.com>
50326
50327         * elf/ldconfig.c (main): Add a const.
50328
50329 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50330
50331         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50332         (args_options): Add no-idn option.
50333         (ahosts_keys_int): Add idn_flags to ai_flags.
50334         (parse_option): Handle 'i' option to clear idn_flags.
50335
50336         * malloc/malloc.c (_int_free): Possible race in the most recently
50337         added check.  Only act on the data if no current modification
50338         happened.
50339
50340 See ChangeLog.17 for earlier changes.